@vltpkg/cli-js 1.0.0-rc.27 → 1.0.0-rc.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/access-6HRR4HXE.js +293 -0
  2. package/{bugs-CS34LDPD.js → bugs-2CAZQ32S.js} +19 -22
  3. package/{build-XHEFAWMN.js → build-OAWTNBMS.js} +10 -13
  4. package/{cache-LII2V5IM.js → cache-ZR7VPPVQ.js} +14 -15
  5. package/cache-unzip-src-unzip.js +606 -575
  6. package/chunk-2FIRKA7R.js +73 -0
  7. package/{chunk-D27QPHKI.js → chunk-2V4AQPBR.js} +67 -20
  8. package/{chunk-JQHMLTO5.js → chunk-3MWZTKGK.js} +419 -328
  9. package/chunk-5TSPKXO4.js +116 -0
  10. package/{chunk-DJBBJDHI.js → chunk-7RZL7BZI.js} +159 -74
  11. package/{chunk-LAG2R3YJ.js → chunk-BW6C3YUV.js} +6 -6
  12. package/{chunk-DYL7AFY7.js → chunk-CPM47YUH.js} +5 -3
  13. package/{chunk-5E5GX4G6.js → chunk-FBTBHRPG.js} +1 -1
  14. package/{chunk-AZLX27EM.js → chunk-FXDRM4ZO.js} +296 -258
  15. package/{chunk-6YTJVEK2.js → chunk-HAG4VBEA.js} +11 -11
  16. package/{chunk-INXSTZAX.js → chunk-HAGUS4HI.js} +21 -21
  17. package/{chunk-FI5TUER7.js → chunk-HQ4US6G3.js} +681 -687
  18. package/chunk-IEISSXS4.js +711 -0
  19. package/{chunk-TRXTSZFT.js → chunk-IYO5QKUW.js} +1 -1
  20. package/{chunk-XSUIV5NF.js → chunk-M7HPHM7B.js} +14 -12
  21. package/{chunk-BIUCOMBH.js → chunk-MAIQR5GM.js} +5 -5
  22. package/{chunk-TDTJOKF2.js → chunk-NLFBANVO.js} +8 -1
  23. package/{chunk-QWWYZ3TT.js → chunk-OUUIOZ2I.js} +1 -1
  24. package/{chunk-XWF3GJKE.js → chunk-Q3DNNTPG.js} +27 -1
  25. package/{chunk-VCSVHRCS.js → chunk-R44FR7BY.js} +1269 -590
  26. package/{chunk-P2HZ4ISK.js → chunk-RK2PISOZ.js} +54 -6
  27. package/{chunk-QDGZZ5FZ.js → chunk-TYV4N3S3.js} +6 -692
  28. package/{chunk-LKFTVDWS.js → chunk-VPKJNCKL.js} +26 -13
  29. package/{chunk-VTZZIXYW.js → chunk-VRIS5HAW.js} +3 -3
  30. package/{chunk-S5I2UOBT.js → chunk-WX2DCAG2.js} +7 -7
  31. package/{chunk-YR47M5L7.js → chunk-XYCCQT7N.js} +34 -39
  32. package/{chunk-D7U7KDEM.js → chunk-YCQTLBWF.js} +1 -1
  33. package/{chunk-SR66HWMM.js → chunk-ZINDEKAU.js} +144 -93
  34. package/{chunk-DJBVQKBB.js → chunk-ZS2RCG25.js} +5 -5
  35. package/{ci-EEXNEPKP.js → ci-TOJJVHI4.js} +13 -16
  36. package/cli-package.json +2 -1
  37. package/{config-4ZFJD5AY.js → config-DVAPEE5D.js} +12 -14
  38. package/{config-6MUU2TRJ.js → config-GOV4E2KK.js} +26 -26
  39. package/{create-DEKJKPYX.js → create-CDFZFVHL.js} +24 -26
  40. package/deprecate-WROL4AHK.js +176 -0
  41. package/{devtools-NOLON5YL.js → devtools-TPMVKPB5.js} +80 -77
  42. package/dist-tag-WZXXWXMB.js +204 -0
  43. package/{docs-5EKPZANX.js → docs-YCOZFMZG.js} +19 -22
  44. package/{exec-I4YPE6YW.js → exec-V4K5KJMZ.js} +24 -26
  45. package/{exec-cache-XEWPABLK.js → exec-cache-FHCGIY6J.js} +21 -23
  46. package/{exec-local-OQXG2VPW.js → exec-local-YU6PF7HM.js} +19 -21
  47. package/{help-OG655SE5.js → help-DADL3NOX.js} +4 -5
  48. package/{init-LJH2YTBM.js → init-XNMWYATA.js} +10 -8
  49. package/{install-KP2FGWOR.js → install-FEGZHZRR.js} +28 -17
  50. package/{list-ACZ3ZSIZ.js → list-JWAIDRFZ.js} +19 -21
  51. package/{login-VFTRKZE2.js → login-52SA2DSI.js} +6 -9
  52. package/{logout-Z4AVG64D.js → logout-5YYHNV5W.js} +6 -9
  53. package/{pack-GPJNX7RP.js → pack-B7QZHMYP.js} +14 -17
  54. package/package.json +1 -1
  55. package/{ping-B2YS4SR3.js → ping-PRGDYDRI.js} +6 -9
  56. package/{pkg-WUYJDFSH.js → pkg-UEIQIVVD.js} +15 -19
  57. package/profile-46FKVQEL.js +129 -0
  58. package/{publish-WTMGC4ET.js → publish-HBYHOSKH.js} +17 -20
  59. package/{query-UCM35VVC.js → query-UJ2LXHJ5.js} +19 -21
  60. package/registry-client-package.json +1 -1
  61. package/registry-client-src-revalidate.js +1157 -1032
  62. package/{repo-MZCPTQZU.js → repo-I6X66PHD.js} +19 -22
  63. package/{reporter-XRZ37LFK.js → reporter-NUXJTV4G.js} +2 -3
  64. package/{run-CAX4Z2SC.js → run-4VSEFXVM.js} +19 -21
  65. package/{run-exec-SM42FE7W.js → run-exec-5JVZDUZD.js} +19 -21
  66. package/security-archive-src-update-expired.js +8 -7
  67. package/{src-SDJWTPCU.js → src-GIDTI3OJ.js} +20 -22
  68. package/token-YK6L74PA.js +206 -0
  69. package/{uninstall-YYPPXM2O.js → uninstall-UBUZBV7E.js} +14 -17
  70. package/unpublish-ZHJEKT7A.js +224 -0
  71. package/{update-YFUTH33A.js → update-WO4BHJF4.js} +13 -16
  72. package/{version-SK256WED.js → version-RLESYHML.js} +13 -16
  73. package/{view-CBYGJ76J.js → view-UA5HXFXG.js} +16 -17
  74. package/vlr.js +1 -1
  75. package/vlrx.js +1 -1
  76. package/vlt.js +1 -1
  77. package/vlx.js +1 -1
  78. package/vlxl.js +1 -1
  79. package/{whoami-ZT4ZEN2C.js → whoami-7H3FPR2O.js} +6 -9
  80. package/chunk-52LBC3AX.js +0 -75
  81. package/chunk-BGQCUUCA.js +0 -667
  82. package/chunk-E74WGW5C.js +0 -49
  83. package/chunk-JLJKOF75.js +0 -40
  84. package/chunk-YP4YNE5Y.js +0 -68
  85. package/token-YCURCCNR.js +0 -103
