@shopify/cli 3.85.5 → 3.86.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-Cj8WCHlM.js +64 -0
- package/dist/assets/dev-console/index.html +1 -1
- package/dist/assets/hydrogen/starter/package.json +1 -1
- package/dist/{brotli-EDFLSXX4.js → brotli-2OKV26Y6.js} +3 -3
- package/dist/{chunk-FRHZJBJZ.js → chunk-2LK4JXAI.js} +27 -19
- package/dist/{chunk-O2O5GRI6.js → chunk-2WTSZOXI.js} +3 -3
- package/dist/{chunk-BQ3PZIHZ.js → chunk-4MSYMXAX.js} +16 -16
- package/dist/{chunk-MUZ7NPCX.js → chunk-4WBTBFNC.js} +4 -4
- package/dist/{chunk-IAX3IWUQ.js → chunk-52OB52S5.js} +5 -5
- package/dist/{chunk-UATXMR5F.js → chunk-6FH6AJI5.js} +3 -3
- package/dist/{chunk-75LV6AQS.js → chunk-6ONJEX7Y.js} +8 -8
- package/dist/{chunk-TE4CUUT4.js → chunk-6VIQUXXO.js} +2 -2
- package/dist/{chunk-SMBX232U.js → chunk-A5RXDG36.js} +205 -183
- package/dist/{chunk-ODJ7LSLO.js → chunk-AAHIUMCI.js} +3 -3
- package/dist/{chunk-RZPYG7LO.js → chunk-AU6C5SPW.js} +25 -25
- package/dist/{chunk-UF2X5VHR.js → chunk-AXMPBUZL.js} +3 -3
- package/dist/{chunk-NTCXWD2Q.js → chunk-B7H344JI.js} +583 -585
- package/dist/{chunk-VVDGGMKJ.js → chunk-CZE7TCFI.js} +3 -3
- package/dist/{chunk-PZUWEJO3.js → chunk-E7SRX5ME.js} +4 -4
- package/dist/{chunk-IG5SOACB.js → chunk-F2V6FX7R.js} +3 -3
- package/dist/{chunk-J6T7KVRL.js → chunk-GNW7DUJ5.js} +2 -2
- package/dist/{chunk-3ULYQTX3.js → chunk-HUR6MF6D.js} +8 -8
- package/dist/{chunk-DHW4GI57.js → chunk-IPWP4QG4.js} +5 -5
- package/dist/{chunk-MR763CPY.js → chunk-J4HWHB57.js} +6 -6
- package/dist/{chunk-GQ63RYWN.js → chunk-J6JPAWCE.js} +2 -2
- package/dist/{chunk-NMGJYSTC.js → chunk-K45JWD7H.js} +6 -6
- package/dist/{chunk-P46WMXBU.js → chunk-KCMYZRDH.js} +5 -5
- package/dist/{chunk-G2I4CD5D.js → chunk-MZWHWEIR.js} +2 -2
- package/dist/{chunk-AVSSZ6MY.js → chunk-NAPXIWWP.js} +7 -7
- package/dist/{chunk-FGSQR4VQ.js → chunk-NOHJOQVR.js} +3 -3
- package/dist/{chunk-JF6DQIJR.js → chunk-PANEHHGV.js} +16 -16
- package/dist/{chunk-GG2ELY5O.js → chunk-PBZI5MOK.js} +146 -125
- package/dist/{chunk-R6BNSDGA.js → chunk-PPM7JU6X.js} +3 -3
- package/dist/{chunk-B5EXYCV3.js → chunk-Q2H6D2MH.js} +5 -5
- package/dist/{chunk-CQSO2B3C.js → chunk-QZSPMSF2.js} +81 -30
- package/dist/{chunk-PFBQBDNU.js → chunk-RQD77XVF.js} +3 -3
- package/dist/{chunk-TYHJPUOR.js → chunk-SQNWVF3V.js} +2 -2
- package/dist/{chunk-MDDWB46W.js → chunk-TDSRWKL2.js} +6 -6
- package/dist/{chunk-RAZVOMJW.js → chunk-UB7QY2VF.js} +3 -3
- package/dist/{chunk-UQT7B7DM.js → chunk-VGDJLENI.js} +3 -3
- package/dist/{chunk-F7F4BQYW.js → chunk-X2YIODUW.js} +56 -58
- package/dist/{chunk-25IMI7TH.js → chunk-XD3LXUGW.js} +5 -5
- package/dist/{chunk-TXX6R3WL.js → chunk-YRJLM3MZ.js} +2 -2
- package/dist/{chunk-FMD2ETAR.js → chunk-YXTZTRRV.js} +4 -4
- package/dist/{chunk-CHLX44DR.js → chunk-ZKG22PUU.js} +4 -4
- package/dist/cli/commands/auth/login.js +15 -15
- package/dist/cli/commands/auth/login.test.js +17 -17
- package/dist/cli/commands/auth/logout.js +15 -15
- package/dist/cli/commands/auth/logout.test.js +17 -17
- package/dist/cli/commands/cache/clear.js +15 -15
- package/dist/cli/commands/debug/command-flags.js +15 -15
- package/dist/cli/commands/docs/generate.js +15 -15
- package/dist/cli/commands/docs/generate.test.js +16 -16
- package/dist/cli/commands/help.js +15 -15
- package/dist/cli/commands/kitchen-sink/async.js +16 -16
- package/dist/cli/commands/kitchen-sink/async.test.js +17 -17
- package/dist/cli/commands/kitchen-sink/index.js +18 -18
- package/dist/cli/commands/kitchen-sink/index.test.js +19 -19
- package/dist/cli/commands/kitchen-sink/prompts.js +16 -16
- package/dist/cli/commands/kitchen-sink/prompts.test.js +17 -17
- package/dist/cli/commands/kitchen-sink/static.js +16 -16
- package/dist/cli/commands/kitchen-sink/static.test.js +17 -17
- package/dist/cli/commands/notifications/generate.js +16 -16
- package/dist/cli/commands/notifications/list.js +16 -16
- package/dist/cli/commands/search.js +16 -16
- package/dist/cli/commands/upgrade.js +16 -16
- package/dist/cli/commands/upgrade.test.js +1 -1
- package/dist/cli/commands/version.js +16 -16
- package/dist/cli/commands/version.test.js +17 -17
- package/dist/cli/services/commands/notifications.js +11 -11
- package/dist/cli/services/commands/search.js +6 -6
- package/dist/cli/services/commands/search.test.js +7 -7
- package/dist/cli/services/commands/version.js +7 -7
- package/dist/cli/services/commands/version.test.js +9 -9
- package/dist/cli/services/kitchen-sink/async.js +6 -6
- package/dist/cli/services/kitchen-sink/prompts.js +6 -6
- package/dist/cli/services/kitchen-sink/static.js +6 -6
- package/dist/cli/services/upgrade.js +7 -7
- package/dist/cli/services/upgrade.test.js +9 -9
- package/dist/{custom-oclif-loader-X7GLA66E.js → custom-oclif-loader-IB5J422L.js} +6 -6
- package/dist/{del-DNZ7X2HW.js → del-DIPVIUR3.js} +3 -3
- package/dist/{error-handler-QOTWDLMF.js → error-handler-CU4DBAA4.js} +13 -13
- package/dist/hooks/postrun.js +11 -11
- package/dist/hooks/prerun.js +12 -12
- package/dist/{http-proxy-node16-T623PGD4.js → http-proxy-node16-K5X7BUK5.js} +3 -3
- package/dist/index.js +1659 -2649
- package/dist/{lib-DEEC6IKU.js → lib-EMZRCLCJ.js} +3 -3
- package/dist/{lib-JVEIEXYB.js → lib-WHI5XOGD.js} +2 -2
- package/dist/{local-FS3UI7PE.js → local-PYV7PNUD.js} +6 -6
- package/dist/{morph-D4BXY376.js → morph-EGK76SED.js} +17 -18
- package/dist/{multipart-parser-WSNBP656.js → multipart-parser-IYYNISJK.js} +2 -2
- package/dist/{node-package-manager-TX3WZQGI.js → node-package-manager-BCGA26RH.js} +7 -7
- package/dist/{source-map-QCVC46UY.js → source-map-UFUVQCYE.js} +5 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-PUN5STUM.js → ui-7POT36Q5.js} +6 -6
- package/dist/{workerd-GJFM5MYN.js → workerd-UA5IB4IF.js} +17 -17
- package/oclif.manifest.json +17 -104
- package/package.json +8 -12
- package/dist/assets/dev-console/extensions/dev-console/assets/index-ohOjvIJh.js +0 -64
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
asyncTasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MZWHWEIR.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K45JWD7H.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkAsync = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkAsync
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-CZE7TCFI.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GNW7DUJ5.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K45JWD7H.js";
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X2YIODUW.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_cjs_shims
|
|
@@ -48,4 +48,4 @@ var import_core = __toESM(require_lib(), 1), Search = class _Search extends base
|
|
|
48
48
|
export {
|
|
49
49
|
Search
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chunk-
|
|
51
|
+
//# sourceMappingURL=chunk-E7SRX5ME.js.map
|
|
@@ -281,12 +281,12 @@ var require_minimatch = __commonJS({
|
|
|
281
281
|
init_cjs_shims();
|
|
282
282
|
module.exports = minimatch;
|
|
283
283
|
minimatch.Minimatch = Minimatch;
|
|
284
|
-
var path = function() {
|
|
284
|
+
var path = (function() {
|
|
285
285
|
try {
|
|
286
286
|
return __require("path");
|
|
287
287
|
} catch {
|
|
288
288
|
}
|
|
289
|
-
}() || {
|
|
289
|
+
})() || {
|
|
290
290
|
sep: "/"
|
|
291
291
|
};
|
|
292
292
|
minimatch.sep = path.sep;
|
|
@@ -1458,4 +1458,4 @@ export {
|
|
|
1458
1458
|
require_inflight,
|
|
1459
1459
|
require_glob
|
|
1460
1460
|
};
|
|
1461
|
-
//# sourceMappingURL=chunk-
|
|
1461
|
+
//# sourceMappingURL=chunk-F2V6FX7R.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openURL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PBZI5MOK.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-GNW7DUJ5.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K45JWD7H.js";
|
|
4
4
|
import {
|
|
5
5
|
cacheClear
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QZSPMSF2.js";
|
|
7
7
|
import {
|
|
8
8
|
environmentVariables,
|
|
9
9
|
isTruthy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PBZI5MOK.js";
|
|
11
11
|
import {
|
|
12
12
|
require_lib
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-X2YIODUW.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-CU4DBAA4.js"), { isDevelopment } = await import("./local-PYV7PNUD.js"), oclif = await import("./lib-EMZRCLCJ.js"), { ShopifyConfig } = await import("./custom-oclif-loader-IB5J422L.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 exitIfOldNodeVersion(versions = process.versions) {
|
|
42
42
|
let nodeVersion = versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
43
43
|
if (nodeMajorVersion < 18) {
|
|
44
|
-
let { renderError } = await import("./ui-
|
|
44
|
+
let { renderError } = await import("./ui-7POT36Q5.js");
|
|
45
45
|
renderError({
|
|
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 exitIfOldNodeVersion(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-BCGA26RH.js"), { moduleDirectory } = await import("./path-GB4VIEM6.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-HUR6MF6D.js.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
fetchNotifications,
|
|
3
3
|
getNotifications,
|
|
4
4
|
stringifyFilters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NAPXIWWP.js";
|
|
6
6
|
import {
|
|
7
7
|
randomUUID
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PANEHHGV.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SQNWVF3V.js";
|
|
12
12
|
import {
|
|
13
13
|
outputInfo,
|
|
14
14
|
renderSelectPrompt,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
renderTable,
|
|
17
17
|
renderTextPrompt,
|
|
18
18
|
writeFile
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PBZI5MOK.js";
|
|
20
20
|
import {
|
|
21
21
|
init_cjs_shims
|
|
22
22
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -103,4 +103,4 @@ export {
|
|
|
103
103
|
generate,
|
|
104
104
|
list
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=chunk-
|
|
106
|
+
//# sourceMappingURL=chunk-IPWP4QG4.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
findUpAndReadPackageJson,
|
|
5
5
|
getPackageManager,
|
|
6
6
|
usesWorkspaces
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QZSPMSF2.js";
|
|
8
8
|
import {
|
|
9
9
|
AbortError,
|
|
10
10
|
exec,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
outputSuccess,
|
|
16
16
|
outputToken,
|
|
17
17
|
outputWarn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PBZI5MOK.js";
|
|
19
19
|
import {
|
|
20
20
|
dirname,
|
|
21
21
|
joinPath,
|
|
@@ -89,15 +89,15 @@ async function upgradeGlobalShopify(currentVersion, { env } = { env: process.env
|
|
|
89
89
|
return newestVersion;
|
|
90
90
|
}
|
|
91
91
|
async function upgradeGlobalViaNpm() {
|
|
92
|
-
let
|
|
92
|
+
let args = [
|
|
93
93
|
"install",
|
|
94
94
|
"-g",
|
|
95
95
|
`${await cliDependency()}@latest`,
|
|
96
96
|
...globalPlugins.map((plugin) => `${plugin}@latest`)
|
|
97
97
|
];
|
|
98
98
|
outputInfo(
|
|
99
|
-
outputContent`Attempting to upgrade via ${outputToken.genericShellCommand([
|
|
100
|
-
), await exec(
|
|
99
|
+
outputContent`Attempting to upgrade via ${outputToken.genericShellCommand(["npm", ...args].join(" "))}...`
|
|
100
|
+
), await exec("npm", args, { stdio: "inherit" });
|
|
101
101
|
}
|
|
102
102
|
function outputWontInstallMessage(currentVersion) {
|
|
103
103
|
outputInfo(outputContent`You're on the latest version, ${outputToken.yellow(currentVersion)}, no need to upgrade!`);
|
|
@@ -139,4 +139,4 @@ function usingPackageManager({ env } = { env: process.env }) {
|
|
|
139
139
|
export {
|
|
140
140
|
upgrade
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=chunk-
|
|
142
|
+
//# sourceMappingURL=chunk-J4HWHB57.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCollectedLogs,
|
|
3
3
|
collectedLogs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PBZI5MOK.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
|
|
|
33
33
|
export {
|
|
34
34
|
mockAndCaptureOutput
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-J6JPAWCE.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
errorHandler,
|
|
3
3
|
registerCleanBugsnagErrorsFromWithinPlugins
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AU6C5SPW.js";
|
|
5
5
|
import {
|
|
6
6
|
setCurrentCommandId,
|
|
7
7
|
showNotificationsIfNeeded
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NAPXIWWP.js";
|
|
9
9
|
import {
|
|
10
10
|
hashString
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PANEHHGV.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortError,
|
|
14
14
|
addPublicMetadata,
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
renderWarning,
|
|
25
25
|
terminalSupportsPrompting,
|
|
26
26
|
underscore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PBZI5MOK.js";
|
|
28
28
|
import {
|
|
29
29
|
require_lib
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-X2YIODUW.js";
|
|
31
31
|
import {
|
|
32
32
|
cwd
|
|
33
33
|
} from "./chunk-EG6MBBEN.js";
|
|
@@ -1692,4 +1692,4 @@ export {
|
|
|
1692
1692
|
noDefaultsOptions,
|
|
1693
1693
|
base_command_default
|
|
1694
1694
|
};
|
|
1695
|
-
//# sourceMappingURL=chunk-
|
|
1695
|
+
//# sourceMappingURL=chunk-K45JWD7H.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
asyncTasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MZWHWEIR.js";
|
|
4
4
|
import {
|
|
5
5
|
prompts
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6VIQUXXO.js";
|
|
7
7
|
import {
|
|
8
8
|
staticService
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YRJLM3MZ.js";
|
|
10
10
|
import {
|
|
11
11
|
base_command_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K45JWD7H.js";
|
|
13
13
|
import {
|
|
14
14
|
init_cjs_shims
|
|
15
15
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -34,4 +34,4 @@ var KitchenSinkAll = class extends base_command_default {
|
|
|
34
34
|
export {
|
|
35
35
|
KitchenSinkAll
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-KCMYZRDH.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderConcurrent,
|
|
3
3
|
renderTasks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PBZI5MOK.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -43,4 +43,4 @@ async function asyncTasks() {
|
|
|
43
43
|
export {
|
|
44
44
|
asyncTasks
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-MZWHWEIR.js.map
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
fetch,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PANEHHGV.js";
|
|
6
6
|
import {
|
|
7
7
|
cacheRetrieve,
|
|
8
8
|
cacheStore,
|
|
9
9
|
versionSatisfies
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QZSPMSF2.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_KIT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SQNWVF3V.js";
|
|
14
14
|
import {
|
|
15
15
|
AbortSilentError,
|
|
16
16
|
exec,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
renderError,
|
|
20
20
|
renderInfo,
|
|
21
21
|
renderWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PBZI5MOK.js";
|
|
23
23
|
import {
|
|
24
24
|
init_cjs_shims
|
|
25
25
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -87,7 +87,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
87
87
|
throw new AbortSilentError();
|
|
88
88
|
let errorMessage = `Error showing notifications: ${error.message}`;
|
|
89
89
|
outputDebug(errorMessage);
|
|
90
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
90
|
+
let { sendErrorToBugsnag } = await import("./error-handler-CU4DBAA4.js");
|
|
91
91
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -183,7 +183,7 @@ function filterByFrequency(notification) {
|
|
|
183
183
|
case "once_a_day":
|
|
184
184
|
return (/* @__PURE__ */ new Date()).getTime() - Number(lastShown) > 24 * 3600 * 1e3;
|
|
185
185
|
case "once_a_week":
|
|
186
|
-
return (/* @__PURE__ */ new Date()).getTime() - Number(lastShown) >
|
|
186
|
+
return (/* @__PURE__ */ new Date()).getTime() - Number(lastShown) > 168 * 3600 * 1e3;
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
function stringifyFilters(notification) {
|
|
@@ -200,4 +200,4 @@ export {
|
|
|
200
200
|
fetchNotificationsInBackground,
|
|
201
201
|
stringifyFilters
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=chunk-
|
|
203
|
+
//# sourceMappingURL=chunk-NAPXIWWP.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UB7QY2VF.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K45JWD7H.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.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-NOHJOQVR.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
FormData,
|
|
3
3
|
fetch_blob_default,
|
|
4
4
|
formDataToBlob
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XD3LXUGW.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SQNWVF3V.js";
|
|
9
9
|
import {
|
|
10
10
|
AbortError,
|
|
11
11
|
environmentVariables,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
runWithTimer,
|
|
17
17
|
sleep,
|
|
18
18
|
systemEnvironmentVariables
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PBZI5MOK.js";
|
|
20
20
|
import {
|
|
21
21
|
sniffForJson
|
|
22
22
|
} from "./chunk-EG6MBBEN.js";
|
|
@@ -14920,7 +14920,7 @@ var require_punycode = __commonJS({
|
|
|
14920
14920
|
"../../node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.js"(exports, module) {
|
|
14921
14921
|
"use strict";
|
|
14922
14922
|
init_cjs_shims();
|
|
14923
|
-
var
|
|
14923
|
+
var regexPunycode = /^xn--/, regexNonASCII = /[^\0-\x7F]/, regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, errors = {
|
|
14924
14924
|
overflow: "Overflow: input needs wider integers to process",
|
|
14925
14925
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
14926
14926
|
"invalid-input": "Invalid input"
|
|
@@ -14962,7 +14962,7 @@ var require_punycode = __commonJS({
|
|
|
14962
14962
|
delta = floor(delta / baseMinusTMin);
|
|
14963
14963
|
return floor(k + (baseMinusTMin + 1) * delta / (delta + 38));
|
|
14964
14964
|
}, decode = function(input) {
|
|
14965
|
-
let output = [], inputLength = input.length, i = 0, n = 128, bias = 72, basic = input.lastIndexOf(
|
|
14965
|
+
let output = [], inputLength = input.length, i = 0, n = 128, bias = 72, basic = input.lastIndexOf("-");
|
|
14966
14966
|
basic < 0 && (basic = 0);
|
|
14967
14967
|
for (let j = 0; j < basic; ++j)
|
|
14968
14968
|
input.charCodeAt(j) >= 128 && error("not-basic"), output.push(input.charCodeAt(j));
|
|
@@ -14989,7 +14989,7 @@ var require_punycode = __commonJS({
|
|
|
14989
14989
|
for (let currentValue of input)
|
|
14990
14990
|
currentValue < 128 && output.push(stringFromCharCode(currentValue));
|
|
14991
14991
|
let basicLength = output.length, handledCPCount = basicLength;
|
|
14992
|
-
for (basicLength && output.push(
|
|
14992
|
+
for (basicLength && output.push("-"); handledCPCount < inputLength; ) {
|
|
14993
14993
|
let m = 2147483647;
|
|
14994
14994
|
for (let currentValue of input)
|
|
14995
14995
|
currentValue >= n && currentValue < m && (m = currentValue);
|
|
@@ -27133,7 +27133,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
27133
27133
|
}
|
|
27134
27134
|
}, $gOPD = require_gopd(), $defineProperty = require_es_define_property(), throwTypeError = function() {
|
|
27135
27135
|
throw new $TypeError();
|
|
27136
|
-
}, ThrowTypeError = $gOPD ? function() {
|
|
27136
|
+
}, ThrowTypeError = $gOPD ? (function() {
|
|
27137
27137
|
try {
|
|
27138
27138
|
return arguments.callee, throwTypeError;
|
|
27139
27139
|
} catch {
|
|
@@ -27143,7 +27143,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
27143
27143
|
return throwTypeError;
|
|
27144
27144
|
}
|
|
27145
27145
|
}
|
|
27146
|
-
}() : throwTypeError, hasSymbols = require_has_symbols()(), getProto = require_get_proto(), $ObjectGPO = require_Object_getPrototypeOf(), $ReflectGPO = require_Reflect_getPrototypeOf(), $apply = require_functionApply(), $call = require_functionCall(), needsEval = {}, TypedArray = typeof Uint8Array > "u" || !getProto ? undefined2 : getProto(Uint8Array), INTRINSICS = {
|
|
27146
|
+
})() : throwTypeError, hasSymbols = require_has_symbols()(), getProto = require_get_proto(), $ObjectGPO = require_Object_getPrototypeOf(), $ReflectGPO = require_Reflect_getPrototypeOf(), $apply = require_functionApply(), $call = require_functionCall(), needsEval = {}, TypedArray = typeof Uint8Array > "u" || !getProto ? undefined2 : getProto(Uint8Array), INTRINSICS = {
|
|
27147
27147
|
__proto__: null,
|
|
27148
27148
|
"%AggregateError%": typeof AggregateError > "u" ? undefined2 : AggregateError,
|
|
27149
27149
|
"%Array%": Array,
|
|
@@ -28338,7 +28338,7 @@ var pipeline = promisify(Stream.pipeline), INTERNALS = Symbol("Body internals"),
|
|
|
28338
28338
|
formData2.append(name, value);
|
|
28339
28339
|
return formData2;
|
|
28340
28340
|
}
|
|
28341
|
-
let { toFormData } = await import("./multipart-parser-
|
|
28341
|
+
let { toFormData } = await import("./multipart-parser-IYYNISJK.js");
|
|
28342
28342
|
return toFormData(this.body, ct);
|
|
28343
28343
|
}
|
|
28344
28344
|
/**
|
|
@@ -31970,14 +31970,14 @@ var late = {
|
|
|
31970
31970
|
var instanceOfType = (cls, params = {
|
|
31971
31971
|
message: `Input not instance of ${cls.name}`
|
|
31972
31972
|
}) => custom((data) => data instanceof cls, params), stringType = ZodString.create, numberType = ZodNumber.create, nanType = ZodNaN.create, bigIntType = ZodBigInt.create, booleanType = ZodBoolean.create, dateType = ZodDate.create, symbolType = ZodSymbol.create, undefinedType = ZodUndefined.create, nullType = ZodNull.create, anyType = ZodAny.create, unknownType = ZodUnknown.create, neverType = ZodNever.create, voidType = ZodVoid.create, arrayType = ZodArray.create, objectType = ZodObject.create, strictObjectType = ZodObject.strictCreate, unionType = ZodUnion.create, discriminatedUnionType = ZodDiscriminatedUnion.create, intersectionType = ZodIntersection.create, tupleType = ZodTuple.create, recordType = ZodRecord.create, mapType = ZodMap.create, setType = ZodSet.create, functionType = ZodFunction.create, lazyType = ZodLazy.create, literalType = ZodLiteral.create, enumType = ZodEnum.create, nativeEnumType = ZodNativeEnum.create, promiseType = ZodPromise.create, effectsType = ZodEffects.create, optionalType = ZodOptional.create, nullableType = ZodNullable.create, preprocessType = ZodEffects.createWithPreprocess, pipelineType = ZodPipeline.create, ostring = () => stringType().optional(), onumber = () => numberType().optional(), oboolean = () => booleanType().optional(), coerce = {
|
|
31973
|
-
string: (arg) => ZodString.create({ ...arg, coerce: !0 }),
|
|
31974
|
-
number: (arg) => ZodNumber.create({ ...arg, coerce: !0 }),
|
|
31975
|
-
boolean: (arg) => ZodBoolean.create({
|
|
31973
|
+
string: ((arg) => ZodString.create({ ...arg, coerce: !0 })),
|
|
31974
|
+
number: ((arg) => ZodNumber.create({ ...arg, coerce: !0 })),
|
|
31975
|
+
boolean: ((arg) => ZodBoolean.create({
|
|
31976
31976
|
...arg,
|
|
31977
31977
|
coerce: !0
|
|
31978
|
-
}),
|
|
31979
|
-
bigint: (arg) => ZodBigInt.create({ ...arg, coerce: !0 }),
|
|
31980
|
-
date: (arg) => ZodDate.create({ ...arg, coerce: !0 })
|
|
31978
|
+
})),
|
|
31979
|
+
bigint: ((arg) => ZodBigInt.create({ ...arg, coerce: !0 })),
|
|
31980
|
+
date: ((arg) => ZodDate.create({ ...arg, coerce: !0 }))
|
|
31981
31981
|
}, NEVER = INVALID, z = /* @__PURE__ */ Object.freeze({
|
|
31982
31982
|
__proto__: null,
|
|
31983
31983
|
defaultErrorMap: errorMap,
|
|
@@ -32155,4 +32155,4 @@ mime-types/index.js:
|
|
|
32155
32155
|
* MIT Licensed
|
|
32156
32156
|
*)
|
|
32157
32157
|
*/
|
|
32158
|
-
//# sourceMappingURL=chunk-
|
|
32158
|
+
//# sourceMappingURL=chunk-PANEHHGV.js.map
|