@shopify/cli 3.73.1 → 3.74.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/assets/dev-console/extensions/dev-console/assets/{index-D7F9wNys.js → index-lyGm6l3x.js} +12 -12
- package/dist/assets/dev-console/index.html +2 -2
- package/dist/assets/speedscope/SourceCodePro-Regular.ttf.f546cbe0.woff2 +0 -0
- package/dist/assets/speedscope/demangle-cpp.1768f4cc.js +4 -0
- package/dist/assets/speedscope/favicon-16x16.f74b3187.png +0 -0
- package/dist/assets/speedscope/favicon-32x32.bc503437.png +0 -0
- package/dist/assets/speedscope/file-format-schema.json +324 -0
- package/dist/assets/speedscope/import.bcbb2033.js +123 -0
- package/dist/assets/speedscope/index.html +2 -0
- package/dist/assets/speedscope/perf-vertx-stacks-01-collapsed-all.2681da68.txt +199 -0
- package/dist/assets/speedscope/release.txt +3 -0
- package/dist/assets/speedscope/reset.8c46b7a1.css +2 -0
- package/dist/assets/speedscope/source-code-pro.52b1676f.css +2 -0
- package/dist/assets/speedscope/source-code-pro.LICENSE.md +93 -0
- package/dist/assets/speedscope/source-map.438fa06b.js +24 -0
- package/dist/assets/speedscope/speedscope.6f107512.js +193 -0
- package/dist/{chokidar-5LLC6S6D.js → chokidar-BLUAYFAB.js} +13 -1044
- package/dist/chokidar-OATAHMV6.js +1122 -0
- package/dist/{chunk-PWMEMGZN.js → chunk-2GCE2GUM.js} +3 -3
- package/dist/chunk-3I3GQNEW.js +95 -0
- package/dist/{chunk-OFYEMT6X.js → chunk-4QRIOWN3.js} +2 -2
- package/dist/{chunk-TIXENOYB.js → chunk-4W33LVQQ.js} +3 -3
- package/dist/{chunk-PVMQM44E.js → chunk-53WQGP7S.js} +4 -4
- package/dist/chunk-57Q6OQG4.js +111 -0
- package/dist/{chunk-MHUINF7I.js → chunk-5CLGH5PH.js} +2 -2
- package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
- package/dist/{chunk-SNXQ36U2.js → chunk-5JC3BUPR.js} +3 -3
- package/dist/{chunk-3UQTWISO.js → chunk-5JWRABV2.js} +8 -8
- package/dist/{chunk-4SP4IRCQ.js → chunk-6JNRBEP6.js} +7 -9
- package/dist/{chunk-NHV2E73I.js → chunk-76NEANNG.js} +6442 -3165
- package/dist/{chunk-X4N2QZOS.js → chunk-7T4EKFVU.js} +16 -2
- package/dist/{chunk-I72O5WWR.js → chunk-ACIVN2Q4.js} +502 -699
- package/dist/{chunk-ZX3L2JKV.js → chunk-AKL7T64Q.js} +80 -133
- package/dist/{chunk-YVXC5Q6R.js → chunk-B27LGWRZ.js} +3 -3
- package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
- package/dist/{chunk-X5WKMCE4.js → chunk-BWBSJLZN.js} +333 -156
- package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
- package/dist/{chunk-SBPFWO4S.js → chunk-CDQA3SST.js} +56182 -37290
- package/dist/chunk-CP3BRHWK.js +33 -0
- package/dist/{chunk-RZOW7U2N.js → chunk-D5AR5HKB.js} +2 -2
- package/dist/chunk-EMPP4I5H.js +497 -0
- package/dist/{chunk-DZHO64DX.js → chunk-FCWD4NEK.js} +3 -3
- package/dist/{chunk-7JQIHXLD.js → chunk-FMXC2O6H.js} +2 -2
- package/dist/{chunk-P63UVLRS.js → chunk-GVMUVIT5.js} +7 -7
- package/dist/{chunk-KUM3DVPF.js → chunk-HMDWNGIV.js} +142 -471
- package/dist/{chunk-MJWFXPPX.js → chunk-I6YWZKVU.js} +2 -2
- package/dist/{chunk-MLL3JKVY.js → chunk-IYQNHNNP.js} +4 -4
- package/dist/{chunk-QIM24FVT.js → chunk-JWRRKMF2.js} +2 -2
- package/dist/{chunk-OXS42VB7.js → chunk-L3FVJFIT.js} +498 -412
- package/dist/{chunk-HIQDOFZI.js → chunk-LH6BHL6J.js} +3 -3
- package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
- package/dist/{chunk-4UAFBJXJ.js → chunk-MDJOXUMQ.js} +4 -4
- package/dist/{chunk-EKIVYQZC.js → chunk-MSBZRBI5.js} +4 -4
- package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
- package/dist/{chunk-GLYEBL66.js → chunk-NUW6LQU4.js} +4 -4
- package/dist/{chunk-LPBV67AA.js → chunk-PMOQBQSE.js} +3 -3
- package/dist/{chunk-NQZUE7SY.js → chunk-QEUQO265.js} +5 -7
- package/dist/chunk-QRARFXIM.js +1137 -0
- package/dist/{chunk-KD7WMX4J.js → chunk-R7RENZQC.js} +3 -3
- package/dist/chunk-UB7RN523.js +15933 -0
- package/dist/{chunk-O72ZUVEA.js → chunk-VI4NVMJH.js} +2 -2
- package/dist/{chunk-RDZJQNFU.js → chunk-WBTJ7MQU.js} +3 -3
- package/dist/{chunk-CXHISGHD.js → chunk-WKO4CJCL.js} +5 -7
- package/dist/{chunk-6NZVGPSV.js → chunk-WNUVUNTL.js} +41 -23
- package/dist/{chunk-RBLSG22M.js → chunk-XBIDXV7B.js} +4 -4
- package/dist/{chunk-PBDGN4T2.js → chunk-XJNTFQIK.js} +5 -5
- package/dist/cli/commands/auth/logout.js +20 -19
- package/dist/cli/commands/auth/logout.test.js +22 -21
- package/dist/cli/commands/cache/clear.js +19 -18
- package/dist/cli/commands/debug/command-flags.js +19 -18
- package/dist/cli/commands/docs/generate.js +19 -18
- package/dist/cli/commands/docs/generate.test.js +20 -19
- package/dist/cli/commands/help.js +19 -18
- package/dist/cli/commands/kitchen-sink/async.js +20 -19
- package/dist/cli/commands/kitchen-sink/async.test.js +21 -20
- package/dist/cli/commands/kitchen-sink/index.js +22 -21
- package/dist/cli/commands/kitchen-sink/index.test.js +23 -22
- package/dist/cli/commands/kitchen-sink/prompts.js +20 -19
- package/dist/cli/commands/kitchen-sink/prompts.test.js +21 -20
- package/dist/cli/commands/kitchen-sink/static.js +20 -19
- package/dist/cli/commands/kitchen-sink/static.test.js +21 -20
- package/dist/cli/commands/notifications/generate.js +20 -19
- package/dist/cli/commands/notifications/list.js +20 -19
- package/dist/cli/commands/search.js +20 -19
- package/dist/cli/commands/upgrade.js +20 -19
- package/dist/cli/commands/upgrade.test.js +2 -1
- package/dist/cli/commands/version.js +20 -19
- package/dist/cli/commands/version.test.js +21 -20
- package/dist/cli/services/commands/notifications.js +14 -13
- package/dist/cli/services/commands/search.js +9 -8
- package/dist/cli/services/commands/search.test.js +10 -9
- package/dist/cli/services/commands/version.js +10 -9
- package/dist/cli/services/commands/version.test.js +12 -11
- package/dist/cli/services/kitchen-sink/async.js +9 -8
- package/dist/cli/services/kitchen-sink/prompts.js +9 -8
- package/dist/cli/services/kitchen-sink/static.js +9 -8
- package/dist/cli/services/upgrade.d.ts +0 -1
- package/dist/cli/services/upgrade.js +11 -10
- package/dist/cli/services/upgrade.test.js +14 -13
- package/dist/configs/all.yml +6 -0
- package/dist/configs/recommended.yml +6 -0
- package/dist/{custom-oclif-loader-L4JT3EUD.js → custom-oclif-loader-ZY5GUSB3.js} +9 -8
- package/dist/{del-P2RS6GN2.js → del-FBU5JYXS.js} +4 -4
- package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
- package/dist/{error-handler-4CU3ZOV7.js → error-handler-YRN4E6SY.js} +17 -16
- package/dist/hooks/postrun.js +18 -16
- package/dist/hooks/prerun.js +15 -14
- package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
- package/dist/index.js +18723 -17426
- package/dist/lib-E2DSNKUX.js +13 -0
- package/dist/{local-2K66O4X2.js → local-VTZT5Q4L.js} +11 -10
- package/dist/{morph-OSHCID2F.js → morph-ACVSDUS7.js} +3 -3
- package/dist/{node-342GUJIM.js → node-ONVZF27D.js} +23 -20
- package/dist/{node-package-manager-RJSBCFD7.js → node-package-manager-BZNXJETD.js} +11 -10
- package/dist/{npa-TM76BGG3.js → npa-JAX2F6CO.js} +2 -2
- package/dist/out-AZBX4ITJ.js +7 -0
- package/dist/{path-2HZUSAGR.js → path-2K5HIMHZ.js} +3 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-YBLW4B72.js → ui-3RKZNTJR.js} +9 -8
- package/dist/{workerd-5KR5CP5F.js → workerd-PSNADDQA.js} +23 -20
- package/oclif.manifest.json +103 -2
- package/package.json +9 -9
- package/LICENSE +0 -8
- package/dist/chunk-5YYJVU2L.js +0 -15746
- package/dist/chunk-HYVCBINV.js +0 -3811
- package/dist/lib-QZGSY5YB.js +0 -13
- package/dist/out-JR4DWQ2G.js +0 -7
- /package/dist/assets/dev-console/extensions/dev-console/assets/{index-Cgb-oKsM.css → index-n8yr6cxq.css} +0 -0
|
@@ -5,22 +5,16 @@ import {
|
|
|
5
5
|
} from "./chunk-25IMI7TH.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JWRRKMF2.js";
|
|
9
9
|
import {
|
|
10
10
|
Environment,
|
|
11
|
-
environmentVariables,
|
|
12
11
|
firstPartyDev,
|
|
13
12
|
import_ts_error,
|
|
14
|
-
isTruthy,
|
|
15
13
|
outputContent,
|
|
16
14
|
outputDebug,
|
|
17
15
|
runWithTimer,
|
|
18
|
-
serviceEnvironment
|
|
19
|
-
|
|
20
|
-
} from "./chunk-OXS42VB7.js";
|
|
21
|
-
import {
|
|
22
|
-
sniffForJson
|
|
23
|
-
} from "./chunk-K7HGDAI4.js";
|
|
16
|
+
serviceEnvironment
|
|
17
|
+
} from "./chunk-L3FVJFIT.js";
|
|
24
18
|
import {
|
|
25
19
|
__commonJS,
|
|
26
20
|
__require,
|
|
@@ -26670,9 +26664,9 @@ var require_node_ponyfill = __commonJS({
|
|
|
26670
26664
|
}
|
|
26671
26665
|
});
|
|
26672
26666
|
|
|
26673
|
-
// ../../node_modules/.pnpm/form-data@4.0.
|
|
26667
|
+
// ../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/populate.js
|
|
26674
26668
|
var require_populate2 = __commonJS({
|
|
26675
|
-
"../../node_modules/.pnpm/form-data@4.0.
|
|
26669
|
+
"../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/populate.js"(exports, module) {
|
|
26676
26670
|
init_cjs_shims();
|
|
26677
26671
|
module.exports = function(dst, src) {
|
|
26678
26672
|
return Object.keys(src).forEach(function(prop) {
|
|
@@ -26682,9 +26676,9 @@ var require_populate2 = __commonJS({
|
|
|
26682
26676
|
}
|
|
26683
26677
|
});
|
|
26684
26678
|
|
|
26685
|
-
// ../../node_modules/.pnpm/form-data@4.0.
|
|
26679
|
+
// ../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/form_data.js
|
|
26686
26680
|
var require_form_data2 = __commonJS({
|
|
26687
|
-
"../../node_modules/.pnpm/form-data@4.0.
|
|
26681
|
+
"../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/form_data.js"(exports, module) {
|
|
26688
26682
|
init_cjs_shims();
|
|
26689
26683
|
var CombinedStream = require_combined_stream(), util2 = __require("util"), path = __require("path"), http3 = __require("http"), https3 = __require("https"), parseUrl = __require("url").parse, fs = __require("fs"), Stream3 = __require("stream").Stream, mime = require_mime_types(), asynckit = require_asynckit(), populate = require_populate2();
|
|
26690
26684
|
module.exports = FormData4;
|
|
@@ -26702,7 +26696,7 @@ var require_form_data2 = __commonJS({
|
|
|
26702
26696
|
FormData4.prototype.append = function(field, value, options) {
|
|
26703
26697
|
options = options || {}, typeof options == "string" && (options = { filename: options });
|
|
26704
26698
|
var append = CombinedStream.prototype.append.bind(this);
|
|
26705
|
-
if (typeof value == "number" && (value = "" + value),
|
|
26699
|
+
if (typeof value == "number" && (value = "" + value), Array.isArray(value)) {
|
|
26706
26700
|
this._error(new Error("Arrays are not supported."));
|
|
26707
26701
|
return;
|
|
26708
26702
|
}
|
|
@@ -26834,22 +26828,6 @@ var require_form_data2 = __commonJS({
|
|
|
26834
26828
|
}
|
|
26835
26829
|
});
|
|
26836
26830
|
|
|
26837
|
-
// ../cli-kit/dist/public/node/crypto.js
|
|
26838
|
-
init_cjs_shims();
|
|
26839
|
-
import crypto from "crypto";
|
|
26840
|
-
function hashString(str) {
|
|
26841
|
-
return crypto.createHash("sha1").update(str).digest("hex");
|
|
26842
|
-
}
|
|
26843
|
-
function fileHash(buff) {
|
|
26844
|
-
return crypto.createHash("md5").update(buff).digest("hex");
|
|
26845
|
-
}
|
|
26846
|
-
function randomUUID() {
|
|
26847
|
-
return crypto.randomUUID();
|
|
26848
|
-
}
|
|
26849
|
-
function nonRandomUUID(subject) {
|
|
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");
|
|
26851
|
-
}
|
|
26852
|
-
|
|
26853
26831
|
// ../cli-kit/dist/public/node/http.js
|
|
26854
26832
|
init_cjs_shims();
|
|
26855
26833
|
|
|
@@ -28304,7 +28282,7 @@ ${sanitizedHeadersOutput(options.headers ?? {})}
|
|
|
28304
28282
|
}));
|
|
28305
28283
|
}
|
|
28306
28284
|
|
|
28307
|
-
// ../../node_modules/.pnpm/zod@3.
|
|
28285
|
+
// ../../node_modules/.pnpm/zod@3.24.1/node_modules/zod/lib/index.mjs
|
|
28308
28286
|
init_cjs_shims();
|
|
28309
28287
|
var util;
|
|
28310
28288
|
(function(util2) {
|
|
@@ -28409,7 +28387,10 @@ var ZodParsedType = util.arrayToEnum([
|
|
|
28409
28387
|
"invalid_intersection_types",
|
|
28410
28388
|
"not_multiple_of",
|
|
28411
28389
|
"not_finite"
|
|
28412
|
-
]), quotelessJson = (obj) => JSON.stringify(obj, null, 2).replace(/"([^"]+)":/g, "$1:"), ZodError = class extends Error {
|
|
28390
|
+
]), quotelessJson = (obj) => JSON.stringify(obj, null, 2).replace(/"([^"]+)":/g, "$1:"), ZodError = class _ZodError extends Error {
|
|
28391
|
+
get errors() {
|
|
28392
|
+
return this.issues;
|
|
28393
|
+
}
|
|
28413
28394
|
constructor(issues) {
|
|
28414
28395
|
super(), this.issues = [], this.addIssue = (sub) => {
|
|
28415
28396
|
this.issues = [...this.issues, sub];
|
|
@@ -28419,9 +28400,6 @@ var ZodParsedType = util.arrayToEnum([
|
|
|
28419
28400
|
let actualProto = new.target.prototype;
|
|
28420
28401
|
Object.setPrototypeOf ? Object.setPrototypeOf(this, actualProto) : this.__proto__ = actualProto, this.name = "ZodError", this.issues = issues;
|
|
28421
28402
|
}
|
|
28422
|
-
get errors() {
|
|
28423
|
-
return this.issues;
|
|
28424
|
-
}
|
|
28425
28403
|
format(_mapper) {
|
|
28426
28404
|
let mapper = _mapper || function(issue) {
|
|
28427
28405
|
return issue.message;
|
|
@@ -28445,6 +28423,10 @@ var ZodParsedType = util.arrayToEnum([
|
|
|
28445
28423
|
};
|
|
28446
28424
|
return processError(this), fieldErrors;
|
|
28447
28425
|
}
|
|
28426
|
+
static assert(value) {
|
|
28427
|
+
if (!(value instanceof _ZodError))
|
|
28428
|
+
throw new Error(`Not a ZodError: ${value}`);
|
|
28429
|
+
}
|
|
28448
28430
|
toString() {
|
|
28449
28431
|
return this.message;
|
|
28450
28432
|
}
|
|
@@ -28531,25 +28513,35 @@ var makeIssue = (params) => {
|
|
|
28531
28513
|
let { data, path, errorMaps, issueData } = params, fullPath = [...path, ...issueData.path || []], fullIssue = {
|
|
28532
28514
|
...issueData,
|
|
28533
28515
|
path: fullPath
|
|
28534
|
-
}
|
|
28516
|
+
};
|
|
28517
|
+
if (issueData.message !== void 0)
|
|
28518
|
+
return {
|
|
28519
|
+
...issueData,
|
|
28520
|
+
path: fullPath,
|
|
28521
|
+
message: issueData.message
|
|
28522
|
+
};
|
|
28523
|
+
let errorMessage = "", maps = errorMaps.filter((m) => !!m).slice().reverse();
|
|
28535
28524
|
for (let map of maps)
|
|
28536
28525
|
errorMessage = map(fullIssue, { data, defaultError: errorMessage }).message;
|
|
28537
28526
|
return {
|
|
28538
28527
|
...issueData,
|
|
28539
28528
|
path: fullPath,
|
|
28540
|
-
message:
|
|
28529
|
+
message: errorMessage
|
|
28541
28530
|
};
|
|
28542
28531
|
}, EMPTY_PATH = [];
|
|
28543
28532
|
function addIssueToContext(ctx, issueData) {
|
|
28544
|
-
let issue = makeIssue({
|
|
28533
|
+
let overrideMap = getErrorMap(), issue = makeIssue({
|
|
28545
28534
|
issueData,
|
|
28546
28535
|
data: ctx.data,
|
|
28547
28536
|
path: ctx.path,
|
|
28548
28537
|
errorMaps: [
|
|
28549
28538
|
ctx.common.contextualErrorMap,
|
|
28539
|
+
// contextual error map is first priority
|
|
28550
28540
|
ctx.schemaErrorMap,
|
|
28551
|
-
|
|
28552
|
-
|
|
28541
|
+
// then schema-bound map if available
|
|
28542
|
+
overrideMap,
|
|
28543
|
+
// then global override map
|
|
28544
|
+
overrideMap === errorMap ? void 0 : errorMap
|
|
28553
28545
|
// then global default map
|
|
28554
28546
|
].filter((x) => !!x)
|
|
28555
28547
|
});
|
|
@@ -28576,11 +28568,13 @@ var ParseStatus = class _ParseStatus {
|
|
|
28576
28568
|
}
|
|
28577
28569
|
static async mergeObjectAsync(status, pairs) {
|
|
28578
28570
|
let syncPairs = [];
|
|
28579
|
-
for (let pair of pairs)
|
|
28571
|
+
for (let pair of pairs) {
|
|
28572
|
+
let key = await pair.key, value = await pair.value;
|
|
28580
28573
|
syncPairs.push({
|
|
28581
|
-
key
|
|
28582
|
-
value
|
|
28574
|
+
key,
|
|
28575
|
+
value
|
|
28583
28576
|
});
|
|
28577
|
+
}
|
|
28584
28578
|
return _ParseStatus.mergeObjectSync(status, syncPairs);
|
|
28585
28579
|
}
|
|
28586
28580
|
static mergeObjectSync(status, pairs) {
|
|
@@ -28595,11 +28589,23 @@ var ParseStatus = class _ParseStatus {
|
|
|
28595
28589
|
}
|
|
28596
28590
|
}, INVALID = Object.freeze({
|
|
28597
28591
|
status: "aborted"
|
|
28598
|
-
}), DIRTY = (value) => ({ status: "dirty", value }), OK = (value) => ({ status: "valid", value }), isAborted = (x) => x.status === "aborted", isDirty = (x) => x.status === "dirty", isValid = (x) => x.status === "valid", isAsync = (x) => typeof Promise < "u" && x instanceof Promise
|
|
28592
|
+
}), DIRTY = (value) => ({ status: "dirty", value }), OK = (value) => ({ status: "valid", value }), isAborted = (x) => x.status === "aborted", isDirty = (x) => x.status === "dirty", isValid = (x) => x.status === "valid", isAsync = (x) => typeof Promise < "u" && x instanceof Promise;
|
|
28593
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
28594
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
28595
|
+
if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
28596
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
28597
|
+
}
|
|
28598
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
28599
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
28600
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
28601
|
+
if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
28602
|
+
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
28603
|
+
}
|
|
28604
|
+
var errorUtil;
|
|
28599
28605
|
(function(errorUtil2) {
|
|
28600
28606
|
errorUtil2.errToObj = (message) => typeof message == "string" ? { message } : message || {}, errorUtil2.toString = (message) => typeof message == "string" ? message : message?.message;
|
|
28601
28607
|
})(errorUtil || (errorUtil = {}));
|
|
28602
|
-
var ParseInputLazyPath = class {
|
|
28608
|
+
var _ZodEnum_cache, _ZodNativeEnum_cache, ParseInputLazyPath = class {
|
|
28603
28609
|
constructor(parent, value, path, key) {
|
|
28604
28610
|
this._cachedPath = [], this.parent = parent, this.data = value, this._path = path, this._key = key;
|
|
28605
28611
|
}
|
|
@@ -28627,12 +28633,13 @@ function processCreateParams(params) {
|
|
|
28627
28633
|
let { errorMap: errorMap2, invalid_type_error, required_error, description } = params;
|
|
28628
28634
|
if (errorMap2 && (invalid_type_error || required_error))
|
|
28629
28635
|
throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
|
|
28630
|
-
return errorMap2 ? { errorMap: errorMap2, description } : { errorMap: (iss, ctx) =>
|
|
28636
|
+
return errorMap2 ? { errorMap: errorMap2, description } : { errorMap: (iss, ctx) => {
|
|
28637
|
+
var _a, _b;
|
|
28638
|
+
let { message } = params;
|
|
28639
|
+
return iss.code === "invalid_enum_value" ? { message: message ?? ctx.defaultError } : typeof ctx.data > "u" ? { message: (_a = message ?? required_error) !== null && _a !== void 0 ? _a : ctx.defaultError } : iss.code !== "invalid_type" ? { message: ctx.defaultError } : { message: (_b = message ?? invalid_type_error) !== null && _b !== void 0 ? _b : ctx.defaultError };
|
|
28640
|
+
}, description };
|
|
28631
28641
|
}
|
|
28632
28642
|
var ZodType = class {
|
|
28633
|
-
constructor(def) {
|
|
28634
|
-
this.spa = this.safeParseAsync, this._def = def, this.parse = this.parse.bind(this), this.safeParse = this.safeParse.bind(this), this.parseAsync = this.parseAsync.bind(this), this.safeParseAsync = this.safeParseAsync.bind(this), this.spa = this.spa.bind(this), this.refine = this.refine.bind(this), this.refinement = this.refinement.bind(this), this.superRefine = this.superRefine.bind(this), this.optional = this.optional.bind(this), this.nullable = this.nullable.bind(this), this.nullish = this.nullish.bind(this), this.array = this.array.bind(this), this.promise = this.promise.bind(this), this.or = this.or.bind(this), this.and = this.and.bind(this), this.transform = this.transform.bind(this), this.brand = this.brand.bind(this), this.default = this.default.bind(this), this.catch = this.catch.bind(this), this.describe = this.describe.bind(this), this.pipe = this.pipe.bind(this), this.readonly = this.readonly.bind(this), this.isNullable = this.isNullable.bind(this), this.isOptional = this.isOptional.bind(this);
|
|
28635
|
-
}
|
|
28636
28643
|
get description() {
|
|
28637
28644
|
return this._def.description;
|
|
28638
28645
|
}
|
|
@@ -28694,6 +28701,39 @@ var ZodType = class {
|
|
|
28694
28701
|
}, result = this._parseSync({ data, path: ctx.path, parent: ctx });
|
|
28695
28702
|
return handleResult(ctx, result);
|
|
28696
28703
|
}
|
|
28704
|
+
"~validate"(data) {
|
|
28705
|
+
var _a, _b;
|
|
28706
|
+
let ctx = {
|
|
28707
|
+
common: {
|
|
28708
|
+
issues: [],
|
|
28709
|
+
async: !!this["~standard"].async
|
|
28710
|
+
},
|
|
28711
|
+
path: [],
|
|
28712
|
+
schemaErrorMap: this._def.errorMap,
|
|
28713
|
+
parent: null,
|
|
28714
|
+
data,
|
|
28715
|
+
parsedType: getParsedType(data)
|
|
28716
|
+
};
|
|
28717
|
+
if (!this["~standard"].async)
|
|
28718
|
+
try {
|
|
28719
|
+
let result = this._parseSync({ data, path: [], parent: ctx });
|
|
28720
|
+
return isValid(result) ? {
|
|
28721
|
+
value: result.value
|
|
28722
|
+
} : {
|
|
28723
|
+
issues: ctx.common.issues
|
|
28724
|
+
};
|
|
28725
|
+
} catch (err) {
|
|
28726
|
+
!((_b = (_a = err?.message) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0) && _b.includes("encountered") && (this["~standard"].async = !0), ctx.common = {
|
|
28727
|
+
issues: [],
|
|
28728
|
+
async: !0
|
|
28729
|
+
};
|
|
28730
|
+
}
|
|
28731
|
+
return this._parseAsync({ data, path: [], parent: ctx }).then((result) => isValid(result) ? {
|
|
28732
|
+
value: result.value
|
|
28733
|
+
} : {
|
|
28734
|
+
issues: ctx.common.issues
|
|
28735
|
+
});
|
|
28736
|
+
}
|
|
28697
28737
|
async parseAsync(data, params) {
|
|
28698
28738
|
let result = await this.safeParseAsync(data, params);
|
|
28699
28739
|
if (result.success)
|
|
@@ -28738,6 +28778,13 @@ var ZodType = class {
|
|
|
28738
28778
|
superRefine(refinement) {
|
|
28739
28779
|
return this._refinement(refinement);
|
|
28740
28780
|
}
|
|
28781
|
+
constructor(def) {
|
|
28782
|
+
this.spa = this.safeParseAsync, this._def = def, this.parse = this.parse.bind(this), this.safeParse = this.safeParse.bind(this), this.parseAsync = this.parseAsync.bind(this), this.safeParseAsync = this.safeParseAsync.bind(this), this.spa = this.spa.bind(this), this.refine = this.refine.bind(this), this.refinement = this.refinement.bind(this), this.superRefine = this.superRefine.bind(this), this.optional = this.optional.bind(this), this.nullable = this.nullable.bind(this), this.nullish = this.nullish.bind(this), this.array = this.array.bind(this), this.promise = this.promise.bind(this), this.or = this.or.bind(this), this.and = this.and.bind(this), this.transform = this.transform.bind(this), this.brand = this.brand.bind(this), this.default = this.default.bind(this), this.catch = this.catch.bind(this), this.describe = this.describe.bind(this), this.pipe = this.pipe.bind(this), this.readonly = this.readonly.bind(this), this.isNullable = this.isNullable.bind(this), this.isOptional = this.isOptional.bind(this), this["~standard"] = {
|
|
28783
|
+
version: 1,
|
|
28784
|
+
vendor: "zod",
|
|
28785
|
+
validate: (data) => this["~validate"](data)
|
|
28786
|
+
};
|
|
28787
|
+
}
|
|
28741
28788
|
optional() {
|
|
28742
28789
|
return ZodOptional.create(this, this._def);
|
|
28743
28790
|
}
|
|
@@ -28748,7 +28795,7 @@ var ZodType = class {
|
|
|
28748
28795
|
return this.nullable().optional();
|
|
28749
28796
|
}
|
|
28750
28797
|
array() {
|
|
28751
|
-
return ZodArray.create(this
|
|
28798
|
+
return ZodArray.create(this);
|
|
28752
28799
|
}
|
|
28753
28800
|
promise() {
|
|
28754
28801
|
return ZodPromise.create(this, this._def);
|
|
@@ -28811,39 +28858,43 @@ var ZodType = class {
|
|
|
28811
28858
|
isNullable() {
|
|
28812
28859
|
return this.safeParse(null).success;
|
|
28813
28860
|
}
|
|
28814
|
-
}, cuidRegex = /^c[^\s-]{8,}$/i, cuid2Regex = /^[
|
|
28861
|
+
}, cuidRegex = /^c[^\s-]{8,}$/i, cuid2Regex = /^[0-9a-z]+$/, ulidRegex = /^[0-9A-HJKMNP-TV-Z]{26}$/i, uuidRegex = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, nanoidRegex = /^[a-z0-9_-]{21}$/i, jwtRegex = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, durationRegex = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, emailRegex = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, _emojiRegex = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$", emojiRegex, ipv4Regex = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, ipv4CidrRegex = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, ipv6Regex = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, ipv6CidrRegex = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, base64Regex = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, base64urlRegex = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, dateRegexSource = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", dateRegex = new RegExp(`^${dateRegexSource}$`);
|
|
28862
|
+
function timeRegexSource(args) {
|
|
28863
|
+
let regex = "([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";
|
|
28864
|
+
return args.precision ? regex = `${regex}\\.\\d{${args.precision}}` : args.precision == null && (regex = `${regex}(\\.\\d+)?`), regex;
|
|
28865
|
+
}
|
|
28866
|
+
function timeRegex(args) {
|
|
28867
|
+
return new RegExp(`^${timeRegexSource(args)}$`);
|
|
28868
|
+
}
|
|
28869
|
+
function datetimeRegex(args) {
|
|
28870
|
+
let regex = `${dateRegexSource}T${timeRegexSource(args)}`, opts = [];
|
|
28871
|
+
return opts.push(args.local ? "Z?" : "Z"), args.offset && opts.push("([+-]\\d{2}:?\\d{2})"), regex = `${regex}(${opts.join("|")})`, new RegExp(`^${regex}$`);
|
|
28872
|
+
}
|
|
28815
28873
|
function isValidIP(ip, version) {
|
|
28816
28874
|
return !!((version === "v4" || !version) && ipv4Regex.test(ip) || (version === "v6" || !version) && ipv6Regex.test(ip));
|
|
28817
28875
|
}
|
|
28818
|
-
|
|
28819
|
-
|
|
28820
|
-
|
|
28821
|
-
|
|
28822
|
-
|
|
28823
|
-
|
|
28824
|
-
|
|
28825
|
-
|
|
28826
|
-
checks: [...this._def.checks, { kind: "trim" }]
|
|
28827
|
-
}), this.toLowerCase = () => new _ZodString({
|
|
28828
|
-
...this._def,
|
|
28829
|
-
checks: [...this._def.checks, { kind: "toLowerCase" }]
|
|
28830
|
-
}), this.toUpperCase = () => new _ZodString({
|
|
28831
|
-
...this._def,
|
|
28832
|
-
checks: [...this._def.checks, { kind: "toUpperCase" }]
|
|
28833
|
-
});
|
|
28876
|
+
function isValidJWT(jwt, alg) {
|
|
28877
|
+
if (!jwtRegex.test(jwt))
|
|
28878
|
+
return !1;
|
|
28879
|
+
try {
|
|
28880
|
+
let [header] = jwt.split("."), base64 = header.replace(/-/g, "+").replace(/_/g, "/").padEnd(header.length + (4 - header.length % 4) % 4, "="), decoded = JSON.parse(atob(base64));
|
|
28881
|
+
return !(typeof decoded != "object" || decoded === null || !decoded.typ || !decoded.alg || alg && decoded.alg !== alg);
|
|
28882
|
+
} catch {
|
|
28883
|
+
return !1;
|
|
28834
28884
|
}
|
|
28885
|
+
}
|
|
28886
|
+
function isValidCidr(ip, version) {
|
|
28887
|
+
return !!((version === "v4" || !version) && ipv4CidrRegex.test(ip) || (version === "v6" || !version) && ipv6CidrRegex.test(ip));
|
|
28888
|
+
}
|
|
28889
|
+
var ZodString = class _ZodString extends ZodType {
|
|
28835
28890
|
_parse(input) {
|
|
28836
28891
|
if (this._def.coerce && (input.data = String(input.data)), this._getType(input) !== ZodParsedType.string) {
|
|
28837
28892
|
let ctx2 = this._getOrReturnCtx(input);
|
|
28838
|
-
return addIssueToContext(
|
|
28839
|
-
|
|
28840
|
-
|
|
28841
|
-
|
|
28842
|
-
|
|
28843
|
-
received: ctx2.parsedType
|
|
28844
|
-
}
|
|
28845
|
-
//
|
|
28846
|
-
), INVALID;
|
|
28893
|
+
return addIssueToContext(ctx2, {
|
|
28894
|
+
code: ZodIssueCode.invalid_type,
|
|
28895
|
+
expected: ZodParsedType.string,
|
|
28896
|
+
received: ctx2.parsedType
|
|
28897
|
+
}), INVALID;
|
|
28847
28898
|
}
|
|
28848
28899
|
let status = new ParseStatus(), ctx;
|
|
28849
28900
|
for (let check of this._def.checks)
|
|
@@ -28889,7 +28940,7 @@ var ZodString = class _ZodString extends ZodType {
|
|
|
28889
28940
|
message: check.message
|
|
28890
28941
|
}), status.dirty());
|
|
28891
28942
|
else if (check.kind === "emoji")
|
|
28892
|
-
emojiRegex.test(input.data) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
28943
|
+
emojiRegex || (emojiRegex = new RegExp(_emojiRegex, "u")), emojiRegex.test(input.data) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
28893
28944
|
validation: "emoji",
|
|
28894
28945
|
code: ZodIssueCode.invalid_string,
|
|
28895
28946
|
message: check.message
|
|
@@ -28900,6 +28951,12 @@ var ZodString = class _ZodString extends ZodType {
|
|
|
28900
28951
|
code: ZodIssueCode.invalid_string,
|
|
28901
28952
|
message: check.message
|
|
28902
28953
|
}), status.dirty());
|
|
28954
|
+
else if (check.kind === "nanoid")
|
|
28955
|
+
nanoidRegex.test(input.data) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
28956
|
+
validation: "nanoid",
|
|
28957
|
+
code: ZodIssueCode.invalid_string,
|
|
28958
|
+
message: check.message
|
|
28959
|
+
}), status.dirty());
|
|
28903
28960
|
else if (check.kind === "cuid")
|
|
28904
28961
|
cuidRegex.test(input.data) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
28905
28962
|
validation: "cuid",
|
|
@@ -28948,13 +29005,48 @@ var ZodString = class _ZodString extends ZodType {
|
|
|
28948
29005
|
code: ZodIssueCode.invalid_string,
|
|
28949
29006
|
validation: "datetime",
|
|
28950
29007
|
message: check.message
|
|
29008
|
+
}), status.dirty()) : check.kind === "date" ? dateRegex.test(input.data) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
29009
|
+
code: ZodIssueCode.invalid_string,
|
|
29010
|
+
validation: "date",
|
|
29011
|
+
message: check.message
|
|
29012
|
+
}), status.dirty()) : check.kind === "time" ? timeRegex(check).test(input.data) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
29013
|
+
code: ZodIssueCode.invalid_string,
|
|
29014
|
+
validation: "time",
|
|
29015
|
+
message: check.message
|
|
29016
|
+
}), status.dirty()) : check.kind === "duration" ? durationRegex.test(input.data) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
29017
|
+
validation: "duration",
|
|
29018
|
+
code: ZodIssueCode.invalid_string,
|
|
29019
|
+
message: check.message
|
|
28951
29020
|
}), status.dirty()) : check.kind === "ip" ? isValidIP(input.data, check.version) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
28952
29021
|
validation: "ip",
|
|
28953
29022
|
code: ZodIssueCode.invalid_string,
|
|
28954
29023
|
message: check.message
|
|
29024
|
+
}), status.dirty()) : check.kind === "jwt" ? isValidJWT(input.data, check.alg) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
29025
|
+
validation: "jwt",
|
|
29026
|
+
code: ZodIssueCode.invalid_string,
|
|
29027
|
+
message: check.message
|
|
29028
|
+
}), status.dirty()) : check.kind === "cidr" ? isValidCidr(input.data, check.version) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
29029
|
+
validation: "cidr",
|
|
29030
|
+
code: ZodIssueCode.invalid_string,
|
|
29031
|
+
message: check.message
|
|
29032
|
+
}), status.dirty()) : check.kind === "base64" ? base64Regex.test(input.data) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
29033
|
+
validation: "base64",
|
|
29034
|
+
code: ZodIssueCode.invalid_string,
|
|
29035
|
+
message: check.message
|
|
29036
|
+
}), status.dirty()) : check.kind === "base64url" ? base64urlRegex.test(input.data) || (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
29037
|
+
validation: "base64url",
|
|
29038
|
+
code: ZodIssueCode.invalid_string,
|
|
29039
|
+
message: check.message
|
|
28955
29040
|
}), status.dirty()) : util.assertNever(check);
|
|
28956
29041
|
return { status: status.value, value: input.data };
|
|
28957
29042
|
}
|
|
29043
|
+
_regex(regex, validation, message) {
|
|
29044
|
+
return this.refinement((data) => regex.test(data), {
|
|
29045
|
+
validation,
|
|
29046
|
+
code: ZodIssueCode.invalid_string,
|
|
29047
|
+
...errorUtil.errToObj(message)
|
|
29048
|
+
});
|
|
29049
|
+
}
|
|
28958
29050
|
_addCheck(check) {
|
|
28959
29051
|
return new _ZodString({
|
|
28960
29052
|
...this._def,
|
|
@@ -28973,6 +29065,9 @@ var ZodString = class _ZodString extends ZodType {
|
|
|
28973
29065
|
uuid(message) {
|
|
28974
29066
|
return this._addCheck({ kind: "uuid", ...errorUtil.errToObj(message) });
|
|
28975
29067
|
}
|
|
29068
|
+
nanoid(message) {
|
|
29069
|
+
return this._addCheck({ kind: "nanoid", ...errorUtil.errToObj(message) });
|
|
29070
|
+
}
|
|
28976
29071
|
cuid(message) {
|
|
28977
29072
|
return this._addCheck({ kind: "cuid", ...errorUtil.errToObj(message) });
|
|
28978
29073
|
}
|
|
@@ -28982,23 +29077,57 @@ var ZodString = class _ZodString extends ZodType {
|
|
|
28982
29077
|
ulid(message) {
|
|
28983
29078
|
return this._addCheck({ kind: "ulid", ...errorUtil.errToObj(message) });
|
|
28984
29079
|
}
|
|
29080
|
+
base64(message) {
|
|
29081
|
+
return this._addCheck({ kind: "base64", ...errorUtil.errToObj(message) });
|
|
29082
|
+
}
|
|
29083
|
+
base64url(message) {
|
|
29084
|
+
return this._addCheck({
|
|
29085
|
+
kind: "base64url",
|
|
29086
|
+
...errorUtil.errToObj(message)
|
|
29087
|
+
});
|
|
29088
|
+
}
|
|
29089
|
+
jwt(options) {
|
|
29090
|
+
return this._addCheck({ kind: "jwt", ...errorUtil.errToObj(options) });
|
|
29091
|
+
}
|
|
28985
29092
|
ip(options) {
|
|
28986
29093
|
return this._addCheck({ kind: "ip", ...errorUtil.errToObj(options) });
|
|
28987
29094
|
}
|
|
29095
|
+
cidr(options) {
|
|
29096
|
+
return this._addCheck({ kind: "cidr", ...errorUtil.errToObj(options) });
|
|
29097
|
+
}
|
|
28988
29098
|
datetime(options) {
|
|
28989
|
-
var _a;
|
|
29099
|
+
var _a, _b;
|
|
28990
29100
|
return typeof options == "string" ? this._addCheck({
|
|
28991
29101
|
kind: "datetime",
|
|
28992
29102
|
precision: null,
|
|
28993
29103
|
offset: !1,
|
|
29104
|
+
local: !1,
|
|
28994
29105
|
message: options
|
|
28995
29106
|
}) : this._addCheck({
|
|
28996
29107
|
kind: "datetime",
|
|
28997
29108
|
precision: typeof options?.precision > "u" ? null : options?.precision,
|
|
28998
29109
|
offset: (_a = options?.offset) !== null && _a !== void 0 ? _a : !1,
|
|
29110
|
+
local: (_b = options?.local) !== null && _b !== void 0 ? _b : !1,
|
|
29111
|
+
...errorUtil.errToObj(options?.message)
|
|
29112
|
+
});
|
|
29113
|
+
}
|
|
29114
|
+
date(message) {
|
|
29115
|
+
return this._addCheck({ kind: "date", message });
|
|
29116
|
+
}
|
|
29117
|
+
time(options) {
|
|
29118
|
+
return typeof options == "string" ? this._addCheck({
|
|
29119
|
+
kind: "time",
|
|
29120
|
+
precision: null,
|
|
29121
|
+
message: options
|
|
29122
|
+
}) : this._addCheck({
|
|
29123
|
+
kind: "time",
|
|
29124
|
+
precision: typeof options?.precision > "u" ? null : options?.precision,
|
|
28999
29125
|
...errorUtil.errToObj(options?.message)
|
|
29000
29126
|
});
|
|
29001
29127
|
}
|
|
29128
|
+
duration(message) {
|
|
29129
|
+
return this._addCheck({ kind: "duration", ...errorUtil.errToObj(message) });
|
|
29130
|
+
}
|
|
29002
29131
|
regex(regex, message) {
|
|
29003
29132
|
return this._addCheck({
|
|
29004
29133
|
kind: "regex",
|
|
@@ -29049,9 +29178,42 @@ var ZodString = class _ZodString extends ZodType {
|
|
|
29049
29178
|
...errorUtil.errToObj(message)
|
|
29050
29179
|
});
|
|
29051
29180
|
}
|
|
29181
|
+
/**
|
|
29182
|
+
* Equivalent to `.min(1)`
|
|
29183
|
+
*/
|
|
29184
|
+
nonempty(message) {
|
|
29185
|
+
return this.min(1, errorUtil.errToObj(message));
|
|
29186
|
+
}
|
|
29187
|
+
trim() {
|
|
29188
|
+
return new _ZodString({
|
|
29189
|
+
...this._def,
|
|
29190
|
+
checks: [...this._def.checks, { kind: "trim" }]
|
|
29191
|
+
});
|
|
29192
|
+
}
|
|
29193
|
+
toLowerCase() {
|
|
29194
|
+
return new _ZodString({
|
|
29195
|
+
...this._def,
|
|
29196
|
+
checks: [...this._def.checks, { kind: "toLowerCase" }]
|
|
29197
|
+
});
|
|
29198
|
+
}
|
|
29199
|
+
toUpperCase() {
|
|
29200
|
+
return new _ZodString({
|
|
29201
|
+
...this._def,
|
|
29202
|
+
checks: [...this._def.checks, { kind: "toUpperCase" }]
|
|
29203
|
+
});
|
|
29204
|
+
}
|
|
29052
29205
|
get isDatetime() {
|
|
29053
29206
|
return !!this._def.checks.find((ch) => ch.kind === "datetime");
|
|
29054
29207
|
}
|
|
29208
|
+
get isDate() {
|
|
29209
|
+
return !!this._def.checks.find((ch) => ch.kind === "date");
|
|
29210
|
+
}
|
|
29211
|
+
get isTime() {
|
|
29212
|
+
return !!this._def.checks.find((ch) => ch.kind === "time");
|
|
29213
|
+
}
|
|
29214
|
+
get isDuration() {
|
|
29215
|
+
return !!this._def.checks.find((ch) => ch.kind === "duration");
|
|
29216
|
+
}
|
|
29055
29217
|
get isEmail() {
|
|
29056
29218
|
return !!this._def.checks.find((ch) => ch.kind === "email");
|
|
29057
29219
|
}
|
|
@@ -29064,6 +29226,9 @@ var ZodString = class _ZodString extends ZodType {
|
|
|
29064
29226
|
get isUUID() {
|
|
29065
29227
|
return !!this._def.checks.find((ch) => ch.kind === "uuid");
|
|
29066
29228
|
}
|
|
29229
|
+
get isNANOID() {
|
|
29230
|
+
return !!this._def.checks.find((ch) => ch.kind === "nanoid");
|
|
29231
|
+
}
|
|
29067
29232
|
get isCUID() {
|
|
29068
29233
|
return !!this._def.checks.find((ch) => ch.kind === "cuid");
|
|
29069
29234
|
}
|
|
@@ -29076,6 +29241,15 @@ var ZodString = class _ZodString extends ZodType {
|
|
|
29076
29241
|
get isIP() {
|
|
29077
29242
|
return !!this._def.checks.find((ch) => ch.kind === "ip");
|
|
29078
29243
|
}
|
|
29244
|
+
get isCIDR() {
|
|
29245
|
+
return !!this._def.checks.find((ch) => ch.kind === "cidr");
|
|
29246
|
+
}
|
|
29247
|
+
get isBase64() {
|
|
29248
|
+
return !!this._def.checks.find((ch) => ch.kind === "base64");
|
|
29249
|
+
}
|
|
29250
|
+
get isBase64url() {
|
|
29251
|
+
return !!this._def.checks.find((ch) => ch.kind === "base64url");
|
|
29252
|
+
}
|
|
29079
29253
|
get minLength() {
|
|
29080
29254
|
let min = null;
|
|
29081
29255
|
for (let ch of this._def.checks)
|
|
@@ -29278,14 +29452,14 @@ var ZodBigInt = class _ZodBigInt extends ZodType {
|
|
|
29278
29452
|
super(...arguments), this.min = this.gte, this.max = this.lte;
|
|
29279
29453
|
}
|
|
29280
29454
|
_parse(input) {
|
|
29281
|
-
if (this._def.coerce
|
|
29282
|
-
|
|
29283
|
-
|
|
29284
|
-
|
|
29285
|
-
|
|
29286
|
-
|
|
29287
|
-
|
|
29288
|
-
|
|
29455
|
+
if (this._def.coerce)
|
|
29456
|
+
try {
|
|
29457
|
+
input.data = BigInt(input.data);
|
|
29458
|
+
} catch {
|
|
29459
|
+
return this._getInvalidInput(input);
|
|
29460
|
+
}
|
|
29461
|
+
if (this._getType(input) !== ZodParsedType.bigint)
|
|
29462
|
+
return this._getInvalidInput(input);
|
|
29289
29463
|
let ctx, status = new ParseStatus();
|
|
29290
29464
|
for (let check of this._def.checks)
|
|
29291
29465
|
check.kind === "min" ? (check.inclusive ? input.data < check.value : input.data <= check.value) && (ctx = this._getOrReturnCtx(input, ctx), addIssueToContext(ctx, {
|
|
@@ -29307,6 +29481,14 @@ var ZodBigInt = class _ZodBigInt extends ZodType {
|
|
|
29307
29481
|
}), status.dirty()) : util.assertNever(check);
|
|
29308
29482
|
return { status: status.value, value: input.data };
|
|
29309
29483
|
}
|
|
29484
|
+
_getInvalidInput(input) {
|
|
29485
|
+
let ctx = this._getOrReturnCtx(input);
|
|
29486
|
+
return addIssueToContext(ctx, {
|
|
29487
|
+
code: ZodIssueCode.invalid_type,
|
|
29488
|
+
expected: ZodParsedType.bigint,
|
|
29489
|
+
received: ctx.parsedType
|
|
29490
|
+
}), INVALID;
|
|
29491
|
+
}
|
|
29310
29492
|
gte(value, message) {
|
|
29311
29493
|
return this.setLimit("min", value, !0, errorUtil.toString(message));
|
|
29312
29494
|
}
|
|
@@ -29753,10 +29935,10 @@ var ZodObject = class _ZodObject extends ZodType {
|
|
|
29753
29935
|
return ctx.common.async ? Promise.resolve().then(async () => {
|
|
29754
29936
|
let syncPairs = [];
|
|
29755
29937
|
for (let pair of pairs) {
|
|
29756
|
-
let key = await pair.key;
|
|
29938
|
+
let key = await pair.key, value = await pair.value;
|
|
29757
29939
|
syncPairs.push({
|
|
29758
29940
|
key,
|
|
29759
|
-
value
|
|
29941
|
+
value,
|
|
29760
29942
|
alwaysSet: pair.alwaysSet
|
|
29761
29943
|
});
|
|
29762
29944
|
}
|
|
@@ -30049,7 +30231,7 @@ ZodUnion.create = (types3, params) => new ZodUnion({
|
|
|
30049
30231
|
typeName: ZodFirstPartyTypeKind.ZodUnion,
|
|
30050
30232
|
...processCreateParams(params)
|
|
30051
30233
|
});
|
|
30052
|
-
var getDiscriminator = (type) => type instanceof ZodLazy ? getDiscriminator(type.schema) : type instanceof ZodEffects ? getDiscriminator(type.innerType()) : type instanceof ZodLiteral ? [type.value] : type instanceof ZodEnum ? type.options : type instanceof ZodNativeEnum ?
|
|
30234
|
+
var getDiscriminator = (type) => type instanceof ZodLazy ? getDiscriminator(type.schema) : type instanceof ZodEffects ? getDiscriminator(type.innerType()) : type instanceof ZodLiteral ? [type.value] : type instanceof ZodEnum ? type.options : type instanceof ZodNativeEnum ? util.objectValues(type.enum) : type instanceof ZodDefault ? getDiscriminator(type._def.innerType) : type instanceof ZodUndefined ? [void 0] : type instanceof ZodNull ? [null] : type instanceof ZodOptional ? [void 0, ...getDiscriminator(type.unwrap())] : type instanceof ZodNullable ? [null, ...getDiscriminator(type.unwrap())] : type instanceof ZodBranded || type instanceof ZodReadonly ? getDiscriminator(type.unwrap()) : type instanceof ZodCatch ? getDiscriminator(type._def.innerType) : [], ZodDiscriminatedUnion = class _ZodDiscriminatedUnion extends ZodType {
|
|
30053
30235
|
_parse(input) {
|
|
30054
30236
|
let { ctx } = this._processInputParams(input);
|
|
30055
30237
|
if (ctx.parsedType !== ZodParsedType.object)
|
|
@@ -30094,7 +30276,7 @@ var getDiscriminator = (type) => type instanceof ZodLazy ? getDiscriminator(type
|
|
|
30094
30276
|
let optionsMap = /* @__PURE__ */ new Map();
|
|
30095
30277
|
for (let type of options) {
|
|
30096
30278
|
let discriminatorValues = getDiscriminator(type.shape[discriminator]);
|
|
30097
|
-
if (!discriminatorValues)
|
|
30279
|
+
if (!discriminatorValues.length)
|
|
30098
30280
|
throw new Error(`A discriminator value for key \`${discriminator}\` could not be extracted from all schema options`);
|
|
30099
30281
|
for (let value of discriminatorValues) {
|
|
30100
30282
|
if (optionsMap.has(value))
|
|
@@ -30244,7 +30426,8 @@ var ZodRecord = class _ZodRecord extends ZodType {
|
|
|
30244
30426
|
for (let key in ctx.data)
|
|
30245
30427
|
pairs.push({
|
|
30246
30428
|
key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, key)),
|
|
30247
|
-
value: valueType._parse(new ParseInputLazyPath(ctx, ctx.data[key], ctx.path, key))
|
|
30429
|
+
value: valueType._parse(new ParseInputLazyPath(ctx, ctx.data[key], ctx.path, key)),
|
|
30430
|
+
alwaysSet: key in ctx.data
|
|
30248
30431
|
});
|
|
30249
30432
|
return ctx.common.async ? ParseStatus.mergeObjectAsync(status, pairs) : ParseStatus.mergeObjectSync(status, pairs);
|
|
30250
30433
|
}
|
|
@@ -30519,6 +30702,9 @@ function createZodEnum(values, params) {
|
|
|
30519
30702
|
});
|
|
30520
30703
|
}
|
|
30521
30704
|
var ZodEnum = class _ZodEnum extends ZodType {
|
|
30705
|
+
constructor() {
|
|
30706
|
+
super(...arguments), _ZodEnum_cache.set(this, void 0);
|
|
30707
|
+
}
|
|
30522
30708
|
_parse(input) {
|
|
30523
30709
|
if (typeof input.data != "string") {
|
|
30524
30710
|
let ctx = this._getOrReturnCtx(input), expectedValues = this._def.values;
|
|
@@ -30528,7 +30714,7 @@ var ZodEnum = class _ZodEnum extends ZodType {
|
|
|
30528
30714
|
code: ZodIssueCode.invalid_type
|
|
30529
30715
|
}), INVALID;
|
|
30530
30716
|
}
|
|
30531
|
-
if (this._def.values.
|
|
30717
|
+
if (__classPrivateFieldGet(this, _ZodEnum_cache, "f") || __classPrivateFieldSet(this, _ZodEnum_cache, new Set(this._def.values), "f"), !__classPrivateFieldGet(this, _ZodEnum_cache, "f").has(input.data)) {
|
|
30532
30718
|
let ctx = this._getOrReturnCtx(input), expectedValues = this._def.values;
|
|
30533
30719
|
return addIssueToContext(ctx, {
|
|
30534
30720
|
received: ctx.data,
|
|
@@ -30559,15 +30745,25 @@ var ZodEnum = class _ZodEnum extends ZodType {
|
|
|
30559
30745
|
enumValues[val] = val;
|
|
30560
30746
|
return enumValues;
|
|
30561
30747
|
}
|
|
30562
|
-
extract(values) {
|
|
30563
|
-
return _ZodEnum.create(values
|
|
30748
|
+
extract(values, newDef = this._def) {
|
|
30749
|
+
return _ZodEnum.create(values, {
|
|
30750
|
+
...this._def,
|
|
30751
|
+
...newDef
|
|
30752
|
+
});
|
|
30564
30753
|
}
|
|
30565
|
-
exclude(values) {
|
|
30566
|
-
return _ZodEnum.create(this.options.filter((opt) => !values.includes(opt))
|
|
30754
|
+
exclude(values, newDef = this._def) {
|
|
30755
|
+
return _ZodEnum.create(this.options.filter((opt) => !values.includes(opt)), {
|
|
30756
|
+
...this._def,
|
|
30757
|
+
...newDef
|
|
30758
|
+
});
|
|
30567
30759
|
}
|
|
30568
30760
|
};
|
|
30761
|
+
_ZodEnum_cache = /* @__PURE__ */ new WeakMap();
|
|
30569
30762
|
ZodEnum.create = createZodEnum;
|
|
30570
30763
|
var ZodNativeEnum = class extends ZodType {
|
|
30764
|
+
constructor() {
|
|
30765
|
+
super(...arguments), _ZodNativeEnum_cache.set(this, void 0);
|
|
30766
|
+
}
|
|
30571
30767
|
_parse(input) {
|
|
30572
30768
|
let nativeEnumValues = util.getValidEnumValues(this._def.values), ctx = this._getOrReturnCtx(input);
|
|
30573
30769
|
if (ctx.parsedType !== ZodParsedType.string && ctx.parsedType !== ZodParsedType.number) {
|
|
@@ -30578,7 +30774,7 @@ var ZodNativeEnum = class extends ZodType {
|
|
|
30578
30774
|
code: ZodIssueCode.invalid_type
|
|
30579
30775
|
}), INVALID;
|
|
30580
30776
|
}
|
|
30581
|
-
if (
|
|
30777
|
+
if (__classPrivateFieldGet(this, _ZodNativeEnum_cache, "f") || __classPrivateFieldSet(this, _ZodNativeEnum_cache, new Set(util.getValidEnumValues(this._def.values)), "f"), !__classPrivateFieldGet(this, _ZodNativeEnum_cache, "f").has(input.data)) {
|
|
30582
30778
|
let expectedValues = util.objectValues(nativeEnumValues);
|
|
30583
30779
|
return addIssueToContext(ctx, {
|
|
30584
30780
|
received: ctx.data,
|
|
@@ -30592,6 +30788,7 @@ var ZodNativeEnum = class extends ZodType {
|
|
|
30592
30788
|
return this._def.values;
|
|
30593
30789
|
}
|
|
30594
30790
|
};
|
|
30791
|
+
_ZodNativeEnum_cache = /* @__PURE__ */ new WeakMap();
|
|
30595
30792
|
ZodNativeEnum.create = (values, params) => new ZodNativeEnum({
|
|
30596
30793
|
values,
|
|
30597
30794
|
typeName: ZodFirstPartyTypeKind.ZodNativeEnum,
|
|
@@ -30639,18 +30836,27 @@ var ZodEffects = class extends ZodType {
|
|
|
30639
30836
|
};
|
|
30640
30837
|
if (checkCtx.addIssue = checkCtx.addIssue.bind(checkCtx), effect.type === "preprocess") {
|
|
30641
30838
|
let processed = effect.transform(ctx.data, checkCtx);
|
|
30642
|
-
|
|
30643
|
-
|
|
30644
|
-
|
|
30645
|
-
|
|
30646
|
-
|
|
30647
|
-
|
|
30648
|
-
|
|
30649
|
-
|
|
30650
|
-
|
|
30651
|
-
|
|
30652
|
-
|
|
30653
|
-
|
|
30839
|
+
if (ctx.common.async)
|
|
30840
|
+
return Promise.resolve(processed).then(async (processed2) => {
|
|
30841
|
+
if (status.value === "aborted")
|
|
30842
|
+
return INVALID;
|
|
30843
|
+
let result = await this._def.schema._parseAsync({
|
|
30844
|
+
data: processed2,
|
|
30845
|
+
path: ctx.path,
|
|
30846
|
+
parent: ctx
|
|
30847
|
+
});
|
|
30848
|
+
return result.status === "aborted" ? INVALID : result.status === "dirty" || status.value === "dirty" ? DIRTY(result.value) : result;
|
|
30849
|
+
});
|
|
30850
|
+
{
|
|
30851
|
+
if (status.value === "aborted")
|
|
30852
|
+
return INVALID;
|
|
30853
|
+
let result = this._def.schema._parseSync({
|
|
30854
|
+
data: processed,
|
|
30855
|
+
path: ctx.path,
|
|
30856
|
+
parent: ctx
|
|
30857
|
+
});
|
|
30858
|
+
return result.status === "aborted" ? INVALID : result.status === "dirty" || status.value === "dirty" ? DIRTY(result.value) : result;
|
|
30859
|
+
}
|
|
30654
30860
|
}
|
|
30655
30861
|
if (effect.type === "refinement") {
|
|
30656
30862
|
let executeRefinement = (acc) => {
|
|
@@ -30859,8 +31065,11 @@ var BRAND = Symbol("zod_brand"), ZodBranded = class extends ZodType {
|
|
|
30859
31065
|
}
|
|
30860
31066
|
}, ZodReadonly = class extends ZodType {
|
|
30861
31067
|
_parse(input) {
|
|
30862
|
-
let result = this._def.innerType._parse(input);
|
|
30863
|
-
return
|
|
31068
|
+
let result = this._def.innerType._parse(input), freeze = (data) => (isValid(data) && (data.value = Object.freeze(data.value)), data);
|
|
31069
|
+
return isAsync(result) ? result.then((data) => freeze(data)) : freeze(result);
|
|
31070
|
+
}
|
|
31071
|
+
unwrap() {
|
|
31072
|
+
return this._def.innerType;
|
|
30864
31073
|
}
|
|
30865
31074
|
};
|
|
30866
31075
|
ZodReadonly.create = (type, params) => new ZodReadonly({
|
|
@@ -30868,13 +31077,16 @@ ZodReadonly.create = (type, params) => new ZodReadonly({
|
|
|
30868
31077
|
typeName: ZodFirstPartyTypeKind.ZodReadonly,
|
|
30869
31078
|
...processCreateParams(params)
|
|
30870
31079
|
});
|
|
30871
|
-
|
|
30872
|
-
|
|
30873
|
-
|
|
30874
|
-
|
|
30875
|
-
|
|
30876
|
-
|
|
30877
|
-
}
|
|
31080
|
+
function custom(check, params = {}, fatal) {
|
|
31081
|
+
return check ? ZodAny.create().superRefine((data, ctx) => {
|
|
31082
|
+
var _a, _b;
|
|
31083
|
+
if (!check(data)) {
|
|
31084
|
+
let p = typeof params == "function" ? params(data) : typeof params == "string" ? { message: params } : params, _fatal = (_b = (_a = p.fatal) !== null && _a !== void 0 ? _a : fatal) !== null && _b !== void 0 ? _b : !0, p2 = typeof p == "string" ? { message: p } : p;
|
|
31085
|
+
ctx.addIssue({ code: "custom", ...p2, fatal: _fatal });
|
|
31086
|
+
}
|
|
31087
|
+
}) : ZodAny.create();
|
|
31088
|
+
}
|
|
31089
|
+
var late = {
|
|
30878
31090
|
object: ZodObject.lazycreate
|
|
30879
31091
|
}, ZodFirstPartyTypeKind;
|
|
30880
31092
|
(function(ZodFirstPartyTypeKind2) {
|
|
@@ -30916,6 +31128,7 @@ var instanceOfType = (cls, params = {
|
|
|
30916
31128
|
ZodParsedType,
|
|
30917
31129
|
getParsedType,
|
|
30918
31130
|
ZodType,
|
|
31131
|
+
datetimeRegex,
|
|
30919
31132
|
ZodString,
|
|
30920
31133
|
ZodNumber,
|
|
30921
31134
|
ZodBigInt,
|
|
@@ -31016,34 +31229,7 @@ function deepStrict(schema) {
|
|
|
31016
31229
|
} else return schema instanceof ZodOptional ? deepStrict(schema._def.innerType).optional() : schema;
|
|
31017
31230
|
}
|
|
31018
31231
|
|
|
31019
|
-
// ../cli-kit/dist/public/node/environment.js
|
|
31020
|
-
init_cjs_shims();
|
|
31021
|
-
function getEnvironmentVariables() {
|
|
31022
|
-
return process.env;
|
|
31023
|
-
}
|
|
31024
|
-
function getPartnersToken() {
|
|
31025
|
-
return getEnvironmentVariables()[environmentVariables.partnersToken];
|
|
31026
|
-
}
|
|
31027
|
-
function getBackendPort() {
|
|
31028
|
-
let backendPort = getEnvironmentVariables()[systemEnvironmentVariables.backendPort];
|
|
31029
|
-
if (backendPort && !isNaN(Number(backendPort)))
|
|
31030
|
-
return Number(backendPort);
|
|
31031
|
-
}
|
|
31032
|
-
function getIdentityTokenInformation() {
|
|
31033
|
-
let identityToken = getEnvironmentVariables()[environmentVariables.identityToken], refreshToken = getEnvironmentVariables()[environmentVariables.refreshToken];
|
|
31034
|
-
if (!(!identityToken || !refreshToken))
|
|
31035
|
-
return {
|
|
31036
|
-
accessToken: identityToken,
|
|
31037
|
-
refreshToken,
|
|
31038
|
-
userId: nonRandomUUID(identityToken)
|
|
31039
|
-
};
|
|
31040
|
-
}
|
|
31041
|
-
function jsonOutputEnabled(environment = getEnvironmentVariables()) {
|
|
31042
|
-
return sniffForJson() || isTruthy(environment[environmentVariables.json]);
|
|
31043
|
-
}
|
|
31044
|
-
|
|
31045
31232
|
export {
|
|
31046
|
-
RequestClientError,
|
|
31047
31233
|
GraphQLClientError,
|
|
31048
31234
|
sanitizedHeadersOutput,
|
|
31049
31235
|
buildHeaders,
|
|
@@ -31063,16 +31249,7 @@ export {
|
|
|
31063
31249
|
fetch2 as fetch,
|
|
31064
31250
|
shopifyFetch,
|
|
31065
31251
|
z,
|
|
31066
|
-
deepStrict
|
|
31067
|
-
hashString,
|
|
31068
|
-
fileHash,
|
|
31069
|
-
randomUUID,
|
|
31070
|
-
nonRandomUUID,
|
|
31071
|
-
getEnvironmentVariables,
|
|
31072
|
-
getPartnersToken,
|
|
31073
|
-
getBackendPort,
|
|
31074
|
-
getIdentityTokenInformation,
|
|
31075
|
-
jsonOutputEnabled
|
|
31252
|
+
deepStrict
|
|
31076
31253
|
};
|
|
31077
31254
|
/*! Bundled license information:
|
|
31078
31255
|
|
|
@@ -31092,4 +31269,4 @@ mime-types/index.js:
|
|
|
31092
31269
|
* MIT Licensed
|
|
31093
31270
|
*)
|
|
31094
31271
|
*/
|
|
31095
|
-
//# sourceMappingURL=chunk-
|
|
31272
|
+
//# sourceMappingURL=chunk-BWBSJLZN.js.map
|