@vltpkg/cli-js 1.0.0-rc.32 → 1.0.0-rc.33

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 (85) hide show
  1. package/{access-SQZRJLJA.js → access-VP3KSJ2M.js} +23 -12
  2. package/{bugs-BMZ5UERM.js → bugs-4ZQXJA4F.js} +19 -17
  3. package/{build-LGQI6OGM.js → build-P74RVUUP.js} +13 -9
  4. package/{cache-JWHNATAX.js → cache-J4J3ZWXP.js} +19 -14
  5. package/cache-unzip-src-unzip.js +434 -428
  6. package/{chunk-6YXVQ5HC.js → chunk-2PLIV3N3.js} +1 -27
  7. package/{chunk-ZUP6UTME.js → chunk-4RZDJQ5U.js} +42 -61
  8. package/{chunk-LEX7YPHR.js → chunk-4SSFBFB5.js} +123 -92
  9. package/{chunk-SDBTQF2Y.js → chunk-5COWONUB.js} +5 -5
  10. package/{chunk-5UXEBLLT.js → chunk-7KI6XHXZ.js} +68 -7
  11. package/{chunk-R44FR7BY.js → chunk-7NHXV6AH.js} +439 -433
  12. package/{chunk-FBTBHRPG.js → chunk-7TNSW6W3.js} +1 -1
  13. package/{chunk-DI2CYYXF.js → chunk-BAUMCTQK.js} +694 -440
  14. package/{chunk-FXDRM4ZO.js → chunk-CLVRCGOZ.js} +247 -235
  15. package/{chunk-YCQTLBWF.js → chunk-CNSTFT7U.js} +1 -1
  16. package/{chunk-SIXXDCBI.js → chunk-DJYKQWV2.js} +7 -7
  17. package/chunk-E74WGW5C.js +49 -0
  18. package/chunk-EAWRHC27.js +75 -0
  19. package/{chunk-DFNHGGGV.js → chunk-EFWPI6IY.js} +1 -1
  20. package/{chunk-JBVLIV37.js → chunk-EQ633HIM.js} +14 -13
  21. package/{chunk-DM3WGEVB.js → chunk-F2FKLPZD.js} +7 -7
  22. package/chunk-FAG776ZD.js +137 -0
  23. package/{chunk-HQ4US6G3.js → chunk-FWKQ7YDF.js} +1049 -980
  24. package/{chunk-G6PG3AGN.js → chunk-GTICKXWZ.js} +11 -8
  25. package/{chunk-KRGA5VLT.js → chunk-ICJRCXSG.js} +31 -27
  26. package/{chunk-3TVABXAG.js → chunk-JEE4B4FL.js} +3 -3
  27. package/{chunk-7XE7OES7.js → chunk-JLGPPV6Z.js} +3 -3
  28. package/{chunk-M2WD7IBO.js → chunk-JZQAUAHT.js} +1 -1
  29. package/{chunk-IAKUGHGT.js → chunk-MT76WHSM.js} +1 -1
  30. package/{chunk-DIKKTUBV.js → chunk-OTNMX4EK.js} +3 -3
  31. package/{chunk-2V4AQPBR.js → chunk-PMCAQG5J.js} +85 -46
  32. package/{chunk-JKAZKVQU.js → chunk-PW6S6AIO.js} +15 -11
  33. package/{chunk-NLFBANVO.js → chunk-SSN4CYZF.js} +18 -2
  34. package/chunk-UBLFPJHV.js +40 -0
  35. package/{chunk-YQXDHMHG.js → chunk-VGWEB64T.js} +2932 -2786
  36. package/{chunk-LRPTCGTW.js → chunk-XA47WS4N.js} +11 -15
  37. package/{chunk-XFQ2EH5D.js → chunk-XIJFEV6U.js} +3 -3
  38. package/{ci-FQJANSQW.js → ci-GIDCFAZF.js} +14 -10
  39. package/cli-package.json +6 -2
  40. package/{config-4KQTTXJH.js → config-LIQMIMTF.js} +15 -13
  41. package/{config-LRL3N7TN.js → config-NBO3COMM.js} +13 -11
  42. package/{create-KN6AXEA6.js → create-K2S3J62I.js} +24 -19
  43. package/{deprecate-P26WHVFB.js → deprecate-4PJKNFXN.js} +22 -14
  44. package/{devtools-6NFQDW4L.js → devtools-HGLF4KAO.js} +82 -28
  45. package/{dist-tag-FA2BT7SA.js → dist-tag-TA6LWT2V.js} +16 -9
  46. package/{docs-OAPIY4SC.js → docs-ZCMIKQAN.js} +19 -17
  47. package/{exec-CVZGHJZS.js → exec-XVF4KCRJ.js} +24 -19
  48. package/{exec-cache-3AHODVRN.js → exec-cache-2IWJNBFB.js} +22 -17
  49. package/{exec-local-I4OJX76E.js → exec-local-FNFTQYFP.js} +17 -14
  50. package/{help-QFIQSPNS.js → help-ZDRILKVQ.js} +5 -4
  51. package/{init-QLADIAP5.js → init-VMYJE5Q3.js} +12 -10
  52. package/{install-B7CU2BLC.js → install-ZHMWN27D.js} +27 -12
  53. package/{list-OTFV3LOM.js → list-BPFKWXCR.js} +20 -15
  54. package/{login-LG2ZOIDQ.js → login-DQL5A4NT.js} +23 -9
  55. package/{logout-KUI773AM.js → logout-Q74VRDSN.js} +19 -8
  56. package/{pack-C55TTBIQ.js → pack-GLURO5KY.js} +17 -13
  57. package/package.json +8 -1
  58. package/{ping-VNUOC26G.js → ping-PPEYPKZD.js} +17 -10
  59. package/{pkg-H4RJEBK5.js → pkg-UTEKJ5CB.js} +13 -11
  60. package/{profile-DIJ5JUSE.js → profile-5QFRWC2L.js} +16 -8
  61. package/{publish-XF2TRBPH.js → publish-5VDI3JXX.js} +23 -16
  62. package/{query-BGP5JMJ7.js → query-I6DZ7TF2.js} +20 -15
  63. package/registry-ZVO3VAHY.js +117 -0
  64. package/registry-client-package.json +6 -2
  65. package/registry-client-src-revalidate.js +1233 -975
  66. package/{repo-NCEHK7KB.js → repo-SB3C7MZZ.js} +19 -17
  67. package/{reporter-OB6SNHOZ.js → reporter-2XBYWAVU.js} +3 -2
  68. package/{run-ZNJJYEJF.js → run-U6CW5Q56.js} +17 -14
  69. package/{run-exec-F5OV7MVN.js → run-exec-RFB572AL.js} +19 -14
  70. package/security-archive-src-update-expired.js +16 -11
  71. package/setup-BFKUYGJB.js +181 -0
  72. package/{src-M3WI7TSB.js → src-ZWBXAZOV.js} +25 -17
  73. package/{token-KXCVRJGF.js → token-M5HPJJJQ.js} +20 -9
  74. package/{uninstall-33SUWR6K.js → uninstall-UUBTM4ZQ.js} +15 -11
  75. package/{unpublish-7AZPBZF2.js → unpublish-WDSRB6DV.js} +17 -9
  76. package/{update-2EQF6IKZ.js → update-J4BEFJRC.js} +14 -10
  77. package/{version-HFYI3SEX.js → version-ZVG66SKC.js} +12 -10
  78. package/{view-C5OT36OB.js → view-WFK75G74.js} +19 -15
  79. package/vlr.js +1 -1
  80. package/vlrx.js +1 -1
  81. package/vlt.js +1 -1
  82. package/vlx.js +1 -1
  83. package/vlxl.js +1 -1
  84. package/{whoami-KKFV3XR6.js → whoami-TCSDOBU2.js} +19 -8
  85. package/chunk-FXIBCUIM.js +0 -73
