@xwiki/cristal-realtime 1.0.0 → 1.1.0-rc-1

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.
Files changed (2) hide show
  1. package/dist/index.cjs +257 -180
  2. package/package.json +2 -2
package/dist/index.cjs CHANGED
@@ -258,15 +258,16 @@ var require_async_lock = __commonJS({
258
258
  }
259
259
  });
260
260
 
261
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/constants.js
261
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/constants.js
262
262
  var require_constants = __commonJS({
263
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/constants.js"(exports3, module3) {
263
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/constants.js"(exports3, module3) {
264
264
  "use strict";
265
265
  var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"];
266
266
  var hasBlob = typeof Blob !== "undefined";
267
267
  if (hasBlob) BINARY_TYPES.push("blob");
268
268
  module3.exports = {
269
269
  BINARY_TYPES,
270
+ CLOSE_TIMEOUT: 3e4,
270
271
  EMPTY_BUFFER: Buffer.alloc(0),
271
272
  GUID: "258EAFA5-E914-47DA-95CA-C5AB0DC85B11",
272
273
  hasBlob,
@@ -280,9 +281,9 @@ var require_constants = __commonJS({
280
281
  }
281
282
  });
282
283
 
283
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/buffer-util.js
284
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/buffer-util.js
284
285
  var require_buffer_util = __commonJS({
285
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/buffer-util.js"(exports3, module3) {
286
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/buffer-util.js"(exports3, module3) {
286
287
  "use strict";
287
288
  var { EMPTY_BUFFER } = require_constants();
288
289
  var FastBuffer = Buffer[Symbol.species];
@@ -355,9 +356,9 @@ var require_buffer_util = __commonJS({
355
356
  }
356
357
  });
357
358
 
358
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/limiter.js
359
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/limiter.js
359
360
  var require_limiter = __commonJS({
360
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/limiter.js"(exports3, module3) {
361
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/limiter.js"(exports3, module3) {
361
362
  "use strict";
362
363
  var kDone = /* @__PURE__ */ Symbol("kDone");
363
364
  var kRun = /* @__PURE__ */ Symbol("kRun");
@@ -405,9 +406,9 @@ var require_limiter = __commonJS({
405
406
  }
406
407
  });
407
408
 
408
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/permessage-deflate.js
409
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/permessage-deflate.js
409
410
  var require_permessage_deflate = __commonJS({
410
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/permessage-deflate.js"(exports3, module3) {
411
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/permessage-deflate.js"(exports3, module3) {
411
412
  "use strict";
412
413
  var zlib = require("zlib");
413
414
  var bufferUtil = require_buffer_util();
@@ -788,9 +789,9 @@ var require_permessage_deflate = __commonJS({
788
789
  }
789
790
  });
790
791
 
791
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/validation.js
792
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/validation.js
792
793
  var require_validation = __commonJS({
793
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/validation.js"(exports3, module3) {
794
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/validation.js"(exports3, module3) {
794
795
  "use strict";
795
796
  var { isUtf8 } = require("buffer");
796
797
  var { hasBlob } = require_constants();
@@ -989,9 +990,9 @@ var require_validation = __commonJS({
989
990
  }
990
991
  });
991
992
 
992
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/receiver.js
993
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/receiver.js
993
994
  var require_receiver = __commonJS({
994
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/receiver.js"(exports3, module3) {
995
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/receiver.js"(exports3, module3) {
995
996
  "use strict";
996
997
  var { Writable } = require("stream");
997
998
  var PerMessageDeflate = require_permessage_deflate();
@@ -1581,9 +1582,9 @@ var require_receiver = __commonJS({
1581
1582
  }
1582
1583
  });
1583
1584
 
1584
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/sender.js
1585
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/sender.js
1585
1586
  var require_sender = __commonJS({
1586
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/sender.js"(exports3, module3) {
1587
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/sender.js"(exports3, module3) {
1587
1588
  "use strict";
1588
1589
  var { Duplex } = require("stream");
1589
1590
  var { randomFillSync: randomFillSync2 } = require("crypto");
@@ -2069,9 +2070,9 @@ var require_sender = __commonJS({
2069
2070
  }
2070
2071
  });
2071
2072
 
2072
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/event-target.js
2073
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/event-target.js
2073
2074
  var require_event_target = __commonJS({
2074
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/event-target.js"(exports3, module3) {
2075
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/event-target.js"(exports3, module3) {
2075
2076
  "use strict";
2076
2077
  var { kForOnEventAttribute, kListener } = require_constants();
2077
2078
  var kCode = /* @__PURE__ */ Symbol("kCode");
@@ -2298,9 +2299,9 @@ var require_event_target = __commonJS({
2298
2299
  }
2299
2300
  });
2300
2301
 
2301
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/extension.js
2302
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/extension.js
2302
2303
  var require_extension = __commonJS({
2303
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/extension.js"(exports3, module3) {
2304
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/extension.js"(exports3, module3) {
2304
2305
  "use strict";
2305
2306
  var { tokenChars } = require_validation();
2306
2307
  function push(dest, name2, elem) {
@@ -2451,9 +2452,9 @@ var require_extension = __commonJS({
2451
2452
  }
2452
2453
  });
2453
2454
 
2454
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/websocket.js
2455
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/websocket.js
2455
2456
  var require_websocket = __commonJS({
2456
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/websocket.js"(exports3, module3) {
2457
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/websocket.js"(exports3, module3) {
2457
2458
  "use strict";
2458
2459
  var EventEmitter = require("events");
2459
2460
  var https = require("https");
@@ -2469,6 +2470,7 @@ var require_websocket = __commonJS({
2469
2470
  var { isBlob } = require_validation();
2470
2471
  var {
2471
2472
  BINARY_TYPES,
2473
+ CLOSE_TIMEOUT,
2472
2474
  EMPTY_BUFFER,
2473
2475
  GUID,
2474
2476
  kForOnEventAttribute,
@@ -2482,7 +2484,6 @@ var require_websocket = __commonJS({
2482
2484
  } = require_event_target();
2483
2485
  var { format, parse } = require_extension();
2484
2486
  var { toBuffer } = require_buffer_util();
2485
- var closeTimeout = 30 * 1e3;
2486
2487
  var kAborted = /* @__PURE__ */ Symbol("kAborted");
2487
2488
  var protocolVersions = [8, 13];
2488
2489
  var readyStates = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"];
@@ -2528,6 +2529,7 @@ var require_websocket = __commonJS({
2528
2529
  initAsClient(this, address, protocols, options);
2529
2530
  } else {
2530
2531
  this._autoPong = options.autoPong;
2532
+ this._closeTimeout = options.closeTimeout;
2531
2533
  this._isServer = true;
2532
2534
  }
2533
2535
  }
@@ -2929,6 +2931,7 @@ var require_websocket = __commonJS({
2929
2931
  const opts = {
2930
2932
  allowSynchronousEvents: true,
2931
2933
  autoPong: true,
2934
+ closeTimeout: CLOSE_TIMEOUT,
2932
2935
  protocolVersion: protocolVersions[1],
2933
2936
  maxPayload: 100 * 1024 * 1024,
2934
2937
  skipUTF8Validation: false,
@@ -2946,6 +2949,7 @@ var require_websocket = __commonJS({
2946
2949
  port: void 0
2947
2950
  };
2948
2951
  websocket._autoPong = opts.autoPong;
2952
+ websocket._closeTimeout = opts.closeTimeout;
2949
2953
  if (!protocolVersions.includes(opts.protocolVersion)) {
2950
2954
  throw new RangeError(
2951
2955
  `Unsupported protocol version: ${opts.protocolVersion} (supported versions: ${protocolVersions.join(", ")})`
@@ -3288,7 +3292,7 @@ var require_websocket = __commonJS({
3288
3292
  function setCloseTimer(websocket) {
3289
3293
  websocket._closeTimer = setTimeout(
3290
3294
  websocket._socket.destroy.bind(websocket._socket),
3291
- closeTimeout
3295
+ websocket._closeTimeout
3292
3296
  );
3293
3297
  }
3294
3298
  function socketOnClose() {
@@ -3297,8 +3301,8 @@ var require_websocket = __commonJS({
3297
3301
  this.removeListener("data", socketOnData);
3298
3302
  this.removeListener("end", socketOnEnd);
3299
3303
  websocket._readyState = WebSocket2.CLOSING;
3300
- let chunk;
3301
- if (!this._readableState.endEmitted && !websocket._closeFrameReceived && !websocket._receiver._writableState.errorEmitted && (chunk = websocket._socket.read()) !== null) {
3304
+ if (!this._readableState.endEmitted && !websocket._closeFrameReceived && !websocket._receiver._writableState.errorEmitted && this._readableState.length !== 0) {
3305
+ const chunk = this.read(this._readableState.length);
3302
3306
  websocket._receiver.write(chunk);
3303
3307
  }
3304
3308
  websocket._receiver.end();
@@ -3334,9 +3338,9 @@ var require_websocket = __commonJS({
3334
3338
  }
3335
3339
  });
3336
3340
 
3337
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/stream.js
3341
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/stream.js
3338
3342
  var require_stream = __commonJS({
3339
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/stream.js"(exports3, module3) {
3343
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/stream.js"(exports3, module3) {
3340
3344
  "use strict";
3341
3345
  var WebSocket2 = require_websocket();
3342
3346
  var { Duplex } = require("stream");
@@ -3432,9 +3436,9 @@ var require_stream = __commonJS({
3432
3436
  }
3433
3437
  });
3434
3438
 
3435
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/subprotocol.js
3439
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/subprotocol.js
3436
3440
  var require_subprotocol = __commonJS({
3437
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/subprotocol.js"(exports3, module3) {
3441
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/subprotocol.js"(exports3, module3) {
3438
3442
  "use strict";
3439
3443
  var { tokenChars } = require_validation();
3440
3444
  function parse(header) {
@@ -3477,9 +3481,9 @@ var require_subprotocol = __commonJS({
3477
3481
  }
3478
3482
  });
3479
3483
 
3480
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/websocket-server.js
3484
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/websocket-server.js
3481
3485
  var require_websocket_server = __commonJS({
3482
- "../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/websocket-server.js"(exports3, module3) {
3486
+ "../node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/websocket-server.js"(exports3, module3) {
3483
3487
  "use strict";
3484
3488
  var EventEmitter = require("events");
3485
3489
  var http = require("http");
@@ -3489,7 +3493,7 @@ var require_websocket_server = __commonJS({
3489
3493
  var PerMessageDeflate = require_permessage_deflate();
3490
3494
  var subprotocol = require_subprotocol();
3491
3495
  var WebSocket2 = require_websocket();
3492
- var { GUID, kWebSocket } = require_constants();
3496
+ var { CLOSE_TIMEOUT, GUID, kWebSocket } = require_constants();
3493
3497
  var keyRegex = /^[+/0-9A-Za-z]{22}==$/;
3494
3498
  var RUNNING = 0;
3495
3499
  var CLOSING = 1;
@@ -3508,6 +3512,9 @@ var require_websocket_server = __commonJS({
3508
3512
  * pending connections
3509
3513
  * @param {Boolean} [options.clientTracking=true] Specifies whether or not to
3510
3514
  * track clients
3515
+ * @param {Number} [options.closeTimeout=30000] Duration in milliseconds to
3516
+ * wait for the closing handshake to finish after `websocket.close()` is
3517
+ * called
3511
3518
  * @param {Function} [options.handleProtocols] A hook to handle protocols
3512
3519
  * @param {String} [options.host] The hostname where to bind the server
3513
3520
  * @param {Number} [options.maxPayload=104857600] The maximum allowed message
@@ -3536,6 +3543,7 @@ var require_websocket_server = __commonJS({
3536
3543
  perMessageDeflate: false,
3537
3544
  handleProtocols: null,
3538
3545
  clientTracking: true,
3546
+ closeTimeout: CLOSE_TIMEOUT,
3539
3547
  verifyClient: null,
3540
3548
  noServer: false,
3541
3549
  backlog: null,
@@ -5471,9 +5479,9 @@ var require_safer = __commonJS({
5471
5479
  }
5472
5480
  });
5473
5481
 
5474
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/lib/bom-handling.js
5482
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/bom-handling.js
5475
5483
  var require_bom_handling = __commonJS({
5476
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/lib/bom-handling.js"(exports3) {
5484
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/bom-handling.js"(exports3) {
5477
5485
  "use strict";
5478
5486
  var BOMChar = "\uFEFF";
5479
5487
  exports3.PrependBOM = PrependBOMWrapper;
@@ -5517,9 +5525,9 @@ var require_bom_handling = __commonJS({
5517
5525
  }
5518
5526
  });
5519
5527
 
5520
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/lib/helpers/merge-exports.js
5528
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/helpers/merge-exports.js
5521
5529
  var require_merge_exports = __commonJS({
5522
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/lib/helpers/merge-exports.js"(exports3, module3) {
5530
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/helpers/merge-exports.js"(exports3, module3) {
5523
5531
  "use strict";
5524
5532
  var hasOwn = typeof Object.hasOwn === "undefined" ? Function.call.bind(Object.prototype.hasOwnProperty) : Object.hasOwn;
5525
5533
  function mergeModules(target, module4) {
@@ -5533,9 +5541,9 @@ var require_merge_exports = __commonJS({
5533
5541
  }
5534
5542
  });
5535
5543
 
5536
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/internal.js
5544
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/internal.js
5537
5545
  var require_internal = __commonJS({
5538
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/internal.js"(exports3, module3) {
5546
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/internal.js"(exports3, module3) {
5539
5547
  "use strict";
5540
5548
  var Buffer2 = require_safer().Buffer;
5541
5549
  module3.exports = {
@@ -5714,9 +5722,9 @@ var require_internal = __commonJS({
5714
5722
  }
5715
5723
  });
5716
5724
 
5717
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/utf32.js
5725
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf32.js
5718
5726
  var require_utf32 = __commonJS({
5719
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/utf32.js"(exports3) {
5727
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf32.js"(exports3) {
5720
5728
  "use strict";
5721
5729
  var Buffer2 = require_safer().Buffer;
5722
5730
  exports3._utf32 = Utf32Codec;
@@ -5945,9 +5953,9 @@ var require_utf32 = __commonJS({
5945
5953
  }
5946
5954
  });
5947
5955
 
5948
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/utf16.js
5956
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf16.js
5949
5957
  var require_utf16 = __commonJS({
5950
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/utf16.js"(exports3) {
5958
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf16.js"(exports3) {
5951
5959
  "use strict";
5952
5960
  var Buffer2 = require_safer().Buffer;
5953
5961
  exports3.utf16be = Utf16BECodec;
@@ -6088,9 +6096,9 @@ var require_utf16 = __commonJS({
6088
6096
  }
6089
6097
  });
6090
6098
 
6091
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/utf7.js
6099
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf7.js
6092
6100
  var require_utf7 = __commonJS({
6093
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/utf7.js"(exports3) {
6101
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf7.js"(exports3) {
6094
6102
  "use strict";
6095
6103
  var Buffer2 = require_safer().Buffer;
6096
6104
  exports3.utf7 = Utf7Codec;
@@ -6306,9 +6314,9 @@ var require_utf7 = __commonJS({
6306
6314
  }
6307
6315
  });
6308
6316
 
6309
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/sbcs-codec.js
6317
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-codec.js
6310
6318
  var require_sbcs_codec = __commonJS({
6311
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/sbcs-codec.js"(exports3) {
6319
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-codec.js"(exports3) {
6312
6320
  "use strict";
6313
6321
  var Buffer2 = require_safer().Buffer;
6314
6322
  exports3._sbcs = SBCSCodec;
@@ -6368,9 +6376,9 @@ var require_sbcs_codec = __commonJS({
6368
6376
  }
6369
6377
  });
6370
6378
 
6371
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/sbcs-data.js
6379
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-data.js
6372
6380
  var require_sbcs_data = __commonJS({
6373
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/sbcs-data.js"(exports3, module3) {
6381
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-data.js"(exports3, module3) {
6374
6382
  "use strict";
6375
6383
  module3.exports = {
6376
6384
  // Not supported by iconv, not sure why.
@@ -6521,9 +6529,9 @@ var require_sbcs_data = __commonJS({
6521
6529
  }
6522
6530
  });
6523
6531
 
6524
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/sbcs-data-generated.js
6532
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-data-generated.js
6525
6533
  var require_sbcs_data_generated = __commonJS({
6526
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/sbcs-data-generated.js"(exports3, module3) {
6534
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-data-generated.js"(exports3, module3) {
6527
6535
  "use strict";
6528
6536
  module3.exports = {
6529
6537
  "437": "cp437",
@@ -6976,9 +6984,9 @@ var require_sbcs_data_generated = __commonJS({
6976
6984
  }
6977
6985
  });
6978
6986
 
6979
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/dbcs-codec.js
6987
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/dbcs-codec.js
6980
6988
  var require_dbcs_codec = __commonJS({
6981
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/dbcs-codec.js"(exports3) {
6989
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/dbcs-codec.js"(exports3) {
6982
6990
  "use strict";
6983
6991
  var Buffer2 = require_safer().Buffer;
6984
6992
  exports3._dbcs = DBCSCodec;
@@ -7436,9 +7444,9 @@ var require_dbcs_codec = __commonJS({
7436
7444
  }
7437
7445
  });
7438
7446
 
7439
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/shiftjis.json
7447
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/shiftjis.json
7440
7448
  var require_shiftjis = __commonJS({
7441
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/shiftjis.json"(exports3, module3) {
7449
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/shiftjis.json"(exports3, module3) {
7442
7450
  module3.exports = [
7443
7451
  ["0", "\0", 128],
7444
7452
  ["a1", "\uFF61", 62],
@@ -7567,9 +7575,9 @@ var require_shiftjis = __commonJS({
7567
7575
  }
7568
7576
  });
7569
7577
 
7570
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/eucjp.json
7578
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/eucjp.json
7571
7579
  var require_eucjp = __commonJS({
7572
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/eucjp.json"(exports3, module3) {
7580
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/eucjp.json"(exports3, module3) {
7573
7581
  module3.exports = [
7574
7582
  ["0", "\0", 127],
7575
7583
  ["8ea1", "\uFF61", 62],
@@ -7755,9 +7763,9 @@ var require_eucjp = __commonJS({
7755
7763
  }
7756
7764
  });
7757
7765
 
7758
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/cp936.json
7766
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp936.json
7759
7767
  var require_cp936 = __commonJS({
7760
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/cp936.json"(exports3, module3) {
7768
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp936.json"(exports3, module3) {
7761
7769
  module3.exports = [
7762
7770
  ["0", "\0", 127, "\u20AC"],
7763
7771
  ["8140", "\u4E02\u4E04\u4E05\u4E06\u4E0F\u4E12\u4E17\u4E1F\u4E20\u4E21\u4E23\u4E26\u4E29\u4E2E\u4E2F\u4E31\u4E33\u4E35\u4E37\u4E3C\u4E40\u4E41\u4E42\u4E44\u4E46\u4E4A\u4E51\u4E55\u4E57\u4E5A\u4E5B\u4E62\u4E63\u4E64\u4E65\u4E67\u4E68\u4E6A", 5, "\u4E72\u4E74", 9, "\u4E7F", 6, "\u4E87\u4E8A"],
@@ -8025,9 +8033,9 @@ var require_cp936 = __commonJS({
8025
8033
  }
8026
8034
  });
8027
8035
 
8028
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/gbk-added.json
8036
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/gbk-added.json
8029
8037
  var require_gbk_added = __commonJS({
8030
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/gbk-added.json"(exports3, module3) {
8038
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/gbk-added.json"(exports3, module3) {
8031
8039
  module3.exports = [
8032
8040
  ["a140", "\uE4C6", 62],
8033
8041
  ["a180", "\uE505", 32],
@@ -8087,16 +8095,16 @@ var require_gbk_added = __commonJS({
8087
8095
  }
8088
8096
  });
8089
8097
 
8090
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json
8098
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json
8091
8099
  var require_gb18030_ranges = __commonJS({
8092
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json"(exports3, module3) {
8100
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json"(exports3, module3) {
8093
8101
  module3.exports = { uChars: [128, 165, 169, 178, 184, 216, 226, 235, 238, 244, 248, 251, 253, 258, 276, 284, 300, 325, 329, 334, 364, 463, 465, 467, 469, 471, 473, 475, 477, 506, 594, 610, 712, 716, 730, 930, 938, 962, 970, 1026, 1104, 1106, 8209, 8215, 8218, 8222, 8231, 8241, 8244, 8246, 8252, 8365, 8452, 8454, 8458, 8471, 8482, 8556, 8570, 8596, 8602, 8713, 8720, 8722, 8726, 8731, 8737, 8740, 8742, 8748, 8751, 8760, 8766, 8777, 8781, 8787, 8802, 8808, 8816, 8854, 8858, 8870, 8896, 8979, 9322, 9372, 9548, 9588, 9616, 9622, 9634, 9652, 9662, 9672, 9676, 9680, 9702, 9735, 9738, 9793, 9795, 11906, 11909, 11913, 11917, 11928, 11944, 11947, 11951, 11956, 11960, 11964, 11979, 12284, 12292, 12312, 12319, 12330, 12351, 12436, 12447, 12535, 12543, 12586, 12842, 12850, 12964, 13200, 13215, 13218, 13253, 13263, 13267, 13270, 13384, 13428, 13727, 13839, 13851, 14617, 14703, 14801, 14816, 14964, 15183, 15471, 15585, 16471, 16736, 17208, 17325, 17330, 17374, 17623, 17997, 18018, 18212, 18218, 18301, 18318, 18760, 18811, 18814, 18820, 18823, 18844, 18848, 18872, 19576, 19620, 19738, 19887, 40870, 59244, 59336, 59367, 59413, 59417, 59423, 59431, 59437, 59443, 59452, 59460, 59478, 59493, 63789, 63866, 63894, 63976, 63986, 64016, 64018, 64021, 64025, 64034, 64037, 64042, 65074, 65093, 65107, 65112, 65127, 65132, 65375, 65510, 65536], gbChars: [0, 36, 38, 45, 50, 81, 89, 95, 96, 100, 103, 104, 105, 109, 126, 133, 148, 172, 175, 179, 208, 306, 307, 308, 309, 310, 311, 312, 313, 341, 428, 443, 544, 545, 558, 741, 742, 749, 750, 805, 819, 820, 7922, 7924, 7925, 7927, 7934, 7943, 7944, 7945, 7950, 8062, 8148, 8149, 8152, 8164, 8174, 8236, 8240, 8262, 8264, 8374, 8380, 8381, 8384, 8388, 8390, 8392, 8393, 8394, 8396, 8401, 8406, 8416, 8419, 8424, 8437, 8439, 8445, 8482, 8485, 8496, 8521, 8603, 8936, 8946, 9046, 9050, 9063, 9066, 9076, 9092, 9100, 9108, 9111, 9113, 9131, 9162, 9164, 9218, 9219, 11329, 11331, 11334, 11336, 11346, 11361, 11363, 11366, 11370, 11372, 11375, 11389, 11682, 11686, 11687, 11692, 11694, 11714, 11716, 11723, 11725, 11730, 11736, 11982, 11989, 12102, 12336, 12348, 12350, 12384, 12393, 12395, 12397, 12510, 12553, 12851, 12962, 12973, 13738, 13823, 13919, 13933, 14080, 14298, 14585, 14698, 15583, 15847, 16318, 16434, 16438, 16481, 16729, 17102, 17122, 17315, 17320, 17402, 17418, 17859, 17909, 17911, 17915, 17916, 17936, 17939, 17961, 18664, 18703, 18814, 18962, 19043, 33469, 33470, 33471, 33484, 33485, 33490, 33497, 33501, 33505, 33513, 33520, 33536, 33550, 37845, 37921, 37948, 38029, 38038, 38064, 38065, 38066, 38069, 38075, 38076, 38078, 39108, 39109, 39113, 39114, 39115, 39116, 39265, 39394, 189e3] };
8094
8102
  }
8095
8103
  });
8096
8104
 
8097
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/cp949.json
8105
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp949.json
8098
8106
  var require_cp949 = __commonJS({
8099
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/cp949.json"(exports3, module3) {
8107
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp949.json"(exports3, module3) {
8100
8108
  module3.exports = [
8101
8109
  ["0", "\0", 127],
8102
8110
  ["8141", "\uAC02\uAC03\uAC05\uAC06\uAC0B", 4, "\uAC18\uAC1E\uAC1F\uAC21\uAC22\uAC23\uAC25", 6, "\uAC2E\uAC32\uAC33\uAC34"],
@@ -8373,9 +8381,9 @@ var require_cp949 = __commonJS({
8373
8381
  }
8374
8382
  });
8375
8383
 
8376
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/cp950.json
8384
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp950.json
8377
8385
  var require_cp950 = __commonJS({
8378
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/cp950.json"(exports3, module3) {
8386
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp950.json"(exports3, module3) {
8379
8387
  module3.exports = [
8380
8388
  ["0", "\0", 127],
8381
8389
  ["a140", "\u3000\uFF0C\u3001\u3002\uFF0E\u2027\uFF1B\uFF1A\uFF1F\uFF01\uFE30\u2026\u2025\uFE50\uFE51\uFE52\xB7\uFE54\uFE55\uFE56\uFE57\uFF5C\u2013\uFE31\u2014\uFE33\u2574\uFE34\uFE4F\uFF08\uFF09\uFE35\uFE36\uFF5B\uFF5D\uFE37\uFE38\u3014\u3015\uFE39\uFE3A\u3010\u3011\uFE3B\uFE3C\u300A\u300B\uFE3D\uFE3E\u3008\u3009\uFE3F\uFE40\u300C\u300D\uFE41\uFE42\u300E\u300F\uFE43\uFE44\uFE59\uFE5A"],
@@ -8556,9 +8564,9 @@ var require_cp950 = __commonJS({
8556
8564
  }
8557
8565
  });
8558
8566
 
8559
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/big5-added.json
8567
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/big5-added.json
8560
8568
  var require_big5_added = __commonJS({
8561
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/tables/big5-added.json"(exports3, module3) {
8569
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/big5-added.json"(exports3, module3) {
8562
8570
  module3.exports = [
8563
8571
  ["8740", "\u43F0\u4C32\u4603\u45A6\u4578\u{27267}\u4D77\u45B3\u{27CB1}\u4CE2\u{27CC5}\u3B95\u4736\u4744\u4C47\u4C40\u{242BF}\u{23617}\u{27352}\u{26E8B}\u{270D2}\u4C57\u{2A351}\u474F\u45DA\u4C85\u{27C6C}\u4D07\u4AA4\u46A1\u{26B23}\u7225\u{25A54}\u{21A63}\u{23E06}\u{23F61}\u664D\u56FB"],
8564
8572
  ["8767", "\u7D95\u591D\u{28BB9}\u3DF4\u9734\u{27BEF}\u5BDB\u{21D5E}\u5AA4\u3625\u{29EB0}\u5AD1\u5BB7\u5CFC\u676E\u8593\u{29945}\u7461\u749D\u3875\u{21D53}\u{2369E}\u{26021}\u3EEC"],
@@ -8684,9 +8692,9 @@ var require_big5_added = __commonJS({
8684
8692
  }
8685
8693
  });
8686
8694
 
8687
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/dbcs-data.js
8695
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/dbcs-data.js
8688
8696
  var require_dbcs_data = __commonJS({
8689
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/dbcs-data.js"(exports3, module3) {
8697
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/dbcs-data.js"(exports3, module3) {
8690
8698
  "use strict";
8691
8699
  module3.exports = {
8692
8700
  // == Japanese/ShiftJIS ====================================================
@@ -8931,9 +8939,9 @@ var require_dbcs_data = __commonJS({
8931
8939
  }
8932
8940
  });
8933
8941
 
8934
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/index.js
8942
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/index.js
8935
8943
  var require_encodings = __commonJS({
8936
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/encodings/index.js"(exports3, module3) {
8944
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/index.js"(exports3, module3) {
8937
8945
  "use strict";
8938
8946
  var mergeModules = require_merge_exports();
8939
8947
  var modules = [
@@ -8956,9 +8964,9 @@ var require_encodings = __commonJS({
8956
8964
  }
8957
8965
  });
8958
8966
 
8959
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/lib/streams.js
8967
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/streams.js
8960
8968
  var require_streams = __commonJS({
8961
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/lib/streams.js"(exports3, module3) {
8969
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/streams.js"(exports3, module3) {
8962
8970
  "use strict";
8963
8971
  var Buffer2 = require_safer().Buffer;
8964
8972
  module3.exports = function(streamModule) {
@@ -9053,62 +9061,61 @@ var require_streams = __commonJS({
9053
9061
  }
9054
9062
  });
9055
9063
 
9056
- // ../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/lib/index.js
9064
+ // ../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/index.js
9057
9065
  var require_lib2 = __commonJS({
9058
- "../node_modules/.pnpm/iconv-lite@0.7.0/node_modules/iconv-lite/lib/index.js"(exports3, module3) {
9066
+ "../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/index.js"(exports3, module3) {
9059
9067
  "use strict";
9060
9068
  var Buffer2 = require_safer().Buffer;
9061
9069
  var bomHandling = require_bom_handling();
9062
9070
  var mergeModules = require_merge_exports();
9063
- var iconv = module3.exports;
9064
- iconv.encodings = null;
9065
- iconv.defaultCharUnicode = "\uFFFD";
9066
- iconv.defaultCharSingleByte = "?";
9067
- iconv.encode = function encode(str, encoding, options) {
9071
+ module3.exports.encodings = null;
9072
+ module3.exports.defaultCharUnicode = "\uFFFD";
9073
+ module3.exports.defaultCharSingleByte = "?";
9074
+ module3.exports.encode = function encode(str, encoding, options) {
9068
9075
  str = "" + (str || "");
9069
- var encoder = iconv.getEncoder(encoding, options);
9076
+ var encoder = module3.exports.getEncoder(encoding, options);
9070
9077
  var res = encoder.write(str);
9071
9078
  var trail = encoder.end();
9072
9079
  return trail && trail.length > 0 ? Buffer2.concat([res, trail]) : res;
9073
9080
  };
9074
- iconv.decode = function decode(buf, encoding, options) {
9081
+ module3.exports.decode = function decode(buf, encoding, options) {
9075
9082
  if (typeof buf === "string") {
9076
- if (!iconv.skipDecodeWarning) {
9083
+ if (!module3.exports.skipDecodeWarning) {
9077
9084
  console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding");
9078
- iconv.skipDecodeWarning = true;
9085
+ module3.exports.skipDecodeWarning = true;
9079
9086
  }
9080
9087
  buf = Buffer2.from("" + (buf || ""), "binary");
9081
9088
  }
9082
- var decoder = iconv.getDecoder(encoding, options);
9089
+ var decoder = module3.exports.getDecoder(encoding, options);
9083
9090
  var res = decoder.write(buf);
9084
9091
  var trail = decoder.end();
9085
9092
  return trail ? res + trail : res;
9086
9093
  };
9087
- iconv.encodingExists = function encodingExists(enc) {
9094
+ module3.exports.encodingExists = function encodingExists(enc) {
9088
9095
  try {
9089
- iconv.getCodec(enc);
9096
+ module3.exports.getCodec(enc);
9090
9097
  return true;
9091
9098
  } catch (e) {
9092
9099
  return false;
9093
9100
  }
9094
9101
  };
9095
- iconv.toEncoding = iconv.encode;
9096
- iconv.fromEncoding = iconv.decode;
9097
- iconv._codecDataCache = { __proto__: null };
9098
- iconv.getCodec = function getCodec(encoding) {
9099
- if (!iconv.encodings) {
9102
+ module3.exports.toEncoding = module3.exports.encode;
9103
+ module3.exports.fromEncoding = module3.exports.decode;
9104
+ module3.exports._codecDataCache = { __proto__: null };
9105
+ module3.exports.getCodec = function getCodec(encoding) {
9106
+ if (!module3.exports.encodings) {
9100
9107
  var raw = require_encodings();
9101
- iconv.encodings = { __proto__: null };
9102
- mergeModules(iconv.encodings, raw);
9108
+ module3.exports.encodings = { __proto__: null };
9109
+ mergeModules(module3.exports.encodings, raw);
9103
9110
  }
9104
- var enc = iconv._canonicalizeEncoding(encoding);
9111
+ var enc = module3.exports._canonicalizeEncoding(encoding);
9105
9112
  var codecOptions = {};
9106
9113
  while (true) {
9107
- var codec = iconv._codecDataCache[enc];
9114
+ var codec = module3.exports._codecDataCache[enc];
9108
9115
  if (codec) {
9109
9116
  return codec;
9110
9117
  }
9111
- var codecDef = iconv.encodings[enc];
9118
+ var codecDef = module3.exports.encodings[enc];
9112
9119
  switch (typeof codecDef) {
9113
9120
  case "string":
9114
9121
  enc = codecDef;
@@ -9126,47 +9133,47 @@ var require_lib2 = __commonJS({
9126
9133
  if (!codecOptions.encodingName) {
9127
9134
  codecOptions.encodingName = enc;
9128
9135
  }
9129
- codec = new codecDef(codecOptions, iconv);
9130
- iconv._codecDataCache[codecOptions.encodingName] = codec;
9136
+ codec = new codecDef(codecOptions, module3.exports);
9137
+ module3.exports._codecDataCache[codecOptions.encodingName] = codec;
9131
9138
  return codec;
9132
9139
  default:
9133
9140
  throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '" + enc + "')");
9134
9141
  }
9135
9142
  }
9136
9143
  };
9137
- iconv._canonicalizeEncoding = function(encoding) {
9144
+ module3.exports._canonicalizeEncoding = function(encoding) {
9138
9145
  return ("" + encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, "");
9139
9146
  };
9140
- iconv.getEncoder = function getEncoder(encoding, options) {
9141
- var codec = iconv.getCodec(encoding);
9147
+ module3.exports.getEncoder = function getEncoder(encoding, options) {
9148
+ var codec = module3.exports.getCodec(encoding);
9142
9149
  var encoder = new codec.encoder(options, codec);
9143
9150
  if (codec.bomAware && options && options.addBOM) {
9144
9151
  encoder = new bomHandling.PrependBOM(encoder, options);
9145
9152
  }
9146
9153
  return encoder;
9147
9154
  };
9148
- iconv.getDecoder = function getDecoder(encoding, options) {
9149
- var codec = iconv.getCodec(encoding);
9155
+ module3.exports.getDecoder = function getDecoder(encoding, options) {
9156
+ var codec = module3.exports.getCodec(encoding);
9150
9157
  var decoder = new codec.decoder(options, codec);
9151
9158
  if (codec.bomAware && !(options && options.stripBOM === false)) {
9152
9159
  decoder = new bomHandling.StripBOM(decoder, options);
9153
9160
  }
9154
9161
  return decoder;
9155
9162
  };
9156
- iconv.enableStreamingAPI = function enableStreamingAPI(streamModule2) {
9157
- if (iconv.supportsStreams) {
9163
+ module3.exports.enableStreamingAPI = function enableStreamingAPI(streamModule2) {
9164
+ if (module3.exports.supportsStreams) {
9158
9165
  return;
9159
9166
  }
9160
9167
  var streams = require_streams()(streamModule2);
9161
- iconv.IconvLiteEncoderStream = streams.IconvLiteEncoderStream;
9162
- iconv.IconvLiteDecoderStream = streams.IconvLiteDecoderStream;
9163
- iconv.encodeStream = function encodeStream(encoding, options) {
9164
- return new iconv.IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options);
9168
+ module3.exports.IconvLiteEncoderStream = streams.IconvLiteEncoderStream;
9169
+ module3.exports.IconvLiteDecoderStream = streams.IconvLiteDecoderStream;
9170
+ module3.exports.encodeStream = function encodeStream(encoding, options) {
9171
+ return new module3.exports.IconvLiteEncoderStream(module3.exports.getEncoder(encoding, options), options);
9165
9172
  };
9166
- iconv.decodeStream = function decodeStream(encoding, options) {
9167
- return new iconv.IconvLiteDecoderStream(iconv.getDecoder(encoding, options), options);
9173
+ module3.exports.decodeStream = function decodeStream(encoding, options) {
9174
+ return new module3.exports.IconvLiteDecoderStream(module3.exports.getDecoder(encoding, options), options);
9168
9175
  };
9169
- iconv.supportsStreams = true;
9176
+ module3.exports.supportsStreams = true;
9170
9177
  };
9171
9178
  var streamModule;
9172
9179
  try {
@@ -9174,9 +9181,9 @@ var require_lib2 = __commonJS({
9174
9181
  } catch (e) {
9175
9182
  }
9176
9183
  if (streamModule && streamModule.Transform) {
9177
- iconv.enableStreamingAPI(streamModule);
9184
+ module3.exports.enableStreamingAPI(streamModule);
9178
9185
  } else {
9179
- iconv.encodeStream = iconv.decodeStream = function() {
9186
+ module3.exports.encodeStream = module3.exports.decodeStream = function() {
9180
9187
  throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.");
9181
9188
  };
9182
9189
  }
@@ -19346,9 +19353,9 @@ var require_type_is = __commonJS({
19346
19353
  }
19347
19354
  });
19348
19355
 
19349
- // ../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/utils.js
19356
+ // ../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/utils.js
19350
19357
  var require_utils = __commonJS({
19351
- "../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/utils.js"(exports3, module3) {
19358
+ "../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/utils.js"(exports3, module3) {
19352
19359
  "use strict";
19353
19360
  var bytes = require_bytes();
19354
19361
  var contentType = require_content_type();
@@ -19397,9 +19404,9 @@ var require_utils = __commonJS({
19397
19404
  }
19398
19405
  });
19399
19406
 
19400
- // ../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/read.js
19407
+ // ../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js
19401
19408
  var require_read = __commonJS({
19402
- "../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/read.js"(exports3, module3) {
19409
+ "../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js"(exports3, module3) {
19403
19410
  "use strict";
19404
19411
  var createError = require_http_errors();
19405
19412
  var getBody = require_raw_body();
@@ -19555,9 +19562,9 @@ var require_read = __commonJS({
19555
19562
  }
19556
19563
  });
19557
19564
 
19558
- // ../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/types/json.js
19565
+ // ../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js
19559
19566
  var require_json = __commonJS({
19560
- "../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/types/json.js"(exports3, module3) {
19567
+ "../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js"(exports3, module3) {
19561
19568
  "use strict";
19562
19569
  var debug = require_src()("body-parser:json");
19563
19570
  var read = require_read();
@@ -19604,10 +19611,7 @@ var require_json = __commonJS({
19604
19611
  var index = str.indexOf(char);
19605
19612
  var partial = "";
19606
19613
  if (index !== -1) {
19607
- partial = str.substring(0, index) + JSON_SYNTAX_CHAR;
19608
- for (var i = index + 1; i < str.length; i++) {
19609
- partial += JSON_SYNTAX_CHAR;
19610
- }
19614
+ partial = str.substring(0, index) + JSON_SYNTAX_CHAR.repeat(str.length - index);
19611
19615
  }
19612
19616
  try {
19613
19617
  JSON.parse(partial);
@@ -19640,9 +19644,9 @@ var require_json = __commonJS({
19640
19644
  }
19641
19645
  });
19642
19646
 
19643
- // ../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/types/raw.js
19647
+ // ../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/raw.js
19644
19648
  var require_raw = __commonJS({
19645
- "../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/types/raw.js"(exports3, module3) {
19649
+ "../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/raw.js"(exports3, module3) {
19646
19650
  "use strict";
19647
19651
  var debug = require_src()("body-parser:raw");
19648
19652
  var read = require_read();
@@ -19662,9 +19666,9 @@ var require_raw = __commonJS({
19662
19666
  }
19663
19667
  });
19664
19668
 
19665
- // ../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/types/text.js
19669
+ // ../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/text.js
19666
19670
  var require_text = __commonJS({
19667
- "../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/types/text.js"(exports3, module3) {
19671
+ "../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/text.js"(exports3, module3) {
19668
19672
  "use strict";
19669
19673
  var debug = require_src()("body-parser:text");
19670
19674
  var read = require_read();
@@ -21305,9 +21309,9 @@ var require_side_channel = __commonJS({
21305
21309
  }
21306
21310
  });
21307
21311
 
21308
- // ../node_modules/.pnpm/qs@6.14.0/node_modules/qs/lib/formats.js
21312
+ // ../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/formats.js
21309
21313
  var require_formats = __commonJS({
21310
- "../node_modules/.pnpm/qs@6.14.0/node_modules/qs/lib/formats.js"(exports3, module3) {
21314
+ "../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/formats.js"(exports3, module3) {
21311
21315
  "use strict";
21312
21316
  var replace = String.prototype.replace;
21313
21317
  var percentTwenties = /%20/g;
@@ -21331,13 +21335,28 @@ var require_formats = __commonJS({
21331
21335
  }
21332
21336
  });
21333
21337
 
21334
- // ../node_modules/.pnpm/qs@6.14.0/node_modules/qs/lib/utils.js
21338
+ // ../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/utils.js
21335
21339
  var require_utils2 = __commonJS({
21336
- "../node_modules/.pnpm/qs@6.14.0/node_modules/qs/lib/utils.js"(exports3, module3) {
21340
+ "../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/utils.js"(exports3, module3) {
21337
21341
  "use strict";
21338
21342
  var formats = require_formats();
21343
+ var getSideChannel = require_side_channel();
21339
21344
  var has = Object.prototype.hasOwnProperty;
21340
21345
  var isArray2 = Array.isArray;
21346
+ var overflowChannel = getSideChannel();
21347
+ var markOverflow = function markOverflow2(obj, maxIndex) {
21348
+ overflowChannel.set(obj, maxIndex);
21349
+ return obj;
21350
+ };
21351
+ var isOverflow = function isOverflow2(obj) {
21352
+ return overflowChannel.has(obj);
21353
+ };
21354
+ var getMaxIndex = function getMaxIndex2(obj) {
21355
+ return overflowChannel.get(obj);
21356
+ };
21357
+ var setMaxIndex = function setMaxIndex2(obj, maxIndex) {
21358
+ overflowChannel.set(obj, maxIndex);
21359
+ };
21341
21360
  var hexTable = (function() {
21342
21361
  var array = [];
21343
21362
  for (var i = 0; i < 256; ++i) {
@@ -21377,7 +21396,11 @@ var require_utils2 = __commonJS({
21377
21396
  if (isArray2(target)) {
21378
21397
  target.push(source);
21379
21398
  } else if (target && typeof target === "object") {
21380
- if (options && (options.plainObjects || options.allowPrototypes) || !has.call(Object.prototype, source)) {
21399
+ if (isOverflow(target)) {
21400
+ var newIndex = getMaxIndex(target) + 1;
21401
+ target[newIndex] = source;
21402
+ setMaxIndex(target, newIndex);
21403
+ } else if (options && (options.plainObjects || options.allowPrototypes) || !has.call(Object.prototype, source)) {
21381
21404
  target[source] = true;
21382
21405
  }
21383
21406
  } else {
@@ -21386,6 +21409,15 @@ var require_utils2 = __commonJS({
21386
21409
  return target;
21387
21410
  }
21388
21411
  if (!target || typeof target !== "object") {
21412
+ if (isOverflow(source)) {
21413
+ var sourceKeys = Object.keys(source);
21414
+ var result = options && options.plainObjects ? { __proto__: null, 0: target } : { 0: target };
21415
+ for (var m = 0; m < sourceKeys.length; m++) {
21416
+ var oldKey = parseInt(sourceKeys[m], 10);
21417
+ result[oldKey + 1] = source[sourceKeys[m]];
21418
+ }
21419
+ return markOverflow(result, getMaxIndex(source) + 1);
21420
+ }
21389
21421
  return [target].concat(source);
21390
21422
  }
21391
21423
  var mergeTarget = target;
@@ -21508,8 +21540,18 @@ var require_utils2 = __commonJS({
21508
21540
  }
21509
21541
  return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
21510
21542
  };
21511
- var combine = function combine2(a, b) {
21512
- return [].concat(a, b);
21543
+ var combine = function combine2(a, b, arrayLimit, plainObjects) {
21544
+ if (isOverflow(a)) {
21545
+ var newIndex = getMaxIndex(a) + 1;
21546
+ a[newIndex] = b;
21547
+ setMaxIndex(a, newIndex);
21548
+ return a;
21549
+ }
21550
+ var result = [].concat(a, b);
21551
+ if (result.length > arrayLimit) {
21552
+ return markOverflow(arrayToObject(result, { plainObjects }), result.length - 1);
21553
+ }
21554
+ return result;
21513
21555
  };
21514
21556
  var maybeMap = function maybeMap2(val, fn) {
21515
21557
  if (isArray2(val)) {
@@ -21529,6 +21571,7 @@ var require_utils2 = __commonJS({
21529
21571
  decode,
21530
21572
  encode,
21531
21573
  isBuffer,
21574
+ isOverflow,
21532
21575
  isRegExp,
21533
21576
  maybeMap,
21534
21577
  merge
@@ -21536,9 +21579,9 @@ var require_utils2 = __commonJS({
21536
21579
  }
21537
21580
  });
21538
21581
 
21539
- // ../node_modules/.pnpm/qs@6.14.0/node_modules/qs/lib/stringify.js
21582
+ // ../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/stringify.js
21540
21583
  var require_stringify = __commonJS({
21541
- "../node_modules/.pnpm/qs@6.14.0/node_modules/qs/lib/stringify.js"(exports3, module3) {
21584
+ "../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/stringify.js"(exports3, module3) {
21542
21585
  "use strict";
21543
21586
  var getSideChannel = require_side_channel();
21544
21587
  var utils = require_utils2();
@@ -21819,9 +21862,9 @@ var require_stringify = __commonJS({
21819
21862
  }
21820
21863
  });
21821
21864
 
21822
- // ../node_modules/.pnpm/qs@6.14.0/node_modules/qs/lib/parse.js
21865
+ // ../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/parse.js
21823
21866
  var require_parse = __commonJS({
21824
- "../node_modules/.pnpm/qs@6.14.0/node_modules/qs/lib/parse.js"(exports3, module3) {
21867
+ "../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/parse.js"(exports3, module3) {
21825
21868
  "use strict";
21826
21869
  var utils = require_utils2();
21827
21870
  var has = Object.prototype.hasOwnProperty;
@@ -21907,16 +21950,18 @@ var require_parse = __commonJS({
21907
21950
  val = options.strictNullHandling ? null : "";
21908
21951
  } else {
21909
21952
  key = options.decoder(part.slice(0, pos), defaults.decoder, charset, "key");
21910
- val = utils.maybeMap(
21911
- parseArrayValue(
21912
- part.slice(pos + 1),
21913
- options,
21914
- isArray2(obj[key]) ? obj[key].length : 0
21915
- ),
21916
- function(encodedVal) {
21917
- return options.decoder(encodedVal, defaults.decoder, charset, "value");
21918
- }
21919
- );
21953
+ if (key !== null) {
21954
+ val = utils.maybeMap(
21955
+ parseArrayValue(
21956
+ part.slice(pos + 1),
21957
+ options,
21958
+ isArray2(obj[key]) ? obj[key].length : 0
21959
+ ),
21960
+ function(encodedVal) {
21961
+ return options.decoder(encodedVal, defaults.decoder, charset, "value");
21962
+ }
21963
+ );
21964
+ }
21920
21965
  }
21921
21966
  if (val && options.interpretNumericEntities && charset === "iso-8859-1") {
21922
21967
  val = interpretNumericEntities(String(val));
@@ -21924,11 +21969,18 @@ var require_parse = __commonJS({
21924
21969
  if (part.indexOf("[]=") > -1) {
21925
21970
  val = isArray2(val) ? [val] : val;
21926
21971
  }
21927
- var existing = has.call(obj, key);
21928
- if (existing && options.duplicates === "combine") {
21929
- obj[key] = utils.combine(obj[key], val);
21930
- } else if (!existing || options.duplicates === "last") {
21931
- obj[key] = val;
21972
+ if (key !== null) {
21973
+ var existing = has.call(obj, key);
21974
+ if (existing && options.duplicates === "combine") {
21975
+ obj[key] = utils.combine(
21976
+ obj[key],
21977
+ val,
21978
+ options.arrayLimit,
21979
+ options.plainObjects
21980
+ );
21981
+ } else if (!existing || options.duplicates === "last") {
21982
+ obj[key] = val;
21983
+ }
21932
21984
  }
21933
21985
  }
21934
21986
  return obj;
@@ -21944,7 +21996,16 @@ var require_parse = __commonJS({
21944
21996
  var obj;
21945
21997
  var root = chain2[i];
21946
21998
  if (root === "[]" && options.parseArrays) {
21947
- obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : utils.combine([], leaf);
21999
+ if (utils.isOverflow(leaf)) {
22000
+ obj = leaf;
22001
+ } else {
22002
+ obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : utils.combine(
22003
+ [],
22004
+ leaf,
22005
+ options.arrayLimit,
22006
+ options.plainObjects
22007
+ );
22008
+ }
21948
22009
  } else {
21949
22010
  obj = options.plainObjects ? { __proto__: null } : {};
21950
22011
  var cleanRoot = root.charAt(0) === "[" && root.charAt(root.length - 1) === "]" ? root.slice(1, -1) : root;
@@ -21963,14 +22024,19 @@ var require_parse = __commonJS({
21963
22024
  }
21964
22025
  return leaf;
21965
22026
  };
21966
- var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
21967
- if (!givenKey) {
21968
- return;
21969
- }
22027
+ var splitKeyIntoSegments = function splitKeyIntoSegments2(givenKey, options) {
21970
22028
  var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, "[$1]") : givenKey;
22029
+ if (options.depth <= 0) {
22030
+ if (!options.plainObjects && has.call(Object.prototype, key)) {
22031
+ if (!options.allowPrototypes) {
22032
+ return;
22033
+ }
22034
+ }
22035
+ return [key];
22036
+ }
21971
22037
  var brackets = /(\[[^[\]]*])/;
21972
22038
  var child = /(\[[^[\]]*])/g;
21973
- var segment = options.depth > 0 && brackets.exec(key);
22039
+ var segment = brackets.exec(key);
21974
22040
  var parent = segment ? key.slice(0, segment.index) : key;
21975
22041
  var keys3 = [];
21976
22042
  if (parent) {
@@ -21982,9 +22048,10 @@ var require_parse = __commonJS({
21982
22048
  keys3.push(parent);
21983
22049
  }
21984
22050
  var i = 0;
21985
- while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {
22051
+ while ((segment = child.exec(key)) !== null && i < options.depth) {
21986
22052
  i += 1;
21987
- if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
22053
+ var segmentContent = segment[1].slice(1, -1);
22054
+ if (!options.plainObjects && has.call(Object.prototype, segmentContent)) {
21988
22055
  if (!options.allowPrototypes) {
21989
22056
  return;
21990
22057
  }
@@ -21997,6 +22064,16 @@ var require_parse = __commonJS({
21997
22064
  }
21998
22065
  keys3.push("[" + key.slice(segment.index) + "]");
21999
22066
  }
22067
+ return keys3;
22068
+ };
22069
+ var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
22070
+ if (!givenKey) {
22071
+ return;
22072
+ }
22073
+ var keys3 = splitKeyIntoSegments(givenKey, options);
22074
+ if (!keys3) {
22075
+ return;
22076
+ }
22000
22077
  return parseObject(keys3, val, options, valuesParsed);
22001
22078
  };
22002
22079
  var normalizeParseOptions = function normalizeParseOptions2(opts) {
@@ -22070,9 +22147,9 @@ var require_parse = __commonJS({
22070
22147
  }
22071
22148
  });
22072
22149
 
22073
- // ../node_modules/.pnpm/qs@6.14.0/node_modules/qs/lib/index.js
22150
+ // ../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/index.js
22074
22151
  var require_lib3 = __commonJS({
22075
- "../node_modules/.pnpm/qs@6.14.0/node_modules/qs/lib/index.js"(exports3, module3) {
22152
+ "../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/index.js"(exports3, module3) {
22076
22153
  "use strict";
22077
22154
  var stringify = require_stringify();
22078
22155
  var parse = require_parse();
@@ -22085,9 +22162,9 @@ var require_lib3 = __commonJS({
22085
22162
  }
22086
22163
  });
22087
22164
 
22088
- // ../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/types/urlencoded.js
22165
+ // ../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/urlencoded.js
22089
22166
  var require_urlencoded = __commonJS({
22090
- "../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/types/urlencoded.js"(exports3, module3) {
22167
+ "../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/urlencoded.js"(exports3, module3) {
22091
22168
  "use strict";
22092
22169
  var createError = require_http_errors();
22093
22170
  var debug = require_src()("body-parser:urlencoded");
@@ -22136,7 +22213,7 @@ var require_urlencoded = __commonJS({
22136
22213
  type: "parameters.too.many"
22137
22214
  });
22138
22215
  }
22139
- var arrayLimit = extended ? Math.max(100, paramCount) : 0;
22216
+ var arrayLimit = extended ? Math.max(100, paramCount) : paramCount;
22140
22217
  debug("parse " + (extended ? "extended " : "") + "urlencoding");
22141
22218
  try {
22142
22219
  return qs.parse(body, {
@@ -22173,9 +22250,9 @@ var require_urlencoded = __commonJS({
22173
22250
  }
22174
22251
  });
22175
22252
 
22176
- // ../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/index.js
22253
+ // ../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/index.js
22177
22254
  var require_body_parser = __commonJS({
22178
- "../node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/index.js"(exports3, module3) {
22255
+ "../node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/index.js"(exports3, module3) {
22179
22256
  "use strict";
22180
22257
  exports3 = module3.exports = bodyParser;
22181
22258
  Object.defineProperty(exports3, "json", {
@@ -22373,9 +22450,9 @@ var require_parseurl = __commonJS({
22373
22450
  }
22374
22451
  });
22375
22452
 
22376
- // ../node_modules/.pnpm/finalhandler@2.1.0/node_modules/finalhandler/index.js
22453
+ // ../node_modules/.pnpm/finalhandler@2.1.1/node_modules/finalhandler/index.js
22377
22454
  var require_finalhandler = __commonJS({
22378
- "../node_modules/.pnpm/finalhandler@2.1.0/node_modules/finalhandler/index.js"(exports3, module3) {
22455
+ "../node_modules/.pnpm/finalhandler@2.1.1/node_modules/finalhandler/index.js"(exports3, module3) {
22379
22456
  "use strict";
22380
22457
  var debug = require_src()("finalhandler");
22381
22458
  var encodeUrl = require_encodeurl();
@@ -26202,9 +26279,9 @@ var require_cookie = __commonJS({
26202
26279
  }
26203
26280
  });
26204
26281
 
26205
- // ../node_modules/.pnpm/send@1.2.0/node_modules/send/index.js
26282
+ // ../node_modules/.pnpm/send@1.2.1/node_modules/send/index.js
26206
26283
  var require_send = __commonJS({
26207
- "../node_modules/.pnpm/send@1.2.0/node_modules/send/index.js"(exports3, module3) {
26284
+ "../node_modules/.pnpm/send@1.2.1/node_modules/send/index.js"(exports3, module3) {
26208
26285
  "use strict";
26209
26286
  var createError = require_http_errors();
26210
26287
  var debug = require_src()("send");
@@ -27228,9 +27305,9 @@ var require_response = __commonJS({
27228
27305
  }
27229
27306
  });
27230
27307
 
27231
- // ../node_modules/.pnpm/serve-static@2.2.0/node_modules/serve-static/index.js
27308
+ // ../node_modules/.pnpm/serve-static@2.2.1/node_modules/serve-static/index.js
27232
27309
  var require_serve_static = __commonJS({
27233
- "../node_modules/.pnpm/serve-static@2.2.0/node_modules/serve-static/index.js"(exports3, module3) {
27310
+ "../node_modules/.pnpm/serve-static@2.2.1/node_modules/serve-static/index.js"(exports3, module3) {
27234
27311
  "use strict";
27235
27312
  var encodeUrl = require_encodeurl();
27236
27313
  var escapeHtml = require_escape_html();
@@ -30675,7 +30752,7 @@ var require_express_ws = __commonJS({
30675
30752
  }
30676
30753
  });
30677
30754
 
30678
- // ../node_modules/.pnpm/@hocuspocus+server@2.15.3_y-protocols@1.0.6_yjs@13.6.29__yjs@13.6.29/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
30755
+ // ../node_modules/.pnpm/@hocuspocus+server@2.15.3_y-protocols@1.0.7_yjs@13.6.29__yjs@13.6.29/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
30679
30756
  var import_async_lock = __toESM(require_async_lock(), 1);
30680
30757
 
30681
30758
  // ../node_modules/.pnpm/@hocuspocus+common@2.15.3/node_modules/@hocuspocus/common/dist/hocuspocus-common.esm.js
@@ -38491,17 +38568,17 @@ function v4(options, buf, offset) {
38491
38568
  }
38492
38569
  var v4_default = v4;
38493
38570
 
38494
- // ../node_modules/.pnpm/@hocuspocus+server@2.15.3_y-protocols@1.0.6_yjs@13.6.29__yjs@13.6.29/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
38571
+ // ../node_modules/.pnpm/@hocuspocus+server@2.15.3_y-protocols@1.0.7_yjs@13.6.29__yjs@13.6.29/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
38495
38572
  var import_http = require("http");
38496
38573
 
38497
- // ../node_modules/.pnpm/ws@8.18.3/node_modules/ws/wrapper.mjs
38574
+ // ../node_modules/.pnpm/ws@8.19.0/node_modules/ws/wrapper.mjs
38498
38575
  var import_stream = __toESM(require_stream(), 1);
38499
38576
  var import_receiver = __toESM(require_receiver(), 1);
38500
38577
  var import_sender = __toESM(require_sender(), 1);
38501
38578
  var import_websocket = __toESM(require_websocket(), 1);
38502
38579
  var import_websocket_server = __toESM(require_websocket_server(), 1);
38503
38580
 
38504
- // ../node_modules/.pnpm/@hocuspocus+server@2.15.3_y-protocols@1.0.6_yjs@13.6.29__yjs@13.6.29/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
38581
+ // ../node_modules/.pnpm/@hocuspocus+server@2.15.3_y-protocols@1.0.7_yjs@13.6.29__yjs@13.6.29/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
38505
38582
  var import_url = require("url");
38506
38583
  var BIT83 = 128;
38507
38584
  var BITS73 = 127;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwiki/cristal-realtime",
3
- "version": "1.0.0",
3
+ "version": "1.1.0-rc-1",
4
4
  "license": "LGPL 2.1",
5
5
  "author": "XWiki Org Community <contact@xwiki.org>",
6
6
  "homepage": "https://cristal.xwiki.org/",
@@ -21,7 +21,7 @@
21
21
  "devDependencies": {
22
22
  "@types/express": "5.0.6",
23
23
  "@types/express-ws": "3.0.6",
24
- "esbuild": "0.27.2",
24
+ "esbuild": "0.27.3",
25
25
  "tsx": "4.21.0",
26
26
  "typescript": "5.9.3",
27
27
  "vite": "7.3.1"