@vltpkg/cli-js 1.0.0-rc.23 → 1.0.0-rc.25
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/{bugs-DIPRXK73.js → bugs-KSVA7QNG.js} +3 -3
- package/{build-R53AIRYP.js → build-6QS3HGOJ.js} +2 -2
- package/{cache-E6HMZFT2.js → cache-PFWAIDXW.js} +1 -1
- package/{chunk-PLT24MXC.js → chunk-2MGFDD5I.js} +3 -3
- package/{chunk-K6X4DF6U.js → chunk-37DCI4KG.js} +1 -1
- package/{chunk-2M5IL56T.js → chunk-56TWRLHO.js} +16 -1
- package/{chunk-K4X2TU3S.js → chunk-5QLMU4PR.js} +47 -20
- package/{chunk-WEU2II6J.js → chunk-62UYVR5K.js} +2 -2
- package/{chunk-4EFXCCT3.js → chunk-GQUU7WYA.js} +7 -2
- package/{chunk-EHD7YJKI.js → chunk-HPK6ZLUY.js} +1 -1
- package/{chunk-DNTH7W55.js → chunk-L2RQA7D5.js} +3 -3
- package/{chunk-2T2STA4J.js → chunk-LU3AIHGI.js} +23 -23
- package/{chunk-QC3YTQQW.js → chunk-NGEVYSHM.js} +1 -1
- package/{chunk-KEQFTVVD.js → chunk-P2KTSGDO.js} +2 -2
- package/{ci-L4M64XSN.js → ci-LQC3DAMB.js} +4 -4
- package/cli-package.json +1 -1
- package/{create-PSB6Z7GI.js → create-5ZYDNLD2.js} +6 -6
- package/{docs-VQ3ASW4D.js → docs-QHVT3CAA.js} +3 -3
- package/{exec-23AZTE6L.js → exec-HH5RPTA6.js} +6 -6
- package/{exec-cache-X535AX7S.js → exec-cache-Y4VLW2SQ.js} +4 -4
- package/{exec-local-XFIGM2A3.js → exec-local-EQXYGOZN.js} +5 -5
- package/{help-HPMV7BR4.js → help-43YDKGLI.js} +1 -1
- package/{install-5BBY7G5X.js → install-XWI7ASPS.js} +3 -3
- package/{list-MLL5KVZW.js → list-VYD4KGKR.js} +5 -5
- package/{pack-TIJYGBW3.js → pack-OW6LLMYZ.js} +8 -5
- package/package.json +1 -1
- package/{pkg-3LKU4JA7.js → pkg-W6TK2OA4.js} +3 -3
- package/{publish-NU3AIW3Q.js → publish-HP67RLBR.js} +4 -4
- package/{query-EF5DD44X.js → query-XNLBIVQK.js} +5 -5
- package/registry-client-package.json +1 -1
- package/{repo-ZQS5FCHE.js → repo-V6IHCGHG.js} +3 -3
- package/{run-I5HLQ2U5.js → run-CZSTEZDA.js} +5 -5
- package/{run-exec-YAMBGRK6.js → run-exec-MNR3H4EF.js} +5 -5
- package/security-archive-src-update-expired.js +2247 -0
- package/{src-YUW2DNJF.js → src-DYCHGTG4.js} +2 -2
- package/{uninstall-IM5T6TS5.js → uninstall-L7JZBHKY.js} +3 -3
- package/{update-Z67JWNNP.js → update-5VNZX4RF.js} +2 -2
- package/{version-GG5XKQIS.js → version-BG6EEYI7.js} +3 -3
- package/{view-2CLEZWZL.js → view-CWHRAR2S.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
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
} from "./chunk-AZLX27EM.js";
|
|
15
15
|
import {
|
|
16
16
|
createHostContextsMap
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-62UYVR5K.js";
|
|
18
18
|
import {
|
|
19
19
|
Query,
|
|
20
20
|
actual
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
22
22
|
import {
|
|
23
23
|
SecurityArchive
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5QLMU4PR.js";
|
|
25
25
|
import "./chunk-VVTZN4QQ.js";
|
|
26
26
|
import {
|
|
27
27
|
commandUsage
|
|
@@ -11,8 +11,8 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
build
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
15
|
+
import "./chunk-5QLMU4PR.js";
|
|
16
16
|
import "./chunk-VVTZN4QQ.js";
|
|
17
17
|
import {
|
|
18
18
|
commandUsage
|
|
@@ -16,18 +16,18 @@ import {
|
|
|
16
16
|
stderr,
|
|
17
17
|
stdout,
|
|
18
18
|
styleTextStdout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-56TWRLHO.js";
|
|
20
20
|
import {
|
|
21
21
|
require_emoji_regex
|
|
22
22
|
} from "./chunk-VTEFO2FT.js";
|
|
23
23
|
import {
|
|
24
24
|
createHostContextsMap
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-62UYVR5K.js";
|
|
26
26
|
import {
|
|
27
27
|
Query,
|
|
28
28
|
actual,
|
|
29
29
|
isRunResult
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
31
31
|
import {
|
|
32
32
|
Monorepo
|
|
33
33
|
} from "./chunk-Z76BQOEV.js";
|
|
@@ -11,7 +11,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
asDependency
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
15
15
|
import {
|
|
16
16
|
Spec2 as Spec,
|
|
17
17
|
joinDepIDTuple
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from "./chunk-XNLSTHDK.js";
|
|
36
36
|
|
|
37
37
|
// ../../src/cli-sdk/src/print-err.ts
|
|
38
|
-
import { mkdirSync, writeFileSync } from "node:fs";
|
|
38
|
+
import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
39
39
|
import { join } from "node:path";
|
|
40
40
|
import { formatWithOptions } from "node:util";
|
|
41
41
|
var formatOptions = {
|
|
@@ -70,6 +70,13 @@ var writeErrorLog = (e, format) => {
|
|
|
70
70
|
return null;
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
|
+
var readErrorLog = (file) => {
|
|
74
|
+
try {
|
|
75
|
+
return readFileSync(file, "utf8");
|
|
76
|
+
} catch {
|
|
77
|
+
return null;
|
|
78
|
+
}
|
|
79
|
+
};
|
|
73
80
|
var printErr = (e, usage, stderr2, baseOpts) => {
|
|
74
81
|
const format = (arg, opts) => {
|
|
75
82
|
const { maxLines = 200, ...rest } = {
|
|
@@ -97,6 +104,14 @@ var printErr = (e, usage, stderr2, baseOpts) => {
|
|
|
97
104
|
if (fileWritten) {
|
|
98
105
|
stderr2("");
|
|
99
106
|
stderr2(`Full details written to: ${fileWritten}`);
|
|
107
|
+
if (process.env.CI) {
|
|
108
|
+
const fullErrorLog = readErrorLog(fileWritten);
|
|
109
|
+
if (fullErrorLog) {
|
|
110
|
+
stderr2("");
|
|
111
|
+
stderr2("Full details:");
|
|
112
|
+
stderr2(fullErrorLog);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
100
115
|
}
|
|
101
116
|
if (!knownError || knownError.bug) {
|
|
102
117
|
stderr2("");
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
|
|
30
30
|
// ../../src/security-archive/src/index.ts
|
|
31
31
|
import { DatabaseSync } from "node:sqlite";
|
|
32
|
+
import { spawn } from "node:child_process";
|
|
32
33
|
import { mkdirSync } from "node:fs";
|
|
33
34
|
import { dirname } from "node:path";
|
|
34
35
|
|
|
@@ -165,7 +166,7 @@ async function onAttemptFailure({ error: error2, attemptNumber, retriesConsumed,
|
|
|
165
166
|
const finalDelay = Math.min(delayTime, remainingTime);
|
|
166
167
|
options.signal?.throwIfAborted();
|
|
167
168
|
if (finalDelay > 0) {
|
|
168
|
-
await new Promise((
|
|
169
|
+
await new Promise((resolve2, reject) => {
|
|
169
170
|
const onAbort = () => {
|
|
170
171
|
clearTimeout(timeoutToken);
|
|
171
172
|
options.signal?.removeEventListener("abort", onAbort);
|
|
@@ -173,7 +174,7 @@ async function onAttemptFailure({ error: error2, attemptNumber, retriesConsumed,
|
|
|
173
174
|
};
|
|
174
175
|
const timeoutToken = setTimeout(() => {
|
|
175
176
|
options.signal?.removeEventListener("abort", onAbort);
|
|
176
|
-
|
|
177
|
+
resolve2();
|
|
177
178
|
}, finalDelay);
|
|
178
179
|
if (options.unref) {
|
|
179
180
|
timeoutToken.unref?.();
|
|
@@ -242,6 +243,10 @@ var asPackageReportData = (o) => {
|
|
|
242
243
|
return o;
|
|
243
244
|
};
|
|
244
245
|
|
|
246
|
+
// ../../src/security-archive/src/update-expired.ts
|
|
247
|
+
import { resolve } from "node:path";
|
|
248
|
+
var __CODE_SPLIT_SCRIPT_NAME = resolve(import.meta.dirname, "security-archive-src-update-expired.js");
|
|
249
|
+
|
|
245
250
|
// ../../src/security-archive/src/index.ts
|
|
246
251
|
var SOCKET_API_V0_URL = "https://api.socket.dev/v0/purl?alerts=true";
|
|
247
252
|
var SOCKET_PUBLIC_API_TOKEN = "sktsec_t_--RAN5U4ivauy4w37-6aoKyYPDt5ZbaT5JBVMqiwKo_api";
|
|
@@ -262,7 +267,6 @@ var { version } = loadPackageJson(
|
|
|
262
267
|
);
|
|
263
268
|
var SecurityArchive = class _SecurityArchive extends L {
|
|
264
269
|
#expired = /* @__PURE__ */ new Set();
|
|
265
|
-
#pUpdateExpired;
|
|
266
270
|
#path;
|
|
267
271
|
#retries;
|
|
268
272
|
#nodesByName = /* @__PURE__ */ new Map();
|
|
@@ -352,28 +356,53 @@ var SecurityArchive = class _SecurityArchive extends L {
|
|
|
352
356
|
db.prepare("DELETE FROM cache WHERE depID = ?").run(depID);
|
|
353
357
|
}
|
|
354
358
|
}
|
|
355
|
-
this.#
|
|
359
|
+
this.#spawnUpdateExpired();
|
|
356
360
|
}
|
|
357
361
|
/**
|
|
358
|
-
*
|
|
362
|
+
* Spawns a detached child process to revalidate expired entries.
|
|
363
|
+
* The process runs independently — the main process does not wait for it.
|
|
359
364
|
*/
|
|
360
|
-
|
|
361
|
-
const
|
|
365
|
+
#spawnUpdateExpired() {
|
|
366
|
+
const expired = [];
|
|
362
367
|
for (const depID of this.#expired) {
|
|
363
368
|
const node = this.#nodesByID.get(baseDepID(depID));
|
|
364
|
-
if (!node?.version) {
|
|
369
|
+
if (!node?.version || !node.name) {
|
|
365
370
|
continue;
|
|
366
371
|
}
|
|
367
|
-
|
|
368
|
-
|
|
372
|
+
expired.push({
|
|
373
|
+
depID: baseDepID(depID),
|
|
374
|
+
name: node.name,
|
|
375
|
+
version: node.version
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
if (!expired.length) {
|
|
379
|
+
return;
|
|
369
380
|
}
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
381
|
+
const isDeno = globalThis.Deno != void 0;
|
|
382
|
+
const payload = {
|
|
383
|
+
dbPath: this.#path,
|
|
384
|
+
retries: this.#retries,
|
|
385
|
+
ttl: _SecurityArchive.defaultTtl,
|
|
386
|
+
expired
|
|
387
|
+
};
|
|
388
|
+
const args = [];
|
|
389
|
+
const detached = !(isDeno && process.platform === "win32");
|
|
390
|
+
if (isDeno) {
|
|
391
|
+
args.push(
|
|
392
|
+
"--unstable-node-globals",
|
|
393
|
+
"--unstable-bare-node-builtins"
|
|
374
394
|
);
|
|
375
|
-
|
|
376
|
-
|
|
395
|
+
}
|
|
396
|
+
args.push(__CODE_SPLIT_SCRIPT_NAME);
|
|
397
|
+
const proc = spawn(process.execPath, args, {
|
|
398
|
+
detached,
|
|
399
|
+
stdio: ["pipe", "ignore", "ignore"],
|
|
400
|
+
env: { ...process.env }
|
|
401
|
+
});
|
|
402
|
+
proc.stdin.write(JSON.stringify(payload));
|
|
403
|
+
proc.stdin.end();
|
|
404
|
+
if (detached) {
|
|
405
|
+
proc.unref();
|
|
377
406
|
}
|
|
378
407
|
}
|
|
379
408
|
/**
|
|
@@ -528,18 +557,16 @@ var SecurityArchive = class _SecurityArchive extends L {
|
|
|
528
557
|
}
|
|
529
558
|
this.#validateReportData();
|
|
530
559
|
} finally {
|
|
531
|
-
|
|
560
|
+
this.#close(db);
|
|
532
561
|
}
|
|
533
562
|
}
|
|
534
563
|
/**
|
|
535
564
|
* Closes the database connection and cleans up the internal state.
|
|
536
565
|
*/
|
|
537
|
-
|
|
538
|
-
await this.#pUpdateExpired;
|
|
566
|
+
#close(db) {
|
|
539
567
|
db.exec("PRAGMA optimize");
|
|
540
568
|
db.close();
|
|
541
569
|
this.#expired.clear();
|
|
542
|
-
this.#pUpdateExpired = void 0;
|
|
543
570
|
}
|
|
544
571
|
/**
|
|
545
572
|
* Outputs the current in-memory cache as a JSON object.
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
actual,
|
|
14
14
|
callLimit,
|
|
15
15
|
createVirtualRoot
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
17
17
|
import {
|
|
18
18
|
SecurityArchive
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5QLMU4PR.js";
|
|
20
20
|
import {
|
|
21
21
|
error
|
|
22
22
|
} from "./chunk-WZWDS3W4.js";
|
|
@@ -235,7 +235,12 @@ var packTarball = async (manifest, dir, config) => {
|
|
|
235
235
|
dot: true
|
|
236
236
|
});
|
|
237
237
|
const isParentDir = pattern.includes("/") && pattern.startsWith(normalizedPath + "/");
|
|
238
|
-
|
|
238
|
+
const isChildOfPattern = minimatch(
|
|
239
|
+
normalizedPath,
|
|
240
|
+
pattern + "/**",
|
|
241
|
+
{ dot: true }
|
|
242
|
+
);
|
|
243
|
+
return directMatch || isParentDir || isChildOfPattern;
|
|
239
244
|
});
|
|
240
245
|
}
|
|
241
246
|
const defaultExcludePatterns = [
|
|
@@ -284,7 +289,7 @@ var packTarball = async (manifest, dir, config) => {
|
|
|
284
289
|
files,
|
|
285
290
|
integrity,
|
|
286
291
|
shasum,
|
|
287
|
-
resolvedManifest:
|
|
292
|
+
resolvedManifest: processedManifest
|
|
288
293
|
};
|
|
289
294
|
} finally {
|
|
290
295
|
config.options.packageJson.write(packDir, manifest);
|
|
@@ -12,7 +12,7 @@ var require = _vlt_createRequire(import.meta.filename);
|
|
|
12
12
|
import {
|
|
13
13
|
findCmdShimIfExists,
|
|
14
14
|
install
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
16
16
|
import {
|
|
17
17
|
PackageInfoClient
|
|
18
18
|
} from "./chunk-QFA4L7SI.js";
|
|
@@ -206,8 +206,8 @@ var vlxInstall = async (spec, options, promptFn) => {
|
|
|
206
206
|
projectRoot: dir,
|
|
207
207
|
monorepo: void 0,
|
|
208
208
|
scurry: new PathScurry(dir),
|
|
209
|
-
//
|
|
210
|
-
allowScripts: "
|
|
209
|
+
// allow lifecycle scripts but filter out malware via security archive
|
|
210
|
+
allowScripts: ":scripts:not(:malware)"
|
|
211
211
|
});
|
|
212
212
|
return vlxInfo(dir, options, manifest);
|
|
213
213
|
};
|
|
@@ -18,36 +18,36 @@ import {
|
|
|
18
18
|
|
|
19
19
|
// import("./commands/**/*.ts") in ../../src/cli-sdk/src/load-command.ts
|
|
20
20
|
var globImport_commands_ts = __glob({
|
|
21
|
-
"./commands/bugs.ts": () => import("./bugs-
|
|
22
|
-
"./commands/build.ts": () => import("./build-
|
|
23
|
-
"./commands/cache.ts": () => import("./cache-
|
|
24
|
-
"./commands/ci.ts": () => import("./ci-
|
|
21
|
+
"./commands/bugs.ts": () => import("./bugs-KSVA7QNG.js"),
|
|
22
|
+
"./commands/build.ts": () => import("./build-6QS3HGOJ.js"),
|
|
23
|
+
"./commands/cache.ts": () => import("./cache-PFWAIDXW.js"),
|
|
24
|
+
"./commands/ci.ts": () => import("./ci-LQC3DAMB.js"),
|
|
25
25
|
"./commands/config.ts": () => import("./config-GQHPERU5.js"),
|
|
26
|
-
"./commands/create.ts": () => import("./create-
|
|
27
|
-
"./commands/docs.ts": () => import("./docs-
|
|
28
|
-
"./commands/exec-cache.ts": () => import("./exec-cache-
|
|
29
|
-
"./commands/exec-local.ts": () => import("./exec-local-
|
|
30
|
-
"./commands/exec.ts": () => import("./exec-
|
|
31
|
-
"./commands/help.ts": () => import("./help-
|
|
26
|
+
"./commands/create.ts": () => import("./create-5ZYDNLD2.js"),
|
|
27
|
+
"./commands/docs.ts": () => import("./docs-QHVT3CAA.js"),
|
|
28
|
+
"./commands/exec-cache.ts": () => import("./exec-cache-Y4VLW2SQ.js"),
|
|
29
|
+
"./commands/exec-local.ts": () => import("./exec-local-EQXYGOZN.js"),
|
|
30
|
+
"./commands/exec.ts": () => import("./exec-HH5RPTA6.js"),
|
|
31
|
+
"./commands/help.ts": () => import("./help-43YDKGLI.js"),
|
|
32
32
|
"./commands/init.ts": () => import("./init-32T4YJZ5.js"),
|
|
33
|
-
"./commands/install.ts": () => import("./install-
|
|
33
|
+
"./commands/install.ts": () => import("./install-XWI7ASPS.js"),
|
|
34
34
|
"./commands/install/reporter.ts": () => import("./reporter-L7KNFUVD.js"),
|
|
35
|
-
"./commands/list.ts": () => import("./list-
|
|
35
|
+
"./commands/list.ts": () => import("./list-VYD4KGKR.js"),
|
|
36
36
|
"./commands/login.ts": () => import("./login-LFHU3GCN.js"),
|
|
37
37
|
"./commands/logout.ts": () => import("./logout-HRFY65WG.js"),
|
|
38
|
-
"./commands/pack.ts": () => import("./pack-
|
|
38
|
+
"./commands/pack.ts": () => import("./pack-OW6LLMYZ.js"),
|
|
39
39
|
"./commands/ping.ts": () => import("./ping-ABWRUAWQ.js"),
|
|
40
|
-
"./commands/pkg.ts": () => import("./pkg-
|
|
41
|
-
"./commands/publish.ts": () => import("./publish-
|
|
42
|
-
"./commands/query.ts": () => import("./query-
|
|
43
|
-
"./commands/repo.ts": () => import("./repo-
|
|
44
|
-
"./commands/run-exec.ts": () => import("./run-exec-
|
|
45
|
-
"./commands/run.ts": () => import("./run-
|
|
40
|
+
"./commands/pkg.ts": () => import("./pkg-W6TK2OA4.js"),
|
|
41
|
+
"./commands/publish.ts": () => import("./publish-HP67RLBR.js"),
|
|
42
|
+
"./commands/query.ts": () => import("./query-XNLBIVQK.js"),
|
|
43
|
+
"./commands/repo.ts": () => import("./repo-V6IHCGHG.js"),
|
|
44
|
+
"./commands/run-exec.ts": () => import("./run-exec-MNR3H4EF.js"),
|
|
45
|
+
"./commands/run.ts": () => import("./run-CZSTEZDA.js"),
|
|
46
46
|
"./commands/token.ts": () => import("./token-NTSPC4UL.js"),
|
|
47
|
-
"./commands/uninstall.ts": () => import("./uninstall-
|
|
48
|
-
"./commands/update.ts": () => import("./update-
|
|
49
|
-
"./commands/version.ts": () => import("./version-
|
|
50
|
-
"./commands/view.ts": () => import("./view-
|
|
47
|
+
"./commands/uninstall.ts": () => import("./uninstall-L7JZBHKY.js"),
|
|
48
|
+
"./commands/update.ts": () => import("./update-5VNZX4RF.js"),
|
|
49
|
+
"./commands/version.ts": () => import("./version-BG6EEYI7.js"),
|
|
50
|
+
"./commands/view.ts": () => import("./view-CWHRAR2S.js"),
|
|
51
51
|
"./commands/whoami.ts": () => import("./whoami-ITPWALIQ.js")
|
|
52
52
|
});
|
|
53
53
|
|
|
@@ -11,13 +11,13 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
stderr
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-56TWRLHO.js";
|
|
15
15
|
import {
|
|
16
16
|
ViewClass
|
|
17
17
|
} from "./chunk-RXNA2XCX.js";
|
|
18
18
|
import {
|
|
19
19
|
mermaidOutput
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
21
21
|
import {
|
|
22
22
|
urlOpen
|
|
23
23
|
} from "./chunk-D7U7KDEM.js";
|
|
@@ -17,8 +17,8 @@ import "./chunk-RXNA2XCX.js";
|
|
|
17
17
|
import "./chunk-WGDTG44V.js";
|
|
18
18
|
import {
|
|
19
19
|
install
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
21
|
+
import "./chunk-5QLMU4PR.js";
|
|
22
22
|
import "./chunk-VVTZN4QQ.js";
|
|
23
23
|
import {
|
|
24
24
|
commandUsage
|
|
@@ -64,8 +64,8 @@ var views = {
|
|
|
64
64
|
var command = async (conf) => {
|
|
65
65
|
const ciOptions = {
|
|
66
66
|
...conf.options,
|
|
67
|
-
// allow
|
|
68
|
-
allowScripts: conf.get("allow-scripts") ?? "
|
|
67
|
+
// allow scripts but filter out malware via security archive
|
|
68
|
+
allowScripts: conf.get("allow-scripts") ?? ":scripts:not(:malware)",
|
|
69
69
|
expectLockfile: true,
|
|
70
70
|
frozenLockfile: true,
|
|
71
71
|
cleanInstall: true,
|
package/cli-package.json
CHANGED
|
@@ -11,26 +11,26 @@ 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-L2RQA7D5.js";
|
|
15
15
|
import {
|
|
16
16
|
ExecCommand,
|
|
17
17
|
views
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2MGFDD5I.js";
|
|
19
19
|
import "./chunk-RIYFGX27.js";
|
|
20
20
|
import {
|
|
21
21
|
styleTextStdout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-56TWRLHO.js";
|
|
23
23
|
import "./chunk-TDTJOKF2.js";
|
|
24
24
|
import "./chunk-VTEFO2FT.js";
|
|
25
25
|
import "./chunk-RXNA2XCX.js";
|
|
26
26
|
import "./chunk-WGDTG44V.js";
|
|
27
27
|
import "./chunk-5WHVV7CQ.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-62UYVR5K.js";
|
|
29
29
|
import {
|
|
30
30
|
exec,
|
|
31
31
|
execFG
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
33
|
+
import "./chunk-5QLMU4PR.js";
|
|
34
34
|
import "./chunk-VVTZN4QQ.js";
|
|
35
35
|
import {
|
|
36
36
|
commandUsage
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
} from "./chunk-AZLX27EM.js";
|
|
15
15
|
import {
|
|
16
16
|
createHostContextsMap
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-62UYVR5K.js";
|
|
18
18
|
import {
|
|
19
19
|
Query,
|
|
20
20
|
actual
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
22
22
|
import {
|
|
23
23
|
SecurityArchive
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5QLMU4PR.js";
|
|
25
25
|
import "./chunk-VVTZN4QQ.js";
|
|
26
26
|
import {
|
|
27
27
|
commandUsage
|
|
@@ -11,26 +11,26 @@ 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-L2RQA7D5.js";
|
|
15
15
|
import {
|
|
16
16
|
ExecCommand,
|
|
17
17
|
views
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2MGFDD5I.js";
|
|
19
19
|
import "./chunk-RIYFGX27.js";
|
|
20
20
|
import {
|
|
21
21
|
styleTextStdout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-56TWRLHO.js";
|
|
23
23
|
import "./chunk-TDTJOKF2.js";
|
|
24
24
|
import "./chunk-VTEFO2FT.js";
|
|
25
25
|
import "./chunk-RXNA2XCX.js";
|
|
26
26
|
import "./chunk-WGDTG44V.js";
|
|
27
27
|
import "./chunk-5WHVV7CQ.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-62UYVR5K.js";
|
|
29
29
|
import {
|
|
30
30
|
exec,
|
|
31
31
|
execFG
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
33
|
+
import "./chunk-5QLMU4PR.js";
|
|
34
34
|
import "./chunk-VVTZN4QQ.js";
|
|
35
35
|
import {
|
|
36
36
|
commandUsage
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
vlxInfo,
|
|
15
15
|
vlxInstall,
|
|
16
16
|
vlxList
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-L2RQA7D5.js";
|
|
18
18
|
import {
|
|
19
19
|
stdout
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-56TWRLHO.js";
|
|
21
21
|
import "./chunk-TDTJOKF2.js";
|
|
22
22
|
import {
|
|
23
23
|
ViewClass
|
|
@@ -26,8 +26,8 @@ import "./chunk-WGDTG44V.js";
|
|
|
26
26
|
import "./chunk-5WHVV7CQ.js";
|
|
27
27
|
import {
|
|
28
28
|
RollbackRemove
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
30
|
+
import "./chunk-5QLMU4PR.js";
|
|
31
31
|
import "./chunk-VVTZN4QQ.js";
|
|
32
32
|
import {
|
|
33
33
|
commandUsage
|
|
@@ -12,20 +12,20 @@ var require = _vlt_createRequire(import.meta.filename);
|
|
|
12
12
|
import {
|
|
13
13
|
ExecCommand,
|
|
14
14
|
views
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2MGFDD5I.js";
|
|
16
16
|
import "./chunk-RIYFGX27.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-56TWRLHO.js";
|
|
18
18
|
import "./chunk-TDTJOKF2.js";
|
|
19
19
|
import "./chunk-VTEFO2FT.js";
|
|
20
20
|
import "./chunk-RXNA2XCX.js";
|
|
21
21
|
import "./chunk-WGDTG44V.js";
|
|
22
22
|
import "./chunk-5WHVV7CQ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-62UYVR5K.js";
|
|
24
24
|
import {
|
|
25
25
|
exec,
|
|
26
26
|
execFG
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
28
|
+
import "./chunk-5QLMU4PR.js";
|
|
29
29
|
import "./chunk-VVTZN4QQ.js";
|
|
30
30
|
import {
|
|
31
31
|
commandUsage
|
|
@@ -11,7 +11,7 @@ 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-LU3AIHGI.js";
|
|
15
15
|
import {
|
|
16
16
|
generateDefaultHelp,
|
|
17
17
|
generateFullHelp
|
|
@@ -11,7 +11,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
parseAddArgs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-37DCI4KG.js";
|
|
15
15
|
import {
|
|
16
16
|
InstallReporter
|
|
17
17
|
} from "./chunk-M562AXMZ.js";
|
|
@@ -20,8 +20,8 @@ import "./chunk-RXNA2XCX.js";
|
|
|
20
20
|
import "./chunk-WGDTG44V.js";
|
|
21
21
|
import {
|
|
22
22
|
install
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
24
|
+
import "./chunk-5QLMU4PR.js";
|
|
25
25
|
import "./chunk-VVTZN4QQ.js";
|
|
26
26
|
import {
|
|
27
27
|
commandUsage
|
|
@@ -11,15 +11,15 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
MermaidImageView
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-P2KTSGDO.js";
|
|
15
|
+
import "./chunk-56TWRLHO.js";
|
|
16
16
|
import "./chunk-TDTJOKF2.js";
|
|
17
17
|
import "./chunk-RXNA2XCX.js";
|
|
18
18
|
import "./chunk-WGDTG44V.js";
|
|
19
19
|
import "./chunk-5WHVV7CQ.js";
|
|
20
20
|
import {
|
|
21
21
|
createHostContextsMap
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-62UYVR5K.js";
|
|
23
23
|
import {
|
|
24
24
|
GraphModifier,
|
|
25
25
|
Query,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
humanReadableOutput,
|
|
29
29
|
jsonOutput,
|
|
30
30
|
mermaidOutput
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HPK6ZLUY.js";
|
|
32
32
|
import {
|
|
33
33
|
SecurityArchive
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5QLMU4PR.js";
|
|
35
35
|
import "./chunk-VVTZN4QQ.js";
|
|
36
36
|
import {
|
|
37
37
|
commandUsage
|