@shopify/cli 3.70.0 → 3.71.0
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/{lib-CPSRXLFM.js → chunk-2HGYYNE5.js} +5 -2
- package/dist/{chunk-5OP2SA7G.js → chunk-3AOK7V27.js} +214 -56
- package/dist/{chunk-PNN7RS7Y.js → chunk-3NSN5Z4N.js} +100 -11
- package/dist/{chunk-I3IIDOBX.js → chunk-455HYBGX.js} +3 -3
- package/dist/{chunk-BMNDAI5O.js → chunk-4G7SL7SU.js} +4 -4
- package/dist/{chunk-NH4U4X67.js → chunk-5F2WGMCL.js} +4 -4
- package/dist/{chunk-PJKCWDDX.js → chunk-5JZ5AGAQ.js} +548 -550
- package/dist/chunk-5OHM64KO.js +104 -0
- package/dist/{chunk-MRDDDATQ.js → chunk-675SL4FV.js} +3 -3
- package/dist/{chunk-WN3FKMKB.js → chunk-AXNBVGJC.js} +14 -19
- package/dist/{chunk-335KXO4I.js → chunk-BEVHUPQZ.js} +7 -7
- package/dist/{chunk-5QQTRGJ7.js → chunk-GJ7EWRH4.js} +4 -4
- package/dist/{chunk-KYBCPKPL.js → chunk-GV72NRZZ.js} +3 -3
- package/dist/{chunk-ZGHNMRBX.js → chunk-HSTSRNLJ.js} +121 -66
- package/dist/{chunk-JLK5OMFF.js → chunk-IGH7XTG6.js} +2 -2
- package/dist/{chunk-47OJGAFT.js → chunk-IJG6JLEF.js} +3 -3
- package/dist/{chunk-MH5JSAVK.js → chunk-IJSEKDUR.js} +3 -3
- package/dist/{chunk-NYFXBTWK.js → chunk-JTWM7VKM.js} +4 -4
- package/dist/{chunk-PKE54TAY.js → chunk-K6UZ5NEO.js} +7 -7
- package/dist/{chunk-FDJVVEGH.js → chunk-KBDH6IDK.js} +5 -7
- package/dist/{chunk-VFQMUAHB.js → chunk-KJJGDUT2.js} +4 -4
- package/dist/{chunk-N4X7XQWN.js → chunk-KOHDI3KN.js} +7 -3
- package/dist/{chunk-MX4RJDBM.js → chunk-KYB6A4PE.js} +1 -2
- package/dist/{chunk-VHAXHYTL.js → chunk-LMK5VFZE.js} +3 -3
- package/dist/{chunk-AT4IG4GJ.js → chunk-LSQU4XJZ.js} +9 -11
- package/dist/{chunk-ND6AGPC6.js → chunk-MG6EVKFQ.js} +3 -3
- package/dist/{chunk-TCTXUAZT.js → chunk-MHLSPYVQ.js} +3 -3
- package/dist/{chunk-CBD6UXLA.js → chunk-OJOHMVV7.js} +5 -5
- package/dist/{chunk-GDYKHT64.js → chunk-PDNTPE4N.js} +2805 -33
- package/dist/{chunk-X6F3DHKX.js → chunk-RQJF2YRM.js} +2 -2
- package/dist/{chunk-LN444KRM.js → chunk-RXYE2GI3.js} +2 -2
- package/dist/{chunk-UOZCMFCN.js → chunk-SVWWKVUI.js} +18 -13
- package/dist/{chunk-XSMWYZDC.js → chunk-T2BV6JEL.js} +10 -10
- package/dist/{chunk-N2DEYZD6.js → chunk-UDRKRTS4.js} +3 -3
- package/dist/{chunk-SYRHCENA.js → chunk-VNZQKLLO.js} +2 -2
- package/dist/{chunk-MQXHFQM3.js → chunk-WLNYFGYY.js} +4 -4
- package/dist/{chunk-NEOIQ6PN.js → chunk-WNDN5FAY.js} +2 -2
- package/dist/{chunk-DVTWERMH.js → chunk-WZW6P6AO.js} +5 -5
- package/dist/{chunk-MMQOVZDR.js → chunk-XOSZOZ3F.js} +5 -5
- package/dist/{chunk-WI6MEN7U.js → chunk-YNXUXQFM.js} +2 -2
- package/dist/{chunk-43YGIE7Y.js → chunk-YZA6BRN3.js} +2 -2
- package/dist/cli/commands/auth/logout.js +18 -20
- package/dist/cli/commands/auth/logout.test.js +24 -26
- package/dist/cli/commands/cache/clear.js +17 -19
- package/dist/cli/commands/debug/command-flags.js +17 -19
- package/dist/cli/commands/docs/generate.js +17 -19
- package/dist/cli/commands/docs/generate.test.js +18 -20
- package/dist/cli/commands/help.js +17 -19
- package/dist/cli/commands/kitchen-sink/async.js +18 -20
- package/dist/cli/commands/kitchen-sink/async.test.js +19 -21
- package/dist/cli/commands/kitchen-sink/index.js +20 -22
- package/dist/cli/commands/kitchen-sink/index.test.js +23 -25
- package/dist/cli/commands/kitchen-sink/prompts.js +18 -20
- package/dist/cli/commands/kitchen-sink/prompts.test.js +19 -21
- package/dist/cli/commands/kitchen-sink/static.js +18 -20
- package/dist/cli/commands/kitchen-sink/static.test.js +19 -21
- package/dist/cli/commands/notifications/generate.js +18 -20
- package/dist/cli/commands/notifications/list.js +18 -20
- package/dist/cli/commands/search.js +18 -20
- package/dist/cli/commands/upgrade.js +18 -20
- package/dist/cli/commands/upgrade.test.js +1 -2
- package/dist/cli/commands/version.js +18 -20
- package/dist/cli/commands/version.test.js +19 -21
- package/dist/cli/services/commands/notifications.js +12 -14
- package/dist/cli/services/commands/search.js +8 -9
- package/dist/cli/services/commands/search.test.js +9 -10
- package/dist/cli/services/commands/version.js +9 -10
- package/dist/cli/services/commands/version.test.js +11 -12
- package/dist/cli/services/kitchen-sink/async.js +8 -9
- package/dist/cli/services/kitchen-sink/prompts.js +8 -9
- package/dist/cli/services/kitchen-sink/static.js +8 -9
- package/dist/cli/services/upgrade.js +9 -10
- package/dist/cli/services/upgrade.test.js +12 -13
- package/dist/configs/all.yml +15 -0
- package/dist/configs/recommended.yml +9 -0
- package/dist/{custom-oclif-loader-IZLFCRGJ.js → custom-oclif-loader-U43F5H7M.js} +8 -9
- package/dist/data/filters.json +98 -3
- package/dist/data/latest.json +1 -1
- package/dist/data/manifest_theme.json +1 -0
- package/dist/data/objects.json +39 -1619
- package/dist/data/preset_blocks.json +78 -0
- package/dist/data/section.json +1 -42
- package/dist/data/shopify_system_translations.json +34 -7
- package/dist/data/tags.json +10 -0
- package/dist/data/theme_block.json +1 -19
- package/dist/{del-FEQWOMIX.js → del-K5ZJEWTD.js} +3 -3
- package/dist/{error-handler-DAI5HMQW.js → error-handler-GSXEX5NX.js} +15 -17
- package/dist/hooks/postrun.js +13 -15
- package/dist/hooks/prerun.js +15 -19
- package/dist/index.js +19503 -17452
- package/dist/lib-PPXZBVZX.js +6 -0
- package/dist/{lib-JJXX7GH6.js → lib-XYCLX35G.js} +5 -5
- package/dist/{local-QD6GDUUE.js → local-STC6NEOC.js} +10 -9
- package/dist/{morph-FN23MJ2S.js → morph-SEECJQ2W.js} +2 -2
- package/dist/{node-4XKDIIJ7.js → node-I54BR73K.js} +19 -21
- package/dist/{node-package-manager-IEZ6F5VN.js → node-package-manager-DUWCXRNZ.js} +9 -10
- package/dist/{out-ZDSLKX4N.js → out-MHEKZJWS.js} +2 -2
- package/dist/{path-T2RCZTRE.js → path-5SZGULBR.js} +2 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-BUB4OWO7.js → ui-GZXRHEXO.js} +8 -9
- package/dist/{workerd-DIIGDIHZ.js → workerd-WQ2CUXFS.js} +19 -21
- package/oclif.manifest.json +334 -131
- package/package.json +7 -8
- package/assets/demo-catalog.json +0 -655
- package/dist/assets/demo-catalog.json +0 -655
- package/dist/chunk-2PUMVRDO.js +0 -131
- package/dist/chunk-7GNQ7YY4.js +0 -116
- package/dist/chunk-E2SYFYJU.js +0 -58
- package/dist/chunk-NLUGD7PZ.js +0 -2731
- package/dist/chunk-P6ABWRKD.js +0 -59
- package/dist/chunk-QSUS3GJF.js +0 -3838
- package/dist/chunk-RUK73IAH.js +0 -312
- package/dist/chunk-T2GATXSP.js +0 -112
- package/dist/chunk-VT3VJHZ7.js +0 -45
- package/dist/chunk-XEDHKQZA.js +0 -116
- package/dist/cli/commands/demo/catalog.d.ts +0 -6
- package/dist/cli/commands/demo/catalog.js +0 -36
- package/dist/cli/commands/demo/generate-file.d.ts +0 -11
- package/dist/cli/commands/demo/generate-file.js +0 -37
- package/dist/cli/commands/demo/index.d.ts +0 -10
- package/dist/cli/commands/demo/index.js +0 -36
- package/dist/cli/commands/demo/print-ai-prompt.d.ts +0 -6
- package/dist/cli/commands/demo/print-ai-prompt.js +0 -37
- package/dist/cli/services/demo.d.ts +0 -26440
- package/dist/cli/services/demo.js +0 -25
- package/dist/cli/services/demo.test.js +0 -42
- package/dist/constants-QFFDI47A.js +0 -26
- package/dist/system-KSIGUX64.js +0 -29
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import {
|
|
2
|
+
base_command_default
|
|
3
|
+
} from "./chunk-BEVHUPQZ.js";
|
|
4
|
+
import {
|
|
5
|
+
cacheClear
|
|
6
|
+
} from "./chunk-KBDH6IDK.js";
|
|
7
|
+
import {
|
|
8
|
+
environmentVariables,
|
|
9
|
+
isTruthy
|
|
10
|
+
} from "./chunk-5JZ5AGAQ.js";
|
|
11
|
+
import {
|
|
12
|
+
require_lib
|
|
13
|
+
} from "./chunk-OJOHMVV7.js";
|
|
14
|
+
import {
|
|
15
|
+
__toESM,
|
|
16
|
+
init_cjs_shims
|
|
17
|
+
} from "./chunk-POZ5MGPT.js";
|
|
18
|
+
|
|
19
|
+
// src/cli/commands/cache/clear.ts
|
|
20
|
+
init_cjs_shims();
|
|
21
|
+
|
|
22
|
+
// ../cli-kit/dist/public/node/cli.js
|
|
23
|
+
init_cjs_shims();
|
|
24
|
+
var import_core = __toESM(require_lib());
|
|
25
|
+
async function warnIfOldNodeVersion(versions = process.versions) {
|
|
26
|
+
let nodeVersion = versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
27
|
+
if (nodeMajorVersion < 18) {
|
|
28
|
+
let { renderWarning } = await import("./ui-GZXRHEXO.js");
|
|
29
|
+
renderWarning({
|
|
30
|
+
headline: "Upgrade to a supported Node version now.",
|
|
31
|
+
body: [
|
|
32
|
+
`Node ${nodeMajorVersion} has reached end-of-life and poses security risks. When you upgrade to a`,
|
|
33
|
+
{
|
|
34
|
+
link: {
|
|
35
|
+
url: "https://nodejs.dev/en/about/previous-releases",
|
|
36
|
+
label: "supported version"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{ char: "," },
|
|
40
|
+
"you'll be able to use Shopify CLI without interruption."
|
|
41
|
+
]
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function setupEnvironmentVariables(options, argv = process.argv, env = process.env) {
|
|
46
|
+
argv.includes("--verbose") && (env.DEBUG = env.DEBUG ?? "*"), options.development && (env.SHOPIFY_CLI_ENV = env.SHOPIFY_CLI_ENV ?? "development");
|
|
47
|
+
}
|
|
48
|
+
function forceNoColor(argv = process.argv, env = process.env) {
|
|
49
|
+
(argv.includes("--no-color") || isTruthy(env.NO_COLOR) || isTruthy(env.SHOPIFY_FLAG_NO_COLOR) || env.TERM === "dumb") && (env.FORCE_COLOR = "0");
|
|
50
|
+
}
|
|
51
|
+
async function runCLI(options, launchCLI, argv = process.argv, env = process.env, versions = process.versions) {
|
|
52
|
+
return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await warnIfOldNodeVersion(versions), launchCLI({ moduleURL: options.moduleURL });
|
|
53
|
+
}
|
|
54
|
+
async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
|
|
55
|
+
let { findUpAndReadPackageJson } = await import("./node-package-manager-DUWCXRNZ.js"), { moduleDirectory } = await import("./path-5SZGULBR.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
56
|
+
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
57
|
+
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
58
|
+
argv.splice(initIndex2, 0, "init");
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
var globalFlags = {
|
|
62
|
+
"no-color": import_core.Flags.boolean({
|
|
63
|
+
hidden: !1,
|
|
64
|
+
description: "Disable color output.",
|
|
65
|
+
env: "SHOPIFY_FLAG_NO_COLOR"
|
|
66
|
+
}),
|
|
67
|
+
verbose: import_core.Flags.boolean({
|
|
68
|
+
hidden: !1,
|
|
69
|
+
description: "Increase the verbosity of the output.",
|
|
70
|
+
env: "SHOPIFY_FLAG_VERBOSE"
|
|
71
|
+
})
|
|
72
|
+
}, jsonFlag = {
|
|
73
|
+
json: import_core.Flags.boolean({
|
|
74
|
+
char: "j",
|
|
75
|
+
description: "Output the result as JSON.",
|
|
76
|
+
hidden: !1,
|
|
77
|
+
default: !1,
|
|
78
|
+
env: environmentVariables.json
|
|
79
|
+
})
|
|
80
|
+
};
|
|
81
|
+
function clearCache() {
|
|
82
|
+
cacheClear();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// src/cli/commands/cache/clear.ts
|
|
86
|
+
var ClearCache = class extends base_command_default {
|
|
87
|
+
static {
|
|
88
|
+
this.description = "Clear the CLI cache, used to store some API responses and handle notifications status";
|
|
89
|
+
}
|
|
90
|
+
static {
|
|
91
|
+
this.hidden = !0;
|
|
92
|
+
}
|
|
93
|
+
async run() {
|
|
94
|
+
clearCache();
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export {
|
|
99
|
+
runCLI,
|
|
100
|
+
globalFlags,
|
|
101
|
+
jsonFlag,
|
|
102
|
+
ClearCache
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=chunk-5OHM64KO.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MG6EVKFQ.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BEVHUPQZ.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
|
|
|
22
22
|
export {
|
|
23
23
|
Version
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-675SL4FV.js.map
|
|
@@ -4,19 +4,20 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
fanoutHooks,
|
|
6
6
|
reportAnalyticsEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LSQU4XJZ.js";
|
|
8
8
|
import {
|
|
9
9
|
getEnvironmentData
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
runWithRateLimit
|
|
13
|
-
} from "./chunk-FDJVVEGH.js";
|
|
10
|
+
} from "./chunk-3AOK7V27.js";
|
|
14
11
|
import {
|
|
15
12
|
CLI_KIT_VERSION
|
|
16
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YZA6BRN3.js";
|
|
14
|
+
import {
|
|
15
|
+
runWithRateLimit
|
|
16
|
+
} from "./chunk-KBDH6IDK.js";
|
|
17
17
|
import {
|
|
18
18
|
AbortSilentError,
|
|
19
19
|
CancelExecution,
|
|
20
|
+
bugsnagApiKey,
|
|
20
21
|
cleanSingleStackTracePath,
|
|
21
22
|
errorMapper,
|
|
22
23
|
getAllPublicMetadata,
|
|
@@ -24,24 +25,20 @@ import {
|
|
|
24
25
|
handler,
|
|
25
26
|
outputDebug,
|
|
26
27
|
outputInfo,
|
|
27
|
-
|
|
28
|
+
reportingRateLimit,
|
|
28
29
|
require_stacktracey,
|
|
29
30
|
shouldReportErrorAsUnexpected
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import {
|
|
32
|
-
bugsnagApiKey,
|
|
33
|
-
reportingRateLimit
|
|
34
|
-
} from "./chunk-XEDHKQZA.js";
|
|
31
|
+
} from "./chunk-5JZ5AGAQ.js";
|
|
35
32
|
import {
|
|
36
33
|
cwd,
|
|
37
34
|
isAbsolutePath,
|
|
38
35
|
joinPath,
|
|
39
36
|
normalizePath,
|
|
40
37
|
relativePath
|
|
41
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-3NSN5Z4N.js";
|
|
42
39
|
import {
|
|
43
40
|
require_lib
|
|
44
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OJOHMVV7.js";
|
|
45
42
|
import {
|
|
46
43
|
__commonJS,
|
|
47
44
|
__require,
|
|
@@ -2048,10 +2045,8 @@ import { realpath } from "fs/promises";
|
|
|
2048
2045
|
async function errorHandler(error, config) {
|
|
2049
2046
|
if (error instanceof CancelExecution)
|
|
2050
2047
|
error.message && error.message !== "" && outputInfo(`\u2728 ${error.message}`);
|
|
2051
|
-
else if (error instanceof AbortSilentError)
|
|
2052
|
-
|
|
2053
|
-
else
|
|
2054
|
-
return errorMapper(error).then((error2) => handler(error2)).then((mappedError) => (printEventsJson(), reportError(mappedError, config)));
|
|
2048
|
+
else if (!(error instanceof AbortSilentError))
|
|
2049
|
+
return errorMapper(error).then((error2) => handler(error2)).then((mappedError) => reportError(mappedError, config));
|
|
2055
2050
|
}
|
|
2056
2051
|
var reportError = async (error, config) => {
|
|
2057
2052
|
let exitMode = "expected_error";
|
|
@@ -2152,4 +2147,4 @@ export {
|
|
|
2152
2147
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2153
2148
|
addBugsnagMetadata
|
|
2154
2149
|
};
|
|
2155
|
-
//# sourceMappingURL=chunk-
|
|
2150
|
+
//# sourceMappingURL=chunk-AXNBVGJC.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
errorHandler,
|
|
3
3
|
registerCleanBugsnagErrorsFromWithinPlugins
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AXNBVGJC.js";
|
|
5
5
|
import {
|
|
6
6
|
setCurrentCommandId,
|
|
7
7
|
showNotificationsIfNeeded
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SVWWKVUI.js";
|
|
9
9
|
import {
|
|
10
10
|
hashString
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PDNTPE4N.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortError,
|
|
14
14
|
addPublicMetadata,
|
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
renderWarning,
|
|
25
25
|
terminalSupportsPrompting,
|
|
26
26
|
underscore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5JZ5AGAQ.js";
|
|
28
28
|
import {
|
|
29
29
|
cwd
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3NSN5Z4N.js";
|
|
31
31
|
import {
|
|
32
32
|
require_lib
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OJOHMVV7.js";
|
|
34
34
|
import {
|
|
35
35
|
__commonJS,
|
|
36
36
|
__require,
|
|
@@ -1686,4 +1686,4 @@ export {
|
|
|
1686
1686
|
encodeToml,
|
|
1687
1687
|
base_command_default
|
|
1688
1688
|
};
|
|
1689
|
-
//# sourceMappingURL=chunk-
|
|
1689
|
+
//# sourceMappingURL=chunk-BEVHUPQZ.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cliInstallCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MHLSPYVQ.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BEVHUPQZ.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInfo
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5JZ5AGAQ.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -34,4 +34,4 @@ var Upgrade = class extends base_command_default {
|
|
|
34
34
|
export {
|
|
35
35
|
Upgrade
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-GJ7EWRH4.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KOHDI3KN.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BEVHUPQZ.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkStatic = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkStatic
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-GV72NRZZ.js.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
resolve
|
|
3
|
-
} from "./chunk-PNN7RS7Y.js";
|
|
4
1
|
import {
|
|
5
2
|
__commonJS,
|
|
6
3
|
__export,
|
|
@@ -904,7 +901,7 @@ var require_build = __commonJS({
|
|
|
904
901
|
value: !0
|
|
905
902
|
});
|
|
906
903
|
exports.default = exports.DEFAULT_OPTIONS = void 0;
|
|
907
|
-
exports.format =
|
|
904
|
+
exports.format = format5;
|
|
908
905
|
exports.plugins = void 0;
|
|
909
906
|
var _ansiStyles = _interopRequireDefault(require_ansi_styles()), _collections = require_collections(), _AsymmetricMatcher = _interopRequireDefault(
|
|
910
907
|
require_AsymmetricMatcher()
|
|
@@ -1135,7 +1132,7 @@ ${indentationNext}`);
|
|
|
1135
1132
|
function createIndent(indent) {
|
|
1136
1133
|
return new Array(indent + 1).join(" ");
|
|
1137
1134
|
}
|
|
1138
|
-
function
|
|
1135
|
+
function format5(val, options) {
|
|
1139
1136
|
if (options && (validateOptions(options), options.plugins)) {
|
|
1140
1137
|
let plugin2 = findPlugin(options.plugins, val);
|
|
1141
1138
|
if (plugin2 !== null)
|
|
@@ -1158,7 +1155,7 @@ ${indentationNext}`);
|
|
|
1158
1155
|
ReactTestComponent: _ReactTestComponent.default
|
|
1159
1156
|
};
|
|
1160
1157
|
exports.plugins = plugins4;
|
|
1161
|
-
var _default =
|
|
1158
|
+
var _default = format5;
|
|
1162
1159
|
exports.default = _default;
|
|
1163
1160
|
}
|
|
1164
1161
|
});
|
|
@@ -1460,8 +1457,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1460
1457
|
return [key, object2[key]];
|
|
1461
1458
|
}), options, inspectProperty);
|
|
1462
1459
|
options.seen.pop();
|
|
1463
|
-
var
|
|
1464
|
-
return propertyContents && symbolContents && (
|
|
1460
|
+
var sep2 = "";
|
|
1461
|
+
return propertyContents && symbolContents && (sep2 = ", "), "{ ".concat(propertyContents).concat(sep2).concat(symbolContents, " }");
|
|
1465
1462
|
}
|
|
1466
1463
|
var toStringTag = typeof Symbol < "u" && Symbol.toStringTag ? Symbol.toStringTag : !1;
|
|
1467
1464
|
function inspectClass(value, options) {
|
|
@@ -1969,8 +1966,8 @@ var require_pathval = __commonJS({
|
|
|
1969
1966
|
function hasProperty(obj, name) {
|
|
1970
1967
|
return typeof obj > "u" || obj === null ? !1 : name in Object(obj);
|
|
1971
1968
|
}
|
|
1972
|
-
function parsePath(
|
|
1973
|
-
var str =
|
|
1969
|
+
function parsePath(path2) {
|
|
1970
|
+
var str = path2.replace(/([^\\])\[/g, "$1.["), parts = str.match(/(\\\.|[^.]+?)+/g);
|
|
1974
1971
|
return parts.map(function(value) {
|
|
1975
1972
|
if (value === "constructor" || value === "__proto__" || value === "prototype")
|
|
1976
1973
|
return {};
|
|
@@ -2002,20 +1999,20 @@ var require_pathval = __commonJS({
|
|
|
2002
1999
|
}
|
|
2003
2000
|
}
|
|
2004
2001
|
}
|
|
2005
|
-
function getPathInfo(obj,
|
|
2006
|
-
var parsed = parsePath(
|
|
2002
|
+
function getPathInfo(obj, path2) {
|
|
2003
|
+
var parsed = parsePath(path2), last = parsed[parsed.length - 1], info = {
|
|
2007
2004
|
parent: parsed.length > 1 ? internalGetPathValue(obj, parsed, parsed.length - 1) : obj,
|
|
2008
2005
|
name: last.p || last.i,
|
|
2009
2006
|
value: internalGetPathValue(obj, parsed)
|
|
2010
2007
|
};
|
|
2011
2008
|
return info.exists = hasProperty(info.parent, info.name), info;
|
|
2012
2009
|
}
|
|
2013
|
-
function getPathValue(obj,
|
|
2014
|
-
var info = getPathInfo(obj,
|
|
2010
|
+
function getPathValue(obj, path2) {
|
|
2011
|
+
var info = getPathInfo(obj, path2);
|
|
2015
2012
|
return info.value;
|
|
2016
2013
|
}
|
|
2017
|
-
function setPathValue(obj,
|
|
2018
|
-
var parsed = parsePath(
|
|
2014
|
+
function setPathValue(obj, path2, val) {
|
|
2015
|
+
var parsed = parsePath(path2);
|
|
2019
2016
|
return internalSetPathValue(obj, val, parsed), obj;
|
|
2020
2017
|
}
|
|
2021
2018
|
module.exports = {
|
|
@@ -4431,8 +4428,8 @@ function clone(val, seen, options = defaultCloneOptions) {
|
|
|
4431
4428
|
}
|
|
4432
4429
|
function noop() {
|
|
4433
4430
|
}
|
|
4434
|
-
function objectAttr(source,
|
|
4435
|
-
let paths =
|
|
4431
|
+
function objectAttr(source, path2, defaultValue = void 0) {
|
|
4432
|
+
let paths = path2.replace(/\[(\d+)\]/g, ".$1").split("."), result = source;
|
|
4436
4433
|
for (let p of paths)
|
|
4437
4434
|
if (result = Object(result)[p], result === void 0)
|
|
4438
4435
|
return defaultValue;
|
|
@@ -5276,29 +5273,33 @@ function getNames(task) {
|
|
|
5276
5273
|
return names;
|
|
5277
5274
|
}
|
|
5278
5275
|
|
|
5279
|
-
// ../../node_modules/.pnpm
|
|
5276
|
+
// ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/index.mjs
|
|
5277
|
+
init_cjs_shims();
|
|
5278
|
+
|
|
5279
|
+
// ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
5280
5280
|
init_cjs_shims();
|
|
5281
|
+
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
5281
5282
|
function normalizeWindowsPath(input = "") {
|
|
5282
|
-
return
|
|
5283
|
+
return input && input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
|
|
5283
5284
|
}
|
|
5284
5285
|
var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
5285
5286
|
function cwd() {
|
|
5286
|
-
return typeof process < "u" ? process.cwd().replace(/\\/g, "/") : "/";
|
|
5287
|
+
return typeof process < "u" && typeof process.cwd == "function" ? process.cwd().replace(/\\/g, "/") : "/";
|
|
5287
5288
|
}
|
|
5288
|
-
var resolve
|
|
5289
|
+
var resolve = function(...arguments_) {
|
|
5289
5290
|
arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
|
|
5290
5291
|
let resolvedPath = "", resolvedAbsolute = !1;
|
|
5291
5292
|
for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
|
|
5292
|
-
let
|
|
5293
|
-
!
|
|
5293
|
+
let path2 = index >= 0 ? arguments_[index] : cwd();
|
|
5294
|
+
!path2 || path2.length === 0 || (resolvedPath = `${path2}/${resolvedPath}`, resolvedAbsolute = isAbsolute(path2));
|
|
5294
5295
|
}
|
|
5295
5296
|
return resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute), resolvedAbsolute && !isAbsolute(resolvedPath) ? `/${resolvedPath}` : resolvedPath.length > 0 ? resolvedPath : ".";
|
|
5296
5297
|
};
|
|
5297
|
-
function normalizeString(
|
|
5298
|
+
function normalizeString(path2, allowAboveRoot) {
|
|
5298
5299
|
let res = "", lastSegmentLength = 0, lastSlash = -1, dots = 0, char = null;
|
|
5299
|
-
for (let index = 0; index <=
|
|
5300
|
-
if (index <
|
|
5301
|
-
char =
|
|
5300
|
+
for (let index = 0; index <= path2.length; ++index) {
|
|
5301
|
+
if (index < path2.length)
|
|
5302
|
+
char = path2[index];
|
|
5302
5303
|
else {
|
|
5303
5304
|
if (char === "/")
|
|
5304
5305
|
break;
|
|
@@ -5319,7 +5320,7 @@ function normalizeString(path, allowAboveRoot) {
|
|
|
5319
5320
|
}
|
|
5320
5321
|
allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
|
|
5321
5322
|
} else
|
|
5322
|
-
res.length > 0 ? res += `/${
|
|
5323
|
+
res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
|
|
5323
5324
|
lastSlash = index, dots = 0;
|
|
5324
5325
|
} else
|
|
5325
5326
|
char === "." && dots !== -1 ? ++dots : dots = -1;
|
|
@@ -5328,6 +5329,60 @@ function normalizeString(path, allowAboveRoot) {
|
|
|
5328
5329
|
}
|
|
5329
5330
|
var isAbsolute = function(p) {
|
|
5330
5331
|
return _IS_ABSOLUTE_RE.test(p);
|
|
5332
|
+
};
|
|
5333
|
+
|
|
5334
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/source-map.js
|
|
5335
|
+
init_cjs_shims();
|
|
5336
|
+
function normalizeWindowsPath2(input = "") {
|
|
5337
|
+
return !input || !input.includes("\\") ? input : input.replace(/\\/g, "/");
|
|
5338
|
+
}
|
|
5339
|
+
var _IS_ABSOLUTE_RE2 = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
5340
|
+
function cwd2() {
|
|
5341
|
+
return typeof process < "u" ? process.cwd().replace(/\\/g, "/") : "/";
|
|
5342
|
+
}
|
|
5343
|
+
var resolve$2 = function(...arguments_) {
|
|
5344
|
+
arguments_ = arguments_.map((argument) => normalizeWindowsPath2(argument));
|
|
5345
|
+
let resolvedPath = "", resolvedAbsolute = !1;
|
|
5346
|
+
for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
|
|
5347
|
+
let path2 = index >= 0 ? arguments_[index] : cwd2();
|
|
5348
|
+
!path2 || path2.length === 0 || (resolvedPath = `${path2}/${resolvedPath}`, resolvedAbsolute = isAbsolute2(path2));
|
|
5349
|
+
}
|
|
5350
|
+
return resolvedPath = normalizeString2(resolvedPath, !resolvedAbsolute), resolvedAbsolute && !isAbsolute2(resolvedPath) ? `/${resolvedPath}` : resolvedPath.length > 0 ? resolvedPath : ".";
|
|
5351
|
+
};
|
|
5352
|
+
function normalizeString2(path2, allowAboveRoot) {
|
|
5353
|
+
let res = "", lastSegmentLength = 0, lastSlash = -1, dots = 0, char = null;
|
|
5354
|
+
for (let index = 0; index <= path2.length; ++index) {
|
|
5355
|
+
if (index < path2.length)
|
|
5356
|
+
char = path2[index];
|
|
5357
|
+
else {
|
|
5358
|
+
if (char === "/")
|
|
5359
|
+
break;
|
|
5360
|
+
char = "/";
|
|
5361
|
+
}
|
|
5362
|
+
if (char === "/") {
|
|
5363
|
+
if (!(lastSlash === index - 1 || dots === 1))
|
|
5364
|
+
if (dots === 2) {
|
|
5365
|
+
if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
|
|
5366
|
+
if (res.length > 2) {
|
|
5367
|
+
let lastSlashIndex = res.lastIndexOf("/");
|
|
5368
|
+
lastSlashIndex === -1 ? (res = "", lastSegmentLength = 0) : (res = res.slice(0, lastSlashIndex), lastSegmentLength = res.length - 1 - res.lastIndexOf("/")), lastSlash = index, dots = 0;
|
|
5369
|
+
continue;
|
|
5370
|
+
} else if (res.length > 0) {
|
|
5371
|
+
res = "", lastSegmentLength = 0, lastSlash = index, dots = 0;
|
|
5372
|
+
continue;
|
|
5373
|
+
}
|
|
5374
|
+
}
|
|
5375
|
+
allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
|
|
5376
|
+
} else
|
|
5377
|
+
res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
|
|
5378
|
+
lastSlash = index, dots = 0;
|
|
5379
|
+
} else
|
|
5380
|
+
char === "." && dots !== -1 ? ++dots : dots = -1;
|
|
5381
|
+
}
|
|
5382
|
+
return res;
|
|
5383
|
+
}
|
|
5384
|
+
var isAbsolute2 = function(p) {
|
|
5385
|
+
return _IS_ABSOLUTE_RE2.test(p);
|
|
5331
5386
|
}, comma = 44, chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", intToChar = new Uint8Array(64), charToInt = new Uint8Array(128);
|
|
5332
5387
|
for (let i2 = 0; i2 < chars.length; i2++) {
|
|
5333
5388
|
let c2 = chars.charCodeAt(i2);
|
|
@@ -7675,16 +7730,16 @@ function parseAbsoluteUrl(input) {
|
|
|
7675
7730
|
return makeUrl(match[1], match[2] || "", match[3], match[4] || "", match[5] || "/", match[6] || "", match[7] || "");
|
|
7676
7731
|
}
|
|
7677
7732
|
function parseFileUrl(input) {
|
|
7678
|
-
let match = fileRegex.exec(input),
|
|
7679
|
-
return makeUrl("file:", "", match[1] || "", "", isAbsolutePath(
|
|
7733
|
+
let match = fileRegex.exec(input), path2 = match[2];
|
|
7734
|
+
return makeUrl("file:", "", match[1] || "", "", isAbsolutePath(path2) ? path2 : "/" + path2, match[3] || "", match[4] || "");
|
|
7680
7735
|
}
|
|
7681
|
-
function makeUrl(scheme, user, host, port,
|
|
7736
|
+
function makeUrl(scheme, user, host, port, path2, query, hash) {
|
|
7682
7737
|
return {
|
|
7683
7738
|
scheme,
|
|
7684
7739
|
user,
|
|
7685
7740
|
host,
|
|
7686
7741
|
port,
|
|
7687
|
-
path,
|
|
7742
|
+
path: path2,
|
|
7688
7743
|
query,
|
|
7689
7744
|
hash,
|
|
7690
7745
|
type: UrlType2.Absolute
|
|
@@ -7706,11 +7761,11 @@ function parseUrl(input) {
|
|
|
7706
7761
|
let url = parseAbsoluteUrl("http://foo.com/" + input);
|
|
7707
7762
|
return url.scheme = "", url.host = "", url.type = input ? input.startsWith("?") ? UrlType2.Query : input.startsWith("#") ? UrlType2.Hash : UrlType2.RelativePath : UrlType2.Empty, url;
|
|
7708
7763
|
}
|
|
7709
|
-
function stripPathFilename(
|
|
7710
|
-
if (
|
|
7711
|
-
return
|
|
7712
|
-
let index =
|
|
7713
|
-
return
|
|
7764
|
+
function stripPathFilename(path2) {
|
|
7765
|
+
if (path2.endsWith("/.."))
|
|
7766
|
+
return path2;
|
|
7767
|
+
let index = path2.lastIndexOf("/");
|
|
7768
|
+
return path2.slice(0, index + 1);
|
|
7714
7769
|
}
|
|
7715
7770
|
function mergePaths(url, base) {
|
|
7716
7771
|
normalizePath(base, base.type), url.path === "/" ? url.path = base.path : url.path = stripPathFilename(base.path) + url.path;
|
|
@@ -7731,10 +7786,10 @@ function normalizePath(url, type2) {
|
|
|
7731
7786
|
pieces[pointer++] = piece, positive++;
|
|
7732
7787
|
}
|
|
7733
7788
|
}
|
|
7734
|
-
let
|
|
7789
|
+
let path2 = "";
|
|
7735
7790
|
for (let i2 = 1; i2 < pointer; i2++)
|
|
7736
|
-
|
|
7737
|
-
(!
|
|
7791
|
+
path2 += "/" + pieces[i2];
|
|
7792
|
+
(!path2 || addTrailingSlash && !path2.endsWith("/..")) && (path2 += "/"), url.path = path2;
|
|
7738
7793
|
}
|
|
7739
7794
|
function resolve$1(input, base) {
|
|
7740
7795
|
if (!input && !base)
|
|
@@ -7764,8 +7819,8 @@ function resolve$1(input, base) {
|
|
|
7764
7819
|
case UrlType2.Query:
|
|
7765
7820
|
return queryHash;
|
|
7766
7821
|
case UrlType2.RelativePath: {
|
|
7767
|
-
let
|
|
7768
|
-
return
|
|
7822
|
+
let path2 = url.path.slice(1);
|
|
7823
|
+
return path2 ? isRelative(base || input) && !isRelative(path2) ? "./" + path2 + queryHash : path2 + queryHash : queryHash || ".";
|
|
7769
7824
|
}
|
|
7770
7825
|
case UrlType2.AbsolutePath:
|
|
7771
7826
|
return url.path + queryHash;
|
|
@@ -7776,11 +7831,11 @@ function resolve$1(input, base) {
|
|
|
7776
7831
|
function resolve2(input, base) {
|
|
7777
7832
|
return base && !base.endsWith("/") && (base += "/"), resolve$1(input, base);
|
|
7778
7833
|
}
|
|
7779
|
-
function stripFilename(
|
|
7780
|
-
if (!
|
|
7834
|
+
function stripFilename(path2) {
|
|
7835
|
+
if (!path2)
|
|
7781
7836
|
return "";
|
|
7782
|
-
let index =
|
|
7783
|
-
return
|
|
7837
|
+
let index = path2.lastIndexOf("/");
|
|
7838
|
+
return path2.slice(0, index + 1);
|
|
7784
7839
|
}
|
|
7785
7840
|
var COLUMN2 = 0, SOURCES_INDEX2 = 1, SOURCE_LINE2 = 2, SOURCE_COLUMN2 = 3, NAMES_INDEX2 = 4;
|
|
7786
7841
|
function maybeSort(mappings, owned) {
|
|
@@ -8371,8 +8426,8 @@ function resetModules(modules, resetMocks = !1) {
|
|
|
8371
8426
|
// don't clear mocks
|
|
8372
8427
|
...resetMocks ? [] : [/^mock:/]
|
|
8373
8428
|
];
|
|
8374
|
-
modules.forEach((mod,
|
|
8375
|
-
skipPaths.some((re) => re.test(
|
|
8429
|
+
modules.forEach((mod, path2) => {
|
|
8430
|
+
skipPaths.some((re) => re.test(path2)) || modules.invalidateModule(mod);
|
|
8376
8431
|
});
|
|
8377
8432
|
}
|
|
8378
8433
|
function waitNextTick() {
|
|
@@ -8386,8 +8441,8 @@ async function waitForImportsToResolve() {
|
|
|
8386
8441
|
mod.promise && !mod.evaluated && promises.push(mod.promise), mod.resolving && resolvingCount++;
|
|
8387
8442
|
!promises.length && !resolvingCount || (await Promise.allSettled(promises), await waitForImportsToResolve());
|
|
8388
8443
|
}
|
|
8389
|
-
function commonjsRequire(
|
|
8390
|
-
throw new Error('Could not dynamically require "' +
|
|
8444
|
+
function commonjsRequire(path2) {
|
|
8445
|
+
throw new Error('Could not dynamically require "' + path2 + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
8391
8446
|
}
|
|
8392
8447
|
var chaiSubset = { exports: {} };
|
|
8393
8448
|
(function(module, exports) {
|
|
@@ -9775,39 +9830,39 @@ function createVitest() {
|
|
|
9775
9830
|
hoisted(factory) {
|
|
9776
9831
|
return assertTypes(factory, '"vi.hoisted" factory', ["function"]), factory();
|
|
9777
9832
|
},
|
|
9778
|
-
mock(
|
|
9833
|
+
mock(path2, factory) {
|
|
9779
9834
|
let importer = getImporter();
|
|
9780
9835
|
_mocker.queueMock(
|
|
9781
|
-
|
|
9836
|
+
path2,
|
|
9782
9837
|
importer,
|
|
9783
|
-
factory ? () => factory(() => _mocker.importActual(
|
|
9838
|
+
factory ? () => factory(() => _mocker.importActual(path2, importer, _mocker.getMockContext().callstack)) : void 0,
|
|
9784
9839
|
!0
|
|
9785
9840
|
);
|
|
9786
9841
|
},
|
|
9787
|
-
unmock(
|
|
9788
|
-
_mocker.queueUnmock(
|
|
9842
|
+
unmock(path2) {
|
|
9843
|
+
_mocker.queueUnmock(path2, getImporter());
|
|
9789
9844
|
},
|
|
9790
|
-
doMock(
|
|
9845
|
+
doMock(path2, factory) {
|
|
9791
9846
|
let importer = getImporter();
|
|
9792
9847
|
_mocker.queueMock(
|
|
9793
|
-
|
|
9848
|
+
path2,
|
|
9794
9849
|
importer,
|
|
9795
|
-
factory ? () => factory(() => _mocker.importActual(
|
|
9850
|
+
factory ? () => factory(() => _mocker.importActual(path2, importer, _mocker.getMockContext().callstack)) : void 0,
|
|
9796
9851
|
!1
|
|
9797
9852
|
);
|
|
9798
9853
|
},
|
|
9799
|
-
doUnmock(
|
|
9800
|
-
_mocker.queueUnmock(
|
|
9854
|
+
doUnmock(path2) {
|
|
9855
|
+
_mocker.queueUnmock(path2, getImporter());
|
|
9801
9856
|
},
|
|
9802
|
-
async importActual(
|
|
9857
|
+
async importActual(path2) {
|
|
9803
9858
|
return _mocker.importActual(
|
|
9804
|
-
|
|
9859
|
+
path2,
|
|
9805
9860
|
getImporter(),
|
|
9806
9861
|
_mocker.getMockContext().callstack
|
|
9807
9862
|
);
|
|
9808
9863
|
},
|
|
9809
|
-
async importMock(
|
|
9810
|
-
return _mocker.importMock(
|
|
9864
|
+
async importMock(path2) {
|
|
9865
|
+
return _mocker.importMock(path2, getImporter());
|
|
9811
9866
|
},
|
|
9812
9867
|
// this is typed in the interface so it's not necessary to type it here
|
|
9813
9868
|
mocked(item, _options = {}) {
|
|
@@ -10613,4 +10668,4 @@ chai/lib/chai.js:
|
|
|
10613
10668
|
* @license MIT License
|
|
10614
10669
|
*)
|
|
10615
10670
|
*/
|
|
10616
|
-
//# sourceMappingURL=chunk-
|
|
10671
|
+
//# sourceMappingURL=chunk-HSTSRNLJ.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
renderDangerousConfirmationPrompt,
|
|
6
6
|
renderSelectPrompt,
|
|
7
7
|
renderTextPrompt
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5JZ5AGAQ.js";
|
|
9
9
|
import {
|
|
10
10
|
init_cjs_shims
|
|
11
11
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -176,4 +176,4 @@ async function prompts() {
|
|
|
176
176
|
export {
|
|
177
177
|
prompts
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-IGH7XTG6.js.map
|