@shopify/cli 3.73.2 → 3.74.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/assets/dev-console/extensions/dev-console/assets/{index-D7F9wNys.js → index-lyGm6l3x.js} +12 -12
- package/dist/assets/dev-console/index.html +2 -2
- package/dist/assets/speedscope/SourceCodePro-Regular.ttf.f546cbe0.woff2 +0 -0
- package/dist/assets/speedscope/demangle-cpp.1768f4cc.js +4 -0
- package/dist/assets/speedscope/favicon-16x16.f74b3187.png +0 -0
- package/dist/assets/speedscope/favicon-32x32.bc503437.png +0 -0
- package/dist/assets/speedscope/file-format-schema.json +324 -0
- package/dist/assets/speedscope/import.bcbb2033.js +123 -0
- package/dist/assets/speedscope/index.html +2 -0
- package/dist/assets/speedscope/perf-vertx-stacks-01-collapsed-all.2681da68.txt +199 -0
- package/dist/assets/speedscope/release.txt +3 -0
- package/dist/assets/speedscope/reset.8c46b7a1.css +2 -0
- package/dist/assets/speedscope/source-code-pro.52b1676f.css +2 -0
- package/dist/assets/speedscope/source-code-pro.LICENSE.md +93 -0
- package/dist/assets/speedscope/source-map.438fa06b.js +24 -0
- package/dist/assets/speedscope/speedscope.6f107512.js +193 -0
- package/dist/{chokidar-5LLC6S6D.js → chokidar-BLUAYFAB.js} +13 -1044
- package/dist/chokidar-OATAHMV6.js +1122 -0
- package/dist/chunk-3I3GQNEW.js +95 -0
- package/dist/{chunk-ZQ55XXD5.js → chunk-4VWVAF7H.js} +3 -3
- package/dist/chunk-57Q6OQG4.js +111 -0
- package/dist/{chunk-MHUINF7I.js → chunk-5CLGH5PH.js} +2 -2
- package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
- package/dist/{chunk-O73CKGH7.js → chunk-5L3V3XN7.js} +4 -4
- package/dist/{chunk-PJZVGRJ6.js → chunk-6J2OGZ3N.js} +2 -2
- package/dist/{chunk-AWW6JHWH.js → chunk-6N46HJWX.js} +4 -4
- package/dist/{chunk-Y2KXNORY.js → chunk-7DCZ4PEB.js} +3 -3
- package/dist/{chunk-2GWO5FJL.js → chunk-7HJY7CZB.js} +7 -7
- package/dist/{chunk-ZX3L2JKV.js → chunk-AKL7T64Q.js} +80 -133
- package/dist/{chunk-YMB5HUU3.js → chunk-AQFGEPN5.js} +8 -8
- package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
- package/dist/{chunk-SVSIFM5Y.js → chunk-BGCAU2LM.js} +2 -2
- package/dist/{chunk-GSPOKRGB.js → chunk-C2KCEZK7.js} +2 -2
- package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
- package/dist/{chunk-SBPFWO4S.js → chunk-CDQA3SST.js} +56182 -37290
- package/dist/{chunk-ES3T7FIW.js → chunk-CGXWFHRF.js} +3 -3
- package/dist/{chunk-YP35ARHU.js → chunk-CKTTNTVQ.js} +41 -23
- package/dist/chunk-CP3BRHWK.js +33 -0
- package/dist/{chunk-7VQ2QADA.js → chunk-DDHWVLT7.js} +333 -156
- package/dist/{chunk-LLWX47E4.js → chunk-DH65BORI.js} +7 -9
- package/dist/{chunk-2RKSPXIM.js → chunk-DNKTPUYV.js} +5 -7
- package/dist/chunk-EMPP4I5H.js +497 -0
- package/dist/{chunk-KETZRITQ.js → chunk-FKB56THZ.js} +5 -5
- package/dist/{chunk-WNQ6HYKJ.js → chunk-GSDR4V4C.js} +3 -3
- package/dist/{chunk-XEZJEXCU.js → chunk-H6V3ZAMP.js} +2 -2
- package/dist/{chunk-KUM3DVPF.js → chunk-HMDWNGIV.js} +142 -471
- package/dist/{chunk-WKN62GWH.js → chunk-IVI5VH2V.js} +502 -699
- package/dist/{chunk-KXGCBBJW.js → chunk-L5L7GDSR.js} +2 -2
- package/dist/chunk-LOKVDI3S.js +1137 -0
- package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
- package/dist/{chunk-7TAOK36E.js → chunk-MCL7WC6G.js} +4 -4
- package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
- package/dist/{chunk-5NHIBL5K.js → chunk-P6UIGUUZ.js} +2 -2
- package/dist/{chunk-2QGVACPR.js → chunk-PLIMIFMY.js} +3 -3
- package/dist/{chunk-Y43XESY2.js → chunk-POBZPEHK.js} +6442 -3165
- package/dist/{chunk-FJHGD37G.js → chunk-POKIPHUC.js} +3 -3
- package/dist/{chunk-NQFTYLP6.js → chunk-QVSOZYZT.js} +3 -3
- package/dist/{chunk-DVCOVWXF.js → chunk-RAAPXB5S.js} +3 -3
- package/dist/chunk-S7L4E7JJ.js +15933 -0
- package/dist/{chunk-2EKHINO6.js → chunk-TKPN642B.js} +5 -7
- package/dist/{chunk-IY7TUSI2.js → chunk-TLXMY7OM.js} +498 -412
- package/dist/{chunk-52WEPVL5.js → chunk-VKUWRIWE.js} +4 -4
- package/dist/{chunk-ZOCACHGF.js → chunk-WYNFQEFV.js} +3 -3
- package/dist/{chunk-ONK6AXDE.js → chunk-X2GSBUQM.js} +4 -4
- package/dist/{chunk-LVEURM2X.js → chunk-XCOZPDGL.js} +16 -2
- package/dist/{chunk-CKC5C2DR.js → chunk-Z4WWAZEY.js} +4 -4
- package/dist/cli/commands/auth/logout.js +20 -19
- package/dist/cli/commands/auth/logout.test.js +22 -21
- package/dist/cli/commands/cache/clear.js +19 -18
- package/dist/cli/commands/debug/command-flags.js +19 -18
- package/dist/cli/commands/docs/generate.js +19 -18
- package/dist/cli/commands/docs/generate.test.js +20 -19
- package/dist/cli/commands/help.js +19 -18
- package/dist/cli/commands/kitchen-sink/async.js +20 -19
- package/dist/cli/commands/kitchen-sink/async.test.js +21 -20
- package/dist/cli/commands/kitchen-sink/index.js +22 -21
- package/dist/cli/commands/kitchen-sink/index.test.js +23 -22
- package/dist/cli/commands/kitchen-sink/prompts.js +20 -19
- package/dist/cli/commands/kitchen-sink/prompts.test.js +21 -20
- package/dist/cli/commands/kitchen-sink/static.js +20 -19
- package/dist/cli/commands/kitchen-sink/static.test.js +21 -20
- package/dist/cli/commands/notifications/generate.js +20 -19
- package/dist/cli/commands/notifications/list.js +20 -19
- package/dist/cli/commands/search.js +20 -19
- package/dist/cli/commands/upgrade.js +20 -19
- package/dist/cli/commands/upgrade.test.js +2 -1
- package/dist/cli/commands/version.js +20 -19
- package/dist/cli/commands/version.test.js +21 -20
- package/dist/cli/services/commands/notifications.js +14 -13
- package/dist/cli/services/commands/search.js +9 -8
- package/dist/cli/services/commands/search.test.js +10 -9
- package/dist/cli/services/commands/version.js +10 -9
- package/dist/cli/services/commands/version.test.js +12 -11
- package/dist/cli/services/kitchen-sink/async.js +9 -8
- package/dist/cli/services/kitchen-sink/prompts.js +9 -8
- package/dist/cli/services/kitchen-sink/static.js +9 -8
- package/dist/cli/services/upgrade.d.ts +0 -1
- package/dist/cli/services/upgrade.js +11 -10
- package/dist/cli/services/upgrade.test.js +14 -13
- package/dist/configs/all.yml +6 -0
- package/dist/configs/recommended.yml +6 -0
- package/dist/{custom-oclif-loader-4X7Y4CNS.js → custom-oclif-loader-YCFOTKOV.js} +9 -8
- package/dist/{del-P2RS6GN2.js → del-FBU5JYXS.js} +4 -4
- package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
- package/dist/{error-handler-KHFKBXR4.js → error-handler-S6ZLT6DF.js} +17 -16
- package/dist/hooks/postrun.js +18 -16
- package/dist/hooks/prerun.js +15 -14
- package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
- package/dist/index.js +18715 -17414
- package/dist/lib-E2DSNKUX.js +13 -0
- package/dist/{local-PBMBK3CF.js → local-62JTGJVG.js} +11 -10
- package/dist/{morph-OSHCID2F.js → morph-ACVSDUS7.js} +3 -3
- package/dist/{node-ENALIQ2H.js → node-M7KO76D7.js} +23 -20
- package/dist/{node-package-manager-CVGCLCTC.js → node-package-manager-RXCBZVWU.js} +11 -10
- package/dist/{npa-TM76BGG3.js → npa-JAX2F6CO.js} +2 -2
- package/dist/out-AZBX4ITJ.js +7 -0
- package/dist/{path-2HZUSAGR.js → path-2K5HIMHZ.js} +3 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-BBB46DQS.js → ui-CEJ6R3AV.js} +9 -8
- package/dist/{workerd-F7DWDIYO.js → workerd-WLX2SY5E.js} +23 -20
- package/oclif.manifest.json +103 -2
- package/package.json +9 -9
- package/LICENSE +0 -8
- package/dist/chunk-KIOWYILS.js +0 -3811
- package/dist/chunk-R4HZPLY4.js +0 -15746
- package/dist/lib-QZGSY5YB.js +0 -13
- package/dist/out-JR4DWQ2G.js +0 -7
- /package/dist/assets/dev-console/extensions/dev-console/assets/{index-Cgb-oKsM.css → index-n8yr6cxq.css} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6J2OGZ3N.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DH65BORI.js";
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CDQA3SST.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_cjs_shims
|
|
@@ -45,4 +45,4 @@ var import_core = __toESM(require_lib(), 1), Search = class _Search extends base
|
|
|
45
45
|
export {
|
|
46
46
|
Search
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-5L3V3XN7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openURL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TLXMY7OM.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -15,4 +15,4 @@ async function searchService(query) {
|
|
|
15
15
|
export {
|
|
16
16
|
searchService
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-6J2OGZ3N.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
findUpAndReadPackageJson,
|
|
5
5
|
getPackageManager,
|
|
6
6
|
usesWorkspaces
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IVI5VH2V.js";
|
|
8
8
|
import {
|
|
9
9
|
AbortError,
|
|
10
10
|
exec,
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
outputSuccess,
|
|
16
16
|
outputToken,
|
|
17
17
|
outputWarn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TLXMY7OM.js";
|
|
19
19
|
import {
|
|
20
20
|
dirname,
|
|
21
21
|
joinPath,
|
|
22
22
|
moduleDirectory
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-57Q6OQG4.js";
|
|
24
24
|
import {
|
|
25
25
|
init_cjs_shims
|
|
26
26
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -139,4 +139,4 @@ function usingPackageManager({ env } = { env: process.env }) {
|
|
|
139
139
|
export {
|
|
140
140
|
upgrade
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=chunk-
|
|
142
|
+
//# sourceMappingURL=chunk-6N46HJWX.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C2KCEZK7.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DH65BORI.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkPrompts = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkPrompts
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-7DCZ4PEB.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetch,
|
|
3
|
-
jsonOutputEnabled,
|
|
4
3
|
z
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DDHWVLT7.js";
|
|
6
5
|
import {
|
|
7
6
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L5L7GDSR.js";
|
|
9
8
|
import {
|
|
10
9
|
cacheRetrieve,
|
|
11
10
|
cacheRetrieveOrRepopulate,
|
|
12
11
|
cacheStore,
|
|
13
12
|
versionSatisfies
|
|
14
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IVI5VH2V.js";
|
|
15
14
|
import {
|
|
16
15
|
AbortSilentError,
|
|
17
16
|
isTruthy,
|
|
17
|
+
jsonOutputEnabled,
|
|
18
18
|
outputDebug,
|
|
19
19
|
renderError,
|
|
20
20
|
renderInfo,
|
|
21
21
|
renderWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TLXMY7OM.js";
|
|
23
23
|
import {
|
|
24
24
|
init_cjs_shims
|
|
25
25
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -74,7 +74,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
74
74
|
throw new AbortSilentError();
|
|
75
75
|
let errorMessage = `Error retrieving notifications: ${error.message}`;
|
|
76
76
|
outputDebug(errorMessage);
|
|
77
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
77
|
+
let { sendErrorToBugsnag } = await import("./error-handler-S6ZLT6DF.js");
|
|
78
78
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -162,4 +162,4 @@ export {
|
|
|
162
162
|
getNotifications,
|
|
163
163
|
stringifyFilters
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-7HJY7CZB.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolve
|
|
3
|
+
} from "./chunk-CDBXAE2F.js";
|
|
1
4
|
import {
|
|
2
5
|
__commonJS,
|
|
3
6
|
__export,
|
|
@@ -900,7 +903,7 @@ var require_build = __commonJS({
|
|
|
900
903
|
value: !0
|
|
901
904
|
});
|
|
902
905
|
exports.default = exports.DEFAULT_OPTIONS = void 0;
|
|
903
|
-
exports.format =
|
|
906
|
+
exports.format = format4;
|
|
904
907
|
exports.plugins = void 0;
|
|
905
908
|
var _ansiStyles = _interopRequireDefault(require_ansi_styles()), _collections = require_collections(), _AsymmetricMatcher = _interopRequireDefault(
|
|
906
909
|
require_AsymmetricMatcher()
|
|
@@ -1131,7 +1134,7 @@ ${indentationNext}`);
|
|
|
1131
1134
|
function createIndent(indent) {
|
|
1132
1135
|
return new Array(indent + 1).join(" ");
|
|
1133
1136
|
}
|
|
1134
|
-
function
|
|
1137
|
+
function format4(val, options) {
|
|
1135
1138
|
if (options && (validateOptions(options), options.plugins)) {
|
|
1136
1139
|
let plugin2 = findPlugin(options.plugins, val);
|
|
1137
1140
|
if (plugin2 !== null)
|
|
@@ -1154,7 +1157,7 @@ ${indentationNext}`);
|
|
|
1154
1157
|
ReactTestComponent: _ReactTestComponent.default
|
|
1155
1158
|
};
|
|
1156
1159
|
exports.plugins = plugins4;
|
|
1157
|
-
var _default =
|
|
1160
|
+
var _default = format4;
|
|
1158
1161
|
exports.default = _default;
|
|
1159
1162
|
}
|
|
1160
1163
|
});
|
|
@@ -1447,8 +1450,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1447
1450
|
return [key, object2[key]];
|
|
1448
1451
|
}), options, inspectProperty);
|
|
1449
1452
|
options.seen.pop();
|
|
1450
|
-
var
|
|
1451
|
-
return propertyContents && symbolContents && (
|
|
1453
|
+
var sep = "";
|
|
1454
|
+
return propertyContents && symbolContents && (sep = ", "), "{ ".concat(propertyContents).concat(sep).concat(symbolContents, " }");
|
|
1452
1455
|
}
|
|
1453
1456
|
var toStringTag = typeof Symbol < "u" && Symbol.toStringTag ? Symbol.toStringTag : !1;
|
|
1454
1457
|
function inspectClass(value, options) {
|
|
@@ -1956,8 +1959,8 @@ var require_pathval = __commonJS({
|
|
|
1956
1959
|
function hasProperty(obj, name) {
|
|
1957
1960
|
return typeof obj > "u" || obj === null ? !1 : name in Object(obj);
|
|
1958
1961
|
}
|
|
1959
|
-
function parsePath(
|
|
1960
|
-
var str =
|
|
1962
|
+
function parsePath(path) {
|
|
1963
|
+
var str = path.replace(/([^\\])\[/g, "$1.["), parts = str.match(/(\\\.|[^.]+?)+/g);
|
|
1961
1964
|
return parts.map(function(value) {
|
|
1962
1965
|
if (value === "constructor" || value === "__proto__" || value === "prototype")
|
|
1963
1966
|
return {};
|
|
@@ -1989,20 +1992,20 @@ var require_pathval = __commonJS({
|
|
|
1989
1992
|
}
|
|
1990
1993
|
}
|
|
1991
1994
|
}
|
|
1992
|
-
function getPathInfo(obj,
|
|
1993
|
-
var parsed = parsePath(
|
|
1995
|
+
function getPathInfo(obj, path) {
|
|
1996
|
+
var parsed = parsePath(path), last = parsed[parsed.length - 1], info = {
|
|
1994
1997
|
parent: parsed.length > 1 ? internalGetPathValue(obj, parsed, parsed.length - 1) : obj,
|
|
1995
1998
|
name: last.p || last.i,
|
|
1996
1999
|
value: internalGetPathValue(obj, parsed)
|
|
1997
2000
|
};
|
|
1998
2001
|
return info.exists = hasProperty(info.parent, info.name), info;
|
|
1999
2002
|
}
|
|
2000
|
-
function getPathValue(obj,
|
|
2001
|
-
var info = getPathInfo(obj,
|
|
2003
|
+
function getPathValue(obj, path) {
|
|
2004
|
+
var info = getPathInfo(obj, path);
|
|
2002
2005
|
return info.value;
|
|
2003
2006
|
}
|
|
2004
|
-
function setPathValue(obj,
|
|
2005
|
-
var parsed = parsePath(
|
|
2007
|
+
function setPathValue(obj, path, val) {
|
|
2008
|
+
var parsed = parsePath(path);
|
|
2006
2009
|
return internalSetPathValue(obj, val, parsed), obj;
|
|
2007
2010
|
}
|
|
2008
2011
|
module.exports = {
|
|
@@ -4409,8 +4412,8 @@ function clone(val, seen, options = defaultCloneOptions) {
|
|
|
4409
4412
|
}
|
|
4410
4413
|
function noop() {
|
|
4411
4414
|
}
|
|
4412
|
-
function objectAttr(source,
|
|
4413
|
-
let paths =
|
|
4415
|
+
function objectAttr(source, path, defaultValue = void 0) {
|
|
4416
|
+
let paths = path.replace(/\[(\d+)\]/g, ".$1").split("."), result = source;
|
|
4414
4417
|
for (let p of paths)
|
|
4415
4418
|
if (result = Object(result)[p], result === void 0)
|
|
4416
4419
|
return defaultValue;
|
|
@@ -5254,33 +5257,29 @@ function getNames(task) {
|
|
|
5254
5257
|
return names;
|
|
5255
5258
|
}
|
|
5256
5259
|
|
|
5257
|
-
// ../../node_modules/.pnpm
|
|
5258
|
-
init_cjs_shims();
|
|
5259
|
-
|
|
5260
|
-
// ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
5260
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/source-map.js
|
|
5261
5261
|
init_cjs_shims();
|
|
5262
|
-
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
5263
5262
|
function normalizeWindowsPath(input = "") {
|
|
5264
|
-
return input
|
|
5263
|
+
return !input || !input.includes("\\") ? input : input.replace(/\\/g, "/");
|
|
5265
5264
|
}
|
|
5266
5265
|
var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
5267
5266
|
function cwd() {
|
|
5268
|
-
return typeof process < "u"
|
|
5267
|
+
return typeof process < "u" ? process.cwd().replace(/\\/g, "/") : "/";
|
|
5269
5268
|
}
|
|
5270
|
-
var resolve = function(...arguments_) {
|
|
5269
|
+
var resolve$2 = function(...arguments_) {
|
|
5271
5270
|
arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
|
|
5272
5271
|
let resolvedPath = "", resolvedAbsolute = !1;
|
|
5273
5272
|
for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
|
|
5274
|
-
let
|
|
5275
|
-
!
|
|
5273
|
+
let path = index >= 0 ? arguments_[index] : cwd();
|
|
5274
|
+
!path || path.length === 0 || (resolvedPath = `${path}/${resolvedPath}`, resolvedAbsolute = isAbsolute(path));
|
|
5276
5275
|
}
|
|
5277
5276
|
return resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute), resolvedAbsolute && !isAbsolute(resolvedPath) ? `/${resolvedPath}` : resolvedPath.length > 0 ? resolvedPath : ".";
|
|
5278
5277
|
};
|
|
5279
|
-
function normalizeString(
|
|
5278
|
+
function normalizeString(path, allowAboveRoot) {
|
|
5280
5279
|
let res = "", lastSegmentLength = 0, lastSlash = -1, dots = 0, char = null;
|
|
5281
|
-
for (let index = 0; index <=
|
|
5282
|
-
if (index <
|
|
5283
|
-
char =
|
|
5280
|
+
for (let index = 0; index <= path.length; ++index) {
|
|
5281
|
+
if (index < path.length)
|
|
5282
|
+
char = path[index];
|
|
5284
5283
|
else {
|
|
5285
5284
|
if (char === "/")
|
|
5286
5285
|
break;
|
|
@@ -5300,7 +5299,7 @@ function normalizeString(path2, allowAboveRoot) {
|
|
|
5300
5299
|
}
|
|
5301
5300
|
allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
|
|
5302
5301
|
} else
|
|
5303
|
-
res.length > 0 ? res += `/${
|
|
5302
|
+
res.length > 0 ? res += `/${path.slice(lastSlash + 1, index)}` : res = path.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
|
|
5304
5303
|
lastSlash = index, dots = 0;
|
|
5305
5304
|
} else char === "." && dots !== -1 ? ++dots : dots = -1;
|
|
5306
5305
|
}
|
|
@@ -5308,58 +5307,6 @@ function normalizeString(path2, allowAboveRoot) {
|
|
|
5308
5307
|
}
|
|
5309
5308
|
var isAbsolute = function(p) {
|
|
5310
5309
|
return _IS_ABSOLUTE_RE.test(p);
|
|
5311
|
-
};
|
|
5312
|
-
|
|
5313
|
-
// ../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/source-map.js
|
|
5314
|
-
init_cjs_shims();
|
|
5315
|
-
function normalizeWindowsPath2(input = "") {
|
|
5316
|
-
return !input || !input.includes("\\") ? input : input.replace(/\\/g, "/");
|
|
5317
|
-
}
|
|
5318
|
-
var _IS_ABSOLUTE_RE2 = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
5319
|
-
function cwd2() {
|
|
5320
|
-
return typeof process < "u" ? process.cwd().replace(/\\/g, "/") : "/";
|
|
5321
|
-
}
|
|
5322
|
-
var resolve$2 = function(...arguments_) {
|
|
5323
|
-
arguments_ = arguments_.map((argument) => normalizeWindowsPath2(argument));
|
|
5324
|
-
let resolvedPath = "", resolvedAbsolute = !1;
|
|
5325
|
-
for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
|
|
5326
|
-
let path2 = index >= 0 ? arguments_[index] : cwd2();
|
|
5327
|
-
!path2 || path2.length === 0 || (resolvedPath = `${path2}/${resolvedPath}`, resolvedAbsolute = isAbsolute2(path2));
|
|
5328
|
-
}
|
|
5329
|
-
return resolvedPath = normalizeString2(resolvedPath, !resolvedAbsolute), resolvedAbsolute && !isAbsolute2(resolvedPath) ? `/${resolvedPath}` : resolvedPath.length > 0 ? resolvedPath : ".";
|
|
5330
|
-
};
|
|
5331
|
-
function normalizeString2(path2, allowAboveRoot) {
|
|
5332
|
-
let res = "", lastSegmentLength = 0, lastSlash = -1, dots = 0, char = null;
|
|
5333
|
-
for (let index = 0; index <= path2.length; ++index) {
|
|
5334
|
-
if (index < path2.length)
|
|
5335
|
-
char = path2[index];
|
|
5336
|
-
else {
|
|
5337
|
-
if (char === "/")
|
|
5338
|
-
break;
|
|
5339
|
-
char = "/";
|
|
5340
|
-
}
|
|
5341
|
-
if (char === "/") {
|
|
5342
|
-
if (!(lastSlash === index - 1 || dots === 1)) if (dots === 2) {
|
|
5343
|
-
if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
|
|
5344
|
-
if (res.length > 2) {
|
|
5345
|
-
let lastSlashIndex = res.lastIndexOf("/");
|
|
5346
|
-
lastSlashIndex === -1 ? (res = "", lastSegmentLength = 0) : (res = res.slice(0, lastSlashIndex), lastSegmentLength = res.length - 1 - res.lastIndexOf("/")), lastSlash = index, dots = 0;
|
|
5347
|
-
continue;
|
|
5348
|
-
} else if (res.length > 0) {
|
|
5349
|
-
res = "", lastSegmentLength = 0, lastSlash = index, dots = 0;
|
|
5350
|
-
continue;
|
|
5351
|
-
}
|
|
5352
|
-
}
|
|
5353
|
-
allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
|
|
5354
|
-
} else
|
|
5355
|
-
res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
|
|
5356
|
-
lastSlash = index, dots = 0;
|
|
5357
|
-
} else char === "." && dots !== -1 ? ++dots : dots = -1;
|
|
5358
|
-
}
|
|
5359
|
-
return res;
|
|
5360
|
-
}
|
|
5361
|
-
var isAbsolute2 = function(p) {
|
|
5362
|
-
return _IS_ABSOLUTE_RE2.test(p);
|
|
5363
5310
|
}, comma = 44, chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", intToChar = new Uint8Array(64), charToInt = new Uint8Array(128);
|
|
5364
5311
|
for (let i2 = 0; i2 < chars.length; i2++) {
|
|
5365
5312
|
let c2 = chars.charCodeAt(i2);
|
|
@@ -6010,7 +5957,7 @@ function createTestHook(name, handler) {
|
|
|
6010
5957
|
};
|
|
6011
5958
|
}
|
|
6012
5959
|
|
|
6013
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
5960
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/vi.YFlodzP_.js
|
|
6014
5961
|
init_cjs_shims();
|
|
6015
5962
|
|
|
6016
5963
|
// ../../node_modules/.pnpm/chai@4.4.1/node_modules/chai/index.mjs
|
|
@@ -6031,7 +5978,7 @@ __export(chai_exports, {
|
|
|
6031
5978
|
init_cjs_shims();
|
|
6032
5979
|
var import_index = __toESM(require_chai2(), 1), expect = import_index.default.expect, version = import_index.default.version, Assertion = import_index.default.Assertion, AssertionError = import_index.default.AssertionError, util = import_index.default.util, config = import_index.default.config, use = import_index.default.use, should = import_index.default.should, assert = import_index.default.assert, core = import_index.default.core, chai_default = import_index.default;
|
|
6033
5980
|
|
|
6034
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
5981
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/_commonjsHelpers.jjO7Zipk.js
|
|
6035
5982
|
init_cjs_shims();
|
|
6036
5983
|
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6037
5984
|
function getDefaultExportFromCjs(x) {
|
|
@@ -7703,16 +7650,16 @@ function parseAbsoluteUrl(input) {
|
|
|
7703
7650
|
return makeUrl(match[1], match[2] || "", match[3], match[4] || "", match[5] || "/", match[6] || "", match[7] || "");
|
|
7704
7651
|
}
|
|
7705
7652
|
function parseFileUrl(input) {
|
|
7706
|
-
let match = fileRegex.exec(input),
|
|
7707
|
-
return makeUrl("file:", "", match[1] || "", "", isAbsolutePath(
|
|
7653
|
+
let match = fileRegex.exec(input), path = match[2];
|
|
7654
|
+
return makeUrl("file:", "", match[1] || "", "", isAbsolutePath(path) ? path : "/" + path, match[3] || "", match[4] || "");
|
|
7708
7655
|
}
|
|
7709
|
-
function makeUrl(scheme, user, host, port,
|
|
7656
|
+
function makeUrl(scheme, user, host, port, path, query, hash) {
|
|
7710
7657
|
return {
|
|
7711
7658
|
scheme,
|
|
7712
7659
|
user,
|
|
7713
7660
|
host,
|
|
7714
7661
|
port,
|
|
7715
|
-
path
|
|
7662
|
+
path,
|
|
7716
7663
|
query,
|
|
7717
7664
|
hash,
|
|
7718
7665
|
type: UrlType2.Absolute
|
|
@@ -7734,11 +7681,11 @@ function parseUrl(input) {
|
|
|
7734
7681
|
let url = parseAbsoluteUrl("http://foo.com/" + input);
|
|
7735
7682
|
return url.scheme = "", url.host = "", url.type = input ? input.startsWith("?") ? UrlType2.Query : input.startsWith("#") ? UrlType2.Hash : UrlType2.RelativePath : UrlType2.Empty, url;
|
|
7736
7683
|
}
|
|
7737
|
-
function stripPathFilename(
|
|
7738
|
-
if (
|
|
7739
|
-
return
|
|
7740
|
-
let index =
|
|
7741
|
-
return
|
|
7684
|
+
function stripPathFilename(path) {
|
|
7685
|
+
if (path.endsWith("/.."))
|
|
7686
|
+
return path;
|
|
7687
|
+
let index = path.lastIndexOf("/");
|
|
7688
|
+
return path.slice(0, index + 1);
|
|
7742
7689
|
}
|
|
7743
7690
|
function mergePaths(url, base) {
|
|
7744
7691
|
normalizePath(base, base.type), url.path === "/" ? url.path = base.path : url.path = stripPathFilename(base.path) + url.path;
|
|
@@ -7759,10 +7706,10 @@ function normalizePath(url, type2) {
|
|
|
7759
7706
|
pieces[pointer++] = piece, positive++;
|
|
7760
7707
|
}
|
|
7761
7708
|
}
|
|
7762
|
-
let
|
|
7709
|
+
let path = "";
|
|
7763
7710
|
for (let i2 = 1; i2 < pointer; i2++)
|
|
7764
|
-
|
|
7765
|
-
(!
|
|
7711
|
+
path += "/" + pieces[i2];
|
|
7712
|
+
(!path || addTrailingSlash && !path.endsWith("/..")) && (path += "/"), url.path = path;
|
|
7766
7713
|
}
|
|
7767
7714
|
function resolve$1(input, base) {
|
|
7768
7715
|
if (!input && !base)
|
|
@@ -7798,8 +7745,8 @@ function resolve$1(input, base) {
|
|
|
7798
7745
|
case UrlType2.Query:
|
|
7799
7746
|
return queryHash;
|
|
7800
7747
|
case UrlType2.RelativePath: {
|
|
7801
|
-
let
|
|
7802
|
-
return
|
|
7748
|
+
let path = url.path.slice(1);
|
|
7749
|
+
return path ? isRelative(base || input) && !isRelative(path) ? "./" + path + queryHash : path + queryHash : queryHash || ".";
|
|
7803
7750
|
}
|
|
7804
7751
|
case UrlType2.AbsolutePath:
|
|
7805
7752
|
return url.path + queryHash;
|
|
@@ -7810,11 +7757,11 @@ function resolve$1(input, base) {
|
|
|
7810
7757
|
function resolve2(input, base) {
|
|
7811
7758
|
return base && !base.endsWith("/") && (base += "/"), resolve$1(input, base);
|
|
7812
7759
|
}
|
|
7813
|
-
function stripFilename(
|
|
7814
|
-
if (!
|
|
7760
|
+
function stripFilename(path) {
|
|
7761
|
+
if (!path)
|
|
7815
7762
|
return "";
|
|
7816
|
-
let index =
|
|
7817
|
-
return
|
|
7763
|
+
let index = path.lastIndexOf("/");
|
|
7764
|
+
return path.slice(0, index + 1);
|
|
7818
7765
|
}
|
|
7819
7766
|
var COLUMN2 = 0, SOURCES_INDEX2 = 1, SOURCE_LINE2 = 2, SOURCE_COLUMN2 = 3, NAMES_INDEX2 = 4;
|
|
7820
7767
|
function maybeSort(mappings, owned) {
|
|
@@ -8318,13 +8265,13 @@ var SnapshotClient = class {
|
|
|
8318
8265
|
// ../../node_modules/.pnpm/@vitest+runner@1.6.0/node_modules/@vitest/runner/dist/utils.js
|
|
8319
8266
|
init_cjs_shims();
|
|
8320
8267
|
|
|
8321
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
8268
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/tasks.IknbGB2n.js
|
|
8322
8269
|
init_cjs_shims();
|
|
8323
8270
|
function getFullName(task, separator = " > ") {
|
|
8324
8271
|
return getNames(task).join(separator);
|
|
8325
8272
|
}
|
|
8326
8273
|
|
|
8327
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
8274
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/global.CkGT_TMy.js
|
|
8328
8275
|
init_cjs_shims();
|
|
8329
8276
|
function getWorkerState() {
|
|
8330
8277
|
let workerState = globalThis.__vitest_worker__;
|
|
@@ -8345,13 +8292,13 @@ function getCurrentEnvironment() {
|
|
|
8345
8292
|
return state?.environment.name;
|
|
8346
8293
|
}
|
|
8347
8294
|
|
|
8348
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
8295
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/base.5NT-gWu5.js
|
|
8349
8296
|
init_cjs_shims();
|
|
8350
8297
|
function isChildProcess() {
|
|
8351
8298
|
return typeof process < "u" && !!process.send;
|
|
8352
8299
|
}
|
|
8353
8300
|
|
|
8354
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
8301
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/date.Ns1pGd_X.js
|
|
8355
8302
|
init_cjs_shims();
|
|
8356
8303
|
var RealDate = Date, now2 = null, MockDate = class _MockDate extends RealDate {
|
|
8357
8304
|
constructor(y, m, d, h, M2, s, ms) {
|
|
@@ -8391,7 +8338,7 @@ function resetDate() {
|
|
|
8391
8338
|
globalThis.Date = RealDate;
|
|
8392
8339
|
}
|
|
8393
8340
|
|
|
8394
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
8341
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/vi.YFlodzP_.js
|
|
8395
8342
|
function resetModules(modules, resetMocks = !1) {
|
|
8396
8343
|
let skipPaths = [
|
|
8397
8344
|
// Vitest
|
|
@@ -8404,8 +8351,8 @@ function resetModules(modules, resetMocks = !1) {
|
|
|
8404
8351
|
// don't clear mocks
|
|
8405
8352
|
...resetMocks ? [] : [/^mock:/]
|
|
8406
8353
|
];
|
|
8407
|
-
modules.forEach((mod,
|
|
8408
|
-
skipPaths.some((re) => re.test(
|
|
8354
|
+
modules.forEach((mod, path) => {
|
|
8355
|
+
skipPaths.some((re) => re.test(path)) || modules.invalidateModule(mod);
|
|
8409
8356
|
});
|
|
8410
8357
|
}
|
|
8411
8358
|
function waitNextTick() {
|
|
@@ -8419,8 +8366,8 @@ async function waitForImportsToResolve() {
|
|
|
8419
8366
|
mod.promise && !mod.evaluated && promises.push(mod.promise), mod.resolving && resolvingCount++;
|
|
8420
8367
|
!promises.length && !resolvingCount || (await Promise.allSettled(promises), await waitForImportsToResolve());
|
|
8421
8368
|
}
|
|
8422
|
-
function commonjsRequire(
|
|
8423
|
-
throw new Error('Could not dynamically require "' +
|
|
8369
|
+
function commonjsRequire(path) {
|
|
8370
|
+
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
8424
8371
|
}
|
|
8425
8372
|
var chaiSubset = { exports: {} };
|
|
8426
8373
|
(function(module, exports) {
|
|
@@ -9808,39 +9755,39 @@ function createVitest() {
|
|
|
9808
9755
|
hoisted(factory) {
|
|
9809
9756
|
return assertTypes(factory, '"vi.hoisted" factory', ["function"]), factory();
|
|
9810
9757
|
},
|
|
9811
|
-
mock(
|
|
9758
|
+
mock(path, factory) {
|
|
9812
9759
|
let importer = getImporter();
|
|
9813
9760
|
_mocker.queueMock(
|
|
9814
|
-
|
|
9761
|
+
path,
|
|
9815
9762
|
importer,
|
|
9816
|
-
factory ? () => factory(() => _mocker.importActual(
|
|
9763
|
+
factory ? () => factory(() => _mocker.importActual(path, importer, _mocker.getMockContext().callstack)) : void 0,
|
|
9817
9764
|
!0
|
|
9818
9765
|
);
|
|
9819
9766
|
},
|
|
9820
|
-
unmock(
|
|
9821
|
-
_mocker.queueUnmock(
|
|
9767
|
+
unmock(path) {
|
|
9768
|
+
_mocker.queueUnmock(path, getImporter());
|
|
9822
9769
|
},
|
|
9823
|
-
doMock(
|
|
9770
|
+
doMock(path, factory) {
|
|
9824
9771
|
let importer = getImporter();
|
|
9825
9772
|
_mocker.queueMock(
|
|
9826
|
-
|
|
9773
|
+
path,
|
|
9827
9774
|
importer,
|
|
9828
|
-
factory ? () => factory(() => _mocker.importActual(
|
|
9775
|
+
factory ? () => factory(() => _mocker.importActual(path, importer, _mocker.getMockContext().callstack)) : void 0,
|
|
9829
9776
|
!1
|
|
9830
9777
|
);
|
|
9831
9778
|
},
|
|
9832
|
-
doUnmock(
|
|
9833
|
-
_mocker.queueUnmock(
|
|
9779
|
+
doUnmock(path) {
|
|
9780
|
+
_mocker.queueUnmock(path, getImporter());
|
|
9834
9781
|
},
|
|
9835
|
-
async importActual(
|
|
9782
|
+
async importActual(path) {
|
|
9836
9783
|
return _mocker.importActual(
|
|
9837
|
-
|
|
9784
|
+
path,
|
|
9838
9785
|
getImporter(),
|
|
9839
9786
|
_mocker.getMockContext().callstack
|
|
9840
9787
|
);
|
|
9841
9788
|
},
|
|
9842
|
-
async importMock(
|
|
9843
|
-
return _mocker.importMock(
|
|
9789
|
+
async importMock(path) {
|
|
9790
|
+
return _mocker.importMock(path, getImporter());
|
|
9844
9791
|
},
|
|
9845
9792
|
// this is typed in the interface so it's not necessary to type it here
|
|
9846
9793
|
mocked(item, _options = {}) {
|
|
@@ -9896,13 +9843,13 @@ function createVitest() {
|
|
|
9896
9843
|
}
|
|
9897
9844
|
var vitest = createVitest(), vi = vitest;
|
|
9898
9845
|
|
|
9899
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
9846
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/index.js
|
|
9900
9847
|
init_cjs_shims();
|
|
9901
9848
|
|
|
9902
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
9849
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/benchmark.yGkUTKnC.js
|
|
9903
9850
|
init_cjs_shims();
|
|
9904
9851
|
|
|
9905
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
9852
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/index.SMVOaj7F.js
|
|
9906
9853
|
init_cjs_shims();
|
|
9907
9854
|
function getRunMode() {
|
|
9908
9855
|
return getWorkerState().config.mode;
|
|
@@ -9911,7 +9858,7 @@ function isRunningInBenchmark() {
|
|
|
9911
9858
|
return getRunMode() === "benchmark";
|
|
9912
9859
|
}
|
|
9913
9860
|
|
|
9914
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
9861
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/benchmark.yGkUTKnC.js
|
|
9915
9862
|
var benchFns = /* @__PURE__ */ new WeakMap(), benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
9916
9863
|
var bench = createBenchmark(
|
|
9917
9864
|
function(name, fn2 = noop, options = {}) {
|
|
@@ -9937,7 +9884,7 @@ function formatName2(name) {
|
|
|
9937
9884
|
return typeof name == "string" ? name : name instanceof Function ? name.name || "<anonymous>" : String(name);
|
|
9938
9885
|
}
|
|
9939
9886
|
|
|
9940
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
9887
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/run-once.Olz_Zkd8.js
|
|
9941
9888
|
init_cjs_shims();
|
|
9942
9889
|
var filesCount = /* @__PURE__ */ new Map(), cache = /* @__PURE__ */ new Map();
|
|
9943
9890
|
function runOnce(fn2, key) {
|
|
@@ -9953,7 +9900,7 @@ function isFirstRun() {
|
|
|
9953
9900
|
}, "__vitest_first_run__"), firstRun;
|
|
9954
9901
|
}
|
|
9955
9902
|
|
|
9956
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
9903
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/index.dI9lHwVn.js
|
|
9957
9904
|
init_cjs_shims();
|
|
9958
9905
|
function getRunningMode() {
|
|
9959
9906
|
return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
|
|
@@ -10041,7 +9988,7 @@ var assertType = noop2, VitestIndex = /* @__PURE__ */ Object.freeze({
|
|
|
10041
9988
|
vitest
|
|
10042
9989
|
});
|
|
10043
9990
|
|
|
10044
|
-
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.
|
|
9991
|
+
// ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/index.js
|
|
10045
9992
|
var expectTypeOf = dist.expectTypeOf;
|
|
10046
9993
|
|
|
10047
9994
|
export {
|
|
@@ -10646,4 +10593,4 @@ chai/lib/chai.js:
|
|
|
10646
10593
|
* @license MIT License
|
|
10647
10594
|
*)
|
|
10648
10595
|
*/
|
|
10649
|
-
//# sourceMappingURL=chunk-
|
|
10596
|
+
//# sourceMappingURL=chunk-AKL7T64Q.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DH65BORI.js";
|
|
4
4
|
import {
|
|
5
5
|
cacheClear
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IVI5VH2V.js";
|
|
7
7
|
import {
|
|
8
8
|
environmentVariables,
|
|
9
9
|
isTruthy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TLXMY7OM.js";
|
|
11
11
|
import {
|
|
12
12
|
require_lib
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CDQA3SST.js";
|
|
14
14
|
import {
|
|
15
15
|
__toESM,
|
|
16
16
|
init_cjs_shims
|
|
@@ -26,7 +26,7 @@ init_cjs_shims();
|
|
|
26
26
|
init_cjs_shims();
|
|
27
27
|
import { fileURLToPath } from "node:url";
|
|
28
28
|
async function launchCLI(options) {
|
|
29
|
-
let { errorHandler } = await import("./error-handler-
|
|
29
|
+
let { errorHandler } = await import("./error-handler-S6ZLT6DF.js"), { isDevelopment } = await import("./local-62JTGJVG.js"), oclif = await import("./lib-E2DSNKUX.js"), { ShopifyConfig } = await import("./custom-oclif-loader-YCFOTKOV.js");
|
|
30
30
|
isDevelopment() && (oclif.default.settings.debug = !0);
|
|
31
31
|
try {
|
|
32
32
|
let config = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
|
|
@@ -41,7 +41,7 @@ var import_core = __toESM(require_lib());
|
|
|
41
41
|
async function warnIfOldNodeVersion(versions = process.versions) {
|
|
42
42
|
let nodeVersion = versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
43
43
|
if (nodeMajorVersion < 18) {
|
|
44
|
-
let { renderWarning } = await import("./ui-
|
|
44
|
+
let { renderWarning } = await import("./ui-CEJ6R3AV.js");
|
|
45
45
|
renderWarning({
|
|
46
46
|
headline: "Upgrade to a supported Node version now.",
|
|
47
47
|
body: [
|
|
@@ -68,7 +68,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
|
|
|
68
68
|
return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await warnIfOldNodeVersion(versions), launchCLI2({ moduleURL: options.moduleURL });
|
|
69
69
|
}
|
|
70
70
|
async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
|
|
71
|
-
let { findUpAndReadPackageJson } = await import("./node-package-manager-
|
|
71
|
+
let { findUpAndReadPackageJson } = await import("./node-package-manager-RXCBZVWU.js"), { moduleDirectory } = await import("./path-2K5HIMHZ.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
72
72
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
73
73
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
74
74
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
jsonFlag,
|
|
118
118
|
ClearCache
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-AQFGEPN5.js.map
|