@vltpkg/cli-js 1.0.5 → 1.0.6
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-AFFG4IBZ.js → access-CMN3GDV4.js} +1 -1
- package/{bugs-MCLLEJJP.js → bugs-MEP373JU.js} +2 -2
- package/{cache-O464JQI4.js → cache-3VLQ7CWL.js} +1 -1
- package/{chunk-K55EFH4U.js → chunk-AHTQ5ADD.js} +1 -1
- package/{chunk-JFO2EQA5.js → chunk-EJUKA3HX.js} +1 -1
- package/{chunk-UCYLZSZ7.js → chunk-G7BEW32U.js} +1 -1
- package/{chunk-YRLO236S.js → chunk-LQGUEFV6.js} +1 -1
- package/{chunk-YZPRRP7W.js → chunk-O7OUBUZ3.js} +1 -1
- package/{chunk-R32BJAKT.js → chunk-PND2URIT.js} +7 -4
- package/chunk-VWCDSE2C.js +75 -0
- package/{chunk-3NWTVANS.js → chunk-XVA4ZRW5.js} +1 -1
- package/{ci-GPZGE4SU.js → ci-ODHEBQNE.js} +1 -1
- package/cli-package.json +1 -1
- package/{config-WDCFW5X7.js → config-35TJIXFF.js} +2 -2
- package/{config-YEEKT7WH.js → config-5HCRQACM.js} +2 -2
- package/{create-TVVUUIUZ.js → create-5BESMSRT.js} +4 -4
- package/{deprecate-AH4LOHMI.js → deprecate-6YTC2E2E.js} +3 -3
- package/{devtools-66MVSNF5.js → devtools-OKXASR4F.js} +29 -29
- package/{dist-tag-4R6YHSZ7.js → dist-tag-HHCPJPJL.js} +1 -1
- package/{docs-7MHXAHGG.js → docs-M7KRVAON.js} +2 -2
- package/{exec-FRQOPS5C.js → exec-H664T76F.js} +4 -4
- package/{exec-cache-VYVXFKA2.js → exec-cache-EQUYR4PE.js} +2 -2
- package/{exec-local-MXYOC2AY.js → exec-local-OUOXFTQ6.js} +2 -2
- package/{help-J5CYJ7BO.js → help-F4DM2AQP.js} +1 -1
- package/{install-T34U5HPS.js → install-OZBDTEAY.js} +1 -1
- package/{list-C2LX6EIY.js → list-DRQS77GZ.js} +1 -1
- package/{login-6JP7WTRM.js → login-JAWRM634.js} +1 -1
- package/{logout-JYOBUHP3.js → logout-3ACX34HP.js} +1 -1
- package/{pack-ON6BK2AI.js → pack-XUEMZORZ.js} +1 -1
- package/package.json +1 -1
- package/{ping-GUNQJ53P.js → ping-FQGTZ5FI.js} +1 -1
- package/{pkg-GIH3WMUK.js → pkg-D4OYJPRA.js} +1 -1
- package/{profile-IEIZFNOD.js → profile-UNVFHARP.js} +1 -1
- package/{publish-VTRA3MIS.js → publish-FSZSNKBN.js} +13 -3
- package/{query-KEXYDRHP.js → query-QHCEICAY.js} +1 -1
- package/registry-client-package.json +1 -1
- package/registry-client-src-revalidate.js +7 -4
- package/{repo-LI5FOP3N.js → repo-KHFU55BU.js} +2 -2
- package/{reporter-Y7RMSVN4.js → reporter-Y3LUXPQS.js} +75 -75
- package/{run-LEWQVDWO.js → run-4GHCV2NW.js} +2 -2
- package/{run-exec-CLCZ47NU.js → run-exec-N2B7XW7Y.js} +2 -2
- package/{setup-MPG4UQPT.js → setup-3PSRN42W.js} +1 -1
- package/{src-ARXB4NH5.js → src-2Q2V6EI2.js} +3 -3
- package/{src-B4IYFLHG.js → src-D7FPRPSM.js} +1 -1
- package/{token-UD4AF4I7.js → token-3RNS2EZO.js} +1 -1
- package/{uninstall-MSKFXGAO.js → uninstall-RBT3ENOD.js} +1 -1
- package/{unpublish-2RNLXZWP.js → unpublish-AS7IBBGN.js} +3 -3
- package/{update-3HXQLP34.js → update-6CBZZ5PN.js} +1 -1
- package/{version-RBLKW6BQ.js → version-PW4DD2HC.js} +1 -1
- package/{view-3XTRGRGJ.js → view-LRZPRP7J.js} +1 -1
- 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-WSXDPFSQ.js → whoami-EASZYMSY.js} +1 -1
- package/chunk-ZBNPQDQ7.js +0 -75
|
@@ -14,14 +14,21 @@ import {
|
|
|
14
14
|
} from "./chunk-QWTGTFHN.js";
|
|
15
15
|
import {
|
|
16
16
|
createHostContextsMap
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LQGUEFV6.js";
|
|
18
18
|
import "./chunk-ZWKI5OSF.js";
|
|
19
19
|
import {
|
|
20
20
|
prettyBytes
|
|
21
21
|
} from "./chunk-XA47WS4N.js";
|
|
22
|
+
import {
|
|
23
|
+
stderr
|
|
24
|
+
} from "./chunk-AL42Z2D3.js";
|
|
25
|
+
import "./chunk-FEIPJIEN.js";
|
|
26
|
+
import "./chunk-G2YT2GWF.js";
|
|
27
|
+
import "./chunk-GDJ7JT2R.js";
|
|
22
28
|
import {
|
|
23
29
|
resolveRegistry
|
|
24
30
|
} from "./chunk-5JFRXIK2.js";
|
|
31
|
+
import "./chunk-WGDTG44V.js";
|
|
25
32
|
import {
|
|
26
33
|
Query,
|
|
27
34
|
actual,
|
|
@@ -37,12 +44,13 @@ import {
|
|
|
37
44
|
} from "./chunk-LCDBW6IT.js";
|
|
38
45
|
import "./chunk-XKVU23NC.js";
|
|
39
46
|
import "./chunk-WP6CYBPM.js";
|
|
47
|
+
import "./chunk-4KCU2KZL.js";
|
|
40
48
|
import "./chunk-HTOTG4TS.js";
|
|
41
49
|
import {
|
|
42
50
|
RegistryClient,
|
|
43
51
|
oidc,
|
|
44
52
|
registryBase
|
|
45
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-PND2URIT.js";
|
|
46
54
|
import "./chunk-HAYXR3MW.js";
|
|
47
55
|
import "./chunk-E74WGW5C.js";
|
|
48
56
|
import "./chunk-LPIBYUMT.js";
|
|
@@ -344,7 +352,7 @@ var commandSingle = async (location, conf) => {
|
|
|
344
352
|
cause: asError(err)
|
|
345
353
|
});
|
|
346
354
|
}
|
|
347
|
-
if (response.statusCode
|
|
355
|
+
if (response.statusCode < 200 || response.statusCode >= 300) {
|
|
348
356
|
let advice = "";
|
|
349
357
|
if (response.statusCode === 409) {
|
|
350
358
|
advice = `
|
|
@@ -360,6 +368,8 @@ var commandSingle = async (location, conf) => {
|
|
|
360
368
|
}
|
|
361
369
|
);
|
|
362
370
|
}
|
|
371
|
+
const notice = response.getHeaderString("npm-notice");
|
|
372
|
+
if (notice) stderr(`\u26A0\uFE0F ${notice}`);
|
|
363
373
|
}
|
|
364
374
|
await run({
|
|
365
375
|
...runOptions,
|
|
@@ -33166,7 +33166,7 @@ var CacheEntry = class _CacheEntry {
|
|
|
33166
33166
|
* and this static method will decode it into a CacheEntry representing
|
|
33167
33167
|
* the cached response.
|
|
33168
33168
|
*/
|
|
33169
|
-
static decode(buffer) {
|
|
33169
|
+
static decode(buffer, options = {}) {
|
|
33170
33170
|
const parsed = _CacheEntry.#parseHead(buffer);
|
|
33171
33171
|
if (!parsed) return emptyCacheEntry;
|
|
33172
33172
|
const body = buffer.subarray(parsed.headSize);
|
|
@@ -33181,7 +33181,8 @@ var CacheEntry = class _CacheEntry {
|
|
|
33181
33181
|
body,
|
|
33182
33182
|
integrity: parsed.integrity,
|
|
33183
33183
|
trustIntegrity: true,
|
|
33184
|
-
contentLength: body.byteLength
|
|
33184
|
+
contentLength: body.byteLength,
|
|
33185
|
+
...options
|
|
33185
33186
|
}
|
|
33186
33187
|
);
|
|
33187
33188
|
c.#fromCache = true;
|
|
@@ -33297,7 +33298,7 @@ var register2 = (path2, method, url) => {
|
|
|
33297
33298
|
var handleBeforeExit2 = () => {
|
|
33298
33299
|
const compileCacheDir = module2.getCompileCacheDir();
|
|
33299
33300
|
for (const [path2, r] of registered2) {
|
|
33300
|
-
if (!r.size)
|
|
33301
|
+
if (!r.size) continue;
|
|
33301
33302
|
const env = { ...process.env };
|
|
33302
33303
|
if (compileCacheDir) env.NODE_COMPILE_CACHE ??= compileCacheDir;
|
|
33303
33304
|
const args = [];
|
|
@@ -33716,7 +33717,9 @@ var RegistryClient = class {
|
|
|
33716
33717
|
#decodeCached(buffer) {
|
|
33717
33718
|
const hit = this.#decoded.get(buffer);
|
|
33718
33719
|
if (hit) return hit;
|
|
33719
|
-
const entry = CacheEntry.decode(buffer
|
|
33720
|
+
const entry = CacheEntry.decode(buffer, {
|
|
33721
|
+
"stale-while-revalidate-factor": this.staleWhileRevalidateFactor
|
|
33722
|
+
});
|
|
33720
33723
|
if (!entry.statusCode) return void 0;
|
|
33721
33724
|
if (entry.isJSON) {
|
|
33722
33725
|
try {
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./chunk-CLVRCGOZ.js";
|
|
15
15
|
import {
|
|
16
16
|
createHostContextsMap
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LQGUEFV6.js";
|
|
18
18
|
import {
|
|
19
19
|
PackageInfoClient
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-O7OUBUZ3.js";
|
|
21
21
|
import "./chunk-ZWKI5OSF.js";
|
|
22
22
|
import {
|
|
23
23
|
Query,
|