@@ -15,9 +15,9 @@ import {
15
15
  __toESM
16
16
  } from "./chunk-PZLD7RTK.js";
17
17
 
18
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/constants.js
18
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/constants.js
19
19
  var require_constants = __commonJS({
20
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/constants.js"(exports, module) {
20
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/constants.js"(exports, module) {
21
21
  "use strict";
22
22
  var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"];
23
23
  var hasBlob = typeof Blob !== "undefined";
@@ -38,9 +38,9 @@ var require_constants = __commonJS({
38
38
  }
39
39
  });
40
40
 
41
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/buffer-util.js
41
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/buffer-util.js
42
42
  var require_buffer_util = __commonJS({
43
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/buffer-util.js"(exports, module) {
43
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/buffer-util.js"(exports, module) {
44
44
  "use strict";
45
45
  var { EMPTY_BUFFER } = require_constants();
46
46
  var FastBuffer = Buffer[Symbol.species];
@@ -113,9 +113,9 @@ var require_buffer_util = __commonJS({
113
113
  }
114
114
  });
115
115
 
116
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/limiter.js
116
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/limiter.js
117
117
  var require_limiter = __commonJS({
118
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/limiter.js"(exports, module) {
118
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/limiter.js"(exports, module) {
119
119
  "use strict";
120
120
  var kDone = /* @__PURE__ */ Symbol("kDone");
121
121
  var kRun = /* @__PURE__ */ Symbol("kRun");
@@ -163,9 +163,9 @@ var require_limiter = __commonJS({
163
163
  }
164
164
  });
165
165
 
166
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/permessage-deflate.js
166
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/permessage-deflate.js
167
167
  var require_permessage_deflate = __commonJS({
168
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/permessage-deflate.js"(exports, module) {
168
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/permessage-deflate.js"(exports, module) {
169
169
  "use strict";
170
170
  var zlib = __require("node:zlib");
171
171
  var bufferUtil = require_buffer_util();
@@ -546,9 +546,9 @@ var require_permessage_deflate = __commonJS({
546
546
  }
547
547
  });
548
548
 
549
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/validation.js
549
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/validation.js
550
550
  var require_validation = __commonJS({
551
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/validation.js"(exports, module) {
551
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/validation.js"(exports, module) {
552
552
  "use strict";
553
553
  var { isUtf8 } = __require("node:buffer");
554
554
  var { hasBlob } = require_constants();
@@ -747,9 +747,9 @@ var require_validation = __commonJS({
747
747
  }
748
748
  });
749
749
 
750
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/receiver.js
750
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/receiver.js
751
751
  var require_receiver = __commonJS({
752
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/receiver.js"(exports, module) {
752
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/receiver.js"(exports, module) {
753
753
  "use strict";
754
754
  var { Writable } = __require("node:stream");
755
755
  var PerMessageDeflate2 = require_permessage_deflate();
@@ -782,6 +782,10 @@ var require_receiver = __commonJS({
782
782
  * extensions
783
783
  * @param {Boolean} [options.isServer=false] Specifies whether to operate in
784
784
  * client or server mode
785
+ * @param {Number} [options.maxBufferedChunks=0] The maximum number of
786
+ * buffered data chunks
787
+ * @param {Number} [options.maxFragments=0] The maximum number of message
788
+ * fragments
785
789
  * @param {Number} [options.maxPayload=0] The maximum allowed message length
786
790
  * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or
787
791
  * not to skip UTF-8 validation for text and close messages
@@ -792,6 +796,8 @@ var require_receiver = __commonJS({
792
796
  this._binaryType = options.binaryType || BINARY_TYPES[0];
793
797
  this._extensions = options.extensions || {};
794
798
  this._isServer = !!options.isServer;
799
+ this._maxBufferedChunks = options.maxBufferedChunks | 0;
800
+ this._maxFragments = options.maxFragments | 0;
795
801
  this._maxPayload = options.maxPayload | 0;
796
802
  this._skipUTF8Validation = !!options.skipUTF8Validation;
797
803
  this[kWebSocket] = void 0;
@@ -806,6 +812,7 @@ var require_receiver = __commonJS({
806
812
  this._opcode = 0;
807
813
  this._totalPayloadLength = 0;
808
814
  this._messageLength = 0;
815
+ this._numFragments = 0;
809
816
  this._fragments = [];
810
817
  this._errored = false;
811
818
  this._loop = false;
@@ -821,6 +828,18 @@ var require_receiver = __commonJS({
821
828
  */
822
829
  _write(chunk, encoding, cb) {
823
830
  if (this._opcode === 8 && this._state == GET_INFO) return cb();
831
+ if (this._maxBufferedChunks > 0 && this._buffers.length >= this._maxBufferedChunks) {
832
+ cb(
833
+ this.createError(
834
+ RangeError,
835
+ "Too many buffered chunks",
836
+ false,
837
+ 1008,
838
+ "WS_ERR_TOO_MANY_BUFFERED_PARTS"
839
+ )
840
+ );
841
+ return;
842
+ }
824
843
  this._bufferedBytes += chunk.length;
825
844
  this._buffers.push(chunk);
826
845
  this.startLoop(cb);
@@ -1144,6 +1163,17 @@ var require_receiver = __commonJS({
1144
1163
  this.controlMessage(data, cb);
1145
1164
  return;
1146
1165
  }
1166
+ if (this._maxFragments > 0 && ++this._numFragments > this._maxFragments) {
1167
+ const error = this.createError(
1168
+ RangeError,
1169
+ "Too many message fragments",
1170
+ false,
1171
+ 1008,
1172
+ "WS_ERR_TOO_MANY_BUFFERED_PARTS"
1173
+ );
1174
+ cb(error);
1175
+ return;
1176
+ }
1147
1177
  if (this._compressed) {
1148
1178
  this._state = INFLATING;
1149
1179
  this.decompress(data, cb);
@@ -1201,6 +1231,7 @@ var require_receiver = __commonJS({
1201
1231
  this._totalPayloadLength = 0;
1202
1232
  this._messageLength = 0;
1203
1233
  this._fragmented = 0;
1234
+ this._numFragments = 0;
1204
1235
  this._fragments = [];
1205
1236
  if (this._opcode === 2) {
1206
1237
  let data;
@@ -1339,12 +1370,15 @@ var require_receiver = __commonJS({
1339
1370
  }
1340
1371
  });
1341
1372
 
1342
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/sender.js
1373
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/sender.js
1343
1374
  var require_sender = __commonJS({
1344
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/sender.js"(exports, module) {
1375
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/sender.js"(exports, module) {
1345
1376
  "use strict";
1346
1377
  var { Duplex } = __require("node:stream");
1347
1378
  var { randomFillSync } = __require("node:crypto");
1379
+ var {
1380
+ types: { isUint8Array }
1381
+ } = __require("node:util");
1348
1382
  var PerMessageDeflate2 = require_permessage_deflate();
1349
1383
  var { EMPTY_BUFFER, kWebSocket, NOOP } = require_constants();
1350
1384
  var { isBlob, isValidStatusCode } = require_validation();
@@ -1498,8 +1532,10 @@ var require_sender = __commonJS({
1498
1532
  buf.writeUInt16BE(code, 0);
1499
1533
  if (typeof data === "string") {
1500
1534
  buf.write(data, 2);
1501
- } else {
1535
+ } else if (isUint8Array(data)) {
1502
1536
  buf.set(data, 2);
1537
+ } else {
1538
+ throw new TypeError("Second argument must be a string or a Uint8Array");
1503
1539
  }
1504
1540
  }
1505
1541
  const options = {
@@ -1827,9 +1863,9 @@ var require_sender = __commonJS({
1827
1863
  }
1828
1864
  });
1829
1865
 
1830
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/event-target.js
1866
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/event-target.js
1831
1867
  var require_event_target = __commonJS({
1832
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/event-target.js"(exports, module) {
1868
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/event-target.js"(exports, module) {
1833
1869
  "use strict";
1834
1870
  var { kForOnEventAttribute, kListener } = require_constants();
1835
1871
  var kCode = /* @__PURE__ */ Symbol("kCode");
@@ -2056,9 +2092,9 @@ var require_event_target = __commonJS({
2056
2092
  }
2057
2093
  });
2058
2094
 
2059
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/extension.js
2095
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/extension.js
2060
2096
  var require_extension = __commonJS({
2061
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/extension.js"(exports, module) {
2097
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/extension.js"(exports, module) {
2062
2098
  "use strict";
2063
2099
  var { tokenChars } = require_validation();
2064
2100
  function push(dest, name, elem) {
@@ -2209,9 +2245,9 @@ var require_extension = __commonJS({
2209
2245
  }
2210
2246
  });
2211
2247
 
2212
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/websocket.js
2248
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/websocket.js
2213
2249
  var require_websocket = __commonJS({
2214
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/websocket.js"(exports, module) {
2250
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/websocket.js"(exports, module) {
2215
2251
  "use strict";
2216
2252
  var EventEmitter = __require("node:events");
2217
2253
  var https = __require("node:https");
@@ -2380,6 +2416,10 @@ var require_websocket = __commonJS({
2380
2416
  * multiple times in the same tick
2381
2417
  * @param {Function} [options.generateMask] The function used to generate the
2382
2418
  * masking key
2419
+ * @param {Number} [options.maxBufferedChunks=0] The maximum number of
2420
+ * buffered data chunks
2421
+ * @param {Number} [options.maxFragments=0] The maximum number of message
2422
+ * fragments
2383
2423
  * @param {Number} [options.maxPayload=0] The maximum allowed message size
2384
2424
  * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or
2385
2425
  * not to skip UTF-8 validation for text and close messages
@@ -2391,6 +2431,8 @@ var require_websocket = __commonJS({
2391
2431
  binaryType: this.binaryType,
2392
2432
  extensions: this._extensions,
2393
2433
  isServer: this._isServer,
2434
+ maxBufferedChunks: options.maxBufferedChunks,
2435
+ maxFragments: options.maxFragments,
2394
2436
  maxPayload: options.maxPayload,
2395
2437
  skipUTF8Validation: options.skipUTF8Validation
2396
2438
  });
@@ -2690,6 +2732,8 @@ var require_websocket = __commonJS({
2690
2732
  autoPong: true,
2691
2733
  closeTimeout: CLOSE_TIMEOUT,
2692
2734
  protocolVersion: protocolVersions[1],
2735
+ maxBufferedChunks: 256 * 1024,
2736
+ maxFragments: 16 * 1024,
2693
2737
  maxPayload: 100 * 1024 * 1024,
2694
2738
  skipUTF8Validation: false,
2695
2739
  perMessageDeflate: true,
@@ -2932,6 +2976,8 @@ var require_websocket = __commonJS({
2932
2976
  websocket.setSocket(socket, head, {
2933
2977
  allowSynchronousEvents: opts.allowSynchronousEvents,
2934
2978
  generateMask: opts.generateMask,
2979
+ maxBufferedChunks: opts.maxBufferedChunks,
2980
+ maxFragments: opts.maxFragments,
2935
2981
  maxPayload: opts.maxPayload,
2936
2982
  skipUTF8Validation: opts.skipUTF8Validation
2937
2983
  });
@@ -3095,9 +3141,9 @@ var require_websocket = __commonJS({
3095
3141
  }
3096
3142
  });
3097
3143
 
3098
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/stream.js
3144
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/stream.js
3099
3145
  var require_stream = __commonJS({
3100
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/stream.js"(exports, module) {
3146
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/stream.js"(exports, module) {
3101
3147
  "use strict";
3102
3148
  var WebSocket2 = require_websocket();
3103
3149
  var { Duplex } = __require("node:stream");
@@ -3193,9 +3239,9 @@ var require_stream = __commonJS({
3193
3239
  }
3194
3240
  });
3195
3241
 
3196
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/subprotocol.js
3242
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/subprotocol.js
3197
3243
  var require_subprotocol = __commonJS({
3198
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/subprotocol.js"(exports, module) {
3244
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/subprotocol.js"(exports, module) {
3199
3245
  "use strict";
3200
3246
  var { tokenChars } = require_validation();
3201
3247
  function parse(header) {
@@ -3238,9 +3284,9 @@ var require_subprotocol = __commonJS({
3238
3284
  }
3239
3285
  });
3240
3286
 
3241
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/websocket-server.js
3287
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/websocket-server.js
3242
3288
  var require_websocket_server = __commonJS({
3243
- "../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/lib/websocket-server.js"(exports, module) {
3289
+ "../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/lib/websocket-server.js"(exports, module) {
3244
3290
  "use strict";
3245
3291
  var EventEmitter = __require("node:events");
3246
3292
  var http = __require("node:http");
@@ -3274,6 +3320,10 @@ var require_websocket_server = __commonJS({
3274
3320
  * called
3275
3321
  * @param {Function} [options.handleProtocols] A hook to handle protocols
3276
3322
  * @param {String} [options.host] The hostname where to bind the server
3323
+ * @param {Number} [options.maxBufferedChunks=262144] The maximum number of
3324
+ * buffered data chunks
3325
+ * @param {Number} [options.maxFragments=16384] The maximum number of message
3326
+ * fragments
3277
3327
  * @param {Number} [options.maxPayload=104857600] The maximum allowed message
3278
3328
  * size
3279
3329
  * @param {Boolean} [options.noServer=false] Enable no server mode
@@ -3295,6 +3345,8 @@ var require_websocket_server = __commonJS({
3295
3345
  options = {
3296
3346
  allowSynchronousEvents: true,
3297
3347
  autoPong: true,
3348
+ maxBufferedChunks: 256 * 1024,
3349
+ maxFragments: 16 * 1024,
3298
3350
  maxPayload: 100 * 1024 * 1024,
3299
3351
  skipUTF8Validation: false,
3300
3352
  perMessageDeflate: false,
@@ -3574,6 +3626,8 @@ var require_websocket_server = __commonJS({
3574
3626
  socket.removeListener("error", socketOnError);
3575
3627
  ws.setSocket(socket, head, {
3576
3628
  allowSynchronousEvents: this.options.allowSynchronousEvents,
3629
+ maxBufferedChunks: this.options.maxBufferedChunks,
3630
+ maxFragments: this.options.maxFragments,
3577
3631
  maxPayload: this.options.maxPayload,
3578
3632
  skipUTF8Validation: this.options.skipUTF8Validation
3579
3633
  });
@@ -16601,7 +16655,7 @@ var require_backend = __commonJS({
16601
16655
  }
16602
16656
  });
16603
16657
 
16604
- // ../../node_modules/.vlt/~npm~ws@8.20.0~peer.14/node_modules/ws/wrapper.mjs
16658
+ // ../../node_modules/.vlt/~npm~ws@8.21.1~peer.14/node_modules/ws/wrapper.mjs
16605
16659
  var import_stream = __toESM(require_stream(), 1);
16606
16660
  var import_extension = __toESM(require_extension(), 1);
16607
16661
  var import_permessage_deflate = __toESM(require_permessage_deflate(), 1);
@@ -10,18 +10,23 @@ globalThis.clearInterval = _vlt_clearInterval;
10
10
  import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
- Spec2 as Spec
14
- } from "./chunk-JKAZKVQU.js";
13
+ resolveRegistry
14
+ } from "./chunk-FAG776ZD.js";
15
15
  import {
16
16
  commandUsage
17
- } from "./chunk-FBTBHRPG.js";
17
+ } from "./chunk-7TNSW6W3.js";
18
18
  import {
19
19
  RegistryClient
20
- } from "./chunk-DI2CYYXF.js";
21
- import "./chunk-YCQTLBWF.js";
22
- import "./chunk-R44FR7BY.js";
23
- import "./chunk-2V4AQPBR.js";
24
- import "./chunk-6YXVQ5HC.js";
20
+ } from "./chunk-BAUMCTQK.js";
21
+ import "./chunk-CNSTFT7U.js";
22
+ import "./chunk-7NHXV6AH.js";
23
+ import {
24
+ Spec2 as Spec
25
+ } from "./chunk-PW6S6AIO.js";
26
+ import "./chunk-E74WGW5C.js";
27
+ import "./chunk-PMCAQG5J.js";
28
+ import "./chunk-UBLFPJHV.js";
29
+ import "./chunk-2PLIV3N3.js";
25
30
  import "./chunk-XNLSTHDK.js";
26
31
  import {
27
32
  error
@@ -29,6 +34,7 @@ import {
29
34
  import "./chunk-PZLD7RTK.js";
30
35
 
31
36
  // ../../src/cli-sdk/src/commands/dist-tag.ts
37
+ var needsRegistry = true;
32
38
  var usage = () => commandUsage({
33
39
  command: "dist-tag",
34
40
  usage: [
@@ -110,7 +116,7 @@ var command = async (conf) => {
110
116
  });
111
117
  }
112
118
  const rc = new RegistryClient(conf.options);
113
- const registry = conf.options.registry;
119
+ const registry = await resolveRegistry(conf);
114
120
  switch (sub) {
115
121
  case "add": {
116
122
  const specArg = args[0];
@@ -199,6 +205,7 @@ var command = async (conf) => {
199
205
  };
200
206
  export {
201
207
  command,
208
+ needsRegistry,
202
209
  usage,
203
210
  views
204
211
  };
@@ -11,37 +11,39 @@ import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  require_lib
14
- } from "./chunk-FXDRM4ZO.js";
14
+ } from "./chunk-CLVRCGOZ.js";
15
15
  import {
16
16
  createHostContextsMap
17
- } from "./chunk-XFQ2EH5D.js";
17
+ } from "./chunk-XIJFEV6U.js";
18
18
  import {
19
19
  Query,
20
20
  actual
21
- } from "./chunk-YQXDHMHG.js";
21
+ } from "./chunk-VGWEB64T.js";
22
22
  import {
23
23
  SecurityArchive
24
- } from "./chunk-DM3WGEVB.js";
24
+ } from "./chunk-F2FKLPZD.js";
25
25
  import {
26
26
  PackageInfoClient
27
- } from "./chunk-LEX7YPHR.js";
28
- import "./chunk-HQ4US6G3.js";
29
- import "./chunk-KRGA5VLT.js";
30
- import "./chunk-IAKUGHGT.js";
31
- import {
32
- Spec2 as Spec
33
- } from "./chunk-JKAZKVQU.js";
27
+ } from "./chunk-4SSFBFB5.js";
28
+ import "./chunk-FWKQ7YDF.js";
29
+ import "./chunk-ICJRCXSG.js";
30
+ import "./chunk-MT76WHSM.js";
34
31
  import "./chunk-HTOTG4TS.js";
35
32
  import {
36
33
  commandUsage
37
- } from "./chunk-FBTBHRPG.js";
38
- import "./chunk-DI2CYYXF.js";
34
+ } from "./chunk-7TNSW6W3.js";
35
+ import "./chunk-BAUMCTQK.js";
39
36
  import {
40
37
  urlOpen
41
- } from "./chunk-YCQTLBWF.js";
42
- import "./chunk-R44FR7BY.js";
43
- import "./chunk-2V4AQPBR.js";
44
- import "./chunk-6YXVQ5HC.js";
38
+ } from "./chunk-CNSTFT7U.js";
39
+ import "./chunk-7NHXV6AH.js";
40
+ import {
41
+ Spec2 as Spec
42
+ } from "./chunk-PW6S6AIO.js";
43
+ import "./chunk-E74WGW5C.js";
44
+ import "./chunk-PMCAQG5J.js";
45
+ import "./chunk-UBLFPJHV.js";
46
+ import "./chunk-2PLIV3N3.js";
45
47
  import "./chunk-XNLSTHDK.js";
46
48
  import {
47
49
  error
@@ -11,41 +11,44 @@ import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  vlxResolve
14
- } from "./chunk-SIXXDCBI.js";
14
+ } from "./chunk-DJYKQWV2.js";
15
15
  import {
16
16
  ExecCommand,
17
17
  views
18
- } from "./chunk-SDBTQF2Y.js";
18
+ } from "./chunk-5COWONUB.js";
19
19
  import "./chunk-RIYFGX27.js";
20
- import "./chunk-XFQ2EH5D.js";
20
+ import "./chunk-XIJFEV6U.js";
21
21
  import {
22
22
  styleTextStdout
23
- } from "./chunk-5UXEBLLT.js";
23
+ } from "./chunk-7KI6XHXZ.js";
24
24
  import "./chunk-G2YT2GWF.js";
25
- import "./chunk-NLFBANVO.js";
25
+ import "./chunk-SSN4CYZF.js";
26
26
  import {
27
27
  exec,
28
28
  execFG
29
- } from "./chunk-YQXDHMHG.js";
30
- import "./chunk-DM3WGEVB.js";
29
+ } from "./chunk-VGWEB64T.js";
30
+ import "./chunk-F2FKLPZD.js";
31
31
  import "./chunk-VTEFO2FT.js";
32
32
  import "./chunk-RXNA2XCX.js";
33
33
  import "./chunk-WGDTG44V.js";
34
- import "./chunk-DFNHGGGV.js";
35
- import "./chunk-LEX7YPHR.js";
36
- import "./chunk-HQ4US6G3.js";
37
- import "./chunk-KRGA5VLT.js";
38
- import "./chunk-IAKUGHGT.js";
39
- import "./chunk-JKAZKVQU.js";
34
+ import "./chunk-EFWPI6IY.js";
35
+ import "./chunk-4SSFBFB5.js";
36
+ import "./chunk-FWKQ7YDF.js";
37
+ import "./chunk-ICJRCXSG.js";
38
+ import "./chunk-MT76WHSM.js";
40
39
  import "./chunk-HTOTG4TS.js";
40
+ import "./chunk-FAG776ZD.js";
41
41
  import {
42
42
  commandUsage
43
- } from "./chunk-FBTBHRPG.js";
44
- import "./chunk-DI2CYYXF.js";
45
- import "./chunk-YCQTLBWF.js";
46
- import "./chunk-R44FR7BY.js";
47
- import "./chunk-2V4AQPBR.js";
48
- import "./chunk-6YXVQ5HC.js";
43
+ } from "./chunk-7TNSW6W3.js";
44
+ import "./chunk-BAUMCTQK.js";
45
+ import "./chunk-CNSTFT7U.js";
46
+ import "./chunk-7NHXV6AH.js";
47
+ import "./chunk-PW6S6AIO.js";
48
+ import "./chunk-E74WGW5C.js";
49
+ import "./chunk-PMCAQG5J.js";
50
+ import "./chunk-UBLFPJHV.js";
51
+ import "./chunk-2PLIV3N3.js";
49
52
  import "./chunk-XNLSTHDK.js";
50
53
  import "./chunk-WZWDS3W4.js";
51
54
  import "./chunk-PZLD7RTK.js";
@@ -54,6 +57,7 @@ import "./chunk-PZLD7RTK.js";
54
57
  import { homedir } from "node:os";
55
58
  import { env, platform } from "node:process";
56
59
  import { createInterface } from "node:readline/promises";
60
+ var needsRegistry = true;
57
61
  var usage = () => commandUsage({
58
62
  command: "exec",
59
63
  usage: "[--package=<pkg>] [--call=<cmd>] [command...]",
@@ -218,6 +222,7 @@ var command = async (conf) => {
218
222
  };
219
223
  export {
220
224
  command,
225
+ needsRegistry,
221
226
  prettyPath,
222
227
  promptFn,
223
228
  usage,
@@ -14,35 +14,38 @@ import {
14
14
  vlxInfo,
15
15
  vlxInstall,
16
16
  vlxList
17
- } from "./chunk-SIXXDCBI.js";
17
+ } from "./chunk-DJYKQWV2.js";
18
18
  import {
19
19
  stdout
20
- } from "./chunk-5UXEBLLT.js";
20
+ } from "./chunk-7KI6XHXZ.js";
21
21
  import "./chunk-G2YT2GWF.js";
22
- import "./chunk-NLFBANVO.js";
22
+ import "./chunk-SSN4CYZF.js";
23
23
  import {
24
24
  RollbackRemove
25
- } from "./chunk-YQXDHMHG.js";
26
- import "./chunk-DM3WGEVB.js";
25
+ } from "./chunk-VGWEB64T.js";
26
+ import "./chunk-F2FKLPZD.js";
27
27
  import {
28
28
  ViewClass
29
29
  } from "./chunk-RXNA2XCX.js";
30
30
  import "./chunk-WGDTG44V.js";
31
- import "./chunk-DFNHGGGV.js";
32
- import "./chunk-LEX7YPHR.js";
33
- import "./chunk-HQ4US6G3.js";
34
- import "./chunk-KRGA5VLT.js";
35
- import "./chunk-IAKUGHGT.js";
36
- import "./chunk-JKAZKVQU.js";
31
+ import "./chunk-EFWPI6IY.js";
32
+ import "./chunk-4SSFBFB5.js";
33
+ import "./chunk-FWKQ7YDF.js";
34
+ import "./chunk-ICJRCXSG.js";
35
+ import "./chunk-MT76WHSM.js";
37
36
  import "./chunk-HTOTG4TS.js";
37
+ import "./chunk-FAG776ZD.js";
38
38
  import {
39
39
  commandUsage
40
- } from "./chunk-FBTBHRPG.js";
41
- import "./chunk-DI2CYYXF.js";
42
- import "./chunk-YCQTLBWF.js";
43
- import "./chunk-R44FR7BY.js";
44
- import "./chunk-2V4AQPBR.js";
45
- import "./chunk-6YXVQ5HC.js";
40
+ } from "./chunk-7TNSW6W3.js";
41
+ import "./chunk-BAUMCTQK.js";
42
+ import "./chunk-CNSTFT7U.js";
43
+ import "./chunk-7NHXV6AH.js";
44
+ import "./chunk-PW6S6AIO.js";
45
+ import "./chunk-E74WGW5C.js";
46
+ import "./chunk-PMCAQG5J.js";
47
+ import "./chunk-UBLFPJHV.js";
48
+ import "./chunk-2PLIV3N3.js";
46
49
  import "./chunk-XNLSTHDK.js";
47
50
  import {
48
51
  error
@@ -106,6 +109,7 @@ var usageDef = {
106
109
  }
107
110
  }
108
111
  };
112
+ var needsRegistry = true;
109
113
  var usage = () => commandUsage(usageDef);
110
114
  var command = async (conf) => {
111
115
  const [sub, ...args] = conf.positionals;
@@ -187,6 +191,7 @@ var deleteEntries = async (conf, keys, view2) => {
187
191
  export {
188
192
  ExecCacheView,
189
193
  command,
194
+ needsRegistry,
190
195
  usage,
191
196
  views
192
197
  };
@@ -12,31 +12,34 @@ var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  ExecCommand,
14
14
  views
15
- } from "./chunk-SDBTQF2Y.js";
15
+ } from "./chunk-5COWONUB.js";
16
16
  import "./chunk-RIYFGX27.js";
17
- import "./chunk-XFQ2EH5D.js";
18
- import "./chunk-5UXEBLLT.js";
17
+ import "./chunk-XIJFEV6U.js";
18
+ import "./chunk-7KI6XHXZ.js";
19
19
  import "./chunk-G2YT2GWF.js";
20
- import "./chunk-NLFBANVO.js";
20
+ import "./chunk-SSN4CYZF.js";
21
21
  import {
22
22
  exec,
23
23
  execFG
24
- } from "./chunk-YQXDHMHG.js";
25
- import "./chunk-DM3WGEVB.js";
24
+ } from "./chunk-VGWEB64T.js";
25
+ import "./chunk-F2FKLPZD.js";
26
26
  import "./chunk-VTEFO2FT.js";
27
27
  import "./chunk-RXNA2XCX.js";
28
28
  import "./chunk-WGDTG44V.js";
29
- import "./chunk-DFNHGGGV.js";
30
- import "./chunk-KRGA5VLT.js";
31
- import "./chunk-IAKUGHGT.js";
32
- import "./chunk-JKAZKVQU.js";
29
+ import "./chunk-EFWPI6IY.js";
30
+ import "./chunk-ICJRCXSG.js";
31
+ import "./chunk-MT76WHSM.js";
33
32
  import "./chunk-HTOTG4TS.js";
33
+ import "./chunk-FAG776ZD.js";
34
34
  import {
35
35
  commandUsage
36
- } from "./chunk-FBTBHRPG.js";
37
- import "./chunk-R44FR7BY.js";
38
- import "./chunk-2V4AQPBR.js";
39
- import "./chunk-6YXVQ5HC.js";
36
+ } from "./chunk-7TNSW6W3.js";
37
+ import "./chunk-7NHXV6AH.js";
38
+ import "./chunk-PW6S6AIO.js";
39
+ import "./chunk-E74WGW5C.js";
40
+ import "./chunk-PMCAQG5J.js";
41
+ import "./chunk-UBLFPJHV.js";
42
+ import "./chunk-2PLIV3N3.js";
40
43
  import "./chunk-XNLSTHDK.js";
41
44
  import "./chunk-WZWDS3W4.js";
42
45
  import "./chunk-PZLD7RTK.js";
@@ -11,18 +11,19 @@ import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  loadCommand
14
- } from "./chunk-FXIBCUIM.js";
14
+ } from "./chunk-EAWRHC27.js";
15
15
  import {
16
16
  generateDefaultHelp,
17
17
  generateFullHelp
18
- } from "./chunk-NLFBANVO.js";
18
+ } from "./chunk-SSN4CYZF.js";
19
19
  import "./chunk-WGDTG44V.js";
20
20
  import {
21
21
  commandUsage
22
- } from "./chunk-FBTBHRPG.js";
22
+ } from "./chunk-7TNSW6W3.js";
23
+ import "./chunk-E74WGW5C.js";
23
24
  import {
24
25
  getCommand
25
- } from "./chunk-2V4AQPBR.js";
26
+ } from "./chunk-PMCAQG5J.js";
26
27
  import "./chunk-XNLSTHDK.js";
27
28
  import {
28
29
  error