@shopify/cli 3.72.2 → 3.73.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/hydrogen/starter/CHANGELOG.md +814 -0
- package/dist/assets/hydrogen/starter/app/components/Aside.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +3 -4
- package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +113 -44
- package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +8 -3
- package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +6 -5
- package/dist/assets/hydrogen/starter/app/lib/variants.ts +3 -3
- package/dist/assets/hydrogen/starter/app/routes/account_.logout.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +9 -16
- package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +1 -10
- package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +1 -10
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +50 -119
- package/dist/assets/hydrogen/starter/app/routes/search.tsx +42 -38
- package/dist/assets/hydrogen/starter/app/styles/app.css +25 -1
- package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.md +23 -20
- package/dist/assets/hydrogen/starter/guides/search/search.md +27 -25
- package/dist/assets/hydrogen/starter/package.json +3 -3
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +177 -194
- package/dist/assets/hydrogen/tailwind/tailwind.css +1 -1
- package/dist/{chokidar-OESTCX4H.js → chokidar-5LLC6S6D.js} +47 -90
- package/dist/{chunk-VSLR7ET4.js → chunk-25IMI7TH.js} +8 -46
- package/dist/{chunk-NCKQIOV4.js → chunk-3HBRMIPY.js} +28 -50
- package/dist/{chunk-NXHZX3WR.js → chunk-3UQTWISO.js} +9 -9
- package/dist/{chunk-GVNIHXMX.js → chunk-4SP4IRCQ.js} +38 -60
- package/dist/{chunk-QDPQB6WU.js → chunk-4UAFBJXJ.js} +5 -5
- package/dist/{chunk-L2J5VM7R.js → chunk-5YYJVU2L.js} +41 -68
- package/dist/{chunk-I6R52HNI.js → chunk-6NZVGPSV.js} +39 -68
- package/dist/{chunk-XVNW332R.js → chunk-75LV6AQS.js} +6 -10
- package/dist/{chunk-N2V4IFX3.js → chunk-7JQIHXLD.js} +3 -3
- package/dist/{chunk-2HGYYNE5.js → chunk-B5EXYCV3.js} +5 -9
- package/dist/{chunk-NB4NLOEJ.js → chunk-BUFIEXZ5.js} +11 -20
- package/dist/{chunk-522OB3EU.js → chunk-CFIKVUNW.js} +2 -2
- package/dist/{chunk-KYB6A4PE.js → chunk-CRHXI6PS.js} +13 -23
- package/dist/{chunk-SO2RZ6TZ.js → chunk-CXHISGHD.js} +5 -5
- package/dist/{chunk-2YCRDHPC.js → chunk-DZHO64DX.js} +4 -4
- package/dist/{chunk-KGKTCQ7H.js → chunk-EKIVYQZC.js} +5 -5
- package/dist/{chunk-NUP5TATA.js → chunk-EZQWZ57B.js} +2 -2
- package/dist/{chunk-UBB7JKND.js → chunk-G2ZZKGSV.js} +2 -2
- package/dist/{chunk-CBBS4CV7.js → chunk-G5R6YD27.js} +8 -13
- package/dist/{chunk-ECWFBV2F.js → chunk-GLYEBL66.js} +5 -5
- package/dist/{chunk-E37RRDIH.js → chunk-HIQDOFZI.js} +4 -4
- package/dist/{chunk-HYGCZ6GV.js → chunk-HYVCBINV.js} +68 -49
- package/dist/{chunk-ZESD7DR7.js → chunk-I72O5WWR.js} +67 -104
- package/dist/{chunk-OXKHBIW7.js → chunk-IG5SOACB.js} +29 -34
- package/dist/{chunk-OWLPHMUA.js → chunk-J673ZU5S.js} +4 -4
- package/dist/{chunk-K6Y4FYT5.js → chunk-K7HGDAI4.js} +17 -20
- package/dist/{chunk-UIRMJZRW.js → chunk-KD7WMX4J.js} +4 -4
- package/dist/{chunk-BYPQXSAL.js → chunk-KUM3DVPF.js} +17 -13
- package/dist/{chunk-6IUL3QZW.js → chunk-LPBV67AA.js} +4 -4
- package/dist/{chunk-WNDN5FAY.js → chunk-MHUINF7I.js} +3 -3
- package/dist/{chunk-JDM5VOXB.js → chunk-MJWFXPPX.js} +3 -3
- package/dist/{chunk-NE43V3EI.js → chunk-MLL3JKVY.js} +6 -7
- package/dist/{chunk-QXIIXX7G.js → chunk-NHV2E73I.js} +16518 -24140
- package/dist/{chunk-HMUOOT55.js → chunk-NQZUE7SY.js} +6 -6
- package/dist/{chunk-PQQTBTYM.js → chunk-O72ZUVEA.js} +4 -5
- package/dist/{chunk-SNOECVP4.js → chunk-OAZFIMJ3.js} +2 -2
- package/dist/{chunk-UIAIRQSP.js → chunk-OFYEMT6X.js} +3 -3
- package/dist/{chunk-4HTVLK2H.js → chunk-OXS42VB7.js} +1402 -1989
- package/dist/{chunk-TAKO7LSJ.js → chunk-P63UVLRS.js} +7 -7
- package/dist/{chunk-GKEFW755.js → chunk-PBDGN4T2.js} +6 -6
- package/dist/{chunk-POZ5MGPT.js → chunk-PKR7KJ6P.js} +2 -3
- package/dist/{chunk-PKJLXLTR.js → chunk-PVMQM44E.js} +5 -5
- package/dist/{chunk-KCI6QCAV.js → chunk-PWMEMGZN.js} +4 -4
- package/dist/{chunk-KMZ5JSGS.js → chunk-QIM24FVT.js} +3 -3
- package/dist/{chunk-VJ7TIVX7.js → chunk-RBLSG22M.js} +6 -7
- package/dist/{chunk-K7B4JJLF.js → chunk-RDZJQNFU.js} +4 -4
- package/dist/{chunk-YKUYPSCY.js → chunk-RZOW7U2N.js} +3 -3
- package/dist/{chunk-OJOHMVV7.js → chunk-SBPFWO4S.js} +294 -448
- package/dist/{chunk-O5K4AU7Q.js → chunk-SHWOPMLQ.js} +3 -4
- package/dist/{chunk-KWLJTNRE.js → chunk-SNXQ36U2.js} +4 -4
- package/dist/{chunk-KVEY52WG.js → chunk-TIXENOYB.js} +4 -4
- package/dist/{chunk-RCRRAFH7.js → chunk-X4N2QZOS.js} +3 -3
- package/dist/{chunk-VWNWE4HG.js → chunk-X5WKMCE4.js} +111 -84
- package/dist/{chunk-PMUQTGZJ.js → chunk-X7YTIMNN.js} +4 -6
- package/dist/{chunk-7Q3MMWAC.js → chunk-XE5EOEBL.js} +2 -2
- package/dist/{chunk-YXJHYEP7.js → chunk-YVXC5Q6R.js} +4 -4
- package/dist/{chunk-HSTSRNLJ.js → chunk-ZX3L2JKV.js} +64 -86
- package/dist/cli/commands/auth/logout.js +28 -28
- package/dist/cli/commands/auth/logout.test.js +30 -30
- package/dist/cli/commands/cache/clear.js +27 -27
- package/dist/cli/commands/debug/command-flags.js +27 -27
- package/dist/cli/commands/docs/generate.js +27 -27
- package/dist/cli/commands/docs/generate.test.js +28 -28
- package/dist/cli/commands/help.js +27 -27
- package/dist/cli/commands/kitchen-sink/async.js +28 -28
- package/dist/cli/commands/kitchen-sink/async.test.js +29 -29
- package/dist/cli/commands/kitchen-sink/index.js +30 -30
- package/dist/cli/commands/kitchen-sink/index.test.js +31 -31
- package/dist/cli/commands/kitchen-sink/prompts.js +28 -28
- package/dist/cli/commands/kitchen-sink/prompts.test.js +29 -29
- package/dist/cli/commands/kitchen-sink/static.js +28 -28
- package/dist/cli/commands/kitchen-sink/static.test.js +29 -29
- package/dist/cli/commands/notifications/generate.js +28 -28
- package/dist/cli/commands/notifications/list.js +28 -28
- package/dist/cli/commands/search.js +28 -28
- package/dist/cli/commands/upgrade.js +28 -28
- package/dist/cli/commands/upgrade.test.js +3 -3
- package/dist/cli/commands/version.js +28 -28
- package/dist/cli/commands/version.test.js +29 -29
- package/dist/cli/services/commands/notifications.js +21 -21
- package/dist/cli/services/commands/search.js +15 -15
- package/dist/cli/services/commands/search.test.js +16 -16
- package/dist/cli/services/commands/version.js +16 -16
- package/dist/cli/services/commands/version.test.js +18 -18
- package/dist/cli/services/kitchen-sink/async.js +15 -15
- package/dist/cli/services/kitchen-sink/prompts.js +15 -15
- package/dist/cli/services/kitchen-sink/static.js +15 -15
- package/dist/cli/services/upgrade.js +17 -17
- package/dist/cli/services/upgrade.test.js +20 -20
- package/dist/configs/all.yml +12 -0
- package/dist/configs/recommended.yml +15 -0
- package/dist/configs/theme-app-extension.yml +3 -0
- package/dist/{custom-oclif-loader-G2DAJL7B.js → custom-oclif-loader-L4JT3EUD.js} +15 -15
- package/dist/data/latest.json +1 -1
- package/dist/data/manifest_theme.json +1 -0
- package/dist/data/preset.json +66 -0
- package/dist/data/preset_blocks.json +20 -13
- package/dist/data/section.json +1 -15
- package/dist/data/setting.json +1 -1
- package/dist/data/theme_block.json +1 -15
- package/dist/{del-K5ZJEWTD.js → del-P2RS6GN2.js} +9 -9
- package/dist/{devtools-KYKGATNX.js → devtools-K7FXBBFZ.js} +3 -3
- package/dist/error-handler-4CU3ZOV7.js +38 -0
- package/dist/hooks/postrun.js +22 -22
- package/dist/hooks/prerun.js +22 -22
- package/dist/{http-proxy-GGTVQ6CU.js → http-proxy-FXWKYHZ3.js} +14 -24
- package/dist/index.js +7234 -7320
- package/dist/lib-JVEIEXYB.js +6 -0
- package/dist/lib-QZGSY5YB.js +13 -0
- package/dist/{local-Q5ZG2NHX.js → local-2K66O4X2.js} +15 -15
- package/dist/{magic-string.es-3RXPUXZF.js → magic-string.es-PJMYOE6F.js} +49 -96
- package/dist/{morph-SEECJQ2W.js → morph-OSHCID2F.js} +261 -347
- package/dist/{multipart-parser-QKUAJJP5.js → multipart-parser-WSNBP656.js} +8 -7
- package/dist/{node-S6CM3NTX.js → node-342GUJIM.js} +31 -31
- package/dist/{node-package-manager-GUY5IO3W.js → node-package-manager-RJSBCFD7.js} +19 -17
- package/dist/{npa-RLWNZ3BM.js → npa-TM76BGG3.js} +10 -16
- package/dist/{open-MZGVNFZO.js → open-BHIF7E3E.js} +3 -3
- package/dist/out-JR4DWQ2G.js +7 -0
- package/dist/{path-NDLRQPLA.js → path-2HZUSAGR.js} +3 -3
- package/dist/{source-map-7AAPWPHZ.js → source-map-QCVC46UY.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-AWSBLSD4.js → ui-YBLW4B72.js} +15 -15
- package/dist/{workerd-3HGLHQET.js → workerd-5KR5CP5F.js} +30 -30
- package/oclif.manifest.json +81 -1
- package/package.json +8 -8
- package/dist/error-handler-6HCFKLTC.js +0 -38
- package/dist/lib-PPXZBVZX.js +0 -6
- package/dist/lib-XYCLX35G.js +0 -13
- package/dist/out-MHEKZJWS.js +0 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS,
|
|
3
3
|
init_cjs_shims
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
5
5
|
|
|
6
6
|
// ../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js
|
|
7
7
|
var require_wrappy = __commonJS({
|
|
@@ -9,8 +9,7 @@ var require_wrappy = __commonJS({
|
|
|
9
9
|
init_cjs_shims();
|
|
10
10
|
module.exports = wrappy;
|
|
11
11
|
function wrappy(fn, cb) {
|
|
12
|
-
if (fn && cb)
|
|
13
|
-
return wrappy(fn)(cb);
|
|
12
|
+
if (fn && cb) return wrappy(fn)(cb);
|
|
14
13
|
if (typeof fn != "function")
|
|
15
14
|
throw new TypeError("need wrapper function");
|
|
16
15
|
return Object.keys(fn).forEach(function(k) {
|
|
@@ -69,4 +68,4 @@ export {
|
|
|
69
68
|
require_wrappy,
|
|
70
69
|
require_once
|
|
71
70
|
};
|
|
72
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-SHWOPMLQ.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4SP4IRCQ.js";
|
|
4
4
|
import {
|
|
5
5
|
require_lib
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SBPFWO4S.js";
|
|
7
7
|
import {
|
|
8
8
|
__toESM,
|
|
9
9
|
init_cjs_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
11
11
|
|
|
12
12
|
// src/cli/commands/help.ts
|
|
13
13
|
init_cjs_shims();
|
|
@@ -43,4 +43,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
|
|
|
43
43
|
export {
|
|
44
44
|
HelpCommand
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-SNXQ36U2.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O72ZUVEA.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4SP4IRCQ.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
10
10
|
|
|
11
11
|
// src/cli/commands/kitchen-sink/prompts.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -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-TIXENOYB.js.map
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
renderSuccess,
|
|
8
8
|
renderTable,
|
|
9
9
|
renderWarning
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OXS42VB7.js";
|
|
11
11
|
import {
|
|
12
12
|
init_cjs_shims
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
14
14
|
|
|
15
15
|
// src/cli/services/kitchen-sink/static.ts
|
|
16
16
|
init_cjs_shims();
|
|
@@ -189,4 +189,4 @@ async function staticService() {
|
|
|
189
189
|
export {
|
|
190
190
|
staticService
|
|
191
191
|
};
|
|
192
|
-
//# sourceMappingURL=chunk-
|
|
192
|
+
//# sourceMappingURL=chunk-X4N2QZOS.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
FormData as FormData2,
|
|
3
3
|
fetch_blob_default,
|
|
4
4
|
formDataToBlob
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-25IMI7TH.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QIM24FVT.js";
|
|
9
9
|
import {
|
|
10
10
|
Environment,
|
|
11
11
|
environmentVariables,
|
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
runWithTimer,
|
|
18
18
|
serviceEnvironment,
|
|
19
19
|
systemEnvironmentVariables
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OXS42VB7.js";
|
|
21
21
|
import {
|
|
22
22
|
sniffForJson
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-K7HGDAI4.js";
|
|
24
24
|
import {
|
|
25
25
|
__commonJS,
|
|
26
26
|
__require,
|
|
27
27
|
__toESM,
|
|
28
28
|
init_cjs_shims
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
30
30
|
|
|
31
31
|
// ../../node_modules/.pnpm/extract-files@9.0.0/node_modules/extract-files/public/ReactNativeFile.js
|
|
32
32
|
var require_ReactNativeFile = __commonJS({
|
|
@@ -84,8 +84,7 @@ var require_extractFiles = __commonJS({
|
|
|
84
84
|
var result = extractFiles(value[i], "" + prefix + i, isExtractableFile);
|
|
85
85
|
result.files.forEach(addFile), clone2[i] = result.clone;
|
|
86
86
|
}
|
|
87
|
-
} else
|
|
88
|
-
clone2 = value;
|
|
87
|
+
} else clone2 = value;
|
|
89
88
|
}
|
|
90
89
|
return {
|
|
91
90
|
clone: clone2,
|
|
@@ -9824,14 +9823,17 @@ var require_blockString = __commonJS({
|
|
|
9824
9823
|
case 14:
|
|
9825
9824
|
case 15:
|
|
9826
9825
|
return !1;
|
|
9826
|
+
// Has non-printable characters
|
|
9827
9827
|
case 13:
|
|
9828
9828
|
return !1;
|
|
9829
|
+
// Has \r or \r\n which will be replaced as \n
|
|
9829
9830
|
case 10:
|
|
9830
9831
|
if (isEmptyLine && !seenNonEmptyLine)
|
|
9831
9832
|
return !1;
|
|
9832
9833
|
seenNonEmptyLine = !0, isEmptyLine = !0, hasIndent = !1;
|
|
9833
9834
|
break;
|
|
9834
9835
|
case 9:
|
|
9836
|
+
// \t
|
|
9835
9837
|
case 32:
|
|
9836
9838
|
hasIndent || (hasIndent = isEmptyLine);
|
|
9837
9839
|
break;
|
|
@@ -9964,20 +9966,50 @@ var require_lexer = __commonJS({
|
|
|
9964
9966
|
for (; position < bodyLength; ) {
|
|
9965
9967
|
let code = body.charCodeAt(position);
|
|
9966
9968
|
switch (code) {
|
|
9969
|
+
// Ignored ::
|
|
9970
|
+
// - UnicodeBOM
|
|
9971
|
+
// - WhiteSpace
|
|
9972
|
+
// - LineTerminator
|
|
9973
|
+
// - Comment
|
|
9974
|
+
// - Comma
|
|
9975
|
+
//
|
|
9976
|
+
// UnicodeBOM :: "Byte Order Mark (U+FEFF)"
|
|
9977
|
+
//
|
|
9978
|
+
// WhiteSpace ::
|
|
9979
|
+
// - "Horizontal Tab (U+0009)"
|
|
9980
|
+
// - "Space (U+0020)"
|
|
9981
|
+
//
|
|
9982
|
+
// Comma :: ,
|
|
9967
9983
|
case 65279:
|
|
9984
|
+
// <BOM>
|
|
9968
9985
|
case 9:
|
|
9986
|
+
// \t
|
|
9969
9987
|
case 32:
|
|
9988
|
+
// <space>
|
|
9970
9989
|
case 44:
|
|
9971
9990
|
++position;
|
|
9972
9991
|
continue;
|
|
9992
|
+
// LineTerminator ::
|
|
9993
|
+
// - "New Line (U+000A)"
|
|
9994
|
+
// - "Carriage Return (U+000D)" [lookahead != "New Line (U+000A)"]
|
|
9995
|
+
// - "Carriage Return (U+000D)" "New Line (U+000A)"
|
|
9973
9996
|
case 10:
|
|
9974
9997
|
++position, ++lexer.line, lexer.lineStart = position;
|
|
9975
9998
|
continue;
|
|
9976
9999
|
case 13:
|
|
9977
10000
|
body.charCodeAt(position + 1) === 10 ? position += 2 : ++position, ++lexer.line, lexer.lineStart = position;
|
|
9978
10001
|
continue;
|
|
10002
|
+
// Comment
|
|
9979
10003
|
case 35:
|
|
9980
10004
|
return readComment(lexer, position);
|
|
10005
|
+
// Token ::
|
|
10006
|
+
// - Punctuator
|
|
10007
|
+
// - Name
|
|
10008
|
+
// - IntValue
|
|
10009
|
+
// - FloatValue
|
|
10010
|
+
// - StringValue
|
|
10011
|
+
//
|
|
10012
|
+
// Punctuator :: one of ! $ & ( ) ... : = @ [ ] { | }
|
|
9981
10013
|
case 33:
|
|
9982
10014
|
return createToken(
|
|
9983
10015
|
lexer,
|
|
@@ -10078,6 +10110,7 @@ var require_lexer = __commonJS({
|
|
|
10078
10110
|
position,
|
|
10079
10111
|
position + 1
|
|
10080
10112
|
);
|
|
10113
|
+
// StringValue
|
|
10081
10114
|
case 34:
|
|
10082
10115
|
return body.charCodeAt(position + 1) === 34 && body.charCodeAt(position + 2) === 34 ? readBlockString(lexer, position) : readString(lexer, position);
|
|
10083
10116
|
}
|
|
@@ -12230,8 +12263,7 @@ var require_visitor = __commonJS({
|
|
|
12230
12263
|
skipping[i] = BREAK;
|
|
12231
12264
|
else if (result !== void 0 && result !== !1)
|
|
12232
12265
|
return result;
|
|
12233
|
-
} else
|
|
12234
|
-
skipping[i] === node && (skipping[i] = null);
|
|
12266
|
+
} else skipping[i] === node && (skipping[i] = null);
|
|
12235
12267
|
}
|
|
12236
12268
|
};
|
|
12237
12269
|
mergedVisitor[kind] = mergedEnterLeave;
|
|
@@ -15449,6 +15481,8 @@ var require_KnownDirectivesRule = __commonJS({
|
|
|
15449
15481
|
let parentNode = ancestors[ancestors.length - 3];
|
|
15450
15482
|
return "kind" in parentNode || (0, _invariant.invariant)(!1), parentNode.kind === _kinds.Kind.INPUT_OBJECT_TYPE_DEFINITION ? _directiveLocation.DirectiveLocation.INPUT_FIELD_DEFINITION : _directiveLocation.DirectiveLocation.ARGUMENT_DEFINITION;
|
|
15451
15483
|
}
|
|
15484
|
+
// Not reachable, all possible types have been considered.
|
|
15485
|
+
/* c8 ignore next */
|
|
15452
15486
|
default:
|
|
15453
15487
|
(0, _invariant.invariant)(
|
|
15454
15488
|
!1,
|
|
@@ -16396,6 +16430,8 @@ var require_PossibleTypeExtensionsRule = __commonJS({
|
|
|
16396
16430
|
return "enum";
|
|
16397
16431
|
case _kinds.Kind.INPUT_OBJECT_TYPE_EXTENSION:
|
|
16398
16432
|
return "input object";
|
|
16433
|
+
// Not reachable. All possible types have been considered
|
|
16434
|
+
/* c8 ignore next */
|
|
16399
16435
|
default:
|
|
16400
16436
|
(0, _invariant.invariant)(
|
|
16401
16437
|
!1,
|
|
@@ -18382,8 +18418,7 @@ var require_execute = __commonJS({
|
|
|
18382
18418
|
)
|
|
18383
18419
|
];
|
|
18384
18420
|
operation = definition;
|
|
18385
|
-
} else
|
|
18386
|
-
((_definition$name = definition.name) === null || _definition$name === void 0 ? void 0 : _definition$name.value) === operationName && (operation = definition);
|
|
18421
|
+
} else ((_definition$name = definition.name) === null || _definition$name === void 0 ? void 0 : _definition$name.value) === operationName && (operation = definition);
|
|
18387
18422
|
break;
|
|
18388
18423
|
case _kinds.Kind.FRAGMENT_DEFINITION:
|
|
18389
18424
|
fragments[definition.name.value] = definition;
|
|
@@ -20789,8 +20824,7 @@ var require_extendSchema = __commonJS({
|
|
|
20789
20824
|
else if ((0, _predicates.isTypeExtensionNode)(def)) {
|
|
20790
20825
|
let extendedTypeName = def.name.value, existingTypeExtensions = typeExtensionsMap[extendedTypeName];
|
|
20791
20826
|
typeExtensionsMap[extendedTypeName] = existingTypeExtensions ? existingTypeExtensions.concat([def]) : [def];
|
|
20792
|
-
} else
|
|
20793
|
-
def.kind === _kinds.Kind.DIRECTIVE_DEFINITION && directiveDefs.push(def);
|
|
20827
|
+
} else def.kind === _kinds.Kind.DIRECTIVE_DEFINITION && directiveDefs.push(def);
|
|
20794
20828
|
if (Object.keys(typeExtensionsMap).length === 0 && typeDefs.length === 0 && directiveDefs.length === 0 && schemaExtensions.length === 0 && schemaDef == null)
|
|
20795
20829
|
return schemaConfig;
|
|
20796
20830
|
let typeMap = /* @__PURE__ */ Object.create(null);
|
|
@@ -21215,6 +21249,9 @@ var require_buildASTSchema = __commonJS({
|
|
|
21215
21249
|
if (config.astNode == null)
|
|
21216
21250
|
for (let type of config.types)
|
|
21217
21251
|
switch (type.name) {
|
|
21252
|
+
// Note: While this could make early assertions to get the correctly
|
|
21253
|
+
// typed values below, that would throw immediately while type system
|
|
21254
|
+
// validation with validateSchema() will produce more actionable results.
|
|
21218
21255
|
case "Query":
|
|
21219
21256
|
config.query = type;
|
|
21220
21257
|
break;
|
|
@@ -24596,8 +24633,7 @@ var require_url_state_machine = __commonJS({
|
|
|
24596
24633
|
this.failure = !0;
|
|
24597
24634
|
break;
|
|
24598
24635
|
}
|
|
24599
|
-
} else
|
|
24600
|
-
break;
|
|
24636
|
+
} else break;
|
|
24601
24637
|
}
|
|
24602
24638
|
}
|
|
24603
24639
|
URLStateMachine.prototype["parse scheme start"] = function(c, cStr) {
|
|
@@ -24754,8 +24790,7 @@ var require_url_state_machine = __commonJS({
|
|
|
24754
24790
|
if ((!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") && (this.encodingOverride = "utf-8"), !this.stateOverride && c === p("#") || isNaN(c)) {
|
|
24755
24791
|
let queryPercentEncodePredicate = isSpecial(this.url) ? isSpecialQueryPercentEncode : isQueryPercentEncode;
|
|
24756
24792
|
this.url.query += utf8PercentEncodeString(this.buffer, queryPercentEncodePredicate), this.buffer = "", c === p("#") && (this.url.fragment = "", this.state = "fragment");
|
|
24757
|
-
} else
|
|
24758
|
-
isNaN(c) || (c === p("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2])) && (this.parseError = !0), this.buffer += cStr);
|
|
24793
|
+
} else isNaN(c) || (c === p("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2])) && (this.parseError = !0), this.buffer += cStr);
|
|
24759
24794
|
return !0;
|
|
24760
24795
|
};
|
|
24761
24796
|
URLStateMachine.prototype["parse fragment"] = function(c) {
|
|
@@ -26071,30 +26106,29 @@ var require_lib2 = __commonJS({
|
|
|
26071
26106
|
this.append(headerName, value);
|
|
26072
26107
|
return;
|
|
26073
26108
|
}
|
|
26074
|
-
if (init != null)
|
|
26075
|
-
|
|
26076
|
-
|
|
26077
|
-
if (method !=
|
|
26078
|
-
|
|
26079
|
-
|
|
26080
|
-
|
|
26081
|
-
|
|
26082
|
-
|
|
26083
|
-
|
|
26084
|
-
|
|
26085
|
-
|
|
26086
|
-
|
|
26087
|
-
|
|
26088
|
-
|
|
26089
|
-
|
|
26090
|
-
}
|
|
26091
|
-
} else
|
|
26092
|
-
for (let key of Object.keys(init)) {
|
|
26093
|
-
let value = init[key];
|
|
26094
|
-
this.append(key, value);
|
|
26095
|
-
}
|
|
26109
|
+
if (init != null) if (typeof init == "object") {
|
|
26110
|
+
let method = init[Symbol.iterator];
|
|
26111
|
+
if (method != null) {
|
|
26112
|
+
if (typeof method != "function")
|
|
26113
|
+
throw new TypeError("Header pairs must be iterable");
|
|
26114
|
+
let pairs = [];
|
|
26115
|
+
for (let pair of init) {
|
|
26116
|
+
if (typeof pair != "object" || typeof pair[Symbol.iterator] != "function")
|
|
26117
|
+
throw new TypeError("Each header pair must be iterable");
|
|
26118
|
+
pairs.push(Array.from(pair));
|
|
26119
|
+
}
|
|
26120
|
+
for (let pair of pairs) {
|
|
26121
|
+
if (pair.length !== 2)
|
|
26122
|
+
throw new TypeError("Each header pair must be a name/value tuple");
|
|
26123
|
+
this.append(pair[0], pair[1]);
|
|
26124
|
+
}
|
|
26096
26125
|
} else
|
|
26097
|
-
|
|
26126
|
+
for (let key of Object.keys(init)) {
|
|
26127
|
+
let value = init[key];
|
|
26128
|
+
this.append(key, value);
|
|
26129
|
+
}
|
|
26130
|
+
} else
|
|
26131
|
+
throw new TypeError("Provided initializer must be an object");
|
|
26098
26132
|
}
|
|
26099
26133
|
/**
|
|
26100
26134
|
* Return combined header value given name
|
|
@@ -26270,8 +26304,7 @@ var require_lib2 = __commonJS({
|
|
|
26270
26304
|
if (Array.isArray(obj[name]))
|
|
26271
26305
|
for (let val of obj[name])
|
|
26272
26306
|
invalidHeaderCharRegex.test(val) || (headers[MAP][name] === void 0 ? headers[MAP][name] = [val] : headers[MAP][name].push(val));
|
|
26273
|
-
else
|
|
26274
|
-
invalidHeaderCharRegex.test(obj[name]) || (headers[MAP][name] = [obj[name]]);
|
|
26307
|
+
else invalidHeaderCharRegex.test(obj[name]) || (headers[MAP][name] = [obj[name]]);
|
|
26275
26308
|
return headers;
|
|
26276
26309
|
}
|
|
26277
26310
|
var INTERNALS$1 = Symbol("Response internals"), STATUS_CODES = http3.STATUS_CODES, Response2 = class _Response {
|
|
@@ -26814,8 +26847,7 @@ function randomUUID() {
|
|
|
26814
26847
|
return crypto.randomUUID();
|
|
26815
26848
|
}
|
|
26816
26849
|
function nonRandomUUID(subject) {
|
|
26817
|
-
|
|
26818
|
-
return crypto.createHash("sha1").update(Buffer.from(namespace.replace(/-/g, ""), "hex")).update(subject).digest().toString("hex").replace(/(.{8})(.{4})(.{4})(.{4})(.{12})/, "$1-$2-$3-$4-$5");
|
|
26850
|
+
return crypto.createHash("sha1").update(Buffer.from("6ba7b810-9dad-11d1-80b4-00c04fd430c8".replace(/-/g, ""), "hex")).update(subject).digest().toString("hex").replace(/(.{8})(.{4})(.{4})(.{4})(.{12})/, "$1-$2-$3-$4-$5");
|
|
26819
26851
|
}
|
|
26820
26852
|
|
|
26821
26853
|
// ../cli-kit/dist/public/node/http.js
|
|
@@ -27389,7 +27421,7 @@ ${result.sanitizedHeaders}
|
|
|
27389
27421
|
}
|
|
27390
27422
|
|
|
27391
27423
|
// ../cli-kit/dist/public/node/http.js
|
|
27392
|
-
var import_form_data2 = __toESM(require_form_data2()
|
|
27424
|
+
var import_form_data2 = __toESM(require_form_data2());
|
|
27393
27425
|
|
|
27394
27426
|
// ../../node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/index.js
|
|
27395
27427
|
init_cjs_shims();
|
|
@@ -27504,7 +27536,7 @@ var pipeline = promisify(Stream.pipeline), INTERNALS = Symbol("Body internals"),
|
|
|
27504
27536
|
formData2.append(name, value);
|
|
27505
27537
|
return formData2;
|
|
27506
27538
|
}
|
|
27507
|
-
let { toFormData } = await import("./multipart-parser-
|
|
27539
|
+
let { toFormData } = await import("./multipart-parser-WSNBP656.js");
|
|
27508
27540
|
return toFormData(this.body, ct);
|
|
27509
27541
|
}
|
|
27510
27542
|
/**
|
|
@@ -28896,32 +28928,31 @@ var ZodString = class _ZodString extends ZodType {
|
|
|
28896
28928
|
message: check.message
|
|
28897
28929
|
}), status.dirty();
|
|
28898
28930
|
}
|
|
28899
|
-
else
|
|
28900
|
-
|
|
28901
|
-
|
|
28902
|
-
|
|
28903
|
-
|
|
28904
|
-
|
|
28905
|
-
|
|
28906
|
-
|
|
28907
|
-
|
|
28908
|
-
|
|
28909
|
-
|
|
28910
|
-
|
|
28911
|
-
|
|
28912
|
-
|
|
28913
|
-
|
|
28914
|
-
|
|
28915
|
-
|
|
28916
|
-
|
|
28917
|
-
|
|
28918
|
-
|
|
28919
|
-
|
|
28920
|
-
|
|
28921
|
-
|
|
28922
|
-
|
|
28923
|
-
|
|
28924
|
-
}), status.dirty()) : util.assertNever(check);
|
|
28931
|
+
else check.kind === "regex" ? (check.regex.lastIndex = 0, check.regex.test(input.data) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
28932
|
+
validation: "regex",
|
|
28933
|
+
code: ZodIssueCode.invalid_string,
|
|
28934
|
+
message: check.message
|
|
28935
|
+
}), status.dirty())) : check.kind === "trim" ? input.data = input.data.trim() : check.kind === "includes" ? input.data.includes(check.value, check.position) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
28936
|
+
code: ZodIssueCode.invalid_string,
|
|
28937
|
+
validation: { includes: check.value, position: check.position },
|
|
28938
|
+
message: check.message
|
|
28939
|
+
}), status.dirty()) : check.kind === "toLowerCase" ? input.data = input.data.toLowerCase() : check.kind === "toUpperCase" ? input.data = input.data.toUpperCase() : check.kind === "startsWith" ? input.data.startsWith(check.value) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
28940
|
+
code: ZodIssueCode.invalid_string,
|
|
28941
|
+
validation: { startsWith: check.value },
|
|
28942
|
+
message: check.message
|
|
28943
|
+
}), status.dirty()) : check.kind === "endsWith" ? input.data.endsWith(check.value) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
28944
|
+
code: ZodIssueCode.invalid_string,
|
|
28945
|
+
validation: { endsWith: check.value },
|
|
28946
|
+
message: check.message
|
|
28947
|
+
}), status.dirty()) : check.kind === "datetime" ? datetimeRegex(check).test(input.data) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
28948
|
+
code: ZodIssueCode.invalid_string,
|
|
28949
|
+
validation: "datetime",
|
|
28950
|
+
message: check.message
|
|
28951
|
+
}), status.dirty()) : check.kind === "ip" ? isValidIP(input.data, check.version) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
28952
|
+
validation: "ip",
|
|
28953
|
+
code: ZodIssueCode.invalid_string,
|
|
28954
|
+
message: check.message
|
|
28955
|
+
}), status.dirty()) : util.assertNever(check);
|
|
28925
28956
|
return { status: status.value, value: input.data };
|
|
28926
28957
|
}
|
|
28927
28958
|
_addCheck(check) {
|
|
@@ -29654,11 +29685,10 @@ function deepPartialify(schema) {
|
|
|
29654
29685
|
...schema._def,
|
|
29655
29686
|
shape: () => newShape
|
|
29656
29687
|
});
|
|
29657
|
-
} else
|
|
29658
|
-
|
|
29659
|
-
|
|
29660
|
-
|
|
29661
|
-
}) : schema instanceof ZodOptional ? ZodOptional.create(deepPartialify(schema.unwrap())) : schema instanceof ZodNullable ? ZodNullable.create(deepPartialify(schema.unwrap())) : schema instanceof ZodTuple ? ZodTuple.create(schema.items.map((item) => deepPartialify(item))) : schema;
|
|
29688
|
+
} else return schema instanceof ZodArray ? new ZodArray({
|
|
29689
|
+
...schema._def,
|
|
29690
|
+
type: deepPartialify(schema.element)
|
|
29691
|
+
}) : schema instanceof ZodOptional ? ZodOptional.create(deepPartialify(schema.unwrap())) : schema instanceof ZodNullable ? ZodNullable.create(deepPartialify(schema.unwrap())) : schema instanceof ZodTuple ? ZodTuple.create(schema.items.map((item) => deepPartialify(item))) : schema;
|
|
29662
29692
|
}
|
|
29663
29693
|
var ZodObject = class _ZodObject extends ZodType {
|
|
29664
29694
|
constructor() {
|
|
@@ -29705,8 +29735,7 @@ var ZodObject = class _ZodObject extends ZodType {
|
|
|
29705
29735
|
code: ZodIssueCode.unrecognized_keys,
|
|
29706
29736
|
keys: extraKeys
|
|
29707
29737
|
}), status.dirty());
|
|
29708
|
-
else if (unknownKeys !== "strip")
|
|
29709
|
-
throw new Error("Internal ZodObject error: invalid unknownKeys value.");
|
|
29738
|
+
else if (unknownKeys !== "strip") throw new Error("Internal ZodObject error: invalid unknownKeys value.");
|
|
29710
29739
|
} else {
|
|
29711
29740
|
let catchall = this._def.catchall;
|
|
29712
29741
|
for (let key of extraKeys) {
|
|
@@ -30106,8 +30135,7 @@ function mergeValues(a, b) {
|
|
|
30106
30135
|
newArray.push(sharedValue.data);
|
|
30107
30136
|
}
|
|
30108
30137
|
return { valid: !0, data: newArray };
|
|
30109
|
-
} else
|
|
30110
|
-
return aType === ZodParsedType.date && bType === ZodParsedType.date && +a == +b ? { valid: !0, data: a } : { valid: !1 };
|
|
30138
|
+
} else return aType === ZodParsedType.date && bType === ZodParsedType.date && +a == +b ? { valid: !0, data: a } : { valid: !1 };
|
|
30111
30139
|
}
|
|
30112
30140
|
var ZodIntersection = class extends ZodType {
|
|
30113
30141
|
_parse(input) {
|
|
@@ -30985,8 +31013,7 @@ function deepStrict(schema) {
|
|
|
30985
31013
|
if (schema instanceof ZodObject) {
|
|
30986
31014
|
let shape = schema.shape, strictShape = Object.fromEntries(Object.entries(shape).map(([key, value]) => [key, deepStrict(value)]));
|
|
30987
31015
|
return z.object(strictShape).strict();
|
|
30988
|
-
} else
|
|
30989
|
-
return schema instanceof ZodOptional ? deepStrict(schema._def.innerType).optional() : schema;
|
|
31016
|
+
} else return schema instanceof ZodOptional ? deepStrict(schema._def.innerType).optional() : schema;
|
|
30990
31017
|
}
|
|
30991
31018
|
|
|
30992
31019
|
// ../cli-kit/dist/public/node/environment.js
|
|
@@ -31065,4 +31092,4 @@ mime-types/index.js:
|
|
|
31065
31092
|
* MIT Licensed
|
|
31066
31093
|
*)
|
|
31067
31094
|
*/
|
|
31068
|
-
//# sourceMappingURL=chunk-
|
|
31095
|
+
//# sourceMappingURL=chunk-X5WKMCE4.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS,
|
|
3
3
|
init_cjs_shims
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
5
5
|
|
|
6
6
|
// ../../node_modules/.pnpm/normalize-path@3.0.0/node_modules/normalize-path/index.js
|
|
7
7
|
var require_normalize_path = __commonJS({
|
|
@@ -10,11 +10,9 @@ var require_normalize_path = __commonJS({
|
|
|
10
10
|
module.exports = function(path, stripTrailing) {
|
|
11
11
|
if (typeof path != "string")
|
|
12
12
|
throw new TypeError("expected path to be a string");
|
|
13
|
-
if (path === "\\" || path === "/")
|
|
14
|
-
return "/";
|
|
13
|
+
if (path === "\\" || path === "/") return "/";
|
|
15
14
|
var len = path.length;
|
|
16
|
-
if (len <= 1)
|
|
17
|
-
return path;
|
|
15
|
+
if (len <= 1) return path;
|
|
18
16
|
var prefix = "";
|
|
19
17
|
if (len > 4 && path[3] === "\\") {
|
|
20
18
|
var ch = path[2];
|
|
@@ -39,4 +37,4 @@ normalize-path/index.js:
|
|
|
39
37
|
* Released under the MIT License.
|
|
40
38
|
*)
|
|
41
39
|
*/
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
40
|
+
//# sourceMappingURL=chunk-X7YTIMNN.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS,
|
|
3
3
|
init_cjs_shims
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
5
5
|
|
|
6
6
|
// ../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js
|
|
7
7
|
var require_balanced_match = __commonJS({
|
|
@@ -42,4 +42,4 @@ var require_balanced_match = __commonJS({
|
|
|
42
42
|
export {
|
|
43
43
|
require_balanced_match
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=chunk-
|
|
45
|
+
//# sourceMappingURL=chunk-XE5EOEBL.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QIM24FVT.js";
|
|
4
4
|
import {
|
|
5
5
|
outputInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OXS42VB7.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
10
10
|
|
|
11
11
|
// src/cli/services/commands/version.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -17,4 +17,4 @@ async function versionService() {
|
|
|
17
17
|
export {
|
|
18
18
|
versionService
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-YVXC5Q6R.js.map
|