@@ -10,20 +10,21 @@ 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
- init
14
- } from "./chunk-52LBC3AX.js";
15
- import {
16
- commandUsage
17
- } from "./chunk-5E5GX4G6.js";
13
+ init,
14
+ install
15
+ } from "./chunk-7RZL7BZI.js";
18
16
  import {
19
17
  asWSConfig,
20
18
  assertWSConfig,
21
19
  minimatch
22
- } from "./chunk-YR47M5L7.js";
20
+ } from "./chunk-XYCCQT7N.js";
23
21
  import {
24
22
  load,
25
23
  save
26
24
  } from "./chunk-HTOTG4TS.js";
25
+ import {
26
+ commandUsage
27
+ } from "./chunk-FBTBHRPG.js";
27
28
 
28
29
  // ../../src/cli-sdk/src/commands/init.ts
29
30
  import { mkdirSync } from "node:fs";
@@ -31,7 +32,9 @@ import { relative, resolve } from "node:path";
31
32
  var usage = () => commandUsage({
32
33
  command: "init",
33
34
  usage: "",
34
- description: `Create a new package.json file in the current directory.`,
35
+ description: `Initialize a new project in the current directory.
36
+ Creates a package.json, a .gitignore, and installs
37
+ dependencies so the project is ready to use immediately.`,
35
38
  options: {
36
39
  workspace: {
37
40
  value: "<path|glob>",
@@ -44,15 +47,21 @@ var views = {
44
47
  const output = [];
45
48
  if (Array.isArray(results)) {
46
49
  for (const result of results) {
47
- for (const [type, { path }] of Object.entries(result)) {
48
- output.push(`Wrote ${type} to ${path}:`);
50
+ for (const [type, value] of Object.entries(result)) {
51
+ output.push(`Wrote ${type} to ${value.path}`);
49
52
  }
50
53
  }
51
54
  } else {
52
- for (const [type, { path, data }] of Object.entries(results)) {
53
- output.push(`Wrote ${type} to ${path}:
55
+ for (const [type, value] of Object.entries(results)) {
56
+ if ("data" in value) {
57
+ output.push(
58
+ `Wrote ${type} to ${value.path}:
54
59
 
55
- ${JSON.stringify(data, null, 2)}`);
60
+ ${JSON.stringify(value.data, null, 2)}`
61
+ );
62
+ } else {
63
+ output.push(`Wrote ${type} to ${value.path}`);
64
+ }
56
65
  }
57
66
  }
58
67
  output.push(`
@@ -63,6 +72,7 @@ Modify/add properties using \`vlt pkg\`. For example:
63
72
  }
64
73
  };
65
74
  var command = async (conf) => {
75
+ const allowScripts = conf.get("allow-scripts") ? String(conf.get("allow-scripts")) : ":not(*)";
66
76
  if (conf.values.workspace?.length) {
67
77
  const workspacesConfig = load("workspaces", assertWSConfig);
68
78
  const parsedWSConfig = asWSConfig(workspacesConfig ?? {});
@@ -111,9 +121,12 @@ var command = async (conf) => {
111
121
  }
112
122
  save("workspaces", workspaces);
113
123
  }
124
+ await install({ ...conf.options, allowScripts });
114
125
  return results;
115
126
  }
116
- return init({ cwd: process.cwd() });
127
+ const result = await init({ cwd: process.cwd() });
128
+ await install({ ...conf.options, allowScripts });
129
+ return result;
117
130
  };
118
131
 
119
132
  export {
@@ -13,10 +13,10 @@ import {
13
13
  actual,
14
14
  callLimit,
15
15
  createVirtualRoot
16
- } from "./chunk-DJBBJDHI.js";
16
+ } from "./chunk-7RZL7BZI.js";
17
17
  import {
18
18
  SecurityArchive
19
- } from "./chunk-BIUCOMBH.js";
19
+ } from "./chunk-MAIQR5GM.js";
20
20
  import {
21
21
  error
22
22
  } from "./chunk-WZWDS3W4.js";
@@ -115,7 +115,7 @@ var reloadConfig = async (folder) => {
115
115
  unload("project");
116
116
  } catch {
117
117
  }
118
- const { Config } = await import("./config-4ZFJD5AY.js");
118
+ const { Config } = await import("./config-DVAPEE5D.js");
119
119
  return Config.load(folder, process.argv, true);
120
120
  };
121
121
 
@@ -12,22 +12,22 @@ var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  findCmdShimIfExists,
14
14
  install
15
- } from "./chunk-DJBBJDHI.js";
15
+ } from "./chunk-7RZL7BZI.js";
16
16
  import {
17
17
  PackageInfoClient
18
- } from "./chunk-INXSTZAX.js";
18
+ } from "./chunk-HAGUS4HI.js";
19
19
  import {
20
20
  PathScurry
21
- } from "./chunk-YR47M5L7.js";
21
+ } from "./chunk-XYCCQT7N.js";
22
22
  import {
23
23
  Spec2 as Spec
24
- } from "./chunk-QDGZZ5FZ.js";
25
- import {
26
- parseScope
27
- } from "./chunk-XWF3GJKE.js";
24
+ } from "./chunk-IEISSXS4.js";
28
25
  import {
29
26
  walkUp
30
27
  } from "./chunk-HTOTG4TS.js";
28
+ import {
29
+ parseScope
30
+ } from "./chunk-Q3DNNTPG.js";
31
31
  import {
32
32
  XDG
33
33
  } from "./chunk-XNLSTHDK.js";
@@ -10,18 +10,26 @@ globalThis.clearInterval = _vlt_clearInterval;
10
10
  import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
- Spec2 as Spec,
14
13
  graphRun,
15
14
  graphRunSync,
16
- isSpec,
17
15
  joinDepIDTuple
18
- } from "./chunk-QDGZZ5FZ.js";
16
+ } from "./chunk-TYV4N3S3.js";
17
+ import {
18
+ Spec2 as Spec,
19
+ isSpec
20
+ } from "./chunk-IEISSXS4.js";
21
+ import {
22
+ load,
23
+ parse as parse2,
24
+ stringify,
25
+ walkUp
26
+ } from "./chunk-HTOTG4TS.js";
19
27
  import {
20
28
  L,
21
29
  promiseSpawn,
22
30
  ts,
23
31
  whichSync
24
- } from "./chunk-VCSVHRCS.js";
32
+ } from "./chunk-R44FR7BY.js";
25
33
  import {
26
34
  Range,
27
35
  Version,
@@ -31,13 +39,7 @@ import {
31
39
  normalizeManifest,
32
40
  parse,
33
41
  satisfies
34
- } from "./chunk-XWF3GJKE.js";
35
- import {
36
- load,
37
- parse as parse2,
38
- stringify,
39
- walkUp
40
- } from "./chunk-HTOTG4TS.js";
42
+ } from "./chunk-Q3DNNTPG.js";
41
43
  import {
42
44
  error
43
45
  } from "./chunk-WZWDS3W4.js";
@@ -1280,7 +1282,7 @@ var range = (a, b, str) => {
1280
1282
  return result;
1281
1283
  };
1282
1284
 
1283
- // ../../node_modules/.vlt/~npm~brace-expansion@5.0.4/node_modules/brace-expansion/dist/esm/index.js
1285
+ // ../../node_modules/.vlt/~npm~brace-expansion@5.0.5/node_modules/brace-expansion/dist/esm/index.js
1284
1286
  var escSlash = "\0SLASH" + Math.random() + "\0";
1285
1287
  var escOpen = "\0OPEN" + Math.random() + "\0";
1286
1288
  var escClose = "\0CLOSE" + Math.random() + "\0";
@@ -1390,7 +1392,7 @@ function expand_(str, max, isTop) {
1390
1392
  const x = numeric(n[0]);
1391
1393
  const y = numeric(n[1]);
1392
1394
  const width = Math.max(n[0].length, n[1].length);
1393
- let incr = n.length === 3 && n[2] !== void 0 ? Math.abs(numeric(n[2])) : 1;
1395
+ let incr = n.length === 3 && n[2] !== void 0 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
1394
1396
  let test = lte;
1395
1397
  const reverse = y < x;
1396
1398
  if (reverse) {
@@ -1440,7 +1442,7 @@ function expand_(str, max, isTop) {
1440
1442
  return expansions;
1441
1443
  }
1442
1444
 
1443
- // ../../node_modules/.vlt/~npm~minimatch@10.2.4/node_modules/minimatch/dist/esm/assert-valid-pattern.js
1445
+ // ../../node_modules/.vlt/~npm~minimatch@10.2.5/node_modules/minimatch/dist/esm/assert-valid-pattern.js
1444
1446
  var MAX_PATTERN_LENGTH = 1024 * 64;
1445
1447
  var assertValidPattern = (pattern) => {
1446
1448
  if (typeof pattern !== "string") {
@@ -1451,7 +1453,7 @@ var assertValidPattern = (pattern) => {
1451
1453
  }
1452
1454
  };
1453
1455
 
1454
- // ../../node_modules/.vlt/~npm~minimatch@10.2.4/node_modules/minimatch/dist/esm/brace-expressions.js
1456
+ // ../../node_modules/.vlt/~npm~minimatch@10.2.5/node_modules/minimatch/dist/esm/brace-expressions.js
1455
1457
  var posixClasses = {
1456
1458
  "[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
1457
1459
  "[:alpha:]": ["\\p{L}\\p{Nl}", true],
@@ -1560,15 +1562,15 @@ var parseClass = (glob, position) => {
1560
1562
  return [comb, uflag, endPos - pos, true];
1561
1563
  };
1562
1564
 
1563
- // ../../node_modules/.vlt/~npm~minimatch@10.2.4/node_modules/minimatch/dist/esm/unescape.js
1565
+ // ../../node_modules/.vlt/~npm~minimatch@10.2.5/node_modules/minimatch/dist/esm/unescape.js
1564
1566
  var unescape = (s, { windowsPathsNoEscape = false, magicalBraces = true } = {}) => {
1565
1567
  if (magicalBraces) {
1566
- return windowsPathsNoEscape ? s.replace(/\[([^\/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
1568
+ return windowsPathsNoEscape ? s.replace(/\[([^/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\])\]/g, "$1$2").replace(/\\([^/])/g, "$1");
1567
1569
  }
1568
- return windowsPathsNoEscape ? s.replace(/\[([^\/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\{}])\]/g, "$1$2").replace(/\\([^\/{}])/g, "$1");
1570
+ return windowsPathsNoEscape ? s.replace(/\[([^/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\{}])\]/g, "$1$2").replace(/\\([^/{}])/g, "$1");
1569
1571
  };
1570
1572
 
1571
- // ../../node_modules/.vlt/~npm~minimatch@10.2.4/node_modules/minimatch/dist/esm/ast.js
1573
+ // ../../node_modules/.vlt/~npm~minimatch@10.2.5/node_modules/minimatch/dist/esm/ast.js
1572
1574
  var _a;
1573
1575
  var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
1574
1576
  var isExtglobType = (c) => types.has(c);
@@ -1685,13 +1687,7 @@ var AST = class {
1685
1687
  }
1686
1688
  // reconstructs the pattern
1687
1689
  toString() {
1688
- if (this.#toString !== void 0)
1689
- return this.#toString;
1690
- if (!this.type) {
1691
- return this.#toString = this.#parts.map((p) => String(p)).join("");
1692
- } else {
1693
- return this.#toString = this.type + "(" + this.#parts.map((p) => String(p)).join("|") + ")";
1694
- }
1690
+ return this.#toString !== void 0 ? this.#toString : !this.type ? this.#toString = this.#parts.map((p) => String(p)).join("") : this.#toString = this.type + "(" + this.#parts.map((p) => String(p)).join("|") + ")";
1695
1691
  }
1696
1692
  #fillNegs() {
1697
1693
  if (this !== this.#root)
@@ -2218,7 +2214,7 @@ var AST = class {
2218
2214
  };
2219
2215
  _a = AST;
2220
2216
 
2221
- // ../../node_modules/.vlt/~npm~minimatch@10.2.4/node_modules/minimatch/dist/esm/escape.js
2217
+ // ../../node_modules/.vlt/~npm~minimatch@10.2.5/node_modules/minimatch/dist/esm/escape.js
2222
2218
  var escape = (s, { windowsPathsNoEscape = false, magicalBraces = false } = {}) => {
2223
2219
  if (magicalBraces) {
2224
2220
  return windowsPathsNoEscape ? s.replace(/[?*()[\]{}]/g, "[$&]") : s.replace(/[?*()[\]\\{}]/g, "\\$&");
@@ -2226,7 +2222,7 @@ var escape = (s, { windowsPathsNoEscape = false, magicalBraces = false } = {}) =
2226
2222
  return windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
2227
2223
  };
2228
2224
 
2229
- // ../../node_modules/.vlt/~npm~minimatch@10.2.4/node_modules/minimatch/dist/esm/index.js
2225
+ // ../../node_modules/.vlt/~npm~minimatch@10.2.5/node_modules/minimatch/dist/esm/index.js
2230
2226
  var minimatch = (p, pattern, options = {}) => {
2231
2227
  assertValidPattern(pattern);
2232
2228
  if (!options.nocomment && pattern.charAt(0) === "#") {
@@ -2234,7 +2230,7 @@ var minimatch = (p, pattern, options = {}) => {
2234
2230
  }
2235
2231
  return new Minimatch(pattern, options).match(p);
2236
2232
  };
2237
- var starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/;
2233
+ var starDotExtRE = /^\*+([^+@!?*[(]*)$/;
2238
2234
  var starDotExtTest = (ext2) => (f) => !f.startsWith(".") && f.endsWith(ext2);
2239
2235
  var starDotExtTestDot = (ext2) => (f) => f.endsWith(ext2);
2240
2236
  var starDotExtTestNocase = (ext2) => {
@@ -2253,7 +2249,7 @@ var dotStarTest = (f) => f !== "." && f !== ".." && f.startsWith(".");
2253
2249
  var starRE = /^\*+$/;
2254
2250
  var starTest = (f) => f.length !== 0 && !f.startsWith(".");
2255
2251
  var starTestDot = (f) => f.length !== 0 && f !== "." && f !== "..";
2256
- var qmarksRE = /^\?+([^+@!?\*\[\(]*)?$/;
2252
+ var qmarksRE = /^\?+([^+@!?*[(]*)?$/;
2257
2253
  var qmarksTestNocase = ([$0, ext2 = ""]) => {
2258
2254
  const noext = qmarksTestNoExt([$0]);
2259
2255
  if (!ext2)
@@ -2472,10 +2468,10 @@ var Minimatch = class {
2472
2468
  // of patterns that we have to process.
2473
2469
  preprocess(globParts) {
2474
2470
  if (this.options.noglobstar) {
2475
- for (let i = 0; i < globParts.length; i++) {
2476
- for (let j = 0; j < globParts[i].length; j++) {
2477
- if (globParts[i][j] === "**") {
2478
- globParts[i][j] = "*";
2471
+ for (const partset of globParts) {
2472
+ for (let j = 0; j < partset.length; j++) {
2473
+ if (partset[j] === "**") {
2474
+ partset[j] = "*";
2479
2475
  }
2480
2476
  }
2481
2477
  }
@@ -2553,7 +2549,7 @@ var Minimatch = class {
2553
2549
  let dd = 0;
2554
2550
  while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
2555
2551
  const p = parts[dd - 1];
2556
- if (p && p !== "." && p !== ".." && p !== "**") {
2552
+ if (p && p !== "." && p !== ".." && p !== "**" && !(this.isWindows && /^[a-z]:$/i.test(p))) {
2557
2553
  didSomething = true;
2558
2554
  parts.splice(dd - 1, 2);
2559
2555
  dd -= 2;
@@ -2969,7 +2965,7 @@ var Minimatch = class {
2969
2965
  re = "^(?!" + re + ").+$";
2970
2966
  try {
2971
2967
  this.regexp = new RegExp(re, [...flags].join(""));
2972
- } catch (ex) {
2968
+ } catch {
2973
2969
  this.regexp = false;
2974
2970
  }
2975
2971
  return this.regexp;
@@ -2977,7 +2973,7 @@ var Minimatch = class {
2977
2973
  slashSplit(p) {
2978
2974
  if (this.preserveMultipleSlashes) {
2979
2975
  return p.split("/");
2980
- } else if (this.isWindows && /^\/\/[^\/]+/.test(p)) {
2976
+ } else if (this.isWindows && /^\/\/[^/]+/.test(p)) {
2981
2977
  return ["", ...p.split(/\/+/)];
2982
2978
  } else {
2983
2979
  return p.split(/\/+/);
@@ -3008,8 +3004,7 @@ var Minimatch = class {
3008
3004
  filename = ff[i];
3009
3005
  }
3010
3006
  }
3011
- for (let i = 0; i < set.length; i++) {
3012
- const pattern = set[i];
3007
+ for (const pattern of set) {
3013
3008
  let file = ff;
3014
3009
  if (options.matchBase && pattern.length === 1) {
3015
3010
  file = [filename];
@@ -12,7 +12,7 @@ var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  promiseSpawn,
14
14
  which
15
- } from "./chunk-VCSVHRCS.js";
15
+ } from "./chunk-R44FR7BY.js";
16
16
 
17
17
  // ../../src/url-open/src/index.ts
18
18
  import { release } from "node:os";