@powerlines/plugin-env 0.16.67 → 0.16.69

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 (123) hide show
  1. package/README.md +1 -1
  2. package/dist/_virtual/_rolldown/runtime.cjs +0 -2
  3. package/dist/_virtual/_rolldown/runtime.mjs +2 -31
  4. package/dist/babel/plugin.mjs.map +1 -1
  5. package/dist/components/docs.cjs +37 -27
  6. package/dist/components/docs.mjs +37 -27
  7. package/dist/components/docs.mjs.map +1 -1
  8. package/dist/components/env-builtin.cjs +404 -314
  9. package/dist/components/env-builtin.mjs +404 -314
  10. package/dist/components/env-builtin.mjs.map +1 -1
  11. package/dist/helpers/automd-generator.mjs.map +1 -1
  12. package/dist/helpers/create-reflection-resource.mjs.map +1 -1
  13. package/dist/helpers/docs-helper.mjs.map +1 -1
  14. package/dist/helpers/load.cjs +4 -4
  15. package/dist/helpers/load.mjs +2 -2
  16. package/dist/helpers/load.mjs.map +1 -1
  17. package/dist/helpers/persistence.mjs.map +1 -1
  18. package/dist/helpers/reflect.mjs.map +1 -1
  19. package/dist/helpers/source-file-env.mjs.map +1 -1
  20. package/dist/helpers/template-helpers.mjs.map +1 -1
  21. package/dist/index.cjs +6 -3
  22. package/dist/index.mjs +7 -4
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/types/runtime.mjs.map +1 -1
  25. package/package.json +20 -35
  26. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.cjs +0 -346
  27. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs +0 -347
  28. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs.map +0 -1
  29. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.cjs +0 -23
  30. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs +0 -23
  31. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs.map +0 -1
  32. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.cjs +0 -10
  33. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs +0 -11
  34. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs.map +0 -1
  35. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.cjs +0 -1060
  36. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs +0 -1060
  37. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs.map +0 -1
  38. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.cjs +0 -761
  39. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs +0 -761
  40. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs.map +0 -1
  41. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.cjs +0 -388
  42. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs +0 -388
  43. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs.map +0 -1
  44. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.cjs +0 -639
  45. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs +0 -639
  46. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs.map +0 -1
  47. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.cjs +0 -17
  48. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs +0 -17
  49. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs.map +0 -1
  50. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.cjs +0 -13
  51. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs +0 -14
  52. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs.map +0 -1
  53. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.cjs +0 -11
  54. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs +0 -12
  55. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs.map +0 -1
  56. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.cjs +0 -11
  57. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.mjs +0 -12
  58. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.mjs.map +0 -1
  59. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.cjs +0 -11
  60. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs +0 -12
  61. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs.map +0 -1
  62. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +0 -46
  63. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs +0 -46
  64. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs.map +0 -1
  65. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.cjs +0 -285
  66. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs +0 -283
  67. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs.map +0 -1
  68. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.cjs +0 -71
  69. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs +0 -69
  70. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs.map +0 -1
  71. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +0 -1013
  72. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +0 -1008
  73. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +0 -1
  74. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +0 -23
  75. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +0 -14
  76. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs.map +0 -1
  77. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +0 -2695
  78. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +0 -2683
  79. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +0 -1
  80. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +0 -4457
  81. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +0 -4455
  82. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +0 -1
  83. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +0 -29
  84. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +0 -30
  85. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs.map +0 -1
  86. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +0 -181
  87. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +0 -177
  88. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +0 -1
  89. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +0 -22
  90. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +0 -18
  91. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs.map +0 -1
  92. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +0 -3967
  93. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +0 -3963
  94. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +0 -1
  95. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +0 -11766
  96. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +0 -11762
  97. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +0 -1
  98. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +0 -25
  99. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +0 -21
  100. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs.map +0 -1
  101. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +0 -20
  102. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +0 -18
  103. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs.map +0 -1
  104. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.cjs +0 -178
  105. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs +0 -176
  106. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs.map +0 -1
  107. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +0 -13
  108. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs +0 -13
  109. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs.map +0 -1
  110. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.cjs +0 -3
  111. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs +0 -3
  112. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs +0 -145
  113. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +0 -139
  114. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs.map +0 -1
  115. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +0 -128
  116. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +0 -127
  117. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +0 -1
  118. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +0 -138
  119. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +0 -137
  120. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +0 -1
  121. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +0 -629
  122. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +0 -628
  123. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +0 -1
