@vltpkg/cli-js 1.0.0-rc.31 → 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.
- package/{access-I7Q5S4HE.js → access-VP3KSJ2M.js} +23 -12
- package/{bugs-45YPQ2T5.js → bugs-4ZQXJA4F.js} +19 -17
- package/{build-ICCKNOZT.js → build-P74RVUUP.js} +13 -9
- package/{cache-U44GAPOY.js → cache-J4J3ZWXP.js} +19 -14
- package/cache-unzip-src-unzip.js +434 -428
- package/{chunk-Q3DNNTPG.js → chunk-2PLIV3N3.js} +113 -34
- package/{chunk-BCS77CZK.js → chunk-4RZDJQ5U.js} +42 -61
- package/{chunk-X5R27Q65.js → chunk-4SSFBFB5.js} +123 -92
- package/{chunk-QZ6G5VRS.js → chunk-5COWONUB.js} +5 -5
- package/{chunk-TLCNALWV.js → chunk-7KI6XHXZ.js} +68 -7
- package/{chunk-R44FR7BY.js → chunk-7NHXV6AH.js} +439 -433
- package/{chunk-FBTBHRPG.js → chunk-7TNSW6W3.js} +1 -1
- package/{chunk-UUE6D7ZK.js → chunk-BAUMCTQK.js} +694 -440
- package/{chunk-FXDRM4ZO.js → chunk-CLVRCGOZ.js} +247 -235
- package/{chunk-YCQTLBWF.js → chunk-CNSTFT7U.js} +1 -1
- package/{chunk-BCG46IIG.js → chunk-DJYKQWV2.js} +7 -7
- package/chunk-E74WGW5C.js +49 -0
- package/chunk-EAWRHC27.js +75 -0
- package/{chunk-IYO5QKUW.js → chunk-EFWPI6IY.js} +1 -1
- package/{chunk-JVCMIUEP.js → chunk-EQ633HIM.js} +14 -13
- package/{chunk-U6ONVNUF.js → chunk-F2FKLPZD.js} +7 -7
- package/chunk-FAG776ZD.js +137 -0
- package/{chunk-HQ4US6G3.js → chunk-FWKQ7YDF.js} +1049 -980
- package/{chunk-OMHPDQOQ.js → chunk-GTICKXWZ.js} +11 -8
- package/{chunk-SZPDTJMF.js → chunk-ICJRCXSG.js} +31 -27
- package/{chunk-YHLRGHF7.js → chunk-JEE4B4FL.js} +3 -3
- package/{chunk-5XHNL6N6.js → chunk-JLGPPV6Z.js} +62 -12
- package/{chunk-U5KA63OT.js → chunk-JZQAUAHT.js} +1 -1
- package/{chunk-C2X7PVDF.js → chunk-MT76WHSM.js} +1 -1
- package/{chunk-EXHIB5H4.js → chunk-OTNMX4EK.js} +3 -3
- package/{chunk-2V4AQPBR.js → chunk-PMCAQG5J.js} +85 -46
- package/{chunk-PHJXJ53A.js → chunk-PW6S6AIO.js} +15 -11
- package/{chunk-NLFBANVO.js → chunk-SSN4CYZF.js} +18 -2
- package/chunk-UBLFPJHV.js +40 -0
- package/{chunk-Y7QHAJJQ.js → chunk-VGWEB64T.js} +3164 -2822
- package/{chunk-LRPTCGTW.js → chunk-XA47WS4N.js} +11 -15
- package/{chunk-QHBKZE6U.js → chunk-XIJFEV6U.js} +3 -3
- package/{ci-5CK3JONP.js → ci-GIDCFAZF.js} +14 -10
- package/cli-package.json +6 -2
- package/{config-MUVNKIGE.js → config-LIQMIMTF.js} +15 -13
- package/{config-4TAZ2WKY.js → config-NBO3COMM.js} +13 -11
- package/{create-GLJ454QZ.js → create-K2S3J62I.js} +24 -19
- package/{deprecate-WBRB2ACU.js → deprecate-4PJKNFXN.js} +22 -14
- package/{devtools-6NFQDW4L.js → devtools-HGLF4KAO.js} +82 -28
- package/{dist-tag-CQJW5BXA.js → dist-tag-TA6LWT2V.js} +16 -9
- package/{docs-DEGETERR.js → docs-ZCMIKQAN.js} +19 -17
- package/{exec-MP4CE2QF.js → exec-XVF4KCRJ.js} +24 -19
- package/{exec-cache-O5OTIYVM.js → exec-cache-2IWJNBFB.js} +22 -17
- package/{exec-local-S3253EEU.js → exec-local-FNFTQYFP.js} +17 -14
- package/{help-3ELBHB5T.js → help-ZDRILKVQ.js} +5 -4
- package/{init-VAPZRSOP.js → init-VMYJE5Q3.js} +12 -10
- package/{install-WI2XDPTF.js → install-ZHMWN27D.js} +27 -12
- package/{list-EDGJ5OZS.js → list-BPFKWXCR.js} +20 -15
- package/{login-2QU5SPGP.js → login-DQL5A4NT.js} +23 -9
- package/{logout-DVW3KZKJ.js → logout-Q74VRDSN.js} +19 -8
- package/{pack-FVQFCACM.js → pack-GLURO5KY.js} +17 -13
- package/package.json +8 -1
- package/{ping-5NKJAV3C.js → ping-PPEYPKZD.js} +17 -10
- package/{pkg-A6UAZWJJ.js → pkg-UTEKJ5CB.js} +13 -11
- package/{profile-OZYH6GL2.js → profile-5QFRWC2L.js} +16 -8
- package/{publish-7BC7UGRG.js → publish-5VDI3JXX.js} +23 -16
- package/{query-4ADVFHJD.js → query-I6DZ7TF2.js} +20 -15
- package/registry-ZVO3VAHY.js +117 -0
- package/registry-client-package.json +6 -2
- package/registry-client-src-revalidate.js +1233 -975
- package/{repo-NQCC2SV5.js → repo-SB3C7MZZ.js} +19 -17
- package/{reporter-MSQWYN76.js → reporter-2XBYWAVU.js} +3 -2
- package/{run-L647KHX5.js → run-U6CW5Q56.js} +17 -14
- package/{run-exec-6ACC3NDU.js → run-exec-RFB572AL.js} +19 -14
- package/security-archive-src-update-expired.js +16 -11
- package/setup-BFKUYGJB.js +181 -0
- package/{src-7GDXNZM6.js → src-ZWBXAZOV.js} +25 -17
- package/{token-MW32RFPW.js → token-M5HPJJJQ.js} +23 -10
- package/{uninstall-D3ZT544Q.js → uninstall-UUBTM4ZQ.js} +15 -11
- package/{unpublish-JB274OID.js → unpublish-WDSRB6DV.js} +17 -9
- package/{update-FILF2X56.js → update-J4BEFJRC.js} +14 -10
- package/{version-TMUOHL5P.js → version-ZVG66SKC.js} +12 -10
- package/{view-XHDLAT6W.js → view-WFK75G74.js} +19 -15
- package/vlr.js +1 -1
- package/vlrx.js +1 -1
- package/vlt.js +1 -1
- package/vlx.js +1 -1
- package/vlxl.js +1 -1
- package/{whoami-XH64UEWS.js → whoami-TCSDOBU2.js} +19 -8
- package/chunk-6SHB5AGY.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.
|
|
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
|
+
"../../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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
14
|
-
} from "./chunk-
|
|
13
|
+
resolveRegistry
|
|
14
|
+
} from "./chunk-FAG776ZD.js";
|
|
15
15
|
import {
|
|
16
16
|
commandUsage
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7TNSW6W3.js";
|
|
18
18
|
import {
|
|
19
19
|
RegistryClient
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import
|
|
24
|
-
|
|
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
|
|
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-
|
|
14
|
+
} from "./chunk-CLVRCGOZ.js";
|
|
15
15
|
import {
|
|
16
16
|
createHostContextsMap
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XIJFEV6U.js";
|
|
18
18
|
import {
|
|
19
19
|
Query,
|
|
20
20
|
actual
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VGWEB64T.js";
|
|
22
22
|
import {
|
|
23
23
|
SecurityArchive
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-F2FKLPZD.js";
|
|
25
25
|
import {
|
|
26
26
|
PackageInfoClient
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import {
|
|
32
|
-
Spec2 as Spec
|
|
33
|
-
} from "./chunk-PHJXJ53A.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-
|
|
38
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-7TNSW6W3.js";
|
|
35
|
+
import "./chunk-BAUMCTQK.js";
|
|
39
36
|
import {
|
|
40
37
|
urlOpen
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import
|
|
44
|
-
|
|
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-
|
|
14
|
+
} from "./chunk-DJYKQWV2.js";
|
|
15
15
|
import {
|
|
16
16
|
ExecCommand,
|
|
17
17
|
views
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5COWONUB.js";
|
|
19
19
|
import "./chunk-RIYFGX27.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-XIJFEV6U.js";
|
|
21
21
|
import {
|
|
22
22
|
styleTextStdout
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7KI6XHXZ.js";
|
|
24
24
|
import "./chunk-G2YT2GWF.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-SSN4CYZF.js";
|
|
26
26
|
import {
|
|
27
27
|
exec,
|
|
28
28
|
execFG
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
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-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-PHJXJ53A.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-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
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-
|
|
17
|
+
} from "./chunk-DJYKQWV2.js";
|
|
18
18
|
import {
|
|
19
19
|
stdout
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7KI6XHXZ.js";
|
|
21
21
|
import "./chunk-G2YT2GWF.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-SSN4CYZF.js";
|
|
23
23
|
import {
|
|
24
24
|
RollbackRemove
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
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-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-PHJXJ53A.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-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
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-
|
|
15
|
+
} from "./chunk-5COWONUB.js";
|
|
16
16
|
import "./chunk-RIYFGX27.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-XIJFEV6U.js";
|
|
18
|
+
import "./chunk-7KI6XHXZ.js";
|
|
19
19
|
import "./chunk-G2YT2GWF.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-SSN4CYZF.js";
|
|
21
21
|
import {
|
|
22
22
|
exec,
|
|
23
23
|
execFG
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
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-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-PHJXJ53A.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-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
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-
|
|
14
|
+
} from "./chunk-EAWRHC27.js";
|
|
15
15
|
import {
|
|
16
16
|
generateDefaultHelp,
|
|
17
17
|
generateFullHelp
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SSN4CYZF.js";
|
|
19
19
|
import "./chunk-WGDTG44V.js";
|
|
20
20
|
import {
|
|
21
21
|
commandUsage
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7TNSW6W3.js";
|
|
23
|
+
import "./chunk-E74WGW5C.js";
|
|
23
24
|
import {
|
|
24
25
|
getCommand
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PMCAQG5J.js";
|
|
26
27
|
import "./chunk-XNLSTHDK.js";
|
|
27
28
|
import {
|
|
28
29
|
error
|