@xwiki/cristal-realtime 0.17.0 → 0.19.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/{index.js → index.cjs} +266 -340
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -258,106 +258,9 @@ var require_async_lock = __commonJS({
|
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
|
|
261
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
262
|
-
var require_stream = __commonJS({
|
|
263
|
-
"../node_modules/.pnpm/ws@8.18.0/node_modules/ws/lib/stream.js"(exports3, module3) {
|
|
264
|
-
"use strict";
|
|
265
|
-
var { Duplex } = require("stream");
|
|
266
|
-
function emitClose(stream) {
|
|
267
|
-
stream.emit("close");
|
|
268
|
-
}
|
|
269
|
-
function duplexOnEnd() {
|
|
270
|
-
if (!this.destroyed && this._writableState.finished) {
|
|
271
|
-
this.destroy();
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
function duplexOnError(err) {
|
|
275
|
-
this.removeListener("error", duplexOnError);
|
|
276
|
-
this.destroy();
|
|
277
|
-
if (this.listenerCount("error") === 0) {
|
|
278
|
-
this.emit("error", err);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
function createWebSocketStream2(ws, options) {
|
|
282
|
-
let terminateOnDestroy = true;
|
|
283
|
-
const duplex = new Duplex({
|
|
284
|
-
...options,
|
|
285
|
-
autoDestroy: false,
|
|
286
|
-
emitClose: false,
|
|
287
|
-
objectMode: false,
|
|
288
|
-
writableObjectMode: false
|
|
289
|
-
});
|
|
290
|
-
ws.on("message", function message(msg, isBinary) {
|
|
291
|
-
const data = !isBinary && duplex._readableState.objectMode ? msg.toString() : msg;
|
|
292
|
-
if (!duplex.push(data)) ws.pause();
|
|
293
|
-
});
|
|
294
|
-
ws.once("error", function error(err) {
|
|
295
|
-
if (duplex.destroyed) return;
|
|
296
|
-
terminateOnDestroy = false;
|
|
297
|
-
duplex.destroy(err);
|
|
298
|
-
});
|
|
299
|
-
ws.once("close", function close() {
|
|
300
|
-
if (duplex.destroyed) return;
|
|
301
|
-
duplex.push(null);
|
|
302
|
-
});
|
|
303
|
-
duplex._destroy = function(err, callback) {
|
|
304
|
-
if (ws.readyState === ws.CLOSED) {
|
|
305
|
-
callback(err);
|
|
306
|
-
process.nextTick(emitClose, duplex);
|
|
307
|
-
return;
|
|
308
|
-
}
|
|
309
|
-
let called = false;
|
|
310
|
-
ws.once("error", function error(err2) {
|
|
311
|
-
called = true;
|
|
312
|
-
callback(err2);
|
|
313
|
-
});
|
|
314
|
-
ws.once("close", function close() {
|
|
315
|
-
if (!called) callback(err);
|
|
316
|
-
process.nextTick(emitClose, duplex);
|
|
317
|
-
});
|
|
318
|
-
if (terminateOnDestroy) ws.terminate();
|
|
319
|
-
};
|
|
320
|
-
duplex._final = function(callback) {
|
|
321
|
-
if (ws.readyState === ws.CONNECTING) {
|
|
322
|
-
ws.once("open", function open() {
|
|
323
|
-
duplex._final(callback);
|
|
324
|
-
});
|
|
325
|
-
return;
|
|
326
|
-
}
|
|
327
|
-
if (ws._socket === null) return;
|
|
328
|
-
if (ws._socket._writableState.finished) {
|
|
329
|
-
callback();
|
|
330
|
-
if (duplex._readableState.endEmitted) duplex.destroy();
|
|
331
|
-
} else {
|
|
332
|
-
ws._socket.once("finish", function finish() {
|
|
333
|
-
callback();
|
|
334
|
-
});
|
|
335
|
-
ws.close();
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
duplex._read = function() {
|
|
339
|
-
if (ws.isPaused) ws.resume();
|
|
340
|
-
};
|
|
341
|
-
duplex._write = function(chunk, encoding, callback) {
|
|
342
|
-
if (ws.readyState === ws.CONNECTING) {
|
|
343
|
-
ws.once("open", function open() {
|
|
344
|
-
duplex._write(chunk, encoding, callback);
|
|
345
|
-
});
|
|
346
|
-
return;
|
|
347
|
-
}
|
|
348
|
-
ws.send(chunk, callback);
|
|
349
|
-
};
|
|
350
|
-
duplex.on("end", duplexOnEnd);
|
|
351
|
-
duplex.on("error", duplexOnError);
|
|
352
|
-
return duplex;
|
|
353
|
-
}
|
|
354
|
-
module3.exports = createWebSocketStream2;
|
|
355
|
-
}
|
|
356
|
-
});
|
|
357
|
-
|
|
358
|
-
// ../node_modules/.pnpm/ws@8.18.0/node_modules/ws/lib/constants.js
|
|
261
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/constants.js
|
|
359
262
|
var require_constants = __commonJS({
|
|
360
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
263
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/constants.js"(exports3, module3) {
|
|
361
264
|
"use strict";
|
|
362
265
|
var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"];
|
|
363
266
|
var hasBlob = typeof Blob !== "undefined";
|
|
@@ -377,9 +280,9 @@ var require_constants = __commonJS({
|
|
|
377
280
|
}
|
|
378
281
|
});
|
|
379
282
|
|
|
380
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
283
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/buffer-util.js
|
|
381
284
|
var require_buffer_util = __commonJS({
|
|
382
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
285
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/buffer-util.js"(exports3, module3) {
|
|
383
286
|
"use strict";
|
|
384
287
|
var { EMPTY_BUFFER } = require_constants();
|
|
385
288
|
var FastBuffer = Buffer[Symbol.species];
|
|
@@ -452,9 +355,9 @@ var require_buffer_util = __commonJS({
|
|
|
452
355
|
}
|
|
453
356
|
});
|
|
454
357
|
|
|
455
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
358
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/limiter.js
|
|
456
359
|
var require_limiter = __commonJS({
|
|
457
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
360
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/limiter.js"(exports3, module3) {
|
|
458
361
|
"use strict";
|
|
459
362
|
var kDone = Symbol("kDone");
|
|
460
363
|
var kRun = Symbol("kRun");
|
|
@@ -502,9 +405,9 @@ var require_limiter = __commonJS({
|
|
|
502
405
|
}
|
|
503
406
|
});
|
|
504
407
|
|
|
505
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
408
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/permessage-deflate.js
|
|
506
409
|
var require_permessage_deflate = __commonJS({
|
|
507
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
410
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/permessage-deflate.js"(exports3, module3) {
|
|
508
411
|
"use strict";
|
|
509
412
|
var zlib = require("zlib");
|
|
510
413
|
var bufferUtil = require_buffer_util();
|
|
@@ -875,15 +778,19 @@ var require_permessage_deflate = __commonJS({
|
|
|
875
778
|
}
|
|
876
779
|
function inflateOnError(err) {
|
|
877
780
|
this[kPerMessageDeflate]._inflate = null;
|
|
781
|
+
if (this[kError]) {
|
|
782
|
+
this[kCallback](this[kError]);
|
|
783
|
+
return;
|
|
784
|
+
}
|
|
878
785
|
err[kStatusCode] = 1007;
|
|
879
786
|
this[kCallback](err);
|
|
880
787
|
}
|
|
881
788
|
}
|
|
882
789
|
});
|
|
883
790
|
|
|
884
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
791
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/validation.js
|
|
885
792
|
var require_validation = __commonJS({
|
|
886
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
793
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/validation.js"(exports3, module3) {
|
|
887
794
|
"use strict";
|
|
888
795
|
var { isUtf8 } = require("buffer");
|
|
889
796
|
var { hasBlob } = require_constants();
|
|
@@ -1082,9 +989,9 @@ var require_validation = __commonJS({
|
|
|
1082
989
|
}
|
|
1083
990
|
});
|
|
1084
991
|
|
|
1085
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
992
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/receiver.js
|
|
1086
993
|
var require_receiver = __commonJS({
|
|
1087
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
994
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/receiver.js"(exports3, module3) {
|
|
1088
995
|
"use strict";
|
|
1089
996
|
var { Writable } = require("stream");
|
|
1090
997
|
var PerMessageDeflate = require_permessage_deflate();
|
|
@@ -1674,9 +1581,9 @@ var require_receiver = __commonJS({
|
|
|
1674
1581
|
}
|
|
1675
1582
|
});
|
|
1676
1583
|
|
|
1677
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
1584
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/sender.js
|
|
1678
1585
|
var require_sender = __commonJS({
|
|
1679
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
1586
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/sender.js"(exports3, module3) {
|
|
1680
1587
|
"use strict";
|
|
1681
1588
|
var { Duplex } = require("stream");
|
|
1682
1589
|
var { randomFillSync: randomFillSync2 } = require("crypto");
|
|
@@ -2131,7 +2038,7 @@ var require_sender = __commonJS({
|
|
|
2131
2038
|
/**
|
|
2132
2039
|
* Sends a frame.
|
|
2133
2040
|
*
|
|
2134
|
-
* @param {Buffer[]} list The frame to send
|
|
2041
|
+
* @param {(Buffer | String)[]} list The frame to send
|
|
2135
2042
|
* @param {Function} [cb] Callback
|
|
2136
2043
|
* @private
|
|
2137
2044
|
*/
|
|
@@ -2162,9 +2069,9 @@ var require_sender = __commonJS({
|
|
|
2162
2069
|
}
|
|
2163
2070
|
});
|
|
2164
2071
|
|
|
2165
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
2072
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/event-target.js
|
|
2166
2073
|
var require_event_target = __commonJS({
|
|
2167
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
2074
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/event-target.js"(exports3, module3) {
|
|
2168
2075
|
"use strict";
|
|
2169
2076
|
var { kForOnEventAttribute, kListener } = require_constants();
|
|
2170
2077
|
var kCode = Symbol("kCode");
|
|
@@ -2391,9 +2298,9 @@ var require_event_target = __commonJS({
|
|
|
2391
2298
|
}
|
|
2392
2299
|
});
|
|
2393
2300
|
|
|
2394
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
2301
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/extension.js
|
|
2395
2302
|
var require_extension = __commonJS({
|
|
2396
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
2303
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/extension.js"(exports3, module3) {
|
|
2397
2304
|
"use strict";
|
|
2398
2305
|
var { tokenChars } = require_validation();
|
|
2399
2306
|
function push(dest, name2, elem) {
|
|
@@ -2544,9 +2451,9 @@ var require_extension = __commonJS({
|
|
|
2544
2451
|
}
|
|
2545
2452
|
});
|
|
2546
2453
|
|
|
2547
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
2454
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/websocket.js
|
|
2548
2455
|
var require_websocket = __commonJS({
|
|
2549
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
2456
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/websocket.js"(exports3, module3) {
|
|
2550
2457
|
"use strict";
|
|
2551
2458
|
var EventEmitter = require("events");
|
|
2552
2459
|
var https = require("https");
|
|
@@ -3064,7 +2971,7 @@ var require_websocket = __commonJS({
|
|
|
3064
2971
|
const isIpcUrl = parsedUrl.protocol === "ws+unix:";
|
|
3065
2972
|
let invalidUrlMessage;
|
|
3066
2973
|
if (parsedUrl.protocol !== "ws:" && !isSecure && !isIpcUrl) {
|
|
3067
|
-
invalidUrlMessage = `The URL's protocol must be one of "ws:", "wss:", "http:", "https", or "ws+unix:"`;
|
|
2974
|
+
invalidUrlMessage = `The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`;
|
|
3068
2975
|
} else if (isIpcUrl && !parsedUrl.pathname) {
|
|
3069
2976
|
invalidUrlMessage = "The URL's pathname is empty";
|
|
3070
2977
|
} else if (parsedUrl.hash) {
|
|
@@ -3427,9 +3334,107 @@ var require_websocket = __commonJS({
|
|
|
3427
3334
|
}
|
|
3428
3335
|
});
|
|
3429
3336
|
|
|
3430
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
3337
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/stream.js
|
|
3338
|
+
var require_stream = __commonJS({
|
|
3339
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/stream.js"(exports3, module3) {
|
|
3340
|
+
"use strict";
|
|
3341
|
+
var WebSocket2 = require_websocket();
|
|
3342
|
+
var { Duplex } = require("stream");
|
|
3343
|
+
function emitClose(stream) {
|
|
3344
|
+
stream.emit("close");
|
|
3345
|
+
}
|
|
3346
|
+
function duplexOnEnd() {
|
|
3347
|
+
if (!this.destroyed && this._writableState.finished) {
|
|
3348
|
+
this.destroy();
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3351
|
+
function duplexOnError(err) {
|
|
3352
|
+
this.removeListener("error", duplexOnError);
|
|
3353
|
+
this.destroy();
|
|
3354
|
+
if (this.listenerCount("error") === 0) {
|
|
3355
|
+
this.emit("error", err);
|
|
3356
|
+
}
|
|
3357
|
+
}
|
|
3358
|
+
function createWebSocketStream2(ws, options) {
|
|
3359
|
+
let terminateOnDestroy = true;
|
|
3360
|
+
const duplex = new Duplex({
|
|
3361
|
+
...options,
|
|
3362
|
+
autoDestroy: false,
|
|
3363
|
+
emitClose: false,
|
|
3364
|
+
objectMode: false,
|
|
3365
|
+
writableObjectMode: false
|
|
3366
|
+
});
|
|
3367
|
+
ws.on("message", function message(msg, isBinary) {
|
|
3368
|
+
const data = !isBinary && duplex._readableState.objectMode ? msg.toString() : msg;
|
|
3369
|
+
if (!duplex.push(data)) ws.pause();
|
|
3370
|
+
});
|
|
3371
|
+
ws.once("error", function error(err) {
|
|
3372
|
+
if (duplex.destroyed) return;
|
|
3373
|
+
terminateOnDestroy = false;
|
|
3374
|
+
duplex.destroy(err);
|
|
3375
|
+
});
|
|
3376
|
+
ws.once("close", function close() {
|
|
3377
|
+
if (duplex.destroyed) return;
|
|
3378
|
+
duplex.push(null);
|
|
3379
|
+
});
|
|
3380
|
+
duplex._destroy = function(err, callback) {
|
|
3381
|
+
if (ws.readyState === ws.CLOSED) {
|
|
3382
|
+
callback(err);
|
|
3383
|
+
process.nextTick(emitClose, duplex);
|
|
3384
|
+
return;
|
|
3385
|
+
}
|
|
3386
|
+
let called = false;
|
|
3387
|
+
ws.once("error", function error(err2) {
|
|
3388
|
+
called = true;
|
|
3389
|
+
callback(err2);
|
|
3390
|
+
});
|
|
3391
|
+
ws.once("close", function close() {
|
|
3392
|
+
if (!called) callback(err);
|
|
3393
|
+
process.nextTick(emitClose, duplex);
|
|
3394
|
+
});
|
|
3395
|
+
if (terminateOnDestroy) ws.terminate();
|
|
3396
|
+
};
|
|
3397
|
+
duplex._final = function(callback) {
|
|
3398
|
+
if (ws.readyState === ws.CONNECTING) {
|
|
3399
|
+
ws.once("open", function open() {
|
|
3400
|
+
duplex._final(callback);
|
|
3401
|
+
});
|
|
3402
|
+
return;
|
|
3403
|
+
}
|
|
3404
|
+
if (ws._socket === null) return;
|
|
3405
|
+
if (ws._socket._writableState.finished) {
|
|
3406
|
+
callback();
|
|
3407
|
+
if (duplex._readableState.endEmitted) duplex.destroy();
|
|
3408
|
+
} else {
|
|
3409
|
+
ws._socket.once("finish", function finish() {
|
|
3410
|
+
callback();
|
|
3411
|
+
});
|
|
3412
|
+
ws.close();
|
|
3413
|
+
}
|
|
3414
|
+
};
|
|
3415
|
+
duplex._read = function() {
|
|
3416
|
+
if (ws.isPaused) ws.resume();
|
|
3417
|
+
};
|
|
3418
|
+
duplex._write = function(chunk, encoding, callback) {
|
|
3419
|
+
if (ws.readyState === ws.CONNECTING) {
|
|
3420
|
+
ws.once("open", function open() {
|
|
3421
|
+
duplex._write(chunk, encoding, callback);
|
|
3422
|
+
});
|
|
3423
|
+
return;
|
|
3424
|
+
}
|
|
3425
|
+
ws.send(chunk, callback);
|
|
3426
|
+
};
|
|
3427
|
+
duplex.on("end", duplexOnEnd);
|
|
3428
|
+
duplex.on("error", duplexOnError);
|
|
3429
|
+
return duplex;
|
|
3430
|
+
}
|
|
3431
|
+
module3.exports = createWebSocketStream2;
|
|
3432
|
+
}
|
|
3433
|
+
});
|
|
3434
|
+
|
|
3435
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/subprotocol.js
|
|
3431
3436
|
var require_subprotocol = __commonJS({
|
|
3432
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
3437
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/subprotocol.js"(exports3, module3) {
|
|
3433
3438
|
"use strict";
|
|
3434
3439
|
var { tokenChars } = require_validation();
|
|
3435
3440
|
function parse(header) {
|
|
@@ -3472,9 +3477,9 @@ var require_subprotocol = __commonJS({
|
|
|
3472
3477
|
}
|
|
3473
3478
|
});
|
|
3474
3479
|
|
|
3475
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
3480
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/websocket-server.js
|
|
3476
3481
|
var require_websocket_server = __commonJS({
|
|
3477
|
-
"../node_modules/.pnpm/ws@8.18.
|
|
3482
|
+
"../node_modules/.pnpm/ws@8.18.2/node_modules/ws/lib/websocket-server.js"(exports3, module3) {
|
|
3478
3483
|
"use strict";
|
|
3479
3484
|
var EventEmitter = require("events");
|
|
3480
3485
|
var http = require("http");
|
|
@@ -4666,9 +4671,9 @@ var require_ms = __commonJS({
|
|
|
4666
4671
|
}
|
|
4667
4672
|
});
|
|
4668
4673
|
|
|
4669
|
-
// ../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js
|
|
4674
|
+
// ../node_modules/.pnpm/debug@4.4.1_supports-color@5.5.0/node_modules/debug/src/common.js
|
|
4670
4675
|
var require_common = __commonJS({
|
|
4671
|
-
"../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js"(exports3, module3) {
|
|
4676
|
+
"../node_modules/.pnpm/debug@4.4.1_supports-color@5.5.0/node_modules/debug/src/common.js"(exports3, module3) {
|
|
4672
4677
|
function setup(env) {
|
|
4673
4678
|
createDebug.debug = createDebug;
|
|
4674
4679
|
createDebug.default = createDebug;
|
|
@@ -4769,7 +4774,7 @@ var require_common = __commonJS({
|
|
|
4769
4774
|
createDebug.namespaces = namespaces;
|
|
4770
4775
|
createDebug.names = [];
|
|
4771
4776
|
createDebug.skips = [];
|
|
4772
|
-
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(
|
|
4777
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
4773
4778
|
for (const ns of split) {
|
|
4774
4779
|
if (ns[0] === "-") {
|
|
4775
4780
|
createDebug.skips.push(ns.slice(1));
|
|
@@ -4843,9 +4848,9 @@ var require_common = __commonJS({
|
|
|
4843
4848
|
}
|
|
4844
4849
|
});
|
|
4845
4850
|
|
|
4846
|
-
// ../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js
|
|
4851
|
+
// ../node_modules/.pnpm/debug@4.4.1_supports-color@5.5.0/node_modules/debug/src/browser.js
|
|
4847
4852
|
var require_browser = __commonJS({
|
|
4848
|
-
"../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js"(exports3, module3) {
|
|
4853
|
+
"../node_modules/.pnpm/debug@4.4.1_supports-color@5.5.0/node_modules/debug/src/browser.js"(exports3, module3) {
|
|
4849
4854
|
exports3.formatArgs = formatArgs;
|
|
4850
4855
|
exports3.save = save;
|
|
4851
4856
|
exports3.load = load;
|
|
@@ -4987,7 +4992,7 @@ var require_browser = __commonJS({
|
|
|
4987
4992
|
function load() {
|
|
4988
4993
|
let r;
|
|
4989
4994
|
try {
|
|
4990
|
-
r = exports3.storage.getItem("debug");
|
|
4995
|
+
r = exports3.storage.getItem("debug") || exports3.storage.getItem("DEBUG");
|
|
4991
4996
|
} catch (error) {
|
|
4992
4997
|
}
|
|
4993
4998
|
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
@@ -5013,43 +5018,35 @@ var require_browser = __commonJS({
|
|
|
5013
5018
|
}
|
|
5014
5019
|
});
|
|
5015
5020
|
|
|
5016
|
-
// ../node_modules/.pnpm/has-flag@
|
|
5021
|
+
// ../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js
|
|
5017
5022
|
var require_has_flag = __commonJS({
|
|
5018
|
-
"../node_modules/.pnpm/has-flag@
|
|
5023
|
+
"../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js"(exports3, module3) {
|
|
5019
5024
|
"use strict";
|
|
5020
|
-
module3.exports = (flag, argv
|
|
5025
|
+
module3.exports = (flag, argv) => {
|
|
5026
|
+
argv = argv || process.argv;
|
|
5021
5027
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
5022
|
-
const
|
|
5023
|
-
const
|
|
5024
|
-
return
|
|
5028
|
+
const pos = argv.indexOf(prefix + flag);
|
|
5029
|
+
const terminatorPos = argv.indexOf("--");
|
|
5030
|
+
return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
|
|
5025
5031
|
};
|
|
5026
5032
|
}
|
|
5027
5033
|
});
|
|
5028
5034
|
|
|
5029
|
-
// ../node_modules/.pnpm/supports-color@
|
|
5035
|
+
// ../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js
|
|
5030
5036
|
var require_supports_color = __commonJS({
|
|
5031
|
-
"../node_modules/.pnpm/supports-color@
|
|
5037
|
+
"../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js"(exports3, module3) {
|
|
5032
5038
|
"use strict";
|
|
5033
5039
|
var os = require("os");
|
|
5034
|
-
var tty = require("tty");
|
|
5035
5040
|
var hasFlag = require_has_flag();
|
|
5036
|
-
var
|
|
5037
|
-
var
|
|
5038
|
-
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")
|
|
5039
|
-
|
|
5041
|
+
var env = process.env;
|
|
5042
|
+
var forceColor2;
|
|
5043
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
|
|
5044
|
+
forceColor2 = false;
|
|
5040
5045
|
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
5041
|
-
|
|
5046
|
+
forceColor2 = true;
|
|
5042
5047
|
}
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
if (env.FORCE_COLOR === "true") {
|
|
5046
|
-
return 1;
|
|
5047
|
-
}
|
|
5048
|
-
if (env.FORCE_COLOR === "false") {
|
|
5049
|
-
return 0;
|
|
5050
|
-
}
|
|
5051
|
-
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
5052
|
-
}
|
|
5048
|
+
if ("FORCE_COLOR" in env) {
|
|
5049
|
+
forceColor2 = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
|
|
5053
5050
|
}
|
|
5054
5051
|
function translateLevel(level) {
|
|
5055
5052
|
if (level === 0) {
|
|
@@ -5062,39 +5059,29 @@ var require_supports_color = __commonJS({
|
|
|
5062
5059
|
has16m: level >= 3
|
|
5063
5060
|
};
|
|
5064
5061
|
}
|
|
5065
|
-
function supportsColor2(
|
|
5066
|
-
|
|
5067
|
-
if (noFlagForceColor !== void 0) {
|
|
5068
|
-
flagForceColor = noFlagForceColor;
|
|
5069
|
-
}
|
|
5070
|
-
const forceColor2 = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
5071
|
-
if (forceColor2 === 0) {
|
|
5062
|
+
function supportsColor2(stream) {
|
|
5063
|
+
if (forceColor2 === false) {
|
|
5072
5064
|
return 0;
|
|
5073
5065
|
}
|
|
5074
|
-
if (
|
|
5075
|
-
|
|
5076
|
-
return 3;
|
|
5077
|
-
}
|
|
5078
|
-
if (hasFlag("color=256")) {
|
|
5079
|
-
return 2;
|
|
5080
|
-
}
|
|
5066
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
5067
|
+
return 3;
|
|
5081
5068
|
}
|
|
5082
|
-
if (
|
|
5083
|
-
return
|
|
5069
|
+
if (hasFlag("color=256")) {
|
|
5070
|
+
return 2;
|
|
5084
5071
|
}
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
return min4;
|
|
5072
|
+
if (stream && !stream.isTTY && forceColor2 !== true) {
|
|
5073
|
+
return 0;
|
|
5088
5074
|
}
|
|
5075
|
+
const min4 = forceColor2 ? 1 : 0;
|
|
5089
5076
|
if (process.platform === "win32") {
|
|
5090
5077
|
const osRelease = os.release().split(".");
|
|
5091
|
-
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
5078
|
+
if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
5092
5079
|
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
5093
5080
|
}
|
|
5094
5081
|
return 1;
|
|
5095
5082
|
}
|
|
5096
5083
|
if ("CI" in env) {
|
|
5097
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"
|
|
5084
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
5098
5085
|
return 1;
|
|
5099
5086
|
}
|
|
5100
5087
|
return min4;
|
|
@@ -5106,7 +5093,7 @@ var require_supports_color = __commonJS({
|
|
|
5106
5093
|
return 3;
|
|
5107
5094
|
}
|
|
5108
5095
|
if ("TERM_PROGRAM" in env) {
|
|
5109
|
-
const version2 =
|
|
5096
|
+
const version2 = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
5110
5097
|
switch (env.TERM_PROGRAM) {
|
|
5111
5098
|
case "iTerm.app":
|
|
5112
5099
|
return version2 >= 3 ? 3 : 2;
|
|
@@ -5123,26 +5110,26 @@ var require_supports_color = __commonJS({
|
|
|
5123
5110
|
if ("COLORTERM" in env) {
|
|
5124
5111
|
return 1;
|
|
5125
5112
|
}
|
|
5113
|
+
if (env.TERM === "dumb") {
|
|
5114
|
+
return min4;
|
|
5115
|
+
}
|
|
5126
5116
|
return min4;
|
|
5127
5117
|
}
|
|
5128
|
-
function getSupportLevel(stream
|
|
5129
|
-
const level = supportsColor2(stream
|
|
5130
|
-
streamIsTTY: stream && stream.isTTY,
|
|
5131
|
-
...options
|
|
5132
|
-
});
|
|
5118
|
+
function getSupportLevel(stream) {
|
|
5119
|
+
const level = supportsColor2(stream);
|
|
5133
5120
|
return translateLevel(level);
|
|
5134
5121
|
}
|
|
5135
5122
|
module3.exports = {
|
|
5136
5123
|
supportsColor: getSupportLevel,
|
|
5137
|
-
stdout: getSupportLevel(
|
|
5138
|
-
stderr: getSupportLevel(
|
|
5124
|
+
stdout: getSupportLevel(process.stdout),
|
|
5125
|
+
stderr: getSupportLevel(process.stderr)
|
|
5139
5126
|
};
|
|
5140
5127
|
}
|
|
5141
5128
|
});
|
|
5142
5129
|
|
|
5143
|
-
// ../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js
|
|
5130
|
+
// ../node_modules/.pnpm/debug@4.4.1_supports-color@5.5.0/node_modules/debug/src/node.js
|
|
5144
5131
|
var require_node = __commonJS({
|
|
5145
|
-
"../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js"(exports3, module3) {
|
|
5132
|
+
"../node_modules/.pnpm/debug@4.4.1_supports-color@5.5.0/node_modules/debug/src/node.js"(exports3, module3) {
|
|
5146
5133
|
var tty = require("tty");
|
|
5147
5134
|
var util = require("util");
|
|
5148
5135
|
exports3.init = init2;
|
|
@@ -5314,9 +5301,9 @@ var require_node = __commonJS({
|
|
|
5314
5301
|
}
|
|
5315
5302
|
});
|
|
5316
5303
|
|
|
5317
|
-
// ../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js
|
|
5304
|
+
// ../node_modules/.pnpm/debug@4.4.1_supports-color@5.5.0/node_modules/debug/src/index.js
|
|
5318
5305
|
var require_src = __commonJS({
|
|
5319
|
-
"../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js"(exports3, module3) {
|
|
5306
|
+
"../node_modules/.pnpm/debug@4.4.1_supports-color@5.5.0/node_modules/debug/src/index.js"(exports3, module3) {
|
|
5320
5307
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
5321
5308
|
module3.exports = require_browser();
|
|
5322
5309
|
} else {
|
|
@@ -19595,16 +19582,16 @@ var require_type = __commonJS({
|
|
|
19595
19582
|
}
|
|
19596
19583
|
});
|
|
19597
19584
|
|
|
19598
|
-
// ../node_modules/.pnpm/object-inspect@1.13.
|
|
19585
|
+
// ../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/util.inspect.js
|
|
19599
19586
|
var require_util_inspect = __commonJS({
|
|
19600
|
-
"../node_modules/.pnpm/object-inspect@1.13.
|
|
19587
|
+
"../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/util.inspect.js"(exports3, module3) {
|
|
19601
19588
|
module3.exports = require("util").inspect;
|
|
19602
19589
|
}
|
|
19603
19590
|
});
|
|
19604
19591
|
|
|
19605
|
-
// ../node_modules/.pnpm/object-inspect@1.13.
|
|
19592
|
+
// ../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js
|
|
19606
19593
|
var require_object_inspect = __commonJS({
|
|
19607
|
-
"../node_modules/.pnpm/object-inspect@1.13.
|
|
19594
|
+
"../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js"(exports3, module3) {
|
|
19608
19595
|
var hasMap = typeof Map === "function" && Map.prototype;
|
|
19609
19596
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
|
|
19610
19597
|
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === "function" ? mapSizeDescriptor.get : null;
|
|
@@ -19859,26 +19846,29 @@ var require_object_inspect = __commonJS({
|
|
|
19859
19846
|
function quote(s) {
|
|
19860
19847
|
return $replace.call(String(s), /"/g, """);
|
|
19861
19848
|
}
|
|
19849
|
+
function canTrustToString(obj) {
|
|
19850
|
+
return !toStringTag || !(typeof obj === "object" && (toStringTag in obj || typeof obj[toStringTag] !== "undefined"));
|
|
19851
|
+
}
|
|
19862
19852
|
function isArray2(obj) {
|
|
19863
|
-
return toStr(obj) === "[object Array]" && (
|
|
19853
|
+
return toStr(obj) === "[object Array]" && canTrustToString(obj);
|
|
19864
19854
|
}
|
|
19865
19855
|
function isDate(obj) {
|
|
19866
|
-
return toStr(obj) === "[object Date]" && (
|
|
19856
|
+
return toStr(obj) === "[object Date]" && canTrustToString(obj);
|
|
19867
19857
|
}
|
|
19868
19858
|
function isRegExp(obj) {
|
|
19869
|
-
return toStr(obj) === "[object RegExp]" && (
|
|
19859
|
+
return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
19870
19860
|
}
|
|
19871
19861
|
function isError(obj) {
|
|
19872
|
-
return toStr(obj) === "[object Error]" && (
|
|
19862
|
+
return toStr(obj) === "[object Error]" && canTrustToString(obj);
|
|
19873
19863
|
}
|
|
19874
19864
|
function isString(obj) {
|
|
19875
|
-
return toStr(obj) === "[object String]" && (
|
|
19865
|
+
return toStr(obj) === "[object String]" && canTrustToString(obj);
|
|
19876
19866
|
}
|
|
19877
19867
|
function isNumber(obj) {
|
|
19878
|
-
return toStr(obj) === "[object Number]" && (
|
|
19868
|
+
return toStr(obj) === "[object Number]" && canTrustToString(obj);
|
|
19879
19869
|
}
|
|
19880
19870
|
function isBoolean(obj) {
|
|
19881
|
-
return toStr(obj) === "[object Boolean]" && (
|
|
19871
|
+
return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
19882
19872
|
}
|
|
19883
19873
|
function isSymbol(obj) {
|
|
19884
19874
|
if (hasShammedSymbols) {
|
|
@@ -20573,33 +20563,33 @@ var require_function_bind = __commonJS({
|
|
|
20573
20563
|
}
|
|
20574
20564
|
});
|
|
20575
20565
|
|
|
20576
|
-
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.
|
|
20566
|
+
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js
|
|
20577
20567
|
var require_functionCall = __commonJS({
|
|
20578
|
-
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.
|
|
20568
|
+
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(exports3, module3) {
|
|
20579
20569
|
"use strict";
|
|
20580
20570
|
module3.exports = Function.prototype.call;
|
|
20581
20571
|
}
|
|
20582
20572
|
});
|
|
20583
20573
|
|
|
20584
|
-
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.
|
|
20574
|
+
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js
|
|
20585
20575
|
var require_functionApply = __commonJS({
|
|
20586
|
-
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.
|
|
20576
|
+
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(exports3, module3) {
|
|
20587
20577
|
"use strict";
|
|
20588
20578
|
module3.exports = Function.prototype.apply;
|
|
20589
20579
|
}
|
|
20590
20580
|
});
|
|
20591
20581
|
|
|
20592
|
-
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.
|
|
20582
|
+
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js
|
|
20593
20583
|
var require_reflectApply = __commonJS({
|
|
20594
|
-
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.
|
|
20584
|
+
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(exports3, module3) {
|
|
20595
20585
|
"use strict";
|
|
20596
20586
|
module3.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
20597
20587
|
}
|
|
20598
20588
|
});
|
|
20599
20589
|
|
|
20600
|
-
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.
|
|
20590
|
+
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js
|
|
20601
20591
|
var require_actualApply = __commonJS({
|
|
20602
|
-
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.
|
|
20592
|
+
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(exports3, module3) {
|
|
20603
20593
|
"use strict";
|
|
20604
20594
|
var bind = require_function_bind();
|
|
20605
20595
|
var $apply = require_functionApply();
|
|
@@ -20609,9 +20599,9 @@ var require_actualApply = __commonJS({
|
|
|
20609
20599
|
}
|
|
20610
20600
|
});
|
|
20611
20601
|
|
|
20612
|
-
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.
|
|
20602
|
+
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js
|
|
20613
20603
|
var require_call_bind_apply_helpers = __commonJS({
|
|
20614
|
-
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.
|
|
20604
|
+
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(exports3, module3) {
|
|
20615
20605
|
"use strict";
|
|
20616
20606
|
var bind = require_function_bind();
|
|
20617
20607
|
var $TypeError = require_type();
|
|
@@ -20688,9 +20678,9 @@ var require_hasown = __commonJS({
|
|
|
20688
20678
|
}
|
|
20689
20679
|
});
|
|
20690
20680
|
|
|
20691
|
-
// ../node_modules/.pnpm/get-intrinsic@1.
|
|
20681
|
+
// ../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js
|
|
20692
20682
|
var require_get_intrinsic = __commonJS({
|
|
20693
|
-
"../node_modules/.pnpm/get-intrinsic@1.
|
|
20683
|
+
"../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(exports3, module3) {
|
|
20694
20684
|
"use strict";
|
|
20695
20685
|
var undefined2;
|
|
20696
20686
|
var $Object = require_es_object_atoms();
|
|
@@ -20766,6 +20756,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
20766
20756
|
"%eval%": eval,
|
|
20767
20757
|
// eslint-disable-line no-eval
|
|
20768
20758
|
"%EvalError%": $EvalError,
|
|
20759
|
+
"%Float16Array%": typeof Float16Array === "undefined" ? undefined2 : Float16Array,
|
|
20769
20760
|
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
20770
20761
|
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
20771
20762
|
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
@@ -21018,20 +21009,23 @@ var require_get_intrinsic = __commonJS({
|
|
|
21018
21009
|
}
|
|
21019
21010
|
});
|
|
21020
21011
|
|
|
21021
|
-
// ../node_modules/.pnpm/call-bound@1.0.
|
|
21012
|
+
// ../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js
|
|
21022
21013
|
var require_call_bound = __commonJS({
|
|
21023
|
-
"../node_modules/.pnpm/call-bound@1.0.
|
|
21014
|
+
"../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(exports3, module3) {
|
|
21024
21015
|
"use strict";
|
|
21025
21016
|
var GetIntrinsic = require_get_intrinsic();
|
|
21026
21017
|
var callBindBasic = require_call_bind_apply_helpers();
|
|
21027
21018
|
var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
|
|
21028
21019
|
module3.exports = function callBoundIntrinsic(name2, allowMissing) {
|
|
21029
21020
|
var intrinsic = (
|
|
21030
|
-
/** @type {
|
|
21021
|
+
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
21031
21022
|
GetIntrinsic(name2, !!allowMissing)
|
|
21032
21023
|
);
|
|
21033
21024
|
if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
|
|
21034
|
-
return callBindBasic(
|
|
21025
|
+
return callBindBasic(
|
|
21026
|
+
/** @type {const} */
|
|
21027
|
+
[intrinsic]
|
|
21028
|
+
);
|
|
21035
21029
|
}
|
|
21036
21030
|
return intrinsic;
|
|
21037
21031
|
};
|
|
@@ -26029,13 +26023,14 @@ var require_cookie_signature = __commonJS({
|
|
|
26029
26023
|
}
|
|
26030
26024
|
});
|
|
26031
26025
|
|
|
26032
|
-
// ../node_modules/.pnpm/cookie@0.7.
|
|
26026
|
+
// ../node_modules/.pnpm/cookie@0.7.2/node_modules/cookie/index.js
|
|
26033
26027
|
var require_cookie = __commonJS({
|
|
26034
|
-
"../node_modules/.pnpm/cookie@0.7.
|
|
26028
|
+
"../node_modules/.pnpm/cookie@0.7.2/node_modules/cookie/index.js"(exports3) {
|
|
26035
26029
|
"use strict";
|
|
26036
26030
|
exports3.parse = parse;
|
|
26037
26031
|
exports3.serialize = serialize;
|
|
26038
26032
|
var __toString = Object.prototype.toString;
|
|
26033
|
+
var __hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
26039
26034
|
var cookieNameRegExp = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
|
26040
26035
|
var cookieValueRegExp = /^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/;
|
|
26041
26036
|
var domainValueRegExp = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i;
|
|
@@ -26064,7 +26059,7 @@ var require_cookie = __commonJS({
|
|
|
26064
26059
|
var keyStartIdx = startIndex(str, index, eqIdx);
|
|
26065
26060
|
var keyEndIdx = endIndex(str, eqIdx, keyStartIdx);
|
|
26066
26061
|
var key = str.slice(keyStartIdx, keyEndIdx);
|
|
26067
|
-
if (!
|
|
26062
|
+
if (!__hasOwnProperty.call(obj, key)) {
|
|
26068
26063
|
var valStartIdx = startIndex(str, eqIdx + 1, endIdx);
|
|
26069
26064
|
var valEndIdx = endIndex(str, endIdx, valStartIdx);
|
|
26070
26065
|
if (str.charCodeAt(valStartIdx) === 34 && str.charCodeAt(valEndIdx - 1) === 34) {
|
|
@@ -30656,7 +30651,7 @@ var require_express_ws = __commonJS({
|
|
|
30656
30651
|
}
|
|
30657
30652
|
});
|
|
30658
30653
|
|
|
30659
|
-
// ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.
|
|
30654
|
+
// ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.26__yjs@13.6.26/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
|
|
30660
30655
|
var import_async_lock = __toESM(require_async_lock(), 1);
|
|
30661
30656
|
|
|
30662
30657
|
// ../node_modules/.pnpm/@hocuspocus+common@2.15.2/node_modules/@hocuspocus/common/dist/hocuspocus-common.esm.js
|
|
@@ -30796,7 +30791,7 @@ var WsReadyStates;
|
|
|
30796
30791
|
WsReadyStates2[WsReadyStates2["Closed"] = 3] = "Closed";
|
|
30797
30792
|
})(WsReadyStates || (WsReadyStates = {}));
|
|
30798
30793
|
|
|
30799
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
30794
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/map.js
|
|
30800
30795
|
var create2 = () => /* @__PURE__ */ new Map();
|
|
30801
30796
|
var copy = (m) => {
|
|
30802
30797
|
const r = create2();
|
|
@@ -30821,10 +30816,10 @@ var any = (m, f) => {
|
|
|
30821
30816
|
return false;
|
|
30822
30817
|
};
|
|
30823
30818
|
|
|
30824
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
30819
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/set.js
|
|
30825
30820
|
var create3 = () => /* @__PURE__ */ new Set();
|
|
30826
30821
|
|
|
30827
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
30822
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/array.js
|
|
30828
30823
|
var last = (arr) => arr[arr.length - 1];
|
|
30829
30824
|
var appendTo = (dest, src) => {
|
|
30830
30825
|
for (let i = 0; i < src.length; i++) {
|
|
@@ -30834,7 +30829,7 @@ var appendTo = (dest, src) => {
|
|
|
30834
30829
|
var from = Array.from;
|
|
30835
30830
|
var isArray = Array.isArray;
|
|
30836
30831
|
|
|
30837
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
30832
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/observable.js
|
|
30838
30833
|
var ObservableV2 = class {
|
|
30839
30834
|
constructor() {
|
|
30840
30835
|
this._observers = create2();
|
|
@@ -30905,7 +30900,7 @@ var ObservableV2 = class {
|
|
|
30905
30900
|
}
|
|
30906
30901
|
};
|
|
30907
30902
|
|
|
30908
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
30903
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/math.js
|
|
30909
30904
|
var floor2 = Math.floor;
|
|
30910
30905
|
var abs = Math.abs;
|
|
30911
30906
|
var min2 = (a, b) => a < b ? a : b;
|
|
@@ -30913,7 +30908,7 @@ var max2 = (a, b) => a > b ? a : b;
|
|
|
30913
30908
|
var isNaN2 = Number.isNaN;
|
|
30914
30909
|
var isNegativeZero = (n) => n !== 0 ? n < 0 : 1 / n < 0;
|
|
30915
30910
|
|
|
30916
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
30911
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/binary.js
|
|
30917
30912
|
var BIT1 = 1;
|
|
30918
30913
|
var BIT2 = 2;
|
|
30919
30914
|
var BIT3 = 4;
|
|
@@ -30955,7 +30950,7 @@ var BITS29 = BIT30 - 1;
|
|
|
30955
30950
|
var BITS30 = BIT31 - 1;
|
|
30956
30951
|
var BITS31 = 2147483647;
|
|
30957
30952
|
|
|
30958
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
30953
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/number.js
|
|
30959
30954
|
var MAX_SAFE_INTEGER2 = Number.MAX_SAFE_INTEGER;
|
|
30960
30955
|
var MIN_SAFE_INTEGER = Number.MIN_SAFE_INTEGER;
|
|
30961
30956
|
var LOWEST_INT32 = 1 << 31;
|
|
@@ -30963,7 +30958,7 @@ var isInteger = Number.isInteger || ((num) => typeof num === "number" && isFinit
|
|
|
30963
30958
|
var isNaN3 = Number.isNaN;
|
|
30964
30959
|
var parseInt2 = Number.parseInt;
|
|
30965
30960
|
|
|
30966
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
30961
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/string.js
|
|
30967
30962
|
var fromCharCode = String.fromCharCode;
|
|
30968
30963
|
var fromCodePoint = String.fromCodePoint;
|
|
30969
30964
|
var MAX_UTF16_CHARACTER = fromCharCode(65535);
|
|
@@ -30993,7 +30988,7 @@ if (utf8TextDecoder2 && utf8TextDecoder2.decode(new Uint8Array()).length === 1)
|
|
|
30993
30988
|
utf8TextDecoder2 = null;
|
|
30994
30989
|
}
|
|
30995
30990
|
|
|
30996
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
30991
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/encoding.js
|
|
30997
30992
|
var Encoder = class {
|
|
30998
30993
|
constructor() {
|
|
30999
30994
|
this.cpos = 0;
|
|
@@ -31300,7 +31295,7 @@ var StringEncoder = class {
|
|
|
31300
31295
|
}
|
|
31301
31296
|
};
|
|
31302
31297
|
|
|
31303
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31298
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/error.js
|
|
31304
31299
|
var create4 = (s) => new Error(s);
|
|
31305
31300
|
var methodUnimplemented = () => {
|
|
31306
31301
|
throw create4("Method unimplemented");
|
|
@@ -31309,7 +31304,7 @@ var unexpectedCase = () => {
|
|
|
31309
31304
|
throw create4("Unexpected case");
|
|
31310
31305
|
};
|
|
31311
31306
|
|
|
31312
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31307
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/decoding.js
|
|
31313
31308
|
var errorUnexpectedEndOfArray2 = create4("Unexpected end of array");
|
|
31314
31309
|
var errorIntegerOutOfRange2 = create4("Integer out of Range");
|
|
31315
31310
|
var Decoder = class {
|
|
@@ -31552,7 +31547,7 @@ var StringDecoder = class {
|
|
|
31552
31547
|
}
|
|
31553
31548
|
};
|
|
31554
31549
|
|
|
31555
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31550
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/webcrypto.node.js
|
|
31556
31551
|
var import_node_crypto = require("node:crypto");
|
|
31557
31552
|
var subtle = (
|
|
31558
31553
|
/** @type {any} */
|
|
@@ -31563,7 +31558,7 @@ var getRandomValues = (
|
|
|
31563
31558
|
import_node_crypto.webcrypto.getRandomValues.bind(import_node_crypto.webcrypto)
|
|
31564
31559
|
);
|
|
31565
31560
|
|
|
31566
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31561
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/random.js
|
|
31567
31562
|
var uint32 = () => getRandomValues(new Uint32Array(1))[0];
|
|
31568
31563
|
var uuidv4Template = "10000000-1000-4000-8000" + -1e11;
|
|
31569
31564
|
var uuidv4 = () => uuidv4Template.replace(
|
|
@@ -31572,20 +31567,20 @@ var uuidv4 = () => uuidv4Template.replace(
|
|
|
31572
31567
|
(c) => (c ^ uint32() & 15 >> c / 4).toString(16)
|
|
31573
31568
|
);
|
|
31574
31569
|
|
|
31575
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31570
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/time.js
|
|
31576
31571
|
var getUnixTime = Date.now;
|
|
31577
31572
|
|
|
31578
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31573
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/promise.js
|
|
31579
31574
|
var create5 = (f) => (
|
|
31580
31575
|
/** @type {Promise<T>} */
|
|
31581
31576
|
new Promise(f)
|
|
31582
31577
|
);
|
|
31583
31578
|
var all = Promise.all.bind(Promise);
|
|
31584
31579
|
|
|
31585
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31580
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/conditions.js
|
|
31586
31581
|
var undefinedToNull = (v) => v === void 0 ? null : v;
|
|
31587
31582
|
|
|
31588
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31583
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/storage.js
|
|
31589
31584
|
var VarStoragePolyfill = class {
|
|
31590
31585
|
constructor() {
|
|
31591
31586
|
this.map = /* @__PURE__ */ new Map();
|
|
@@ -31615,7 +31610,7 @@ try {
|
|
|
31615
31610
|
}
|
|
31616
31611
|
var varStorage = _localStorage;
|
|
31617
31612
|
|
|
31618
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31613
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/object.js
|
|
31619
31614
|
var assign = Object.assign;
|
|
31620
31615
|
var keys = Object.keys;
|
|
31621
31616
|
var forEach = (obj, f) => {
|
|
@@ -31651,7 +31646,7 @@ var deepFreeze = (o) => {
|
|
|
31651
31646
|
return freeze(o);
|
|
31652
31647
|
};
|
|
31653
31648
|
|
|
31654
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31649
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/function.js
|
|
31655
31650
|
var callAll = (fs, args2, i = 0) => {
|
|
31656
31651
|
try {
|
|
31657
31652
|
for (; i < fs.length; i++) {
|
|
@@ -31666,7 +31661,7 @@ var callAll = (fs, args2, i = 0) => {
|
|
|
31666
31661
|
var id = (a) => a;
|
|
31667
31662
|
var isOneOf = (value, options) => options.includes(value);
|
|
31668
31663
|
|
|
31669
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31664
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/environment.js
|
|
31670
31665
|
var isNode = typeof process !== "undefined" && process.release && /node|io\.js/.test(process.release.name) && Object.prototype.toString.call(typeof process !== "undefined" ? process : 0) === "[object process]";
|
|
31671
31666
|
var isMac = typeof navigator !== "undefined" ? /Mac/.test(navigator.platform) : false;
|
|
31672
31667
|
var params;
|
|
@@ -31719,7 +31714,7 @@ var forceColor = isNode && isOneOf(process.env.FORCE_COLOR, ["true", "1", "2"]);
|
|
|
31719
31714
|
var supportsColor = forceColor || !hasParam("--no-colors") && // @todo deprecate --no-colors
|
|
31720
31715
|
!hasConf("no-color") && (!isNode || process.stdout.isTTY) && (!isNode || hasParam("--color") || getVariable("COLORTERM") !== null || (getVariable("TERM") || "").includes("color"));
|
|
31721
31716
|
|
|
31722
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31717
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/buffer.js
|
|
31723
31718
|
var createUint8ArrayFromLen = (len) => new Uint8Array(len);
|
|
31724
31719
|
var copyUint8Array = (uint8Array) => {
|
|
31725
31720
|
const newBuf = createUint8ArrayFromLen(uint8Array.byteLength);
|
|
@@ -31727,10 +31722,10 @@ var copyUint8Array = (uint8Array) => {
|
|
|
31727
31722
|
return newBuf;
|
|
31728
31723
|
};
|
|
31729
31724
|
|
|
31730
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31725
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/symbol.js
|
|
31731
31726
|
var create6 = Symbol;
|
|
31732
31727
|
|
|
31733
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31728
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/logging.common.js
|
|
31734
31729
|
var BOLD = create6();
|
|
31735
31730
|
var UNBOLD = create6();
|
|
31736
31731
|
var BLUE = create6();
|
|
@@ -31772,7 +31767,7 @@ var computeNoColorLoggingArgs = (args2) => {
|
|
|
31772
31767
|
};
|
|
31773
31768
|
var lastLoggingTime = getUnixTime();
|
|
31774
31769
|
|
|
31775
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31770
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/logging.node.js
|
|
31776
31771
|
var _nodeStyleMap = {
|
|
31777
31772
|
[BOLD]: "\x1B[1m",
|
|
31778
31773
|
[UNBOLD]: "\x1B[2m",
|
|
@@ -31828,7 +31823,7 @@ var warn = (...args2) => {
|
|
|
31828
31823
|
console.warn(...computeLoggingArgs(args2));
|
|
31829
31824
|
};
|
|
31830
31825
|
|
|
31831
|
-
// ../node_modules/.pnpm/lib0@0.2.
|
|
31826
|
+
// ../node_modules/.pnpm/lib0@0.2.108/node_modules/lib0/iterator.js
|
|
31832
31827
|
var createIterator = (next) => ({
|
|
31833
31828
|
/**
|
|
31834
31829
|
* @return {IterableIterator<T>}
|
|
@@ -31851,7 +31846,7 @@ var iteratorMap = (iterator, fmap) => createIterator(() => {
|
|
|
31851
31846
|
return { done, value: done ? void 0 : fmap(value) };
|
|
31852
31847
|
});
|
|
31853
31848
|
|
|
31854
|
-
// ../node_modules/.pnpm/yjs@13.6.
|
|
31849
|
+
// ../node_modules/.pnpm/yjs@13.6.26/node_modules/yjs/dist/yjs.mjs
|
|
31855
31850
|
var DeleteItem = class {
|
|
31856
31851
|
/**
|
|
31857
31852
|
* @param {number} clock
|
|
@@ -31872,9 +31867,12 @@ var iterateDeletedStructs = (transaction, ds, f) => ds.clients.forEach((deletes,
|
|
|
31872
31867
|
/** @type {Array<GC|Item>} */
|
|
31873
31868
|
transaction.doc.store.clients.get(clientid)
|
|
31874
31869
|
);
|
|
31875
|
-
|
|
31876
|
-
const
|
|
31877
|
-
|
|
31870
|
+
if (structs != null) {
|
|
31871
|
+
const lastStruct = structs[structs.length - 1];
|
|
31872
|
+
const clockState = lastStruct.id.clock + lastStruct.length;
|
|
31873
|
+
for (let i = 0, del = deletes[i]; i < deletes.length && del.clock < clockState; del = deletes[++i]) {
|
|
31874
|
+
iterateStructs(transaction, structs, del.clock, del.len, f);
|
|
31875
|
+
}
|
|
31878
31876
|
}
|
|
31879
31877
|
});
|
|
31880
31878
|
var findIndexDS = (dis, clock) => {
|
|
@@ -38406,7 +38404,7 @@ function init(open, close) {
|
|
|
38406
38404
|
}
|
|
38407
38405
|
var kleur_default = $;
|
|
38408
38406
|
|
|
38409
|
-
// ../node_modules/.pnpm/uuid@11.0
|
|
38407
|
+
// ../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/stringify.js
|
|
38410
38408
|
var byteToHex = [];
|
|
38411
38409
|
for (let i = 0; i < 256; ++i) {
|
|
38412
38410
|
byteToHex.push((i + 256).toString(16).slice(1));
|
|
@@ -38415,7 +38413,7 @@ function unsafeStringify(arr, offset = 0) {
|
|
|
38415
38413
|
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
38416
38414
|
}
|
|
38417
38415
|
|
|
38418
|
-
// ../node_modules/.pnpm/uuid@11.0
|
|
38416
|
+
// ../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/rng.js
|
|
38419
38417
|
var import_crypto = require("crypto");
|
|
38420
38418
|
var rnds8Pool = new Uint8Array(256);
|
|
38421
38419
|
var poolPtr = rnds8Pool.length;
|
|
@@ -38427,21 +38425,27 @@ function rng() {
|
|
|
38427
38425
|
return rnds8Pool.slice(poolPtr, poolPtr += 16);
|
|
38428
38426
|
}
|
|
38429
38427
|
|
|
38430
|
-
// ../node_modules/.pnpm/uuid@11.0
|
|
38428
|
+
// ../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/native.js
|
|
38431
38429
|
var import_crypto2 = require("crypto");
|
|
38432
38430
|
var native_default = { randomUUID: import_crypto2.randomUUID };
|
|
38433
38431
|
|
|
38434
|
-
// ../node_modules/.pnpm/uuid@11.0
|
|
38432
|
+
// ../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/v4.js
|
|
38435
38433
|
function v4(options, buf, offset) {
|
|
38436
38434
|
if (native_default.randomUUID && !buf && !options) {
|
|
38437
38435
|
return native_default.randomUUID();
|
|
38438
38436
|
}
|
|
38439
38437
|
options = options || {};
|
|
38440
|
-
const rnds = options.random
|
|
38438
|
+
const rnds = options.random ?? options.rng?.() ?? rng();
|
|
38439
|
+
if (rnds.length < 16) {
|
|
38440
|
+
throw new Error("Random bytes length must be >= 16");
|
|
38441
|
+
}
|
|
38441
38442
|
rnds[6] = rnds[6] & 15 | 64;
|
|
38442
38443
|
rnds[8] = rnds[8] & 63 | 128;
|
|
38443
38444
|
if (buf) {
|
|
38444
38445
|
offset = offset || 0;
|
|
38446
|
+
if (offset < 0 || offset + 16 > buf.length) {
|
|
38447
|
+
throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
|
|
38448
|
+
}
|
|
38445
38449
|
for (let i = 0; i < 16; ++i) {
|
|
38446
38450
|
buf[offset + i] = rnds[i];
|
|
38447
38451
|
}
|
|
@@ -38451,17 +38455,17 @@ function v4(options, buf, offset) {
|
|
|
38451
38455
|
}
|
|
38452
38456
|
var v4_default = v4;
|
|
38453
38457
|
|
|
38454
|
-
// ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.
|
|
38458
|
+
// ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.26__yjs@13.6.26/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
|
|
38455
38459
|
var import_http = require("http");
|
|
38456
38460
|
|
|
38457
|
-
// ../node_modules/.pnpm/ws@8.18.
|
|
38461
|
+
// ../node_modules/.pnpm/ws@8.18.2/node_modules/ws/wrapper.mjs
|
|
38458
38462
|
var import_stream = __toESM(require_stream(), 1);
|
|
38459
38463
|
var import_receiver = __toESM(require_receiver(), 1);
|
|
38460
38464
|
var import_sender = __toESM(require_sender(), 1);
|
|
38461
38465
|
var import_websocket = __toESM(require_websocket(), 1);
|
|
38462
38466
|
var import_websocket_server = __toESM(require_websocket_server(), 1);
|
|
38463
38467
|
|
|
38464
|
-
// ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.
|
|
38468
|
+
// ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.26__yjs@13.6.26/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
|
|
38465
38469
|
var import_url = require("url");
|
|
38466
38470
|
var BIT83 = 128;
|
|
38467
38471
|
var BITS73 = 127;
|
|
@@ -40673,6 +40677,9 @@ raw-body/index.js:
|
|
|
40673
40677
|
*)
|
|
40674
40678
|
|
|
40675
40679
|
body-parser/lib/read.js:
|
|
40680
|
+
body-parser/lib/types/raw.js:
|
|
40681
|
+
body-parser/lib/types/text.js:
|
|
40682
|
+
body-parser/index.js:
|
|
40676
40683
|
(*!
|
|
40677
40684
|
* body-parser
|
|
40678
40685
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
@@ -40718,27 +40725,6 @@ type-is/index.js:
|
|
|
40718
40725
|
*)
|
|
40719
40726
|
|
|
40720
40727
|
body-parser/lib/types/json.js:
|
|
40721
|
-
(*!
|
|
40722
|
-
* body-parser
|
|
40723
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
40724
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
40725
|
-
* MIT Licensed
|
|
40726
|
-
*)
|
|
40727
|
-
|
|
40728
|
-
body-parser/lib/types/raw.js:
|
|
40729
|
-
(*!
|
|
40730
|
-
* body-parser
|
|
40731
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
40732
|
-
* MIT Licensed
|
|
40733
|
-
*)
|
|
40734
|
-
|
|
40735
|
-
body-parser/lib/types/text.js:
|
|
40736
|
-
(*!
|
|
40737
|
-
* body-parser
|
|
40738
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
40739
|
-
* MIT Licensed
|
|
40740
|
-
*)
|
|
40741
|
-
|
|
40742
40728
|
body-parser/lib/types/urlencoded.js:
|
|
40743
40729
|
(*!
|
|
40744
40730
|
* body-parser
|
|
@@ -40747,13 +40733,6 @@ body-parser/lib/types/urlencoded.js:
|
|
|
40747
40733
|
* MIT Licensed
|
|
40748
40734
|
*)
|
|
40749
40735
|
|
|
40750
|
-
body-parser/index.js:
|
|
40751
|
-
(*!
|
|
40752
|
-
* body-parser
|
|
40753
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
40754
|
-
* MIT Licensed
|
|
40755
|
-
*)
|
|
40756
|
-
|
|
40757
40736
|
encodeurl/index.js:
|
|
40758
40737
|
(*!
|
|
40759
40738
|
* encodeurl
|
|
@@ -40786,6 +40765,10 @@ finalhandler/index.js:
|
|
|
40786
40765
|
*)
|
|
40787
40766
|
|
|
40788
40767
|
express/lib/view.js:
|
|
40768
|
+
express/lib/application.js:
|
|
40769
|
+
express/lib/request.js:
|
|
40770
|
+
express/lib/express.js:
|
|
40771
|
+
express/index.js:
|
|
40789
40772
|
(*!
|
|
40790
40773
|
* express
|
|
40791
40774
|
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|
@@ -40816,6 +40799,7 @@ proxy-addr/index.js:
|
|
|
40816
40799
|
*)
|
|
40817
40800
|
|
|
40818
40801
|
express/lib/utils.js:
|
|
40802
|
+
express/lib/response.js:
|
|
40819
40803
|
(*!
|
|
40820
40804
|
* express
|
|
40821
40805
|
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|
@@ -40824,21 +40808,7 @@ express/lib/utils.js:
|
|
|
40824
40808
|
*)
|
|
40825
40809
|
|
|
40826
40810
|
router/lib/layer.js:
|
|
40827
|
-
(*!
|
|
40828
|
-
* router
|
|
40829
|
-
* Copyright(c) 2013 Roman Shtylman
|
|
40830
|
-
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|
40831
|
-
* MIT Licensed
|
|
40832
|
-
*)
|
|
40833
|
-
|
|
40834
40811
|
router/lib/route.js:
|
|
40835
|
-
(*!
|
|
40836
|
-
* router
|
|
40837
|
-
* Copyright(c) 2013 Roman Shtylman
|
|
40838
|
-
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|
40839
|
-
* MIT Licensed
|
|
40840
|
-
*)
|
|
40841
|
-
|
|
40842
40812
|
router/index.js:
|
|
40843
40813
|
(*!
|
|
40844
40814
|
* router
|
|
@@ -40847,15 +40817,6 @@ router/index.js:
|
|
|
40847
40817
|
* MIT Licensed
|
|
40848
40818
|
*)
|
|
40849
40819
|
|
|
40850
|
-
express/lib/application.js:
|
|
40851
|
-
(*!
|
|
40852
|
-
* express
|
|
40853
|
-
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|
40854
|
-
* Copyright(c) 2013 Roman Shtylman
|
|
40855
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
40856
|
-
* MIT Licensed
|
|
40857
|
-
*)
|
|
40858
|
-
|
|
40859
40820
|
negotiator/index.js:
|
|
40860
40821
|
(*!
|
|
40861
40822
|
* negotiator
|
|
@@ -40889,15 +40850,6 @@ range-parser/index.js:
|
|
|
40889
40850
|
* MIT Licensed
|
|
40890
40851
|
*)
|
|
40891
40852
|
|
|
40892
|
-
express/lib/request.js:
|
|
40893
|
-
(*!
|
|
40894
|
-
* express
|
|
40895
|
-
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|
40896
|
-
* Copyright(c) 2013 Roman Shtylman
|
|
40897
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
40898
|
-
* MIT Licensed
|
|
40899
|
-
*)
|
|
40900
|
-
|
|
40901
40853
|
safe-buffer/index.js:
|
|
40902
40854
|
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
40903
40855
|
|
|
@@ -40931,14 +40883,6 @@ vary/index.js:
|
|
|
40931
40883
|
* MIT Licensed
|
|
40932
40884
|
*)
|
|
40933
40885
|
|
|
40934
|
-
express/lib/response.js:
|
|
40935
|
-
(*!
|
|
40936
|
-
* express
|
|
40937
|
-
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|
40938
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
40939
|
-
* MIT Licensed
|
|
40940
|
-
*)
|
|
40941
|
-
|
|
40942
40886
|
serve-static/index.js:
|
|
40943
40887
|
(*!
|
|
40944
40888
|
* serve-static
|
|
@@ -40947,22 +40891,4 @@ serve-static/index.js:
|
|
|
40947
40891
|
* Copyright(c) 2014-2016 Douglas Christopher Wilson
|
|
40948
40892
|
* MIT Licensed
|
|
40949
40893
|
*)
|
|
40950
|
-
|
|
40951
|
-
express/lib/express.js:
|
|
40952
|
-
(*!
|
|
40953
|
-
* express
|
|
40954
|
-
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|
40955
|
-
* Copyright(c) 2013 Roman Shtylman
|
|
40956
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
40957
|
-
* MIT Licensed
|
|
40958
|
-
*)
|
|
40959
|
-
|
|
40960
|
-
express/index.js:
|
|
40961
|
-
(*!
|
|
40962
|
-
* express
|
|
40963
|
-
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|
40964
|
-
* Copyright(c) 2013 Roman Shtylman
|
|
40965
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
40966
|
-
* MIT Licensed
|
|
40967
|
-
*)
|
|
40968
40894
|
*/
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xwiki/cristal-realtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0-rc.0",
|
|
4
4
|
"license": "LGPL 2.1",
|
|
5
5
|
"author": "XWiki Org Community <contact@xwiki.org>",
|
|
6
6
|
"homepage": "https://cristal.xwiki.org/",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"directory": "realtime",
|
|
10
|
-
"url": "https://github.com/xwiki-contrib/cristal
|
|
10
|
+
"url": "git+https://github.com/xwiki-contrib/cristal.git"
|
|
11
11
|
},
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://jira.xwiki.org/projects/CRISTAL/"
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"express-ws": "5.0.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@types/express": "5.0.
|
|
22
|
+
"@types/express": "5.0.3",
|
|
23
23
|
"@types/express-ws": "3.0.5",
|
|
24
|
-
"esbuild": "0.25.
|
|
25
|
-
"tsx": "4.
|
|
26
|
-
"typescript": "5.8.
|
|
27
|
-
"vite": "6.
|
|
24
|
+
"esbuild": "0.25.5",
|
|
25
|
+
"tsx": "4.20.2",
|
|
26
|
+
"typescript": "5.8.3",
|
|
27
|
+
"vite": "6.3.5"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
|
-
"build": "tsc --project tsconfig.json && esbuild ./src/index.ts --bundle --outfile=dist/index.
|
|
30
|
+
"build": "tsc --project tsconfig.json && esbuild ./src/index.ts --bundle --outfile=dist/index.cjs --platform=node",
|
|
31
31
|
"clean": "rimraf dist",
|
|
32
32
|
"dev": "tsx src/index.ts",
|
|
33
33
|
"lint": "eslint \"./src/**/*.{ts,tsx,vue}\" --max-warnings=0"
|