@@ -1,628 +0,0 @@
1
- import { createRequire } from "node:module";
2
- import { delimiter, dirname, normalize, resolve } from "node:path";
3
- import { cwd } from "node:process";
4
- import { PassThrough } from "node:stream";
5
- import { spawn } from "node:child_process";
6
- import c from "node:readline";
7
-
8
- //#region ../../node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.js
9
- var l = Object.create;
10
- var u = Object.defineProperty;
11
- var d = Object.getOwnPropertyDescriptor;
12
- var f = Object.getOwnPropertyNames;
13
- var p = Object.getPrototypeOf;
14
- var m = Object.prototype.hasOwnProperty;
15
- var h = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
16
- var g = (e, t, n, r) => {
17
- if (t && typeof t === "object" || typeof t === "function") for (var i = f(t), a = 0, o = i.length, s; a < o; a++) {
18
- s = i[a];
19
- if (!m.call(e, s) && s !== n) u(e, s, {
20
- get: ((e) => t[e]).bind(null, s),
21
- enumerable: !(r = d(t, s)) || r.enumerable
22
- });
23
- }
24
- return e;
25
- };
26
- var _ = (e, t, n) => (n = e != null ? l(p(e)) : {}, g(t || !e || !e.__esModule ? u(n, "default", {
27
- value: e,
28
- enumerable: true
29
- }) : n, e));
30
- var v = /* @__PURE__ */ createRequire(import.meta.url);
31
- const y = /^path$/i;
32
- const b = {
33
- key: "PATH",
34
- value: ""
35
- };
36
- function x(e) {
37
- for (const t in e) {
38
- if (!Object.prototype.hasOwnProperty.call(e, t) || !y.test(t)) continue;
39
- const n = e[t];
40
- if (!n) return b;
41
- return {
42
- key: t,
43
- value: n
44
- };
45
- }
46
- return b;
47
- }
48
- function S(e, t) {
49
- const i = t.value.split(delimiter);
50
- let o = e;
51
- let s;
52
- do {
53
- i.push(resolve(o, "node_modules", ".bin"));
54
- s = o;
55
- o = dirname(o);
56
- } while (o !== s);
57
- return {
58
- key: t.key,
59
- value: i.join(delimiter)
60
- };
61
- }
62
- function C(e, t) {
63
- const n = {
64
- ...process.env,
65
- ...t
66
- };
67
- const r = S(e, x(n));
68
- n[r.key] = r.value;
69
- return n;
70
- }
71
- const w = (e) => {
72
- let t = e.length;
73
- const n = new PassThrough();
74
- const r = () => {
75
- if (--t === 0) n.emit("end");
76
- };
77
- for (const t of e) {
78
- t.pipe(n, { end: false });
79
- t.on("end", r);
80
- }
81
- return n;
82
- };
83
- var T = h((exports, t) => {
84
- t.exports = a;
85
- a.sync = o;
86
- var n = v("fs");
87
- function r(e, t) {
88
- var n = t.pathExt !== void 0 ? t.pathExt : process.env.PATHEXT;
89
- if (!n) return true;
90
- n = n.split(";");
91
- if (n.indexOf("") !== -1) return true;
92
- for (var r = 0; r < n.length; r++) {
93
- var i = n[r].toLowerCase();
94
- if (i && e.substr(-i.length).toLowerCase() === i) return true;
95
- }
96
- return false;
97
- }
98
- function i(e, t, n) {
99
- if (!e.isSymbolicLink() && !e.isFile()) return false;
100
- return r(t, n);
101
- }
102
- function a(e, t, r) {
103
- n.stat(e, function(n, a) {
104
- r(n, n ? false : i(a, e, t));
105
- });
106
- }
107
- function o(e, t) {
108
- return i(n.statSync(e), e, t);
109
- }
110
- });
111
- var E = h((exports, t) => {
112
- t.exports = r;
113
- r.sync = i;
114
- var n = v("fs");
115
- function r(e, t, r) {
116
- n.stat(e, function(e, n) {
117
- r(e, e ? false : a(n, t));
118
- });
119
- }
120
- function i(e, t) {
121
- return a(n.statSync(e), t);
122
- }
123
- function a(e, t) {
124
- return e.isFile() && o(e, t);
125
- }
126
- function o(e, t) {
127
- var n = e.mode;
128
- var r = e.uid;
129
- var i = e.gid;
130
- var a = t.uid !== void 0 ? t.uid : process.getuid && process.getuid();
131
- var o = t.gid !== void 0 ? t.gid : process.getgid && process.getgid();
132
- var s = parseInt("100", 8);
133
- var c = parseInt("010", 8);
134
- var l = parseInt("001", 8);
135
- var u = s | c;
136
- return n & l || n & c && i === o || n & s && r === a || n & u && a === 0;
137
- }
138
- });
139
- var D = h((exports, t) => {
140
- v("fs");
141
- var r;
142
- if (process.platform === "win32" || global.TESTING_WINDOWS) r = T();
143
- else r = E();
144
- t.exports = i;
145
- i.sync = a;
146
- function i(e, t, n) {
147
- if (typeof t === "function") {
148
- n = t;
149
- t = {};
150
- }
151
- if (!n) {
152
- if (typeof Promise !== "function") throw new TypeError("callback not provided");
153
- return new Promise(function(n, r) {
154
- i(e, t || {}, function(e, t) {
155
- if (e) r(e);
156
- else n(t);
157
- });
158
- });
159
- }
160
- r(e, t || {}, function(e, r) {
161
- if (e) {
162
- if (e.code === "EACCES" || t && t.ignoreErrors) {
163
- e = null;
164
- r = false;
165
- }
166
- }
167
- n(e, r);
168
- });
169
- }
170
- function a(e, t) {
171
- try {
172
- return r.sync(e, t || {});
173
- } catch (e) {
174
- if (t && t.ignoreErrors || e.code === "EACCES") return false;
175
- else throw e;
176
- }
177
- }
178
- });
179
- var O = h((exports, t) => {
180
- const n = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
181
- const r = v("path");
182
- const i = n ? ";" : ":";
183
- const a = D();
184
- const o = (e) => Object.assign(/* @__PURE__ */ new Error(`not found: ${e}`), { code: "ENOENT" });
185
- const s = (e, t) => {
186
- const r = t.colon || i;
187
- const a = e.match(/\//) || n && e.match(/\\/) ? [""] : [...n ? [process.cwd()] : [], ...(t.path || process.env.PATH || "").split(r)];
188
- const o = n ? t.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
189
- const s = n ? o.split(r) : [""];
190
- if (n) {
191
- if (e.indexOf(".") !== -1 && s[0] !== "") s.unshift("");
192
- }
193
- return {
194
- pathEnv: a,
195
- pathExt: s,
196
- pathExtExe: o
197
- };
198
- };
199
- const c = (e, t, n) => {
200
- if (typeof t === "function") {
201
- n = t;
202
- t = {};
203
- }
204
- if (!t) t = {};
205
- const { pathEnv: i, pathExt: c, pathExtExe: l } = s(e, t);
206
- const u = [];
207
- const d = (n) => new Promise((a, s) => {
208
- if (n === i.length) return t.all && u.length ? a(u) : s(o(e));
209
- const c = i[n];
210
- const l = /^".*"$/.test(c) ? c.slice(1, -1) : c;
211
- const d = r.join(l, e);
212
- a(f(!l && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + d : d, n, 0));
213
- });
214
- const f = (e, n, r) => new Promise((i, o) => {
215
- if (r === c.length) return i(d(n + 1));
216
- const s = c[r];
217
- a(e + s, { pathExt: l }, (a, o) => {
218
- if (!a && o) if (t.all) u.push(e + s);
219
- else return i(e + s);
220
- return i(f(e, n, r + 1));
221
- });
222
- });
223
- return n ? d(0).then((e) => n(null, e), n) : d(0);
224
- };
225
- const l = (e, t) => {
226
- t = t || {};
227
- const { pathEnv: n, pathExt: i, pathExtExe: c } = s(e, t);
228
- const l = [];
229
- for (let o = 0; o < n.length; o++) {
230
- const s = n[o];
231
- const u = /^".*"$/.test(s) ? s.slice(1, -1) : s;
232
- const d = r.join(u, e);
233
- const f = !u && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + d : d;
234
- for (let e = 0; e < i.length; e++) {
235
- const n = f + i[e];
236
- try {
237
- if (a.sync(n, { pathExt: c })) if (t.all) l.push(n);
238
- else return n;
239
- } catch (e) {}
240
- }
241
- }
242
- if (t.all && l.length) return l;
243
- if (t.nothrow) return null;
244
- throw o(e);
245
- };
246
- t.exports = c;
247
- c.sync = l;
248
- });
249
- var k = h((exports, t) => {
250
- const n = (e = {}) => {
251
- const t = e.env || process.env;
252
- if ((e.platform || process.platform) !== "win32") return "PATH";
253
- return Object.keys(t).reverse().find((e) => e.toUpperCase() === "PATH") || "Path";
254
- };
255
- t.exports = n;
256
- t.exports.default = n;
257
- });
258
- var A = h((exports, t) => {
259
- const n = v("path");
260
- const r = O();
261
- const i = k();
262
- function a(e, t) {
263
- const a = e.options.env || process.env;
264
- const o = process.cwd();
265
- const s = e.options.cwd != null;
266
- const c = s && process.chdir !== void 0 && !process.chdir.disabled;
267
- if (c) try {
268
- process.chdir(e.options.cwd);
269
- } catch (e) {}
270
- let l;
271
- try {
272
- l = r.sync(e.command, {
273
- path: a[i({ env: a })],
274
- pathExt: t ? n.delimiter : void 0
275
- });
276
- } catch (e) {} finally {
277
- if (c) process.chdir(o);
278
- }
279
- if (l) l = n.resolve(s ? e.options.cwd : "", l);
280
- return l;
281
- }
282
- function o(e) {
283
- return a(e) || a(e, true);
284
- }
285
- t.exports = o;
286
- });
287
- var j = h((exports, t) => {
288
- const n = /([()\][%!^"`<>&|;, *?])/g;
289
- function r(e) {
290
- e = e.replace(n, "^$1");
291
- return e;
292
- }
293
- function i(e, t) {
294
- e = `${e}`;
295
- e = e.replace(/(\\*)"/g, "$1$1\\\"");
296
- e = e.replace(/(\\*)$/, "$1$1");
297
- e = `"${e}"`;
298
- e = e.replace(n, "^$1");
299
- if (t) e = e.replace(n, "^$1");
300
- return e;
301
- }
302
- t.exports.command = r;
303
- t.exports.argument = i;
304
- });
305
- var M = h((exports, t) => {
306
- t.exports = /^#!(.*)/;
307
- });
308
- var N = h((exports, t) => {
309
- const n = M();
310
- t.exports = (e = "") => {
311
- const t = e.match(n);
312
- if (!t) return null;
313
- const [r, i] = t[0].replace(/#! ?/, "").split(" ");
314
- const a = r.split("/").pop();
315
- if (a === "env") return i;
316
- return i ? `${a} ${i}` : a;
317
- };
318
- });
319
- var P = h((exports, t) => {
320
- const n = v("fs");
321
- const r = N();
322
- function i(e) {
323
- const t = 150;
324
- const i = Buffer.alloc(t);
325
- let a;
326
- try {
327
- a = n.openSync(e, "r");
328
- n.readSync(a, i, 0, t, 0);
329
- n.closeSync(a);
330
- } catch (e) {}
331
- return r(i.toString());
332
- }
333
- t.exports = i;
334
- });
335
- var F = h((exports, t) => {
336
- const n = v("path");
337
- const r = A();
338
- const i = j();
339
- const a = P();
340
- const o = process.platform === "win32";
341
- const s = /\.(?:com|exe)$/i;
342
- const c = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
343
- function l(e) {
344
- e.file = r(e);
345
- const t = e.file && a(e.file);
346
- if (t) {
347
- e.args.unshift(e.file);
348
- e.command = t;
349
- return r(e);
350
- }
351
- return e.file;
352
- }
353
- function u(e) {
354
- if (!o) return e;
355
- const t = l(e);
356
- const r = !s.test(t);
357
- if (e.options.forceShell || r) {
358
- const r = c.test(t);
359
- e.command = n.normalize(e.command);
360
- e.command = i.command(e.command);
361
- e.args = e.args.map((e) => i.argument(e, r));
362
- e.args = [
363
- "/d",
364
- "/s",
365
- "/c",
366
- `"${[e.command].concat(e.args).join(" ")}"`
367
- ];
368
- e.command = process.env.comspec || "cmd.exe";
369
- e.options.windowsVerbatimArguments = true;
370
- }
371
- return e;
372
- }
373
- function d(e, t, n) {
374
- if (t && !Array.isArray(t)) {
375
- n = t;
376
- t = null;
377
- }
378
- t = t ? t.slice(0) : [];
379
- n = Object.assign({}, n);
380
- const r = {
381
- command: e,
382
- args: t,
383
- options: n,
384
- file: void 0,
385
- original: {
386
- command: e,
387
- args: t
388
- }
389
- };
390
- return n.shell ? r : u(r);
391
- }
392
- t.exports = d;
393
- });
394
- var I = h((exports, t) => {
395
- const n = process.platform === "win32";
396
- function r(e, t) {
397
- return Object.assign(/* @__PURE__ */ new Error(`${t} ${e.command} ENOENT`), {
398
- code: "ENOENT",
399
- errno: "ENOENT",
400
- syscall: `${t} ${e.command}`,
401
- path: e.command,
402
- spawnargs: e.args
403
- });
404
- }
405
- function i(e, t) {
406
- if (!n) return;
407
- const r = e.emit;
408
- e.emit = function(n, i) {
409
- if (n === "exit") {
410
- const n = a(i, t, "spawn");
411
- if (n) return r.call(e, "error", n);
412
- }
413
- return r.apply(e, arguments);
414
- };
415
- }
416
- function a(e, t) {
417
- if (n && e === 1 && !t.file) return r(t.original, "spawn");
418
- return null;
419
- }
420
- function o(e, t) {
421
- if (n && e === 1 && !t.file) return r(t.original, "spawnSync");
422
- return null;
423
- }
424
- t.exports = {
425
- hookChildProcess: i,
426
- verifyENOENT: a,
427
- verifyENOENTSync: o,
428
- notFoundError: r
429
- };
430
- });
431
- var R = _(h((exports, t) => {
432
- const n = v("child_process");
433
- const r = F();
434
- const i = I();
435
- function a(e, t, a) {
436
- const o = r(e, t, a);
437
- const s = n.spawn(o.command, o.args, o.options);
438
- i.hookChildProcess(s, o);
439
- return s;
440
- }
441
- function o(e, t, a) {
442
- const o = r(e, t, a);
443
- const s = n.spawnSync(o.command, o.args, o.options);
444
- s.error = s.error || i.verifyENOENTSync(s.status, o);
445
- return s;
446
- }
447
- t.exports = a;
448
- t.exports.spawn = a;
449
- t.exports.sync = o;
450
- t.exports._parse = r;
451
- t.exports._enoent = i;
452
- })(), 1);
453
- var z = class extends Error {
454
- result;
455
- output;
456
- get exitCode() {
457
- if (this.result.exitCode !== null) return this.result.exitCode;
458
- }
459
- constructor(e, t) {
460
- super(`Process exited with non-zero status (${e.exitCode})`);
461
- this.result = e;
462
- this.output = t;
463
- }
464
- };
465
- const B = {
466
- timeout: void 0,
467
- persist: false
468
- };
469
- const V = { windowsHide: true };
470
- function H(e, t) {
471
- return {
472
- command: normalize(e),
473
- args: t ?? []
474
- };
475
- }
476
- function U(e) {
477
- const t = new AbortController();
478
- for (const n of e) {
479
- if (n.aborted) {
480
- t.abort();
481
- return n;
482
- }
483
- const e = () => {
484
- t.abort(n.reason);
485
- };
486
- n.addEventListener("abort", e, { signal: t.signal });
487
- }
488
- return t.signal;
489
- }
490
- async function W(e) {
491
- let t = "";
492
- for await (const n of e) t += n.toString();
493
- return t;
494
- }
495
- var G = class {
496
- _process;
497
- _aborted = false;
498
- _options;
499
- _command;
500
- _args;
501
- _resolveClose;
502
- _processClosed;
503
- _thrownError;
504
- get process() {
505
- return this._process;
506
- }
507
- get pid() {
508
- return this._process?.pid;
509
- }
510
- get exitCode() {
511
- if (this._process && this._process.exitCode !== null) return this._process.exitCode;
512
- }
513
- constructor(e, t, n) {
514
- this._options = {
515
- ...B,
516
- ...n
517
- };
518
- this._command = e;
519
- this._args = t ?? [];
520
- this._processClosed = new Promise((e) => {
521
- this._resolveClose = e;
522
- });
523
- }
524
- kill(e) {
525
- return this._process?.kill(e) === true;
526
- }
527
- get aborted() {
528
- return this._aborted;
529
- }
530
- get killed() {
531
- return this._process?.killed === true;
532
- }
533
- pipe(e, t, n) {
534
- return q(e, t, {
535
- ...n,
536
- stdin: this
537
- });
538
- }
539
- async *[Symbol.asyncIterator]() {
540
- const e = this._process;
541
- if (!e) return;
542
- const t = [];
543
- if (this._streamErr) t.push(this._streamErr);
544
- if (this._streamOut) t.push(this._streamOut);
545
- const n = w(t);
546
- const r = c.createInterface({ input: n });
547
- for await (const e of r) yield e.toString();
548
- await this._processClosed;
549
- e.removeAllListeners();
550
- if (this._thrownError) throw this._thrownError;
551
- if (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new z(this);
552
- }
553
- async _waitForOutput() {
554
- const e = this._process;
555
- if (!e) throw new Error("No process was started");
556
- const [t, n] = await Promise.all([this._streamOut ? W(this._streamOut) : "", this._streamErr ? W(this._streamErr) : ""]);
557
- await this._processClosed;
558
- if (this._options?.stdin) await this._options.stdin;
559
- e.removeAllListeners();
560
- if (this._thrownError) throw this._thrownError;
561
- const r = {
562
- stderr: n,
563
- stdout: t,
564
- exitCode: this.exitCode
565
- };
566
- if (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new z(this, r);
567
- return r;
568
- }
569
- then(e, t) {
570
- return this._waitForOutput().then(e, t);
571
- }
572
- _streamOut;
573
- _streamErr;
574
- spawn() {
575
- const e = cwd();
576
- const n = this._options;
577
- const r = {
578
- ...V,
579
- ...n.nodeOptions
580
- };
581
- const i = [];
582
- this._resetState();
583
- if (n.timeout !== void 0) i.push(AbortSignal.timeout(n.timeout));
584
- if (n.signal !== void 0) i.push(n.signal);
585
- if (n.persist === true) r.detached = true;
586
- if (i.length > 0) r.signal = U(i);
587
- r.env = C(e, r.env);
588
- const { command: a, args: s } = H(this._command, this._args);
589
- const c = (0, R._parse)(a, s, r);
590
- const l = spawn(c.command, c.args, c.options);
591
- if (l.stderr) this._streamErr = l.stderr;
592
- if (l.stdout) this._streamOut = l.stdout;
593
- this._process = l;
594
- l.once("error", this._onError);
595
- l.once("close", this._onClose);
596
- if (n.stdin !== void 0 && l.stdin && n.stdin.process) {
597
- const { stdout: e } = n.stdin.process;
598
- if (e) e.pipe(l.stdin);
599
- }
600
- }
601
- _resetState() {
602
- this._aborted = false;
603
- this._processClosed = new Promise((e) => {
604
- this._resolveClose = e;
605
- });
606
- this._thrownError = void 0;
607
- }
608
- _onError = (e) => {
609
- if (e.name === "AbortError" && (!(e.cause instanceof Error) || e.cause.name !== "TimeoutError")) {
610
- this._aborted = true;
611
- return;
612
- }
613
- this._thrownError = e;
614
- };
615
- _onClose = () => {
616
- if (this._resolveClose) this._resolveClose();
617
- };
618
- };
619
- const K = (e, t, n) => {
620
- const r = new G(e, t, n);
621
- r.spawn();
622
- return r;
623
- };
624
- const q = K;
625
-
626
- //#endregion
627
- export { K };
628
- //# sourceMappingURL=main.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.mjs","names":["n","a","r","s","i","o","t"],"sources":["../../../../../../../../../node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.js"],"sourcesContent":["import { createRequire as e } from \"module\";\nimport { spawn as t } from \"node:child_process\";\nimport { delimiter as n, dirname as r, normalize as i, resolve as a } from \"node:path\";\nimport { cwd as o } from \"node:process\";\nimport { PassThrough as s } from \"node:stream\";\nimport c from \"node:readline\";\nvar l = Object.create;\nvar u = Object.defineProperty;\nvar d = Object.getOwnPropertyDescriptor;\nvar f = Object.getOwnPropertyNames;\nvar p = Object.getPrototypeOf;\nvar m = Object.prototype.hasOwnProperty;\nvar h = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);\nvar g = (e, t, n, r) => {\n\tif (t && typeof t === \"object\" || typeof t === \"function\") for (var i = f(t), a = 0, o = i.length, s; a < o; a++) {\n\t\ts = i[a];\n\t\tif (!m.call(e, s) && s !== n) u(e, s, {\n\t\t\tget: ((e) => t[e]).bind(null, s),\n\t\t\tenumerable: !(r = d(t, s)) || r.enumerable\n\t\t});\n\t}\n\treturn e;\n};\nvar _ = (e, t, n) => (n = e != null ? l(p(e)) : {}, g(t || !e || !e.__esModule ? u(n, \"default\", {\n\tvalue: e,\n\tenumerable: true\n}) : n, e));\nvar v = /* @__PURE__ */ e(import.meta.url);\nconst y = /^path$/i;\nconst b = {\n\tkey: \"PATH\",\n\tvalue: \"\"\n};\nfunction x(e) {\n\tfor (const t in e) {\n\t\tif (!Object.prototype.hasOwnProperty.call(e, t) || !y.test(t)) continue;\n\t\tconst n = e[t];\n\t\tif (!n) return b;\n\t\treturn {\n\t\t\tkey: t,\n\t\t\tvalue: n\n\t\t};\n\t}\n\treturn b;\n}\nfunction S(e, t) {\n\tconst i = t.value.split(n);\n\tlet o = e;\n\tlet s;\n\tdo {\n\t\ti.push(a(o, \"node_modules\", \".bin\"));\n\t\ts = o;\n\t\to = r(o);\n\t} while (o !== s);\n\treturn {\n\t\tkey: t.key,\n\t\tvalue: i.join(n)\n\t};\n}\nfunction C(e, t) {\n\tconst n = {\n\t\t...process.env,\n\t\t...t\n\t};\n\tconst r = S(e, x(n));\n\tn[r.key] = r.value;\n\treturn n;\n}\nconst w = (e) => {\n\tlet t = e.length;\n\tconst n = new s();\n\tconst r = () => {\n\t\tif (--t === 0) n.emit(\"end\");\n\t};\n\tfor (const t of e) {\n\t\tt.pipe(n, { end: false });\n\t\tt.on(\"end\", r);\n\t}\n\treturn n;\n};\nvar T = h((exports, t) => {\n\tt.exports = a;\n\ta.sync = o;\n\tvar n = v(\"fs\");\n\tfunction r(e, t) {\n\t\tvar n = t.pathExt !== void 0 ? t.pathExt : process.env.PATHEXT;\n\t\tif (!n) return true;\n\t\tn = n.split(\";\");\n\t\tif (n.indexOf(\"\") !== -1) return true;\n\t\tfor (var r = 0; r < n.length; r++) {\n\t\t\tvar i = n[r].toLowerCase();\n\t\t\tif (i && e.substr(-i.length).toLowerCase() === i) return true;\n\t\t}\n\t\treturn false;\n\t}\n\tfunction i(e, t, n) {\n\t\tif (!e.isSymbolicLink() && !e.isFile()) return false;\n\t\treturn r(t, n);\n\t}\n\tfunction a(e, t, r) {\n\t\tn.stat(e, function(n, a) {\n\t\t\tr(n, n ? false : i(a, e, t));\n\t\t});\n\t}\n\tfunction o(e, t) {\n\t\treturn i(n.statSync(e), e, t);\n\t}\n});\nvar E = h((exports, t) => {\n\tt.exports = r;\n\tr.sync = i;\n\tvar n = v(\"fs\");\n\tfunction r(e, t, r) {\n\t\tn.stat(e, function(e, n) {\n\t\t\tr(e, e ? false : a(n, t));\n\t\t});\n\t}\n\tfunction i(e, t) {\n\t\treturn a(n.statSync(e), t);\n\t}\n\tfunction a(e, t) {\n\t\treturn e.isFile() && o(e, t);\n\t}\n\tfunction o(e, t) {\n\t\tvar n = e.mode;\n\t\tvar r = e.uid;\n\t\tvar i = e.gid;\n\t\tvar a = t.uid !== void 0 ? t.uid : process.getuid && process.getuid();\n\t\tvar o = t.gid !== void 0 ? t.gid : process.getgid && process.getgid();\n\t\tvar s = parseInt(\"100\", 8);\n\t\tvar c = parseInt(\"010\", 8);\n\t\tvar l = parseInt(\"001\", 8);\n\t\tvar u = s | c;\n\t\tvar d = n & l || n & c && i === o || n & s && r === a || n & u && a === 0;\n\t\treturn d;\n\t}\n});\nvar D = h((exports, t) => {\n\tvar n = v(\"fs\");\n\tvar r;\n\tif (process.platform === \"win32\" || global.TESTING_WINDOWS) r = T();\n\telse r = E();\n\tt.exports = i;\n\ti.sync = a;\n\tfunction i(e, t, n) {\n\t\tif (typeof t === \"function\") {\n\t\t\tn = t;\n\t\t\tt = {};\n\t\t}\n\t\tif (!n) {\n\t\t\tif (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n\t\t\treturn new Promise(function(n, r) {\n\t\t\t\ti(e, t || {}, function(e, t) {\n\t\t\t\t\tif (e) r(e);\n\t\t\t\t\telse n(t);\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t\tr(e, t || {}, function(e, r) {\n\t\t\tif (e) {\n\t\t\t\tif (e.code === \"EACCES\" || t && t.ignoreErrors) {\n\t\t\t\t\te = null;\n\t\t\t\t\tr = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tn(e, r);\n\t\t});\n\t}\n\tfunction a(e, t) {\n\t\ttry {\n\t\t\treturn r.sync(e, t || {});\n\t\t} catch (e) {\n\t\t\tif (t && t.ignoreErrors || e.code === \"EACCES\") return false;\n\t\t\telse throw e;\n\t\t}\n\t}\n});\nvar O = h((exports, t) => {\n\tconst n = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\tconst r = v(\"path\");\n\tconst i = n ? \";\" : \":\";\n\tconst a = D();\n\tconst o = (e) => Object.assign(new Error(`not found: ${e}`), { code: \"ENOENT\" });\n\tconst s = (e, t) => {\n\t\tconst r = t.colon || i;\n\t\tconst a = e.match(/\\//) || n && e.match(/\\\\/) ? [\"\"] : [...n ? [process.cwd()] : [], ...(t.path || process.env.PATH || \"\").split(r)];\n\t\tconst o = n ? t.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n\t\tconst s = n ? o.split(r) : [\"\"];\n\t\tif (n) {\n\t\t\tif (e.indexOf(\".\") !== -1 && s[0] !== \"\") s.unshift(\"\");\n\t\t}\n\t\treturn {\n\t\t\tpathEnv: a,\n\t\t\tpathExt: s,\n\t\t\tpathExtExe: o\n\t\t};\n\t};\n\tconst c = (e, t, n) => {\n\t\tif (typeof t === \"function\") {\n\t\t\tn = t;\n\t\t\tt = {};\n\t\t}\n\t\tif (!t) t = {};\n\t\tconst { pathEnv: i, pathExt: c, pathExtExe: l } = s(e, t);\n\t\tconst u = [];\n\t\tconst d = (n) => new Promise((a, s) => {\n\t\t\tif (n === i.length) return t.all && u.length ? a(u) : s(o(e));\n\t\t\tconst c = i[n];\n\t\t\tconst l = /^\".*\"$/.test(c) ? c.slice(1, -1) : c;\n\t\t\tconst d = r.join(l, e);\n\t\t\tconst p = !l && /^\\.[\\\\\\/]/.test(e) ? e.slice(0, 2) + d : d;\n\t\t\ta(f(p, n, 0));\n\t\t});\n\t\tconst f = (e, n, r) => new Promise((i, o) => {\n\t\t\tif (r === c.length) return i(d(n + 1));\n\t\t\tconst s = c[r];\n\t\t\ta(e + s, { pathExt: l }, (a, o) => {\n\t\t\t\tif (!a && o) if (t.all) u.push(e + s);\n\t\t\t\telse return i(e + s);\n\t\t\t\treturn i(f(e, n, r + 1));\n\t\t\t});\n\t\t});\n\t\treturn n ? d(0).then((e) => n(null, e), n) : d(0);\n\t};\n\tconst l = (e, t) => {\n\t\tt = t || {};\n\t\tconst { pathEnv: n, pathExt: i, pathExtExe: c } = s(e, t);\n\t\tconst l = [];\n\t\tfor (let o = 0; o < n.length; o++) {\n\t\t\tconst s = n[o];\n\t\t\tconst u = /^\".*\"$/.test(s) ? s.slice(1, -1) : s;\n\t\t\tconst d = r.join(u, e);\n\t\t\tconst f = !u && /^\\.[\\\\\\/]/.test(e) ? e.slice(0, 2) + d : d;\n\t\t\tfor (let e = 0; e < i.length; e++) {\n\t\t\t\tconst n = f + i[e];\n\t\t\t\ttry {\n\t\t\t\t\tconst e = a.sync(n, { pathExt: c });\n\t\t\t\t\tif (e) if (t.all) l.push(n);\n\t\t\t\t\telse return n;\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\t\t}\n\t\tif (t.all && l.length) return l;\n\t\tif (t.nothrow) return null;\n\t\tthrow o(e);\n\t};\n\tt.exports = c;\n\tc.sync = l;\n});\nvar k = h((exports, t) => {\n\tconst n = (e = {}) => {\n\t\tconst t = e.env || process.env;\n\t\tconst n = e.platform || process.platform;\n\t\tif (n !== \"win32\") return \"PATH\";\n\t\treturn Object.keys(t).reverse().find((e) => e.toUpperCase() === \"PATH\") || \"Path\";\n\t};\n\tt.exports = n;\n\tt.exports.default = n;\n});\nvar A = h((exports, t) => {\n\tconst n = v(\"path\");\n\tconst r = O();\n\tconst i = k();\n\tfunction a(e, t) {\n\t\tconst a = e.options.env || process.env;\n\t\tconst o = process.cwd();\n\t\tconst s = e.options.cwd != null;\n\t\tconst c = s && process.chdir !== void 0 && !process.chdir.disabled;\n\t\tif (c) try {\n\t\t\tprocess.chdir(e.options.cwd);\n\t\t} catch (e) {}\n\t\tlet l;\n\t\ttry {\n\t\t\tl = r.sync(e.command, {\n\t\t\t\tpath: a[i({ env: a })],\n\t\t\t\tpathExt: t ? n.delimiter : void 0\n\t\t\t});\n\t\t} catch (e) {} finally {\n\t\t\tif (c) process.chdir(o);\n\t\t}\n\t\tif (l) l = n.resolve(s ? e.options.cwd : \"\", l);\n\t\treturn l;\n\t}\n\tfunction o(e) {\n\t\treturn a(e) || a(e, true);\n\t}\n\tt.exports = o;\n});\nvar j = h((exports, t) => {\n\tconst n = /([()\\][%!^\"`<>&|;, *?])/g;\n\tfunction r(e) {\n\t\te = e.replace(n, \"^$1\");\n\t\treturn e;\n\t}\n\tfunction i(e, t) {\n\t\te = `${e}`;\n\t\te = e.replace(/(\\\\*)\"/g, \"$1$1\\\\\\\"\");\n\t\te = e.replace(/(\\\\*)$/, \"$1$1\");\n\t\te = `\"${e}\"`;\n\t\te = e.replace(n, \"^$1\");\n\t\tif (t) e = e.replace(n, \"^$1\");\n\t\treturn e;\n\t}\n\tt.exports.command = r;\n\tt.exports.argument = i;\n});\nvar M = h((exports, t) => {\n\tt.exports = /^#!(.*)/;\n});\nvar N = h((exports, t) => {\n\tconst n = M();\n\tt.exports = (e = \"\") => {\n\t\tconst t = e.match(n);\n\t\tif (!t) return null;\n\t\tconst [r, i] = t[0].replace(/#! ?/, \"\").split(\" \");\n\t\tconst a = r.split(\"/\").pop();\n\t\tif (a === \"env\") return i;\n\t\treturn i ? `${a} ${i}` : a;\n\t};\n});\nvar P = h((exports, t) => {\n\tconst n = v(\"fs\");\n\tconst r = N();\n\tfunction i(e) {\n\t\tconst t = 150;\n\t\tconst i = Buffer.alloc(t);\n\t\tlet a;\n\t\ttry {\n\t\t\ta = n.openSync(e, \"r\");\n\t\t\tn.readSync(a, i, 0, t, 0);\n\t\t\tn.closeSync(a);\n\t\t} catch (e) {}\n\t\treturn r(i.toString());\n\t}\n\tt.exports = i;\n});\nvar F = h((exports, t) => {\n\tconst n = v(\"path\");\n\tconst r = A();\n\tconst i = j();\n\tconst a = P();\n\tconst o = process.platform === \"win32\";\n\tconst s = /\\.(?:com|exe)$/i;\n\tconst c = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\tfunction l(e) {\n\t\te.file = r(e);\n\t\tconst t = e.file && a(e.file);\n\t\tif (t) {\n\t\t\te.args.unshift(e.file);\n\t\t\te.command = t;\n\t\t\treturn r(e);\n\t\t}\n\t\treturn e.file;\n\t}\n\tfunction u(e) {\n\t\tif (!o) return e;\n\t\tconst t = l(e);\n\t\tconst r = !s.test(t);\n\t\tif (e.options.forceShell || r) {\n\t\t\tconst r = c.test(t);\n\t\t\te.command = n.normalize(e.command);\n\t\t\te.command = i.command(e.command);\n\t\t\te.args = e.args.map((e) => i.argument(e, r));\n\t\t\tconst a = [e.command].concat(e.args).join(\" \");\n\t\t\te.args = [\n\t\t\t\t\"/d\",\n\t\t\t\t\"/s\",\n\t\t\t\t\"/c\",\n\t\t\t\t`\"${a}\"`\n\t\t\t];\n\t\t\te.command = process.env.comspec || \"cmd.exe\";\n\t\t\te.options.windowsVerbatimArguments = true;\n\t\t}\n\t\treturn e;\n\t}\n\tfunction d(e, t, n) {\n\t\tif (t && !Array.isArray(t)) {\n\t\t\tn = t;\n\t\t\tt = null;\n\t\t}\n\t\tt = t ? t.slice(0) : [];\n\t\tn = Object.assign({}, n);\n\t\tconst r = {\n\t\t\tcommand: e,\n\t\t\targs: t,\n\t\t\toptions: n,\n\t\t\tfile: void 0,\n\t\t\toriginal: {\n\t\t\t\tcommand: e,\n\t\t\t\targs: t\n\t\t\t}\n\t\t};\n\t\treturn n.shell ? r : u(r);\n\t}\n\tt.exports = d;\n});\nvar I = h((exports, t) => {\n\tconst n = process.platform === \"win32\";\n\tfunction r(e, t) {\n\t\treturn Object.assign(new Error(`${t} ${e.command} ENOENT`), {\n\t\t\tcode: \"ENOENT\",\n\t\t\terrno: \"ENOENT\",\n\t\t\tsyscall: `${t} ${e.command}`,\n\t\t\tpath: e.command,\n\t\t\tspawnargs: e.args\n\t\t});\n\t}\n\tfunction i(e, t) {\n\t\tif (!n) return;\n\t\tconst r = e.emit;\n\t\te.emit = function(n, i) {\n\t\t\tif (n === \"exit\") {\n\t\t\t\tconst n = a(i, t, \"spawn\");\n\t\t\t\tif (n) return r.call(e, \"error\", n);\n\t\t\t}\n\t\t\treturn r.apply(e, arguments);\n\t\t};\n\t}\n\tfunction a(e, t) {\n\t\tif (n && e === 1 && !t.file) return r(t.original, \"spawn\");\n\t\treturn null;\n\t}\n\tfunction o(e, t) {\n\t\tif (n && e === 1 && !t.file) return r(t.original, \"spawnSync\");\n\t\treturn null;\n\t}\n\tt.exports = {\n\t\thookChildProcess: i,\n\t\tverifyENOENT: a,\n\t\tverifyENOENTSync: o,\n\t\tnotFoundError: r\n\t};\n});\nvar L = h((exports, t) => {\n\tconst n = v(\"child_process\");\n\tconst r = F();\n\tconst i = I();\n\tfunction a(e, t, a) {\n\t\tconst o = r(e, t, a);\n\t\tconst s = n.spawn(o.command, o.args, o.options);\n\t\ti.hookChildProcess(s, o);\n\t\treturn s;\n\t}\n\tfunction o(e, t, a) {\n\t\tconst o = r(e, t, a);\n\t\tconst s = n.spawnSync(o.command, o.args, o.options);\n\t\ts.error = s.error || i.verifyENOENTSync(s.status, o);\n\t\treturn s;\n\t}\n\tt.exports = a;\n\tt.exports.spawn = a;\n\tt.exports.sync = o;\n\tt.exports._parse = r;\n\tt.exports._enoent = i;\n});\nvar R = _(L(), 1);\nvar z = class extends Error {\n\tresult;\n\toutput;\n\tget exitCode() {\n\t\tif (this.result.exitCode !== null) return this.result.exitCode;\n\t\treturn void 0;\n\t}\n\tconstructor(e, t) {\n\t\tsuper(`Process exited with non-zero status (${e.exitCode})`);\n\t\tthis.result = e;\n\t\tthis.output = t;\n\t}\n};\nconst B = {\n\ttimeout: void 0,\n\tpersist: false\n};\nconst V = { windowsHide: true };\nfunction H(e, t) {\n\tconst n = i(e);\n\tconst r = t ?? [];\n\treturn {\n\t\tcommand: n,\n\t\targs: r\n\t};\n}\nfunction U(e) {\n\tconst t = new AbortController();\n\tfor (const n of e) {\n\t\tif (n.aborted) {\n\t\t\tt.abort();\n\t\t\treturn n;\n\t\t}\n\t\tconst e = () => {\n\t\t\tt.abort(n.reason);\n\t\t};\n\t\tn.addEventListener(\"abort\", e, { signal: t.signal });\n\t}\n\treturn t.signal;\n}\nasync function W(e) {\n\tlet t = \"\";\n\tfor await (const n of e) t += n.toString();\n\treturn t;\n}\nvar G = class {\n\t_process;\n\t_aborted = false;\n\t_options;\n\t_command;\n\t_args;\n\t_resolveClose;\n\t_processClosed;\n\t_thrownError;\n\tget process() {\n\t\treturn this._process;\n\t}\n\tget pid() {\n\t\treturn this._process?.pid;\n\t}\n\tget exitCode() {\n\t\tif (this._process && this._process.exitCode !== null) return this._process.exitCode;\n\t\treturn void 0;\n\t}\n\tconstructor(e, t, n) {\n\t\tthis._options = {\n\t\t\t...B,\n\t\t\t...n\n\t\t};\n\t\tthis._command = e;\n\t\tthis._args = t ?? [];\n\t\tthis._processClosed = new Promise((e) => {\n\t\t\tthis._resolveClose = e;\n\t\t});\n\t}\n\tkill(e) {\n\t\treturn this._process?.kill(e) === true;\n\t}\n\tget aborted() {\n\t\treturn this._aborted;\n\t}\n\tget killed() {\n\t\treturn this._process?.killed === true;\n\t}\n\tpipe(e, t, n) {\n\t\treturn q(e, t, {\n\t\t\t...n,\n\t\t\tstdin: this\n\t\t});\n\t}\n\tasync *[Symbol.asyncIterator]() {\n\t\tconst e = this._process;\n\t\tif (!e) return;\n\t\tconst t = [];\n\t\tif (this._streamErr) t.push(this._streamErr);\n\t\tif (this._streamOut) t.push(this._streamOut);\n\t\tconst n = w(t);\n\t\tconst r = c.createInterface({ input: n });\n\t\tfor await (const e of r) yield e.toString();\n\t\tawait this._processClosed;\n\t\te.removeAllListeners();\n\t\tif (this._thrownError) throw this._thrownError;\n\t\tif (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new z(this);\n\t}\n\tasync _waitForOutput() {\n\t\tconst e = this._process;\n\t\tif (!e) throw new Error(\"No process was started\");\n\t\tconst [t, n] = await Promise.all([this._streamOut ? W(this._streamOut) : \"\", this._streamErr ? W(this._streamErr) : \"\"]);\n\t\tawait this._processClosed;\n\t\tif (this._options?.stdin) await this._options.stdin;\n\t\te.removeAllListeners();\n\t\tif (this._thrownError) throw this._thrownError;\n\t\tconst r = {\n\t\t\tstderr: n,\n\t\t\tstdout: t,\n\t\t\texitCode: this.exitCode\n\t\t};\n\t\tif (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new z(this, r);\n\t\treturn r;\n\t}\n\tthen(e, t) {\n\t\treturn this._waitForOutput().then(e, t);\n\t}\n\t_streamOut;\n\t_streamErr;\n\tspawn() {\n\t\tconst e = o();\n\t\tconst n = this._options;\n\t\tconst r = {\n\t\t\t...V,\n\t\t\t...n.nodeOptions\n\t\t};\n\t\tconst i = [];\n\t\tthis._resetState();\n\t\tif (n.timeout !== void 0) i.push(AbortSignal.timeout(n.timeout));\n\t\tif (n.signal !== void 0) i.push(n.signal);\n\t\tif (n.persist === true) r.detached = true;\n\t\tif (i.length > 0) r.signal = U(i);\n\t\tr.env = C(e, r.env);\n\t\tconst { command: a, args: s } = H(this._command, this._args);\n\t\tconst c = (0, R._parse)(a, s, r);\n\t\tconst l = t(c.command, c.args, c.options);\n\t\tif (l.stderr) this._streamErr = l.stderr;\n\t\tif (l.stdout) this._streamOut = l.stdout;\n\t\tthis._process = l;\n\t\tl.once(\"error\", this._onError);\n\t\tl.once(\"close\", this._onClose);\n\t\tif (n.stdin !== void 0 && l.stdin && n.stdin.process) {\n\t\t\tconst { stdout: e } = n.stdin.process;\n\t\t\tif (e) e.pipe(l.stdin);\n\t\t}\n\t}\n\t_resetState() {\n\t\tthis._aborted = false;\n\t\tthis._processClosed = new Promise((e) => {\n\t\t\tthis._resolveClose = e;\n\t\t});\n\t\tthis._thrownError = void 0;\n\t}\n\t_onError = (e) => {\n\t\tif (e.name === \"AbortError\" && (!(e.cause instanceof Error) || e.cause.name !== \"TimeoutError\")) {\n\t\t\tthis._aborted = true;\n\t\t\treturn;\n\t\t}\n\t\tthis._thrownError = e;\n\t};\n\t_onClose = () => {\n\t\tif (this._resolveClose) this._resolveClose();\n\t};\n};\nconst K = (e, t, n) => {\n\tconst r = new G(e, t, n);\n\tr.spawn();\n\treturn r;\n};\nconst q = K;\nexport { G as ExecProcess, z as NonZeroExitError, q as exec, K as x };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AAMA,IAAI,IAAI,OAAO;AACf,IAAI,IAAI,OAAO;AACf,IAAI,IAAI,OAAO;AACf,IAAI,IAAI,OAAO;AACf,IAAI,IAAI,OAAO;AACf,IAAI,IAAI,OAAO,UAAU;AACzB,IAAI,KAAK,GAAG,aAAa,KAAK,GAAG,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;AACrE,IAAI,KAAK,GAAG,GAAG,GAAG,MAAM;AACvB,KAAI,KAAK,OAAO,MAAM,YAAY,OAAO,MAAM,WAAY,MAAK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