vlt 1.6.0 → 1.6.2
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-AJ654YKY.js → access-LNHKSCBO.js} +5 -5
- package/{bugs-N73DVYHD.js → bugs-PSOZGCKG.js} +15 -14
- package/{build-VZ3EZKMM.js → build-GBIF54BN.js} +11 -11
- package/{cache-VROEWG2C.js → cache-XOYAGCIO.js} +10 -8
- package/cache-unzip-src-unzip.js +190 -3
- package/chunk-24DWRCPS.js +79 -0
- package/chunk-2CFNQ4QB.js +77 -0
- package/{chunk-LP3ORD3D.js → chunk-3RYVF2GG.js} +2 -2
- package/{chunk-LCLRP64K.js → chunk-3UDBYFAH.js} +104 -16
- package/{chunk-36UIE654.js → chunk-6BD4RCTR.js} +46 -16
- package/{chunk-Y5PA7DVK.js → chunk-6ETYWCJN.js} +197 -1
- package/{chunk-TQQO2F56.js → chunk-6ISFYONV.js} +3 -2
- package/{chunk-FXD3IV2S.js → chunk-AQJR7QDA.js} +1 -1
- package/{chunk-VLVMLSIF.js → chunk-BGOXKLQ6.js} +27 -27
- package/{chunk-KVWGMSPW.js → chunk-C75GDQFE.js} +18 -3
- package/{chunk-TWDSXQPN.js → chunk-FRX5IFFY.js} +4 -4
- package/{chunk-DBANBIL2.js → chunk-FZCPQWCJ.js} +1 -0
- package/{chunk-EMTGRCSE.js → chunk-GJMDZJPJ.js} +1 -1
- package/{chunk-GEQFMH5M.js → chunk-HHSPE2DS.js} +1 -1
- package/{chunk-YTDABXPD.js → chunk-JASG7RHB.js} +2 -2
- package/{chunk-JCNI6ZHH.js → chunk-JNPVOACH.js} +4 -4
- package/{chunk-ANW36H4T.js → chunk-JYYIWXJX.js} +1 -1
- package/{chunk-22LZBDEC.js → chunk-L65CG5LE.js} +1 -1
- package/{chunk-PDWPFR5T.js → chunk-LEMHGORE.js} +1 -1
- package/{chunk-JV5XR5JQ.js → chunk-MCQTGFJY.js} +1 -1
- package/{chunk-O6MQ7NN6.js → chunk-N4SU52H5.js} +1 -1
- package/{chunk-44AWMA4F.js → chunk-NB7QVWHU.js} +84 -16
- package/{chunk-N6HV7JWC.js → chunk-QFPAFVRR.js} +39 -67
- package/{chunk-DXED4ARV.js → chunk-QGLGNPCQ.js} +2 -2
- package/{chunk-PC2HOBAQ.js → chunk-QGUQZURY.js} +9 -4
- package/{chunk-RBQO54TG.js → chunk-TGPL6YRK.js} +2 -2
- package/{chunk-F5LZMLAQ.js → chunk-TQBSL35R.js} +19 -12
- package/{chunk-IXAMCWIT.js → chunk-XWA55GAN.js} +3 -3
- package/{chunk-GZVI75KX.js → chunk-XWVEIWTT.js} +1 -1
- package/{chunk-75HGJVNG.js → chunk-Y53EROVE.js} +5 -5
- package/{chunk-CYK6I4M6.js → chunk-Z63CXYQF.js} +1 -1
- package/{chunk-B6RIGNEO.js → chunk-ZESNN24A.js} +11 -1
- package/{ci-3BVMVQIT.js → ci-XSH7DZGD.js} +13 -13
- package/cli-package.json +1 -1
- package/{config-2KQV7N5A.js → config-6XFBWC3U.js} +8 -7
- package/{config-EKHBW6I5.js → config-C73FLGQV.js} +7 -6
- package/{create-QVHNOIV3.js → create-UNCQKKBS.js} +16 -15
- package/{deprecate-E254QBH6.js → deprecate-HCVFAVZD.js} +9 -8
- package/{dist-tag-SITRFD7O.js → dist-tag-WXLJRWFJ.js} +5 -5
- package/{docs-IDL2P7CA.js → docs-5EFY7ZHN.js} +15 -14
- package/{exec-7BK2W2WL.js → exec-EC5D5GE3.js} +16 -15
- package/{exec-cache-VY46L7DR.js → exec-cache-EMUFVFCJ.js} +14 -13
- package/{exec-local-D7R5T3DF.js → exec-local-L5H4M37T.js} +13 -13
- package/{help-RMRIEJQL.js → help-FUHVZ6UH.js} +1 -1
- package/{init-BGW4HJ6V.js → init-63M6W7N4.js} +11 -11
- package/{install-U5GATZ2N.js → install-IHQRULIE.js} +20 -19
- package/{list-3VG4M2XL.js → list-EDXNWJJR.js} +16 -16
- package/{login-PHQWI6S6.js → login-OD7E5AO5.js} +10 -9
- package/{logout-DJCOGRFF.js → logout-V2WJTQV2.js} +5 -5
- package/{outdated-JH3O6R3Y.js → outdated-7N7NGSSR.js} +15 -14
- package/{pack-U5W5YWHK.js → pack-TKJW7AEB.js} +12 -12
- package/package.json +1 -1
- package/{ping-EKX43AOW.js → ping-PVWRNSCX.js} +5 -5
- package/{pkg-SW5GMERT.js → pkg-PDP4XR5S.js} +13 -13
- package/{profile-UGDRDMQ6.js → profile-BP5EALWS.js} +5 -5
- package/{publish-HTWKK3NN.js → publish-HCICK5LY.js} +14 -14
- package/{query-YE3FUVGG.js → query-TZ3BPC4B.js} +16 -16
- package/registry-client-src-revalidate.js +304 -44
- package/{repo-WDOCU6SE.js → repo-BYOSXG5J.js} +15 -14
- package/{reporter-N5PAXB26.js → reporter-S6DDAHQL.js} +12 -11
- package/{run-IPARVIIQ.js → run-JAVVTY7B.js} +13 -13
- package/{run-exec-C4RTREEW.js → run-exec-GGENQDEW.js} +13 -13
- package/security-archive-src-update-expired.js +1 -1
- package/{setup-SYYUEHZL.js → setup-I6GLYILV.js} +13 -12
- package/{skills-UBBMSBDQ.js → skills-5V6HKMA7.js} +14 -13
- package/{skills-KA2VR5Q5.js → skills-QOFA6XMM.js} +6 -6
- package/{src-FUSTSM4J.js → src-74IKO7PC.js} +12 -8
- package/src-GY57R4DK.js +659 -0
- package/{src-QO5G2S4O.js → src-REZNPR2X.js} +5 -5
- package/tar-src-placement-worker.js +6426 -0
- package/{token-UQNABECH.js → token-JEAMCRK6.js} +5 -5
- package/{uninstall-FHBJ3OUV.js → uninstall-WA4FJFVA.js} +14 -14
- package/{unpublish-APJTEUBA.js → unpublish-SG3J524L.js} +5 -5
- package/{update-NWZTL4S7.js → update-Y3KY2DZD.js} +15 -14
- package/{version-EMKKTL77.js → version-QBEPMA7Q.js} +11 -11
- package/{view-BUUI33RV.js → view-FYRF3SLJ.js} +9 -8
- 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-F6BSXGQ2.js → whoami-XSQ6SOIC.js} +5 -5
- package/chunk-4E65BBTM.js +0 -77
- package/src-W2VQULRG.js +0 -285
|
@@ -9,80 +9,29 @@ globalThis.setInterval = _vlt_setInterval;
|
|
|
9
9
|
globalThis.clearInterval = _vlt_clearInterval;
|
|
10
10
|
import {createRequire as _vlt_createRequire} from "node:module";
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
|
+
import {
|
|
13
|
+
readStoreIndex,
|
|
14
|
+
storeIndexManifest,
|
|
15
|
+
storeIndexPath
|
|
16
|
+
} from "./chunk-24DWRCPS.js";
|
|
12
17
|
import {
|
|
13
18
|
rimraf,
|
|
14
19
|
rimrafSync
|
|
15
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LEMHGORE.js";
|
|
16
21
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./chunk-BF5DRGRZ.js";
|
|
22
|
+
span
|
|
23
|
+
} from "./chunk-6ETYWCJN.js";
|
|
20
24
|
import {
|
|
21
25
|
error
|
|
22
26
|
} from "./chunk-WZWDS3W4.js";
|
|
23
27
|
|
|
24
|
-
// ../../src/tar/src/store-index.ts
|
|
25
|
-
import { readFileSync } from "node:fs";
|
|
26
|
-
import { debuglog } from "node:util";
|
|
27
|
-
var debug = debuglog("vlt");
|
|
28
|
-
var storeIndexPath = (storeEntry) => storeEntry + ".json";
|
|
29
|
-
var isRecord = (x) => !!x && typeof x === "object" && !Array.isArray(x);
|
|
30
|
-
var isOptString = (x) => x === void 0 || typeof x === "string";
|
|
31
|
-
var unsafePath = /(?:^|\/)\.{0,2}(?:\/|$)|\\/;
|
|
32
|
-
var isRelPath = (p) => typeof p === "string" && !unsafePath.test(p);
|
|
33
|
-
var isIndexFile = (f) => Array.isArray(f) && f.length === 3 && isRelPath(f[0]) && typeof f[1] === "number" && (f[2] === 0 || f[2] === 1);
|
|
34
|
-
var isStoreIndex = (x) => isRecord(x) && x.v === 1 && typeof x.scripts === "boolean" && isOptString(x.name) && isOptString(x.version) && (x.bins === void 0 || isRecord(x.bins) && Object.values(x.bins).every((b) => typeof b === "string")) && Array.isArray(x.dirs) && x.dirs.every(isRelPath) && Array.isArray(x.files) && x.files.every(isIndexFile) && isOptString(x.manifest);
|
|
35
|
-
var readStoreIndex = (storeEntry) => {
|
|
36
|
-
let index;
|
|
37
|
-
try {
|
|
38
|
-
index = JSON.parse(
|
|
39
|
-
readFileSync(storeIndexPath(storeEntry), "utf8")
|
|
40
|
-
);
|
|
41
|
-
} catch (er) {
|
|
42
|
-
if (er.code !== "ENOENT") {
|
|
43
|
-
debug("global store: invalid index", storeEntry);
|
|
44
|
-
}
|
|
45
|
-
return void 0;
|
|
46
|
-
}
|
|
47
|
-
if (isStoreIndex(index)) return index;
|
|
48
|
-
debug("global store: invalid index", storeEntry);
|
|
49
|
-
return void 0;
|
|
50
|
-
};
|
|
51
|
-
var storeIndexManifest = (packageJson, bindingGyp) => {
|
|
52
|
-
let pkg;
|
|
53
|
-
try {
|
|
54
|
-
pkg = JSON.parse(
|
|
55
|
-
packageJson.toString("utf8").replace(/^\uFEFF/, "")
|
|
56
|
-
);
|
|
57
|
-
} catch (cause) {
|
|
58
|
-
throw error("invalid package.json in tarball", { cause });
|
|
59
|
-
}
|
|
60
|
-
if (!isRecord(pkg)) {
|
|
61
|
-
throw error("invalid package.json in tarball", { found: pkg });
|
|
62
|
-
}
|
|
63
|
-
const { name: name2, version, scripts, bin } = pkg;
|
|
64
|
-
const s = isRecord(scripts) ? scripts : {};
|
|
65
|
-
const result = {
|
|
66
|
-
scripts: !!(s.install || s.preinstall || s.postinstall) || bindingGyp
|
|
67
|
-
};
|
|
68
|
-
const bins = normalizeBinPaths({
|
|
69
|
-
name: typeof name2 === "string" ? name2 : void 0,
|
|
70
|
-
bin
|
|
71
|
-
});
|
|
72
|
-
if (bins && Object.keys(bins).length) result.bins = bins;
|
|
73
|
-
if (typeof name2 === "string") result.name = name2;
|
|
74
|
-
if (typeof version === "string") result.version = version;
|
|
75
|
-
if (isManifest(pkg)) result.manifest = JSON.stringify(pkg);
|
|
76
|
-
return result;
|
|
77
|
-
};
|
|
78
|
-
|
|
79
28
|
// ../../src/tar/src/unpack.ts
|
|
80
29
|
import { randomBytes } from "node:crypto";
|
|
81
30
|
import {
|
|
82
31
|
chmodSync,
|
|
83
32
|
lstatSync,
|
|
84
33
|
mkdirSync,
|
|
85
|
-
readFileSync
|
|
34
|
+
readFileSync,
|
|
86
35
|
renameSync,
|
|
87
36
|
statSync,
|
|
88
37
|
writeFileSync
|
|
@@ -773,17 +722,39 @@ var unpack = async (tarData, target, format) => {
|
|
|
773
722
|
await unpackUnzipped(await decompress(tarData, format), target);
|
|
774
723
|
};
|
|
775
724
|
var unpackSync = (tarData, target, format) => {
|
|
776
|
-
|
|
725
|
+
const inflated = span("inflate", {
|
|
726
|
+
bytes: tarData.length,
|
|
727
|
+
sync: true
|
|
728
|
+
});
|
|
729
|
+
const buffer = decompressSync(tarData, format);
|
|
730
|
+
inflated({ out: buffer.length });
|
|
731
|
+
const written = span("write", { bytes: buffer.length });
|
|
732
|
+
unpackUnzippedSync(buffer, target);
|
|
733
|
+
written();
|
|
777
734
|
};
|
|
778
735
|
var unpackParallel = async (tarData, target, format) => {
|
|
779
|
-
|
|
736
|
+
const inflated = span("inflate", { bytes: tarData.length });
|
|
737
|
+
const buffer = await decompress(tarData, format);
|
|
738
|
+
inflated({ out: buffer.length });
|
|
739
|
+
const written = span("write", { bytes: buffer.length });
|
|
740
|
+
unpackUnzippedSync(buffer, target);
|
|
741
|
+
written();
|
|
780
742
|
};
|
|
781
743
|
var unpackFileParallel = async (file, target, offset = 0, format) => unpackParallel(
|
|
782
744
|
(await readFile(file)).subarray(offset),
|
|
783
745
|
target,
|
|
784
746
|
format
|
|
785
747
|
);
|
|
786
|
-
var unpackFileSync = (file, target, offset = 0, format) => unpackSync(
|
|
748
|
+
var unpackFileSync = (file, target, offset = 0, format) => unpackSync(readFileSync(file).subarray(offset), target, format);
|
|
749
|
+
var cacheEntryBody = (entry) => {
|
|
750
|
+
const headSize = entry.length >= 4 ? entry.readUInt32BE(0) : 0;
|
|
751
|
+
if (headSize < 7 || headSize > entry.length) {
|
|
752
|
+
throw error("not a cache entry", { found: headSize });
|
|
753
|
+
}
|
|
754
|
+
return entry.subarray(headSize);
|
|
755
|
+
};
|
|
756
|
+
var unpackCacheEntrySync = (file, target, format) => unpackSync(cacheEntryBody(readFileSync(file)), target, format);
|
|
757
|
+
var unpackCacheEntryParallel = async (file, target, format) => unpackParallel(cacheEntryBody(await readFile(file)), target, format);
|
|
787
758
|
var tmpName = (target) => dirname(target) + sep + "." + basename2(target) + "." + tmpSuffix();
|
|
788
759
|
var parseTarball = (buffer, tmp2) => {
|
|
789
760
|
if (isGzip(buffer)) {
|
|
@@ -1033,7 +1004,7 @@ import {
|
|
|
1033
1004
|
lstatSync as lstatSync2,
|
|
1034
1005
|
openSync,
|
|
1035
1006
|
readdirSync,
|
|
1036
|
-
readFileSync as
|
|
1007
|
+
readFileSync as readFileSync2,
|
|
1037
1008
|
statSync as statSync2,
|
|
1038
1009
|
utimesSync
|
|
1039
1010
|
} from "node:fs";
|
|
@@ -1124,7 +1095,7 @@ var verifyStoreEntry = (storeEntry, tarData) => {
|
|
|
1124
1095
|
let mode;
|
|
1125
1096
|
try {
|
|
1126
1097
|
mode = statSync2(f.path).mode;
|
|
1127
|
-
body =
|
|
1098
|
+
body = readFileSync2(f.path);
|
|
1128
1099
|
} catch {
|
|
1129
1100
|
return `unreadable ${p}`;
|
|
1130
1101
|
}
|
|
@@ -1138,13 +1109,14 @@ var verifyStoreEntry = (storeEntry, tarData) => {
|
|
|
1138
1109
|
};
|
|
1139
1110
|
|
|
1140
1111
|
export {
|
|
1141
|
-
storeIndexPath,
|
|
1142
|
-
readStoreIndex,
|
|
1143
1112
|
unpack,
|
|
1144
1113
|
unpackSync,
|
|
1145
1114
|
unpackParallel,
|
|
1146
1115
|
unpackFileParallel,
|
|
1147
1116
|
unpackFileSync,
|
|
1117
|
+
cacheEntryBody,
|
|
1118
|
+
unpackCacheEntrySync,
|
|
1119
|
+
unpackCacheEntryParallel,
|
|
1148
1120
|
tmpName,
|
|
1149
1121
|
unpackToStoreSync,
|
|
1150
1122
|
storeEntryNames,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
findSelf,
|
|
14
14
|
globalSpec,
|
|
15
15
|
writeInstallReceipt
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-N4SU52H5.js";
|
|
17
17
|
import {
|
|
18
18
|
prettyPath
|
|
19
19
|
} from "./chunk-BH5CVXNY.js";
|
|
20
20
|
import {
|
|
21
21
|
findCmdShimIfExists
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MCQTGFJY.js";
|
|
23
23
|
import {
|
|
24
24
|
loadPackageJson
|
|
25
25
|
} from "./chunk-E74WGW5C.js";
|
|
@@ -12,7 +12,7 @@ var require = _vlt_createRequire(import.meta.filename);
|
|
|
12
12
|
import {
|
|
13
13
|
init,
|
|
14
14
|
install
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6BD4RCTR.js";
|
|
16
16
|
import {
|
|
17
17
|
commandUsage
|
|
18
18
|
} from "./chunk-HT6FS4VB.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
minimatch,
|
|
23
23
|
resolveWSConfig,
|
|
24
24
|
splitNegatedPatterns
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6ISFYONV.js";
|
|
26
26
|
import {
|
|
27
27
|
load,
|
|
28
28
|
save
|
|
@@ -87,7 +87,9 @@ var command = async (conf) => {
|
|
|
87
87
|
for (const workspace of conf.values.workspace) {
|
|
88
88
|
const cwd = resolve(conf.options.projectRoot, workspace);
|
|
89
89
|
mkdirSync(cwd, { recursive: true });
|
|
90
|
-
results.push(
|
|
90
|
+
results.push(
|
|
91
|
+
await init({ cwd, packageJson: conf.options.packageJson })
|
|
92
|
+
);
|
|
91
93
|
const isMatched = Object.values(parsedWSConfig).some(
|
|
92
94
|
(group) => {
|
|
93
95
|
const { patterns, ignore } = splitNegatedPatterns(group);
|
|
@@ -129,7 +131,10 @@ var command = async (conf) => {
|
|
|
129
131
|
await install({ ...conf.options, allowScripts });
|
|
130
132
|
return results;
|
|
131
133
|
}
|
|
132
|
-
const result = await init({
|
|
134
|
+
const result = await init({
|
|
135
|
+
cwd: process.cwd(),
|
|
136
|
+
packageJson: conf.options.packageJson
|
|
137
|
+
});
|
|
133
138
|
await install({ ...conf.options, allowScripts });
|
|
134
139
|
return result;
|
|
135
140
|
};
|
|
@@ -11,11 +11,11 @@ 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-C75GDQFE.js";
|
|
15
15
|
import {
|
|
16
16
|
migratableWSConfig,
|
|
17
17
|
resolveWSConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6ISFYONV.js";
|
|
19
19
|
import {
|
|
20
20
|
save
|
|
21
21
|
} from "./chunk-HTOTG4TS.js";
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
SecurityArchive,
|
|
15
15
|
pRetry,
|
|
16
16
|
usesNpmRegistry
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JASG7RHB.js";
|
|
18
18
|
import {
|
|
19
19
|
Monorepo,
|
|
20
20
|
PackageJson,
|
|
21
21
|
minimatch
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6ISFYONV.js";
|
|
23
23
|
import {
|
|
24
24
|
asDepID,
|
|
25
25
|
baseDepID,
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
} from "./chunk-6D3QAFNZ.js";
|
|
40
40
|
import {
|
|
41
41
|
userAgentHeaders
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-HHSPE2DS.js";
|
|
43
43
|
import {
|
|
44
44
|
graphStep
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ZESNN24A.js";
|
|
46
46
|
import {
|
|
47
47
|
Spec,
|
|
48
48
|
Version,
|
|
@@ -4296,6 +4296,9 @@ var Node = class _Node {
|
|
|
4296
4296
|
case "registry":
|
|
4297
4297
|
this.#registryNodeResolved(tuple);
|
|
4298
4298
|
break;
|
|
4299
|
+
case "git":
|
|
4300
|
+
this.resolved = hydrateTuple(tuple, this.#name, this.#options).final.remoteURL ?? resolved;
|
|
4301
|
+
break;
|
|
4299
4302
|
default:
|
|
4300
4303
|
this.resolved = resolved;
|
|
4301
4304
|
break;
|
|
@@ -5506,10 +5509,9 @@ var loadNodes = (graph, nodes, options, actual, throwOnMissingManifest) => {
|
|
|
5506
5509
|
node.dev = dev2;
|
|
5507
5510
|
node.optional = optional2;
|
|
5508
5511
|
node.brotli = brotli;
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
node.resolved = type2 === "remote" ? filepath : resolved ?? (refResolvedUsable ? refResolved : void 0);
|
|
5512
|
+
const ref = !!referenceNode?.brotli === brotli ? referenceNode : void 0;
|
|
5513
|
+
node.integrity = integrity ?? ref?.integrity;
|
|
5514
|
+
node.resolved = type2 === "remote" ? filepath : resolved ?? ref?.resolved;
|
|
5513
5515
|
node.resolvedFromLockfile = !!(node.integrity && node.resolved);
|
|
5514
5516
|
node.projectRoot = graph.projectRoot;
|
|
5515
5517
|
if (!node.resolved) node.setResolved();
|
|
@@ -6761,14 +6763,19 @@ var id = async (state) => {
|
|
|
6761
6763
|
if (!value) {
|
|
6762
6764
|
throw error("Missing identifier name");
|
|
6763
6765
|
}
|
|
6766
|
+
const unlinked = /* @__PURE__ */ new Set();
|
|
6764
6767
|
for (const edge of state.partial.edges) {
|
|
6765
6768
|
if (edge.name !== value) {
|
|
6766
6769
|
state.partial.edges.delete(edge);
|
|
6767
|
-
if (edge.to)
|
|
6768
|
-
state.partial.nodes.delete(edge.to);
|
|
6769
|
-
}
|
|
6770
|
+
if (edge.to) unlinked.add(edge.to);
|
|
6770
6771
|
}
|
|
6771
6772
|
}
|
|
6773
|
+
for (const edge of state.partial.edges) {
|
|
6774
|
+
if (edge.to) unlinked.delete(edge.to);
|
|
6775
|
+
}
|
|
6776
|
+
for (const node of unlinked) {
|
|
6777
|
+
state.partial.nodes.delete(node);
|
|
6778
|
+
}
|
|
6772
6779
|
for (const node of state.partial.nodes) {
|
|
6773
6780
|
if (node.edgesIn.size === 0 && node.name !== value && state.partial.nodes.has(node)) {
|
|
6774
6781
|
state.partial.nodes.delete(node);
|
|
@@ -9806,7 +9813,7 @@ var Query = class {
|
|
|
9806
9813
|
};
|
|
9807
9814
|
|
|
9808
9815
|
// ../../src/graph/src/skills/lazy.ts
|
|
9809
|
-
var load3 = () => import("./skills-
|
|
9816
|
+
var load3 = () => import("./skills-QOFA6XMM.js");
|
|
9810
9817
|
var listSkills = async (o) => (await load3()).listSkills(o);
|
|
9811
9818
|
var linkSkills = async (o) => (await load3()).linkSkills(o);
|
|
9812
9819
|
var hasSkills = async (node) => isNode(node) && (await load3()).shipsSkills(node);
|
|
@@ -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
|
openUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-L65CG5LE.js";
|
|
15
15
|
import {
|
|
16
16
|
mermaidOutput
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6BD4RCTR.js";
|
|
18
18
|
import {
|
|
19
19
|
stderr
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-C75GDQFE.js";
|
|
21
21
|
import {
|
|
22
22
|
ViewClass
|
|
23
23
|
} from "./chunk-4KCU2KZL.js";
|
|
@@ -17,25 +17,25 @@ import {
|
|
|
17
17
|
} from "./chunk-RIYFGX27.js";
|
|
18
18
|
import {
|
|
19
19
|
createHostContextsMap
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JNPVOACH.js";
|
|
21
21
|
import {
|
|
22
22
|
actual,
|
|
23
23
|
isRunResult
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6BD4RCTR.js";
|
|
25
25
|
import {
|
|
26
26
|
Query
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TQBSL35R.js";
|
|
28
28
|
import {
|
|
29
29
|
stderr,
|
|
30
30
|
stdout,
|
|
31
31
|
styleTextStdout
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-C75GDQFE.js";
|
|
33
33
|
import {
|
|
34
34
|
require_emoji_regex
|
|
35
35
|
} from "./chunk-VTEFO2FT.js";
|
|
36
36
|
import {
|
|
37
37
|
Monorepo
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6ISFYONV.js";
|
|
39
39
|
import {
|
|
40
40
|
isErrorWithCause
|
|
41
41
|
} from "./chunk-BF5DRGRZ.js";
|
|
@@ -9,6 +9,9 @@ globalThis.setInterval = _vlt_setInterval;
|
|
|
9
9
|
globalThis.clearInterval = _vlt_clearInterval;
|
|
10
10
|
import {createRequire as _vlt_createRequire} from "node:module";
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
|
+
import {
|
|
13
|
+
tracer
|
|
14
|
+
} from "./chunk-6ETYWCJN.js";
|
|
12
15
|
|
|
13
16
|
// ../../src/output/src/index.ts
|
|
14
17
|
import EventEmitter from "node:events";
|
|
@@ -27,10 +30,17 @@ var OutputEmitter = class {
|
|
|
27
30
|
var emitter = new OutputEmitter();
|
|
28
31
|
var logRequest = (url, state, details = {}) => {
|
|
29
32
|
emitter.emit("request", { url, state, ...details });
|
|
33
|
+
if (tracer.file) {
|
|
34
|
+
tracer.trace("request", { ...details, url: String(url), state });
|
|
35
|
+
}
|
|
30
36
|
};
|
|
31
37
|
var graphStep = (step) => {
|
|
32
38
|
emitter.emit("graphStep", { step, state: "start" });
|
|
33
|
-
|
|
39
|
+
tracer.mark(step);
|
|
40
|
+
return () => {
|
|
41
|
+
emitter.emit("graphStep", { step, state: "stop" });
|
|
42
|
+
tracer.mark(`${step}:done`);
|
|
43
|
+
};
|
|
34
44
|
};
|
|
35
45
|
|
|
36
46
|
// ../../node_modules/.vlt/~npm~lru-cache@11.5.2/node_modules/lru-cache/dist/esm/node/index.min.js
|
|
@@ -11,21 +11,21 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
warnIgnoredWorkspaces
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TGPL6YRK.js";
|
|
15
15
|
import {
|
|
16
16
|
install
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-6BD4RCTR.js";
|
|
18
|
+
import "./chunk-TQBSL35R.js";
|
|
19
|
+
import "./chunk-JASG7RHB.js";
|
|
20
|
+
import "./chunk-C75GDQFE.js";
|
|
21
21
|
import "./chunk-LGQVZTYR.js";
|
|
22
22
|
import "./chunk-EYGOEAJM.js";
|
|
23
23
|
import {
|
|
24
24
|
commandUsage
|
|
25
25
|
} from "./chunk-HT6FS4VB.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-MCQTGFJY.js";
|
|
27
|
+
import "./chunk-GJMDZJPJ.js";
|
|
28
|
+
import "./chunk-6ISFYONV.js";
|
|
29
29
|
import {
|
|
30
30
|
lazyView
|
|
31
31
|
} from "./chunk-4KCU2KZL.js";
|
|
@@ -38,12 +38,12 @@ import "./chunk-EFHOWRKU.js";
|
|
|
38
38
|
import "./chunk-CAV7FKWQ.js";
|
|
39
39
|
import "./chunk-6D3QAFNZ.js";
|
|
40
40
|
import "./chunk-HTOTG4TS.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-HHSPE2DS.js";
|
|
42
42
|
import "./chunk-SUU2WETN.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-ZESNN24A.js";
|
|
44
44
|
import "./chunk-XNLSTHDK.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-LEMHGORE.js";
|
|
46
|
+
import "./chunk-6ETYWCJN.js";
|
|
47
47
|
import "./chunk-BF5DRGRZ.js";
|
|
48
48
|
import "./chunk-WZWDS3W4.js";
|
|
49
49
|
import "./chunk-PZLD7RTK.js";
|
|
@@ -82,7 +82,7 @@ var usage = () => commandUsage({
|
|
|
82
82
|
var views = {
|
|
83
83
|
json: (i) => i.graph.toJSON(),
|
|
84
84
|
human: lazyView(
|
|
85
|
-
async () => (await import("./reporter-
|
|
85
|
+
async () => (await import("./reporter-S6DDAHQL.js")).InstallReporter
|
|
86
86
|
)
|
|
87
87
|
};
|
|
88
88
|
var command = async (conf) => {
|
package/cli-package.json
CHANGED
|
@@ -12,7 +12,7 @@ var require = _vlt_createRequire(import.meta.filename);
|
|
|
12
12
|
import {
|
|
13
13
|
get,
|
|
14
14
|
set
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FZCPQWCJ.js";
|
|
16
16
|
import {
|
|
17
17
|
asRootError
|
|
18
18
|
} from "./chunk-EYGOEAJM.js";
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
pairsToRecords,
|
|
24
24
|
recordsToPairs
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-3RYVF2GG.js";
|
|
26
|
+
import "./chunk-3UDBYFAH.js";
|
|
27
27
|
import "./chunk-SRWDPPLX.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GJMDZJPJ.js";
|
|
29
|
+
import "./chunk-6ISFYONV.js";
|
|
30
30
|
import "./chunk-MCDLJZXT.js";
|
|
31
31
|
import {
|
|
32
32
|
getSortedKeys,
|
|
@@ -40,10 +40,11 @@ import {
|
|
|
40
40
|
} from "./chunk-HTOTG4TS.js";
|
|
41
41
|
import "./chunk-4GMNWW4C.js";
|
|
42
42
|
import "./chunk-SUU2WETN.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-ZESNN24A.js";
|
|
44
44
|
import "./chunk-XNLSTHDK.js";
|
|
45
45
|
import "./chunk-6IF3RJND.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-24DWRCPS.js";
|
|
47
|
+
import "./chunk-6ETYWCJN.js";
|
|
47
48
|
import {
|
|
48
49
|
isObject
|
|
49
50
|
} from "./chunk-BF5DRGRZ.js";
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
kCustomInspect,
|
|
17
17
|
pairsToRecords,
|
|
18
18
|
recordsToPairs
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-3RYVF2GG.js";
|
|
20
|
+
import "./chunk-3UDBYFAH.js";
|
|
21
21
|
import "./chunk-SRWDPPLX.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-GJMDZJPJ.js";
|
|
23
|
+
import "./chunk-6ISFYONV.js";
|
|
24
24
|
import "./chunk-MCDLJZXT.js";
|
|
25
25
|
import {
|
|
26
26
|
commands,
|
|
@@ -33,10 +33,11 @@ import "./chunk-6D3QAFNZ.js";
|
|
|
33
33
|
import "./chunk-HTOTG4TS.js";
|
|
34
34
|
import "./chunk-4GMNWW4C.js";
|
|
35
35
|
import "./chunk-SUU2WETN.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-ZESNN24A.js";
|
|
37
37
|
import "./chunk-XNLSTHDK.js";
|
|
38
38
|
import "./chunk-6IF3RJND.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-24DWRCPS.js";
|
|
40
|
+
import "./chunk-6ETYWCJN.js";
|
|
40
41
|
import "./chunk-BF5DRGRZ.js";
|
|
41
42
|
import "./chunk-WZWDS3W4.js";
|
|
42
43
|
import "./chunk-PZLD7RTK.js";
|
|
@@ -11,37 +11,37 @@ 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-FRX5IFFY.js";
|
|
15
15
|
import {
|
|
16
16
|
ExecCommand,
|
|
17
17
|
views
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Y53EROVE.js";
|
|
19
19
|
import "./chunk-3JIN46K5.js";
|
|
20
20
|
import "./chunk-RIYFGX27.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-JNPVOACH.js";
|
|
22
22
|
import {
|
|
23
23
|
exec,
|
|
24
24
|
execFG
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-6BD4RCTR.js";
|
|
26
|
+
import "./chunk-TQBSL35R.js";
|
|
27
|
+
import "./chunk-JASG7RHB.js";
|
|
28
28
|
import {
|
|
29
29
|
styleTextStdout
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-C75GDQFE.js";
|
|
31
31
|
import "./chunk-LGQVZTYR.js";
|
|
32
32
|
import "./chunk-EYGOEAJM.js";
|
|
33
33
|
import {
|
|
34
34
|
commandUsage
|
|
35
35
|
} from "./chunk-HT6FS4VB.js";
|
|
36
36
|
import "./chunk-VTEFO2FT.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-3UDBYFAH.js";
|
|
38
38
|
import "./chunk-SRWDPPLX.js";
|
|
39
39
|
import {
|
|
40
40
|
prettyPath
|
|
41
41
|
} from "./chunk-BH5CVXNY.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-MCQTGFJY.js";
|
|
43
|
+
import "./chunk-GJMDZJPJ.js";
|
|
44
|
+
import "./chunk-6ISFYONV.js";
|
|
45
45
|
import "./chunk-4KCU2KZL.js";
|
|
46
46
|
import "./chunk-WGDTG44V.js";
|
|
47
47
|
import "./chunk-E74WGW5C.js";
|
|
@@ -52,13 +52,14 @@ import "./chunk-EFHOWRKU.js";
|
|
|
52
52
|
import "./chunk-CAV7FKWQ.js";
|
|
53
53
|
import "./chunk-6D3QAFNZ.js";
|
|
54
54
|
import "./chunk-HTOTG4TS.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-HHSPE2DS.js";
|
|
56
56
|
import "./chunk-4GMNWW4C.js";
|
|
57
57
|
import "./chunk-SUU2WETN.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-ZESNN24A.js";
|
|
59
59
|
import "./chunk-XNLSTHDK.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-24DWRCPS.js";
|
|
61
|
+
import "./chunk-LEMHGORE.js";
|
|
62
|
+
import "./chunk-6ETYWCJN.js";
|
|
62
63
|
import "./chunk-BF5DRGRZ.js";
|
|
63
64
|
import "./chunk-WZWDS3W4.js";
|
|
64
65
|
import "./chunk-PZLD7RTK.js";
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./chunk-HT6FS4VB.js";
|
|
15
15
|
import {
|
|
16
16
|
PackageInfoClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3UDBYFAH.js";
|
|
18
18
|
import "./chunk-SRWDPPLX.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-GJMDZJPJ.js";
|
|
20
|
+
import "./chunk-6ISFYONV.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveRegistry
|
|
23
23
|
} from "./chunk-7M2VTFLP.js";
|
|
@@ -29,18 +29,19 @@ import {
|
|
|
29
29
|
import "./chunk-HTOTG4TS.js";
|
|
30
30
|
import {
|
|
31
31
|
RegistryClient
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NB7QVWHU.js";
|
|
33
33
|
import "./chunk-QNHBAGXQ.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-HHSPE2DS.js";
|
|
35
35
|
import {
|
|
36
36
|
assertOk,
|
|
37
37
|
requestError
|
|
38
38
|
} from "./chunk-4GMNWW4C.js";
|
|
39
39
|
import "./chunk-SUU2WETN.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-ZESNN24A.js";
|
|
41
41
|
import "./chunk-XNLSTHDK.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-24DWRCPS.js";
|
|
43
|
+
import "./chunk-LEMHGORE.js";
|
|
44
|
+
import "./chunk-6ETYWCJN.js";
|
|
44
45
|
import {
|
|
45
46
|
satisfies
|
|
46
47
|
} from "./chunk-BF5DRGRZ.js";
|