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

5
node_modules/fast-stable-stringify/fixtures/index.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
module.exports = {
input: require('./input-data-types')
/*,
expected: require("./expected.json")*/
};

View File

@@ -0,0 +1,191 @@
function ImplementingToJSON() {}
ImplementingToJSON.prototype.toJSON = function() {
return 'dummy!';
};
function NotImplementingToJSON() {}
module.exports = {
"objects": {
"string": {
"VALUES_WITH_SPACES": "a b c",
"LOWERCASE": "abc",
"UPPERCASE": "ABC",
"NUMBER_ONLY": "123",
"EMPTY_STRING": "",
"ESCAPE_RANGE": "\u0000\u001F",
"NON_ESCAPE_RANGE": "\u0020\uFFFF",
"UTF16": "☃",
"QUOTATION_MARK": "\"",
"REVERSE_SOLIDUS": "\\",
"SOLIDUS": "\/",
"FORM_FEED": "\f",
"LINE_FEED": "\n",
"CARRIAGE_RETURN": "\r",
"TAB": "\t",
"BACKSPACE": "\b",
"MIXED": "Aa1 Bb2 Cc3 \u0000\u001F\u0020\uFFFF☃\"\\\/\f\n\r\t\b"
},
"key": {
"a b c": "VALUES_WITH_SPACES",
"abc": "LOWERCASE",
"ABC": "UPPERCASE",
"NUMBER_ONLY": "123",
"": "EMPTY_STRING",
"\u0000\u001F": "ESCAPE_RANGE",
"\u0020\uFFFF": "NON_ESCAPE_RANGE",
"☃": "UTF16",
"\"": "QUOTATION_MARK",
"\\": "REVERSE_SOLIDUS",
"\/": "SOLIDUS",
"\f": "FORM_FEED",
"\n": "LINE_FEED",
"\r": "CARRIAGE_RETURN",
"\t": "TAB",
"\b": "BACKSPACE",
"Aa1 Bb2 Cc3 \u0000\u001F\u0020\uFFFF☃\"\\\/\f\n\r\t\b": "MIXED"
},
"number": {
"MAX_SAFE_INTEGER": 9007199254740991,
"MIN_SAFE_INTEGER": -9007199254740991,
"FALSY": 0,
"NEGATIVE": -1,
"FLOAT": 0.1234567,
"NEGATIVE_FLOAT": -0.9876543,
"MAX_VALUE": 1.7976931348623157e+308,
"MIN_VALUE": 5e-324,
"NEGATIVE_MAX_VALUE": -1.7976931348623157e+308,
"NEGATIVE_MIN_VALUE": -5e-324,
"INFINITY": Infinity,
"NEG_INFINITY": -Infinity,
"NAN": NaN
},
"boolean": {
"TRUE": true,
"FALSE": false
},
"null": {
"NULL": null
},
"undefined": undefined,
"undefineds": {
"ONE": undefined,
"TWO": undefined,
"THREE": undefined
},
"date": new Date('2017'),
"function": function() {},
"instances": {
'implementingToJSON': new ImplementingToJSON(),
'notImplementingToJSON': new NotImplementingToJSON()
},
"mixed": {
"Aa1 Bb2 Cc3 \u0000\u001F\u0020\uFFFF☃\"\\\/\f\n\r\t\b": "MIXED",
"MIXED": "Aa1 Bb2 Cc3 \u0000\u001F\u0020\uFFFF☃\"\\\/\f\n\r\t\b",
"MAX_VALUE": 1.7976931348623157e+308,
"MIN_VALUE": 5e-324,
"NEGATIVE_MAX_VALUE": -1.7976931348623157e+308,
"NEGATIVE_MIN_VALUE": -5e-324,
"TRUE": true,
"FALSE": false,
"NULL": null,
"UNDEFINED": undefined,
"zzz": "ending"
}
},
"arrays": {
"number": [
9007199254740991,
-9007199254740991,
0,
-1,
0.1234567,
-0.9876543,
1.7976931348623157e+308,
5e-324,
-1.7976931348623157e+308,
-5e-324,
Infinity,
-Infinity,
NaN
],
"string": [
"a b c",
"abc",
"ABC",
"NUMBER_ONLY",
"",
"\u0000\u001F",
"\u0020\uFFFF",
"☃",
"\"",
"\\",
"\/",
"\f",
"\n",
"\r",
"\t",
"\b",
"Aa1 Bb2 Cc3 \u0000\u001F\u0020\uFFFF☃\"\\\/\f\n\r\t\b"
],
"boolean": [
true,
false
],
"null": [
null
],
"undefined": [
undefined
],
"date": [
new Date('2017')
],
"instances": [
new ImplementingToJSON(),
new NotImplementingToJSON()
],
"function": [
function(){}
],
"mixed": [
-1.7976931348623157e+308,
-5e-324,
"Aa1 Bb2 Cc3 \u0000\u001F\u0020\uFFFF☃\"\\\/\f\n\r\t\b",
true,
false,
null,
undefined
]
},
"mixed": [
{
"Aa1 Bb2 Cc3 \u0000\u001F\u0020\uFFFF☃\"\\\/\f\n\r\t\b": "MIXED",
"MIXED": "Aa1 Bb2 Cc3 \u0000\u001F\u0020\uFFFF☃\"\\\/\f\n\r\t\b",
"MAX_VALUE": 1.7976931348623157e+308,
"MIN_VALUE": 5e-324,
"NEGATIVE_MAX_VALUE": -1.7976931348623157e+308,
"NEGATIVE_MIN_VALUE": -5e-324,
"TRUE": true,
"FALSE": false,
"NULL": null,
"UNDEFINED": undefined,
"DATE": new Date('2017'),
"IMPLEMENTING_TO_JSON": new ImplementingToJSON(),
"NOT_IMPLEMENTING_TO_JSON": new NotImplementingToJSON(),
"FUNCTION": function(){},
"zzz": "ending"
},
-1.7976931348623157e+308,
-5e-324,
"Aa1 Bb2 Cc3 \u0000\u001F\u0020\uFFFF☃\"\\\/\f\n\r\t\b",
true,
false,
null,
undefined,
new Date('2017'),
function(){},
new ImplementingToJSON(),
new NotImplementingToJSON()
]
};

