FRE-600: Fix code review blockers

- Consolidated duplicate UndoManagers to single instance
- Fixed connection promise to only resolve on 'connected' status
- Fixed WebSocketProvider import (WebsocketProvider)
- Added proper doc.destroy() cleanup
- Renamed isPresenceInitialized property to avoid conflict

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-04-25 00:08:01 -04:00
parent 65b552bb08
commit 7c684a42cc
48450 changed files with 5679671 additions and 383 deletions

15
node_modules/kebab-case/.editorconfig generated vendored Normal file
View File

@@ -0,0 +1,15 @@
root = true
[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{json,yml}]
indent_size = 2
indent_style = space
[*.md]
trim_trailing_whitespace = false

13
node_modules/kebab-case/.eslintrc.json generated vendored Normal file
View File

@@ -0,0 +1,13 @@
{
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 12
},
"rules": {}
}

28
node_modules/kebab-case/.github/workflows/node.js.yml generated vendored Normal file
View File

@@ -0,0 +1,28 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 15.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test

View File

@@ -0,0 +1,33 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm ci
- run: npm test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

21
node_modules/kebab-case/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2015 Joakim Carlstein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

59
node_modules/kebab-case/README.md generated vendored Normal file
View File

@@ -0,0 +1,59 @@
# kebab-case
[![NPM version][npm-image]][npm-url]
> Convert a string to kebab-case, i.e. its dash separated form
The difference between `kebab-case` and e.g. [`dashify`](https://www.npmjs.com/package/dashify) is that this
module doesn't modify the string in any other way than transforming uppercased letters to their lowercased
counterparts prefixed with `-`. Thanks to this there's also a [`reverse`](#kebabcasereversestr) function to
do the opposite, i.e. get back the original value.
This is used in [Unistyle](https://github.com/joakimbeng/unistyle) to transform JavaScript CSS properties
to their CSS counterparts without losing a possible browser prefix, e.g: `WebkitTransform -> -webkit-transform`.
## Installation
Install `kebab-case` using [npm](https://www.npmjs.com/):
```bash
npm install --save kebab-case
```
## Usage
### Module usage
```javascript
var kebabCase = require("kebab-case");
kebabCase("WebkitTransform");
// "-webkit-transform"
kebabCase.reverse("-webkit-transform");
// "WebkitTransform"
```
## API
### `kebabCase(str)`
| Name | Type | Description |
| ---- | -------- | --------------------- |
| str | `String` | The string to convert |
Returns: `String`, the kebab cased string.
### `kebabCase.reverse(str)`
| Name | Type | Description |
| ---- | -------- | -------------------------- |
| str | `String` | The string to convert back |
Returns: `String`, the "unkebab cased" string.
## License
MIT © [Joakim Carlstein](https://joakim.beng.se/)
[npm-url]: https://npmjs.org/package/kebab-case
[npm-image]: https://badge.fury.io/js/kebab-case.svg

9
node_modules/kebab-case/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,9 @@
type Fn = (str: string) => string;
interface KebabCase extends Fn {
reverse: Fn
}
const kebabCase: KebabCase;
export default kebabCase;

15
node_modules/kebab-case/index.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
'use strict';
var KEBAB_REGEX = /[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g;
var REVERSE_REGEX = /-[a-z\u00E0-\u00F6\u00F8-\u00FE]/g;
module.exports = exports = function kebabCase(str) {
return str.replace(KEBAB_REGEX, function (match) {
return '-' + match.toLowerCase();
});
};
exports.reverse = function (str) {
return str.replace(REVERSE_REGEX, function (match) {
return match.slice(1).toUpperCase();
});
};

35
node_modules/kebab-case/package.json generated vendored Normal file
View File

@@ -0,0 +1,35 @@
{
"name": "kebab-case",
"version": "1.0.2",
"description": "Convert a string to kebab-case, i.e. its dash separated form",
"main": "index.js",
"scripts": {
"lint": "eslint *.js",
"pretest": "npm run lint -s",
"test": "node test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/joakimbeng/kebab-case.git"
},
"keywords": [
"kebab-case",
"kebab",
"dash",
"dasherize",
"dashify",
"dash-case",
"train-case",
"lisp-case"
],
"author": "Joakim Carlstein <joakim.carlstein@gmail.com> (https://joakim.beng.se/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/joakimbeng/kebab-case/issues"
},
"homepage": "https://github.com/joakimbeng/kebab-case#readme",
"devDependencies": {
"eslint": "^7.21.0",
"zora": "^4.0.2"
}
}

28
node_modules/kebab-case/test.js generated vendored Normal file
View File

@@ -0,0 +1,28 @@
"use strict";
const { test } = require("zora");
const kebabCase = require("./");
test("string with uppercased letters", (t) => {
t.equal(kebabCase("helloWorld"), "hello-world");
t.equal(kebabCase("hello World!"), "hello -world!");
});
test("string without uppercased letters", (t) => {
t.equal(kebabCase("hello world"), "hello world");
t.equal(kebabCase("-- hello world --"), "-- hello world --");
});
test("string with leading uppercased letters", (t) => {
t.equal(kebabCase("WebkitTransform"), "-webkit-transform");
t.equal(kebabCase("Mr. Kebab"), "-mr. -kebab");
});
test("string with international uppercased letters", (t) => {
t.equal(kebabCase("ølÜberÅh"), "øl-über-åh");
t.equal(kebabCase("Érnest"), "-érnest");
});
test("the reverse", (t) => {
const str = "Hallå, Mr. Kebab Überstein! How you doin'?-";
t.equal(kebabCase.reverse(kebabCase(str)), str);
});