react-scripts-intlayer 7.0.0-canary.3 → 7.0.1
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/dist/cjs/cli/react-scripts-intlayer.cjs +5 -6
- package/dist/cjs/cli/react-scripts-intlayer.cjs.map +1 -1
- package/dist/esm/_virtual/rolldown_runtime.mjs +1 -5
- package/dist/esm/cli/react-scripts-intlayer.mjs +4 -7
- package/dist/esm/cli/react-scripts-intlayer.mjs.map +1 -1
- package/package.json +10 -10
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/index.cjs +0 -36
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/index.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.cjs +0 -49
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.cjs +0 -74
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.cjs +0 -30
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.cjs +0 -29
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.cjs +0 -43
- package/dist/cjs/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/isexe@2.0.0/node_modules/isexe/index.cjs +0 -54
- package/dist/cjs/node_modules/.bun/isexe@2.0.0/node_modules/isexe/index.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/isexe@2.0.0/node_modules/isexe/mode.cjs +0 -40
- package/dist/cjs/node_modules/.bun/isexe@2.0.0/node_modules/isexe/mode.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/isexe@2.0.0/node_modules/isexe/windows.cjs +0 -40
- package/dist/cjs/node_modules/.bun/isexe@2.0.0/node_modules/isexe/windows.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/path-key@3.1.1/node_modules/path-key/index.cjs +0 -21
- package/dist/cjs/node_modules/.bun/path-key@3.1.1/node_modules/path-key/index.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/shebang-command@2.0.0/node_modules/shebang-command/index.cjs +0 -24
- package/dist/cjs/node_modules/.bun/shebang-command@2.0.0/node_modules/shebang-command/index.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/shebang-regex@3.0.0/node_modules/shebang-regex/index.cjs +0 -15
- package/dist/cjs/node_modules/.bun/shebang-regex@3.0.0/node_modules/shebang-regex/index.cjs.map +0 -1
- package/dist/cjs/node_modules/.bun/which@2.0.2/node_modules/which/which.cjs +0 -83
- package/dist/cjs/node_modules/.bun/which@2.0.2/node_modules/which/which.cjs.map +0 -1
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/index.mjs +0 -33
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/index.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.mjs +0 -46
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.mjs +0 -71
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.mjs +0 -27
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.mjs +0 -26
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.mjs +0 -40
- package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/isexe@2.0.0/node_modules/isexe/index.mjs +0 -51
- package/dist/esm/node_modules/.bun/isexe@2.0.0/node_modules/isexe/index.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/isexe@2.0.0/node_modules/isexe/mode.mjs +0 -37
- package/dist/esm/node_modules/.bun/isexe@2.0.0/node_modules/isexe/mode.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/isexe@2.0.0/node_modules/isexe/windows.mjs +0 -37
- package/dist/esm/node_modules/.bun/isexe@2.0.0/node_modules/isexe/windows.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/path-key@3.1.1/node_modules/path-key/index.mjs +0 -18
- package/dist/esm/node_modules/.bun/path-key@3.1.1/node_modules/path-key/index.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/shebang-command@2.0.0/node_modules/shebang-command/index.mjs +0 -21
- package/dist/esm/node_modules/.bun/shebang-command@2.0.0/node_modules/shebang-command/index.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/shebang-regex@3.0.0/node_modules/shebang-regex/index.mjs +0 -12
- package/dist/esm/node_modules/.bun/shebang-regex@3.0.0/node_modules/shebang-regex/index.mjs.map +0 -1
- package/dist/esm/node_modules/.bun/which@2.0.2/node_modules/which/which.mjs +0 -80
- package/dist/esm/node_modules/.bun/which@2.0.2/node_modules/which/which.mjs.map +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.bun/path-key@3.1.1/node_modules/path-key/index.js
|
|
4
|
-
var require_path_key = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.bun/path-key@3.1.1/node_modules/path-key/index.js": ((exports, module) => {
|
|
5
|
-
const pathKey = (options = {}) => {
|
|
6
|
-
const environment = options.env || process.env;
|
|
7
|
-
if ((options.platform || process.platform) !== "win32") return "PATH";
|
|
8
|
-
return Object.keys(environment).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
|
|
9
|
-
};
|
|
10
|
-
module.exports = pathKey;
|
|
11
|
-
module.exports.default = pathKey;
|
|
12
|
-
}) });
|
|
13
|
-
|
|
14
|
-
//#endregion
|
|
15
|
-
Object.defineProperty(exports, 'default', {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () {
|
|
18
|
-
return require_path_key();
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":[],"sources":["../../../../../../../../../node_modules/.bun/path-key@3.1.1/node_modules/path-key/index.js"],"sourcesContent":["'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n"],"x_google_ignoreList":[0],"mappings":";;;;CAEA,MAAM,WAAW,UAAU,EAAE,KAAK;EACjC,MAAM,cAAc,QAAQ,OAAO,QAAQ;AAG3C,OAFiB,QAAQ,YAAY,QAAQ,cAE5B,QAChB,QAAO;AAGR,SAAO,OAAO,KAAK,YAAY,CAAC,SAAS,CAAC,MAAK,QAAO,IAAI,aAAa,KAAK,OAAO,IAAI;;AAGxF,QAAO,UAAU;AAEjB,QAAO,QAAQ,UAAU"}
|
package/dist/cjs/node_modules/.bun/shebang-command@2.0.0/node_modules/shebang-command/index.cjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_index = require('../../../shebang-regex@3.0.0/node_modules/shebang-regex/index.cjs');
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.bun/shebang-command@2.0.0/node_modules/shebang-command/index.js
|
|
5
|
-
var require_shebang_command = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.bun/shebang-command@2.0.0/node_modules/shebang-command/index.js": ((exports, module) => {
|
|
6
|
-
const shebangRegex = require_index.require_shebang_regex();
|
|
7
|
-
module.exports = (string = "") => {
|
|
8
|
-
const match = string.match(shebangRegex);
|
|
9
|
-
if (!match) return null;
|
|
10
|
-
const [path, argument] = match[0].replace(/#! ?/, "").split(" ");
|
|
11
|
-
const binary = path.split("/").pop();
|
|
12
|
-
if (binary === "env") return argument;
|
|
13
|
-
return argument ? `${binary} ${argument}` : binary;
|
|
14
|
-
};
|
|
15
|
-
}) });
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
Object.defineProperty(exports, 'default', {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return require_shebang_command();
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/cjs/node_modules/.bun/shebang-command@2.0.0/node_modules/shebang-command/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":[],"sources":["../../../../../../../../../node_modules/.bun/shebang-command@2.0.0/node_modules/shebang-command/index.js"],"sourcesContent":["'use strict';\nconst shebangRegex = require('shebang-regex');\n\nmodule.exports = (string = '') => {\n\tconst match = string.match(shebangRegex);\n\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [path, argument] = match[0].replace(/#! ?/, '').split(' ');\n\tconst binary = path.split('/').pop();\n\n\tif (binary === 'env') {\n\t\treturn argument;\n\t}\n\n\treturn argument ? `${binary} ${argument}` : binary;\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;CACA,MAAM;AAEN,QAAO,WAAW,SAAS,OAAO;EACjC,MAAM,QAAQ,OAAO,MAAM,aAAa;AAExC,MAAI,CAAC,MACJ,QAAO;EAGR,MAAM,CAAC,MAAM,YAAY,MAAM,GAAG,QAAQ,QAAQ,GAAG,CAAC,MAAM,IAAI;EAChE,MAAM,SAAS,KAAK,MAAM,IAAI,CAAC,KAAK;AAEpC,MAAI,WAAW,MACd,QAAO;AAGR,SAAO,WAAW,GAAG,OAAO,GAAG,aAAa"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.bun/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
|
|
4
|
-
var require_shebang_regex = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.bun/shebang-regex@3.0.0/node_modules/shebang-regex/index.js": ((exports, module) => {
|
|
5
|
-
module.exports = /^#!(.*)/;
|
|
6
|
-
}) });
|
|
7
|
-
|
|
8
|
-
//#endregion
|
|
9
|
-
Object.defineProperty(exports, 'default', {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () {
|
|
12
|
-
return require_shebang_regex();
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/cjs/node_modules/.bun/shebang-regex@3.0.0/node_modules/shebang-regex/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":[],"sources":["../../../../../../../../../node_modules/.bun/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"],"sourcesContent":["'use strict';\nmodule.exports = /^#!(.*)/;\n"],"x_google_ignoreList":[0],"mappings":";;;;AACA,QAAO,UAAU"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_index = require('../../../isexe@2.0.0/node_modules/isexe/index.cjs');
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.bun/which@2.0.2/node_modules/which/which.js
|
|
5
|
-
var require_which = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.bun/which@2.0.2/node_modules/which/which.js": ((exports, module) => {
|
|
6
|
-
const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
7
|
-
const path = require("path");
|
|
8
|
-
const COLON = isWindows ? ";" : ":";
|
|
9
|
-
const isexe = require_index.require_isexe();
|
|
10
|
-
const getNotFoundError = (cmd) => Object.assign(/* @__PURE__ */ new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
11
|
-
const getPathInfo = (cmd, opt) => {
|
|
12
|
-
const colon = opt.colon || COLON;
|
|
13
|
-
const pathEnv = cmd.match(/\//) || isWindows && cmd.match(/\\/) ? [""] : [...isWindows ? [process.cwd()] : [], ...(opt.path || process.env.PATH || "").split(colon)];
|
|
14
|
-
const pathExtExe = isWindows ? opt.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
15
|
-
const pathExt = isWindows ? pathExtExe.split(colon) : [""];
|
|
16
|
-
if (isWindows) {
|
|
17
|
-
if (cmd.indexOf(".") !== -1 && pathExt[0] !== "") pathExt.unshift("");
|
|
18
|
-
}
|
|
19
|
-
return {
|
|
20
|
-
pathEnv,
|
|
21
|
-
pathExt,
|
|
22
|
-
pathExtExe
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
const which = (cmd, opt, cb) => {
|
|
26
|
-
if (typeof opt === "function") {
|
|
27
|
-
cb = opt;
|
|
28
|
-
opt = {};
|
|
29
|
-
}
|
|
30
|
-
if (!opt) opt = {};
|
|
31
|
-
const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
|
|
32
|
-
const found = [];
|
|
33
|
-
const step = (i) => new Promise((resolve, reject) => {
|
|
34
|
-
if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
|
|
35
|
-
const ppRaw = pathEnv[i];
|
|
36
|
-
const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
|
|
37
|
-
const pCmd = path.join(pathPart, cmd);
|
|
38
|
-
resolve(subStep(!pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i, 0));
|
|
39
|
-
});
|
|
40
|
-
const subStep = (p, i, ii) => new Promise((resolve, reject) => {
|
|
41
|
-
if (ii === pathExt.length) return resolve(step(i + 1));
|
|
42
|
-
const ext = pathExt[ii];
|
|
43
|
-
isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {
|
|
44
|
-
if (!er && is) if (opt.all) found.push(p + ext);
|
|
45
|
-
else return resolve(p + ext);
|
|
46
|
-
return resolve(subStep(p, i, ii + 1));
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
|
|
50
|
-
};
|
|
51
|
-
const whichSync = (cmd, opt) => {
|
|
52
|
-
opt = opt || {};
|
|
53
|
-
const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
|
|
54
|
-
const found = [];
|
|
55
|
-
for (let i = 0; i < pathEnv.length; i++) {
|
|
56
|
-
const ppRaw = pathEnv[i];
|
|
57
|
-
const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
|
|
58
|
-
const pCmd = path.join(pathPart, cmd);
|
|
59
|
-
const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
|
|
60
|
-
for (let j = 0; j < pathExt.length; j++) {
|
|
61
|
-
const cur = p + pathExt[j];
|
|
62
|
-
try {
|
|
63
|
-
if (isexe.sync(cur, { pathExt: pathExtExe })) if (opt.all) found.push(cur);
|
|
64
|
-
else return cur;
|
|
65
|
-
} catch (ex) {}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
if (opt.all && found.length) return found;
|
|
69
|
-
if (opt.nothrow) return null;
|
|
70
|
-
throw getNotFoundError(cmd);
|
|
71
|
-
};
|
|
72
|
-
module.exports = which;
|
|
73
|
-
which.sync = whichSync;
|
|
74
|
-
}) });
|
|
75
|
-
|
|
76
|
-
//#endregion
|
|
77
|
-
Object.defineProperty(exports, 'default', {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
get: function () {
|
|
80
|
-
return require_which();
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
//# sourceMappingURL=which.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"which.cjs","names":[],"sources":["../../../../../../../../../node_modules/.bun/which@2.0.2/node_modules/which/which.js"],"sourcesContent":["const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAAA,MAAM,YAAY,QAAQ,aAAa,WACnC,QAAQ,IAAI,WAAW,YACvB,QAAQ,IAAI,WAAW;CAE3B,MAAM,OAAO,QAAQ,OAAO;CAC5B,MAAM,QAAQ,YAAY,MAAM;CAChC,MAAM;CAEN,MAAM,oBAAoB,QACxB,OAAO,uBAAO,IAAI,MAAM,cAAc,MAAM,EAAE,EAAE,MAAM,UAAU,CAAC;CAEnE,MAAM,eAAe,KAAK,QAAQ;EAChC,MAAM,QAAQ,IAAI,SAAS;EAI3B,MAAM,UAAU,IAAI,MAAM,KAAK,IAAI,aAAa,IAAI,MAAM,KAAK,GAAG,CAAC,GAAG,GAElE,CAEE,GAAI,YAAY,CAAC,QAAQ,KAAK,CAAC,GAAG,EAAE,EACpC,IAAI,IAAI,QAAQ,QAAQ,IAAI,QACe,IAAI,MAAM,MAAM,CAC5D;EAEL,MAAM,aAAa,YACf,IAAI,WAAW,QAAQ,IAAI,WAAW,wBACtC;EACJ,MAAM,UAAU,YAAY,WAAW,MAAM,MAAM,GAAG,CAAC,GAAG;AAE1D,MAAI,WACF;OAAI,IAAI,QAAQ,IAAI,KAAK,MAAM,QAAQ,OAAO,GAC5C,SAAQ,QAAQ,GAAG;;AAGvB,SAAO;GACL;GACA;GACA;GACD;;CAGH,MAAM,SAAS,KAAK,KAAK,OAAO;AAC9B,MAAI,OAAO,QAAQ,YAAY;AAC7B,QAAK;AACL,SAAM,EAAE;;AAEV,MAAI,CAAC,IACH,OAAM,EAAE;EAEV,MAAM,EAAE,SAAS,SAAS,eAAe,YAAY,KAAK,IAAI;EAC9D,MAAM,QAAQ,EAAE;EAEhB,MAAM,QAAO,MAAK,IAAI,SAAS,SAAS,WAAW;AACjD,OAAI,MAAM,QAAQ,OAChB,QAAO,IAAI,OAAO,MAAM,SAAS,QAAQ,MAAM,GAC3C,OAAO,iBAAiB,IAAI,CAAC;GAEnC,MAAM,QAAQ,QAAQ;GACtB,MAAM,WAAW,SAAS,KAAK,MAAM,GAAG,MAAM,MAAM,GAAG,GAAG,GAAG;GAE7D,MAAM,OAAO,KAAK,KAAK,UAAU,IAAI;AAIrC,WAAQ,QAHE,CAAC,YAAY,YAAY,KAAK,IAAI,GAAG,IAAI,MAAM,GAAG,EAAE,GAAG,OAC7D,MAEe,GAAG,EAAE,CAAC;IACzB;EAEF,MAAM,WAAW,GAAG,GAAG,OAAO,IAAI,SAAS,SAAS,WAAW;AAC7D,OAAI,OAAO,QAAQ,OACjB,QAAO,QAAQ,KAAK,IAAI,EAAE,CAAC;GAC7B,MAAM,MAAM,QAAQ;AACpB,SAAM,IAAI,KAAK,EAAE,SAAS,YAAY,GAAG,IAAI,OAAO;AAClD,QAAI,CAAC,MAAM,GACT,KAAI,IAAI,IACN,OAAM,KAAK,IAAI,IAAI;QAEnB,QAAO,QAAQ,IAAI,IAAI;AAE3B,WAAO,QAAQ,QAAQ,GAAG,GAAG,KAAK,EAAE,CAAC;KACrC;IACF;AAEF,SAAO,KAAK,KAAK,EAAE,CAAC,MAAK,QAAO,GAAG,MAAM,IAAI,EAAE,GAAG,GAAG,KAAK,EAAE;;CAG9D,MAAM,aAAa,KAAK,QAAQ;AAC9B,QAAM,OAAO,EAAE;EAEf,MAAM,EAAE,SAAS,SAAS,eAAe,YAAY,KAAK,IAAI;EAC9D,MAAM,QAAQ,EAAE;AAEhB,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAM;GACxC,MAAM,QAAQ,QAAQ;GACtB,MAAM,WAAW,SAAS,KAAK,MAAM,GAAG,MAAM,MAAM,GAAG,GAAG,GAAG;GAE7D,MAAM,OAAO,KAAK,KAAK,UAAU,IAAI;GACrC,MAAM,IAAI,CAAC,YAAY,YAAY,KAAK,IAAI,GAAG,IAAI,MAAM,GAAG,EAAE,GAAG,OAC7D;AAEJ,QAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAM;IACxC,MAAM,MAAM,IAAI,QAAQ;AACxB,QAAI;AAEF,SADW,MAAM,KAAK,KAAK,EAAE,SAAS,YAAY,CAAC,CAEjD,KAAI,IAAI,IACN,OAAM,KAAK,IAAI;SAEf,QAAO;aAEJ,IAAI;;;AAIjB,MAAI,IAAI,OAAO,MAAM,OACnB,QAAO;AAET,MAAI,IAAI,QACN,QAAO;AAET,QAAM,iBAAiB,IAAI;;AAG7B,QAAO,UAAU;AACjB,OAAM,OAAO"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { __commonJS, __require } from "../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
import { require_parse } from "./lib/parse.mjs";
|
|
3
|
-
import { require_enoent } from "./lib/enoent.mjs";
|
|
4
|
-
|
|
5
|
-
//#region ../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
|
|
6
|
-
var require_cross_spawn = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/index.js": ((exports, module) => {
|
|
7
|
-
const cp = __require("child_process");
|
|
8
|
-
const parse = require_parse();
|
|
9
|
-
const enoent = require_enoent();
|
|
10
|
-
function spawn(command, args, options) {
|
|
11
|
-
const parsed = parse(command, args, options);
|
|
12
|
-
const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
|
|
13
|
-
enoent.hookChildProcess(spawned, parsed);
|
|
14
|
-
return spawned;
|
|
15
|
-
}
|
|
16
|
-
function spawnSync(command, args, options) {
|
|
17
|
-
const parsed = parse(command, args, options);
|
|
18
|
-
const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
|
|
19
|
-
result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
|
|
20
|
-
return result;
|
|
21
|
-
}
|
|
22
|
-
module.exports = spawn;
|
|
23
|
-
module.exports.spawn = spawn;
|
|
24
|
-
module.exports.sync = spawnSync;
|
|
25
|
-
module.exports._parse = parse;
|
|
26
|
-
module.exports._enoent = enoent;
|
|
27
|
-
}) });
|
|
28
|
-
|
|
29
|
-
//#endregion
|
|
30
|
-
export default require_cross_spawn();
|
|
31
|
-
|
|
32
|
-
export { require_cross_spawn };
|
|
33
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"],"sourcesContent":["'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CAEA,MAAM,eAAa,gBAAgB;CACnC,MAAM;CACN,MAAM;CAEN,SAAS,MAAM,SAAS,MAAM,SAAS;EAEnC,MAAM,SAAS,MAAM,SAAS,MAAM,QAAQ;EAG5C,MAAM,UAAU,GAAG,MAAM,OAAO,SAAS,OAAO,MAAM,OAAO,QAAQ;AAIrE,SAAO,iBAAiB,SAAS,OAAO;AAExC,SAAO;;CAGX,SAAS,UAAU,SAAS,MAAM,SAAS;EAEvC,MAAM,SAAS,MAAM,SAAS,MAAM,QAAQ;EAG5C,MAAM,SAAS,GAAG,UAAU,OAAO,SAAS,OAAO,MAAM,OAAO,QAAQ;AAGxE,SAAO,QAAQ,OAAO,SAAS,OAAO,iBAAiB,OAAO,QAAQ,OAAO;AAE7E,SAAO;;AAGX,QAAO,UAAU;AACjB,QAAO,QAAQ,QAAQ;AACvB,QAAO,QAAQ,OAAO;AAEtB,QAAO,QAAQ,SAAS;AACxB,QAAO,QAAQ,UAAU"}
|
package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.mjs
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
|
|
4
|
-
var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js": ((exports, module) => {
|
|
5
|
-
const isWin = process.platform === "win32";
|
|
6
|
-
function notFoundError(original, syscall) {
|
|
7
|
-
return Object.assign(/* @__PURE__ */ new Error(`${syscall} ${original.command} ENOENT`), {
|
|
8
|
-
code: "ENOENT",
|
|
9
|
-
errno: "ENOENT",
|
|
10
|
-
syscall: `${syscall} ${original.command}`,
|
|
11
|
-
path: original.command,
|
|
12
|
-
spawnargs: original.args
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
function hookChildProcess(cp, parsed) {
|
|
16
|
-
if (!isWin) return;
|
|
17
|
-
const originalEmit = cp.emit;
|
|
18
|
-
cp.emit = function(name, arg1) {
|
|
19
|
-
if (name === "exit") {
|
|
20
|
-
const err = verifyENOENT(arg1, parsed);
|
|
21
|
-
if (err) return originalEmit.call(cp, "error", err);
|
|
22
|
-
}
|
|
23
|
-
return originalEmit.apply(cp, arguments);
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
function verifyENOENT(status, parsed) {
|
|
27
|
-
if (isWin && status === 1 && !parsed.file) return notFoundError(parsed.original, "spawn");
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
function verifyENOENTSync(status, parsed) {
|
|
31
|
-
if (isWin && status === 1 && !parsed.file) return notFoundError(parsed.original, "spawnSync");
|
|
32
|
-
return null;
|
|
33
|
-
}
|
|
34
|
-
module.exports = {
|
|
35
|
-
hookChildProcess,
|
|
36
|
-
verifyENOENT,
|
|
37
|
-
verifyENOENTSync,
|
|
38
|
-
notFoundError
|
|
39
|
-
};
|
|
40
|
-
}) });
|
|
41
|
-
|
|
42
|
-
//#endregion
|
|
43
|
-
export default require_enoent();
|
|
44
|
-
|
|
45
|
-
export { require_enoent };
|
|
46
|
-
//# sourceMappingURL=enoent.mjs.map
|
package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enoent.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"],"sourcesContent":["'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed);\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;CAEA,MAAM,QAAQ,QAAQ,aAAa;CAEnC,SAAS,cAAc,UAAU,SAAS;AACtC,SAAO,OAAO,uBAAO,IAAI,MAAM,GAAG,QAAQ,GAAG,SAAS,QAAQ,SAAS,EAAE;GACrE,MAAM;GACN,OAAO;GACP,SAAS,GAAG,QAAQ,GAAG,SAAS;GAChC,MAAM,SAAS;GACf,WAAW,SAAS;GACvB,CAAC;;CAGN,SAAS,iBAAiB,IAAI,QAAQ;AAClC,MAAI,CAAC,MACD;EAGJ,MAAM,eAAe,GAAG;AAExB,KAAG,OAAO,SAAU,MAAM,MAAM;AAI5B,OAAI,SAAS,QAAQ;IACjB,MAAM,MAAM,aAAa,MAAM,OAAO;AAEtC,QAAI,IACA,QAAO,aAAa,KAAK,IAAI,SAAS,IAAI;;AAIlD,UAAO,aAAa,MAAM,IAAI,UAAU;;;CAIhD,SAAS,aAAa,QAAQ,QAAQ;AAClC,MAAI,SAAS,WAAW,KAAK,CAAC,OAAO,KACjC,QAAO,cAAc,OAAO,UAAU,QAAQ;AAGlD,SAAO;;CAGX,SAAS,iBAAiB,QAAQ,QAAQ;AACtC,MAAI,SAAS,WAAW,KAAK,CAAC,OAAO,KACjC,QAAO,cAAc,OAAO,UAAU,YAAY;AAGtD,SAAO;;AAGX,QAAO,UAAU;EACb;EACA;EACA;EACA;EACH"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { __commonJS, __require } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
import { require_resolveCommand } from "./util/resolveCommand.mjs";
|
|
3
|
-
import { require_escape } from "./util/escape.mjs";
|
|
4
|
-
import { require_readShebang } from "./util/readShebang.mjs";
|
|
5
|
-
|
|
6
|
-
//#region ../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
|
|
7
|
-
var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js": ((exports, module) => {
|
|
8
|
-
const path = __require("path");
|
|
9
|
-
const resolveCommand = require_resolveCommand();
|
|
10
|
-
const escape = require_escape();
|
|
11
|
-
const readShebang = require_readShebang();
|
|
12
|
-
const isWin = process.platform === "win32";
|
|
13
|
-
const isExecutableRegExp = /\.(?:com|exe)$/i;
|
|
14
|
-
const isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
15
|
-
function detectShebang(parsed) {
|
|
16
|
-
parsed.file = resolveCommand(parsed);
|
|
17
|
-
const shebang = parsed.file && readShebang(parsed.file);
|
|
18
|
-
if (shebang) {
|
|
19
|
-
parsed.args.unshift(parsed.file);
|
|
20
|
-
parsed.command = shebang;
|
|
21
|
-
return resolveCommand(parsed);
|
|
22
|
-
}
|
|
23
|
-
return parsed.file;
|
|
24
|
-
}
|
|
25
|
-
function parseNonShell(parsed) {
|
|
26
|
-
if (!isWin) return parsed;
|
|
27
|
-
const commandFile = detectShebang(parsed);
|
|
28
|
-
const needsShell = !isExecutableRegExp.test(commandFile);
|
|
29
|
-
if (parsed.options.forceShell || needsShell) {
|
|
30
|
-
const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
|
|
31
|
-
parsed.command = path.normalize(parsed.command);
|
|
32
|
-
parsed.command = escape.command(parsed.command);
|
|
33
|
-
parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
|
|
34
|
-
parsed.args = [
|
|
35
|
-
"/d",
|
|
36
|
-
"/s",
|
|
37
|
-
"/c",
|
|
38
|
-
`"${[parsed.command].concat(parsed.args).join(" ")}"`
|
|
39
|
-
];
|
|
40
|
-
parsed.command = process.env.comspec || "cmd.exe";
|
|
41
|
-
parsed.options.windowsVerbatimArguments = true;
|
|
42
|
-
}
|
|
43
|
-
return parsed;
|
|
44
|
-
}
|
|
45
|
-
function parse(command, args, options) {
|
|
46
|
-
if (args && !Array.isArray(args)) {
|
|
47
|
-
options = args;
|
|
48
|
-
args = null;
|
|
49
|
-
}
|
|
50
|
-
args = args ? args.slice(0) : [];
|
|
51
|
-
options = Object.assign({}, options);
|
|
52
|
-
const parsed = {
|
|
53
|
-
command,
|
|
54
|
-
args,
|
|
55
|
-
options,
|
|
56
|
-
file: void 0,
|
|
57
|
-
original: {
|
|
58
|
-
command,
|
|
59
|
-
args
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
return options.shell ? parsed : parseNonShell(parsed);
|
|
63
|
-
}
|
|
64
|
-
module.exports = parse;
|
|
65
|
-
}) });
|
|
66
|
-
|
|
67
|
-
//#endregion
|
|
68
|
-
export default require_parse();
|
|
69
|
-
|
|
70
|
-
export { require_parse };
|
|
71
|
-
//# sourceMappingURL=parse.mjs.map
|
package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"],"sourcesContent":["'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;CAEA,MAAM,iBAAe,OAAO;CAC5B,MAAM;CACN,MAAM;CACN,MAAM;CAEN,MAAM,QAAQ,QAAQ,aAAa;CACnC,MAAM,qBAAqB;CAC3B,MAAM,kBAAkB;CAExB,SAAS,cAAc,QAAQ;AAC3B,SAAO,OAAO,eAAe,OAAO;EAEpC,MAAM,UAAU,OAAO,QAAQ,YAAY,OAAO,KAAK;AAEvD,MAAI,SAAS;AACT,UAAO,KAAK,QAAQ,OAAO,KAAK;AAChC,UAAO,UAAU;AAEjB,UAAO,eAAe,OAAO;;AAGjC,SAAO,OAAO;;CAGlB,SAAS,cAAc,QAAQ;AAC3B,MAAI,CAAC,MACD,QAAO;EAIX,MAAM,cAAc,cAAc,OAAO;EAGzC,MAAM,aAAa,CAAC,mBAAmB,KAAK,YAAY;AAIxD,MAAI,OAAO,QAAQ,cAAc,YAAY;GAKzC,MAAM,6BAA6B,gBAAgB,KAAK,YAAY;AAIpE,UAAO,UAAU,KAAK,UAAU,OAAO,QAAQ;AAG/C,UAAO,UAAU,OAAO,QAAQ,OAAO,QAAQ;AAC/C,UAAO,OAAO,OAAO,KAAK,KAAK,QAAQ,OAAO,SAAS,KAAK,2BAA2B,CAAC;AAIxF,UAAO,OAAO;IAAC;IAAM;IAAM;IAAM,IAFZ,CAAC,OAAO,QAAQ,CAAC,OAAO,OAAO,KAAK,CAAC,KAAK,IAAI,CAEjB;IAAG;AACrD,UAAO,UAAU,QAAQ,IAAI,WAAW;AACxC,UAAO,QAAQ,2BAA2B;;AAG9C,SAAO;;CAGX,SAAS,MAAM,SAAS,MAAM,SAAS;AAEnC,MAAI,QAAQ,CAAC,MAAM,QAAQ,KAAK,EAAE;AAC9B,aAAU;AACV,UAAO;;AAGX,SAAO,OAAO,KAAK,MAAM,EAAE,GAAG,EAAE;AAChC,YAAU,OAAO,OAAO,EAAE,EAAE,QAAQ;EAGpC,MAAM,SAAS;GACX;GACA;GACA;GACA,MAAM;GACN,UAAU;IACN;IACA;IACH;GACJ;AAGD,SAAO,QAAQ,QAAQ,SAAS,cAAc,OAAO;;AAGzD,QAAO,UAAU"}
|
package/dist/esm/node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.mjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
|
|
4
|
-
var require_escape = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js": ((exports, module) => {
|
|
5
|
-
const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
6
|
-
function escapeCommand(arg) {
|
|
7
|
-
arg = arg.replace(metaCharsRegExp, "^$1");
|
|
8
|
-
return arg;
|
|
9
|
-
}
|
|
10
|
-
function escapeArgument(arg, doubleEscapeMetaChars) {
|
|
11
|
-
arg = `${arg}`;
|
|
12
|
-
arg = arg.replace(/(?=(\\+?)?)\1"/g, "$1$1\\\"");
|
|
13
|
-
arg = arg.replace(/(?=(\\+?)?)\1$/, "$1$1");
|
|
14
|
-
arg = `"${arg}"`;
|
|
15
|
-
arg = arg.replace(metaCharsRegExp, "^$1");
|
|
16
|
-
if (doubleEscapeMetaChars) arg = arg.replace(metaCharsRegExp, "^$1");
|
|
17
|
-
return arg;
|
|
18
|
-
}
|
|
19
|
-
module.exports.command = escapeCommand;
|
|
20
|
-
module.exports.argument = escapeArgument;
|
|
21
|
-
}) });
|
|
22
|
-
|
|
23
|
-
//#endregion
|
|
24
|
-
export default require_escape();
|
|
25
|
-
|
|
26
|
-
export { require_escape };
|
|
27
|
-
//# sourceMappingURL=escape.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"escape.mjs","names":[],"sources":["../../../../../../../../../../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"],"sourcesContent":["'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n // It's slightly altered to disable JS backtracking to avoid hanging on specially crafted input\n // Please see https://github.com/moxystudio/node-cross-spawn/pull/160 for more information\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(?=(\\\\+?)?)\\1\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(?=(\\\\+?)?)\\1$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n"],"x_google_ignoreList":[0],"mappings":";;;;CAGA,MAAM,kBAAkB;CAExB,SAAS,cAAc,KAAK;AAExB,QAAM,IAAI,QAAQ,iBAAiB,MAAM;AAEzC,SAAO;;CAGX,SAAS,eAAe,KAAK,uBAAuB;AAEhD,QAAM,GAAG;AAQT,QAAM,IAAI,QAAQ,mBAAmB,WAAU;AAK/C,QAAM,IAAI,QAAQ,kBAAkB,OAAO;AAK3C,QAAM,IAAI,IAAI;AAGd,QAAM,IAAI,QAAQ,iBAAiB,MAAM;AAGzC,MAAI,sBACA,OAAM,IAAI,QAAQ,iBAAiB,MAAM;AAG7C,SAAO;;AAGX,QAAO,QAAQ,UAAU;AACzB,QAAO,QAAQ,WAAW"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __commonJS, __require } from "../../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
import { require_shebang_command } from "../../../../../shebang-command@2.0.0/node_modules/shebang-command/index.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
|
|
5
|
-
var require_readShebang = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js": ((exports, module) => {
|
|
6
|
-
const fs = __require("fs");
|
|
7
|
-
const shebangCommand = require_shebang_command();
|
|
8
|
-
function readShebang(command) {
|
|
9
|
-
const size = 150;
|
|
10
|
-
const buffer = Buffer.alloc(size);
|
|
11
|
-
let fd;
|
|
12
|
-
try {
|
|
13
|
-
fd = fs.openSync(command, "r");
|
|
14
|
-
fs.readSync(fd, buffer, 0, size, 0);
|
|
15
|
-
fs.closeSync(fd);
|
|
16
|
-
} catch (e) {}
|
|
17
|
-
return shebangCommand(buffer.toString());
|
|
18
|
-
}
|
|
19
|
-
module.exports = readShebang;
|
|
20
|
-
}) });
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
export default require_readShebang();
|
|
24
|
-
|
|
25
|
-
export { require_readShebang };
|
|
26
|
-
//# sourceMappingURL=readShebang.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"readShebang.mjs","names":[],"sources":["../../../../../../../../../../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"],"sourcesContent":["'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAEA,MAAM,eAAa,KAAK;CACxB,MAAM;CAEN,SAAS,YAAY,SAAS;EAE1B,MAAM,OAAO;EACb,MAAM,SAAS,OAAO,MAAM,KAAK;EAEjC,IAAI;AAEJ,MAAI;AACA,QAAK,GAAG,SAAS,SAAS,IAAI;AAC9B,MAAG,SAAS,IAAI,QAAQ,GAAG,MAAM,EAAE;AACnC,MAAG,UAAU,GAAG;WACX,GAAG;AAGZ,SAAO,eAAe,OAAO,UAAU,CAAC;;AAG5C,QAAO,UAAU"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { __commonJS, __require } from "../../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
import { require_which } from "../../../../../which@2.0.2/node_modules/which/which.mjs";
|
|
3
|
-
import { require_path_key } from "../../../../../path-key@3.1.1/node_modules/path-key/index.mjs";
|
|
4
|
-
|
|
5
|
-
//#region ../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
6
|
-
var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js": ((exports, module) => {
|
|
7
|
-
const path = __require("path");
|
|
8
|
-
const which = require_which();
|
|
9
|
-
const getPathKey = require_path_key();
|
|
10
|
-
function resolveCommandAttempt(parsed, withoutPathExt) {
|
|
11
|
-
const env = parsed.options.env || process.env;
|
|
12
|
-
const cwd = process.cwd();
|
|
13
|
-
const hasCustomCwd = parsed.options.cwd != null;
|
|
14
|
-
const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
|
|
15
|
-
if (shouldSwitchCwd) try {
|
|
16
|
-
process.chdir(parsed.options.cwd);
|
|
17
|
-
} catch (err) {}
|
|
18
|
-
let resolved;
|
|
19
|
-
try {
|
|
20
|
-
resolved = which.sync(parsed.command, {
|
|
21
|
-
path: env[getPathKey({ env })],
|
|
22
|
-
pathExt: withoutPathExt ? path.delimiter : void 0
|
|
23
|
-
});
|
|
24
|
-
} catch (e) {} finally {
|
|
25
|
-
if (shouldSwitchCwd) process.chdir(cwd);
|
|
26
|
-
}
|
|
27
|
-
if (resolved) resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
|
|
28
|
-
return resolved;
|
|
29
|
-
}
|
|
30
|
-
function resolveCommand(parsed) {
|
|
31
|
-
return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
|
|
32
|
-
}
|
|
33
|
-
module.exports = resolveCommand;
|
|
34
|
-
}) });
|
|
35
|
-
|
|
36
|
-
//#endregion
|
|
37
|
-
export default require_resolveCommand();
|
|
38
|
-
|
|
39
|
-
export { require_resolveCommand };
|
|
40
|
-
//# sourceMappingURL=resolveCommand.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolveCommand.mjs","names":[],"sources":["../../../../../../../../../../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"],"sourcesContent":["'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CAEA,MAAM,iBAAe,OAAO;CAC5B,MAAM;CACN,MAAM;CAEN,SAAS,sBAAsB,QAAQ,gBAAgB;EACnD,MAAM,MAAM,OAAO,QAAQ,OAAO,QAAQ;EAC1C,MAAM,MAAM,QAAQ,KAAK;EACzB,MAAM,eAAe,OAAO,QAAQ,OAAO;EAE3C,MAAM,kBAAkB,gBAAgB,QAAQ,UAAU,UAAa,CAAC,QAAQ,MAAM;AAItF,MAAI,gBACA,KAAI;AACA,WAAQ,MAAM,OAAO,QAAQ,IAAI;WAC5B,KAAK;EAKlB,IAAI;AAEJ,MAAI;AACA,cAAW,MAAM,KAAK,OAAO,SAAS;IAClC,MAAM,IAAI,WAAW,EAAE,KAAK,CAAC;IAC7B,SAAS,iBAAiB,KAAK,YAAY;IAC9C,CAAC;WACG,GAAG,WAEF;AACN,OAAI,gBACA,SAAQ,MAAM,IAAI;;AAM1B,MAAI,SACA,YAAW,KAAK,QAAQ,eAAe,OAAO,QAAQ,MAAM,IAAI,SAAS;AAG7E,SAAO;;CAGX,SAAS,eAAe,QAAQ;AAC5B,SAAO,sBAAsB,OAAO,IAAI,sBAAsB,QAAQ,KAAK;;AAG/E,QAAO,UAAU"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { __commonJS, __require } from "../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
import { require_windows } from "./windows.mjs";
|
|
3
|
-
import { require_mode } from "./mode.mjs";
|
|
4
|
-
|
|
5
|
-
//#region ../../node_modules/.bun/isexe@2.0.0/node_modules/isexe/index.js
|
|
6
|
-
var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/isexe@2.0.0/node_modules/isexe/index.js": ((exports, module) => {
|
|
7
|
-
__require("fs");
|
|
8
|
-
var core;
|
|
9
|
-
if (process.platform === "win32" || global.TESTING_WINDOWS) core = require_windows();
|
|
10
|
-
else core = require_mode();
|
|
11
|
-
module.exports = isexe;
|
|
12
|
-
isexe.sync = sync;
|
|
13
|
-
function isexe(path, options, cb) {
|
|
14
|
-
if (typeof options === "function") {
|
|
15
|
-
cb = options;
|
|
16
|
-
options = {};
|
|
17
|
-
}
|
|
18
|
-
if (!cb) {
|
|
19
|
-
if (typeof Promise !== "function") throw new TypeError("callback not provided");
|
|
20
|
-
return new Promise(function(resolve, reject) {
|
|
21
|
-
isexe(path, options || {}, function(er, is) {
|
|
22
|
-
if (er) reject(er);
|
|
23
|
-
else resolve(is);
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
core(path, options || {}, function(er, is) {
|
|
28
|
-
if (er) {
|
|
29
|
-
if (er.code === "EACCES" || options && options.ignoreErrors) {
|
|
30
|
-
er = null;
|
|
31
|
-
is = false;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
cb(er, is);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
function sync(path, options) {
|
|
38
|
-
try {
|
|
39
|
-
return core.sync(path, options || {});
|
|
40
|
-
} catch (er) {
|
|
41
|
-
if (options && options.ignoreErrors || er.code === "EACCES") return false;
|
|
42
|
-
else throw er;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}) });
|
|
46
|
-
|
|
47
|
-
//#endregion
|
|
48
|
-
export default require_isexe();
|
|
49
|
-
|
|
50
|
-
export { require_isexe };
|
|
51
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../../../node_modules/.bun/isexe@2.0.0/node_modules/isexe/index.js"],"sourcesContent":["var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAAS,WAAQ,KAAK;CACtB,IAAI;AACJ,KAAI,QAAQ,aAAa,WAAW,OAAO,gBACzC;KAEA;AAGF,QAAO,UAAU;AACjB,OAAM,OAAO;CAEb,SAAS,MAAO,MAAM,SAAS,IAAI;AACjC,MAAI,OAAO,YAAY,YAAY;AACjC,QAAK;AACL,aAAU,EAAE;;AAGd,MAAI,CAAC,IAAI;AACP,OAAI,OAAO,YAAY,WACrB,OAAM,IAAI,UAAU,wBAAwB;AAG9C,UAAO,IAAI,QAAQ,SAAU,SAAS,QAAQ;AAC5C,UAAM,MAAM,WAAW,EAAE,EAAE,SAAU,IAAI,IAAI;AAC3C,SAAI,GACF,QAAO,GAAG;SAEV,SAAQ,GAAG;MAEb;KACF;;AAGJ,OAAK,MAAM,WAAW,EAAE,EAAE,SAAU,IAAI,IAAI;AAE1C,OAAI,IACF;QAAI,GAAG,SAAS,YAAY,WAAW,QAAQ,cAAc;AAC3D,UAAK;AACL,UAAK;;;AAGT,MAAG,IAAI,GAAG;IACV;;CAGJ,SAAS,KAAM,MAAM,SAAS;AAE5B,MAAI;AACF,UAAO,KAAK,KAAK,MAAM,WAAW,EAAE,CAAC;WAC9B,IAAI;AACX,OAAI,WAAW,QAAQ,gBAAgB,GAAG,SAAS,SACjD,QAAO;OAEP,OAAM"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __commonJS, __require } from "../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.bun/isexe@2.0.0/node_modules/isexe/mode.js
|
|
4
|
-
var require_mode = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/isexe@2.0.0/node_modules/isexe/mode.js": ((exports, module) => {
|
|
5
|
-
module.exports = isexe;
|
|
6
|
-
isexe.sync = sync;
|
|
7
|
-
var fs = __require("fs");
|
|
8
|
-
function isexe(path, options, cb) {
|
|
9
|
-
fs.stat(path, function(er, stat) {
|
|
10
|
-
cb(er, er ? false : checkStat(stat, options));
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
function sync(path, options) {
|
|
14
|
-
return checkStat(fs.statSync(path), options);
|
|
15
|
-
}
|
|
16
|
-
function checkStat(stat, options) {
|
|
17
|
-
return stat.isFile() && checkMode(stat, options);
|
|
18
|
-
}
|
|
19
|
-
function checkMode(stat, options) {
|
|
20
|
-
var mod = stat.mode;
|
|
21
|
-
var uid = stat.uid;
|
|
22
|
-
var gid = stat.gid;
|
|
23
|
-
var myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid();
|
|
24
|
-
var myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid();
|
|
25
|
-
var u = parseInt("100", 8);
|
|
26
|
-
var g = parseInt("010", 8);
|
|
27
|
-
var o = parseInt("001", 8);
|
|
28
|
-
var ug = u | g;
|
|
29
|
-
return mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
|
|
30
|
-
}
|
|
31
|
-
}) });
|
|
32
|
-
|
|
33
|
-
//#endregion
|
|
34
|
-
export default require_mode();
|
|
35
|
-
|
|
36
|
-
export { require_mode };
|
|
37
|
-
//# sourceMappingURL=mode.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mode.mjs","names":[],"sources":["../../../../../../../../../node_modules/.bun/isexe@2.0.0/node_modules/isexe/mode.js"],"sourcesContent":["module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;AAAA,QAAO,UAAU;AACjB,OAAM,OAAO;CAEb,IAAI,eAAa,KAAK;CAEtB,SAAS,MAAO,MAAM,SAAS,IAAI;AACjC,KAAG,KAAK,MAAM,SAAU,IAAI,MAAM;AAChC,MAAG,IAAI,KAAK,QAAQ,UAAU,MAAM,QAAQ,CAAC;IAC7C;;CAGJ,SAAS,KAAM,MAAM,SAAS;AAC5B,SAAO,UAAU,GAAG,SAAS,KAAK,EAAE,QAAQ;;CAG9C,SAAS,UAAW,MAAM,SAAS;AACjC,SAAO,KAAK,QAAQ,IAAI,UAAU,MAAM,QAAQ;;CAGlD,SAAS,UAAW,MAAM,SAAS;EACjC,IAAI,MAAM,KAAK;EACf,IAAI,MAAM,KAAK;EACf,IAAI,MAAM,KAAK;EAEf,IAAI,QAAQ,QAAQ,QAAQ,SAC1B,QAAQ,MAAM,QAAQ,UAAU,QAAQ,QAAQ;EAClD,IAAI,QAAQ,QAAQ,QAAQ,SAC1B,QAAQ,MAAM,QAAQ,UAAU,QAAQ,QAAQ;EAElD,IAAI,IAAI,SAAS,OAAO,EAAE;EAC1B,IAAI,IAAI,SAAS,OAAO,EAAE;EAC1B,IAAI,IAAI,SAAS,OAAO,EAAE;EAC1B,IAAI,KAAK,IAAI;AAOb,SALW,MAAM,KACd,MAAM,KAAM,QAAQ,SACpB,MAAM,KAAM,QAAQ,SACpB,MAAM,MAAO,UAAU"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __commonJS, __require } from "../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.bun/isexe@2.0.0/node_modules/isexe/windows.js
|
|
4
|
-
var require_windows = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/isexe@2.0.0/node_modules/isexe/windows.js": ((exports, module) => {
|
|
5
|
-
module.exports = isexe;
|
|
6
|
-
isexe.sync = sync;
|
|
7
|
-
var fs = __require("fs");
|
|
8
|
-
function checkPathExt(path, options) {
|
|
9
|
-
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
10
|
-
if (!pathext) return true;
|
|
11
|
-
pathext = pathext.split(";");
|
|
12
|
-
if (pathext.indexOf("") !== -1) return true;
|
|
13
|
-
for (var i = 0; i < pathext.length; i++) {
|
|
14
|
-
var p = pathext[i].toLowerCase();
|
|
15
|
-
if (p && path.substr(-p.length).toLowerCase() === p) return true;
|
|
16
|
-
}
|
|
17
|
-
return false;
|
|
18
|
-
}
|
|
19
|
-
function checkStat(stat, path, options) {
|
|
20
|
-
if (!stat.isSymbolicLink() && !stat.isFile()) return false;
|
|
21
|
-
return checkPathExt(path, options);
|
|
22
|
-
}
|
|
23
|
-
function isexe(path, options, cb) {
|
|
24
|
-
fs.stat(path, function(er, stat) {
|
|
25
|
-
cb(er, er ? false : checkStat(stat, path, options));
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
function sync(path, options) {
|
|
29
|
-
return checkStat(fs.statSync(path), path, options);
|
|
30
|
-
}
|
|
31
|
-
}) });
|
|
32
|
-
|
|
33
|
-
//#endregion
|
|
34
|
-
export default require_windows();
|
|
35
|
-
|
|
36
|
-
export { require_windows };
|
|
37
|
-
//# sourceMappingURL=windows.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"windows.mjs","names":[],"sources":["../../../../../../../../../node_modules/.bun/isexe@2.0.0/node_modules/isexe/windows.js"],"sourcesContent":["module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;AAAA,QAAO,UAAU;AACjB,OAAM,OAAO;CAEb,IAAI,eAAa,KAAK;CAEtB,SAAS,aAAc,MAAM,SAAS;EACpC,IAAI,UAAU,QAAQ,YAAY,SAChC,QAAQ,UAAU,QAAQ,IAAI;AAEhC,MAAI,CAAC,QACH,QAAO;AAGT,YAAU,QAAQ,MAAM,IAAI;AAC5B,MAAI,QAAQ,QAAQ,GAAG,KAAK,GAC1B,QAAO;AAET,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAK;GACvC,IAAI,IAAI,QAAQ,GAAG,aAAa;AAChC,OAAI,KAAK,KAAK,OAAO,CAAC,EAAE,OAAO,CAAC,aAAa,KAAK,EAChD,QAAO;;AAGX,SAAO;;CAGT,SAAS,UAAW,MAAM,MAAM,SAAS;AACvC,MAAI,CAAC,KAAK,gBAAgB,IAAI,CAAC,KAAK,QAAQ,CAC1C,QAAO;AAET,SAAO,aAAa,MAAM,QAAQ;;CAGpC,SAAS,MAAO,MAAM,SAAS,IAAI;AACjC,KAAG,KAAK,MAAM,SAAU,IAAI,MAAM;AAChC,MAAG,IAAI,KAAK,QAAQ,UAAU,MAAM,MAAM,QAAQ,CAAC;IACnD;;CAGJ,SAAS,KAAM,MAAM,SAAS;AAC5B,SAAO,UAAU,GAAG,SAAS,KAAK,EAAE,MAAM,QAAQ"}
|