View File

@@ -0,0 +1,22 @@
{
"nickyout/fast-stable-stringify": {
"chrome 26": {
"Windows 2008": {
"opsPerSec": 6.025,
"percentage": 6.76,
"numSamples": 50,
"cumStrLength": 94425969
}
}
},
"substack/json-stable-stringify": {
"chrome 26": {
"Windows 2008": {
"opsPerSec": 4.114,
"percentage": 1.05,
"numSamples": 50,
"cumStrLength": 61301724
}
}
}
}

24
node_modules/fast-stable-stringify/fixtures/log.txt generated vendored Normal file
View File

@@ -0,0 +1,24 @@
- testing: chrome @ Windows 2008: 26
- testing: opera @ Windows 2003: 11 12
- queuing: <chrome 26 on Windows 2008>
- starting: <chrome 26 on Windows 2008>
<chrome 26 on Windows 2008> console
Finished benchmarking: nickyout/fast-stable-stringify x 6,025 ops/sec ±6.76% (50 runs sampled) (cumulative string length: 94425969)
Finished benchmarking: substack/json-stable-stringify x 4,114 ops/sec ±1.05% (50 runs sampled) (cumulative string length: 61301724)
- passed: <chrome 26 on Windows 2008>
- queuing: <opera 11 on Windows 2003>
- starting: <opera 11 on Windows 2003>
<opera 11 on Windows 2003> Benchmark :: fastest
Error: Benchmark.js was unable to find a working timer.
clock([arguments not available]) __zuul/test-bundle.js:4066
cycle([arguments not available]) __zuul/test-bundle.js:4301
run([arguments not available]) __zuul/test-bundle.js:4409
execute([arguments not available]) __zuul/test-bundle.js:3088
invoke([arguments not available]) __zuul/test-bundle.js:3202
compute([arguments not available]) __zuul/test-bundle.js:4259
run([arguments not available]) __zuul/test-bundle.js:4414
execute([arguments not available]) __zuul/test-bundle.js:3088
invoke([arguments not available]) __zuul/test-bundle.js:3202
runSuite([arguments not available]) __zuul/test-bundle.js:3451
- passed: <opera 11 on Windows 2003>