@kubb/mcp 5.0.0-beta.97 → 5.0.0-beta.99
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/index.cjs +28 -85
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +28 -85
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import fs, { existsSync } from "node:fs";
|
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import process$1 from "node:process";
|
|
13
13
|
//#region package.json
|
|
14
|
-
var version = "5.0.0-beta.
|
|
14
|
+
var version = "5.0.0-beta.99";
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/schemas/generateSchema.ts
|
|
17
17
|
const generateSchema = v.object({
|
|
@@ -661,10 +661,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
661
661
|
}
|
|
662
662
|
return;
|
|
663
663
|
}
|
|
664
|
-
const [c, ...l] = e.split("/");
|
|
665
|
-
const y = "@" === c[0] ? `${c}/${l.shift()}` : c;
|
|
666
|
-
const E = l.join("/");
|
|
667
|
-
const w = se();
|
|
664
|
+
const [c, ...l] = e.split("/"), y = "@" === c[0] ? `${c}/${l.shift()}` : c, E = l.join("/"), w = se();
|
|
668
665
|
if (w) {
|
|
669
666
|
const { resolveRequest: n } = w;
|
|
670
667
|
try {
|
|
@@ -850,10 +847,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
850
847
|
e.jsx && (e.jsx = e.jsx.toLowerCase()), e.moduleDetection && (e.moduleDetection = e.moduleDetection.toLowerCase()), e.importsNotUsedAsValues && (e.importsNotUsedAsValues = e.importsNotUsedAsValues.toLowerCase()), e.newLine && (e.newLine = e.newLine.toLowerCase()), e.esModuleInterop && (e.allowSyntheticDefaultImports ??= !0), e.verbatimModuleSyntax && (e.isolatedModules ??= !0, e.preserveConstEnums ??= !0), e.isolatedModules && (e.preserveConstEnums ??= !0), e.rewriteRelativeImportExtensions && (e.allowImportingTsExtensions ??= !0), e.lib && (e.lib = e.lib.map((e) => e.toLowerCase())), e.checkJs && (e.allowJs ??= !0);
|
|
851
848
|
}, "normalizeCompilerOptions");
|
|
852
849
|
const ve = r((e, t = /* @__PURE__ */ new Map()) => {
|
|
853
|
-
const i = a.resolve(e);
|
|
854
|
-
const n = fe(i, t);
|
|
855
|
-
const c = a.dirname(i);
|
|
856
|
-
const { compilerOptions: l } = n;
|
|
850
|
+
const i = a.resolve(e), n = fe(i, t), c = a.dirname(i), { compilerOptions: l } = n;
|
|
857
851
|
if (l) {
|
|
858
852
|
for (const e of ge) {
|
|
859
853
|
const t = l[e];
|
|
@@ -898,9 +892,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
898
892
|
t += n === a ? n.toLowerCase() : a;
|
|
899
893
|
}
|
|
900
894
|
return t;
|
|
901
|
-
}, "invertCase")
|
|
902
|
-
const be = /* @__PURE__ */ new Map();
|
|
903
|
-
const ke = _e((e, t) => {
|
|
895
|
+
}, "invertCase"), be = /* @__PURE__ */ new Map(), ke = _e((e, t) => {
|
|
904
896
|
const i = C.join(e, `.is-fs-case-sensitive-test-${process.pid}`);
|
|
905
897
|
try {
|
|
906
898
|
return t.writeFileSync(i, ""), !t.existsSync(Ee(i));
|
|
@@ -909,24 +901,20 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
909
901
|
t.unlinkSync(i);
|
|
910
902
|
} catch {}
|
|
911
903
|
}
|
|
912
|
-
}, "checkDirectoryCaseWithWrite")
|
|
913
|
-
const we = _e((e, t, i) => {
|
|
904
|
+
}, "checkDirectoryCaseWithWrite"), we = _e((e, t, i) => {
|
|
914
905
|
try {
|
|
915
906
|
return ke(e, i);
|
|
916
907
|
} catch (e) {
|
|
917
908
|
if (void 0 === t) return ke(w.tmpdir(), i);
|
|
918
909
|
throw e;
|
|
919
910
|
}
|
|
920
|
-
}, "checkDirectoryCaseWithFallback")
|
|
921
|
-
const Ce = _e((e, t = E, i = !0) => {
|
|
911
|
+
}, "checkDirectoryCaseWithFallback"), Ce = _e((e, t = E, i = !0) => {
|
|
922
912
|
const n = null != e ? e : process.cwd();
|
|
923
913
|
if (i && be.has(n)) return be.get(n);
|
|
924
914
|
let a;
|
|
925
915
|
const c = Ee(n);
|
|
926
916
|
return a = c !== n && t.existsSync(n) ? !t.existsSync(c) : we(n, e, t), i && be.set(n, a), a;
|
|
927
|
-
}, "isFsCaseSensitive")
|
|
928
|
-
const { join: Se } = a.posix;
|
|
929
|
-
const Ie = {
|
|
917
|
+
}, "isFsCaseSensitive"), { join: Se } = a.posix, Ie = {
|
|
930
918
|
ts: [
|
|
931
919
|
".ts",
|
|
932
920
|
".tsx",
|
|
@@ -934,8 +922,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
934
922
|
],
|
|
935
923
|
cts: [".cts", ".d.cts"],
|
|
936
924
|
mts: [".mts", ".d.mts"]
|
|
937
|
-
}
|
|
938
|
-
const Te = r((e) => {
|
|
925
|
+
}, Te = r((e) => {
|
|
939
926
|
const t = [...Ie.ts];
|
|
940
927
|
const i = [...Ie.cts];
|
|
941
928
|
const n = [...Ie.mts];
|
|
@@ -944,41 +931,24 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
944
931
|
...i,
|
|
945
932
|
...n
|
|
946
933
|
];
|
|
947
|
-
}, "getSupportedExtensions")
|
|
948
|
-
const Re = r((e) => {
|
|
934
|
+
}, "getSupportedExtensions"), Re = r((e) => {
|
|
949
935
|
const t = [];
|
|
950
936
|
if (!e) return t;
|
|
951
937
|
const { outDir: i, declarationDir: n } = e;
|
|
952
938
|
return i && t.push(i), n && t.push(n), t;
|
|
953
|
-
}, "getDefaultExcludeSpec")
|
|
954
|
-
const Ae = r((e) => e.replaceAll(/[.*+?^${}()|[\]\\]/g, String.raw`\$&`), "escapeForRegexp");
|
|
955
|
-
const Le = `(?!(${[
|
|
939
|
+
}, "getDefaultExcludeSpec"), Ae = r((e) => e.replaceAll(/[.*+?^${}()|[\]\\]/g, String.raw`\$&`), "escapeForRegexp"), Le = `(?!(${[
|
|
956
940
|
"node_modules",
|
|
957
941
|
"bower_components",
|
|
958
942
|
"jspm_packages"
|
|
959
|
-
].join("|")})(/|$))
|
|
960
|
-
const Oe = /(?:^|\/)[^.*?]+$/;
|
|
961
|
-
const De = "**/*";
|
|
962
|
-
const Ve = "[^/]";
|
|
963
|
-
const Ue = "[^./]";
|
|
964
|
-
const Me = "win32" === process.platform;
|
|
965
|
-
const je = r(({ config: e, path: t }, i = Ce()) => {
|
|
943
|
+
].join("|")})(/|$))`, Oe = /(?:^|\/)[^.*?]+$/, De = "**/*", Ve = "[^/]", Ue = "[^./]", Me = "win32" === process.platform, je = r(({ config: e, path: t }, i = Ce()) => {
|
|
966
944
|
if ("extends" in e) throw new Error("tsconfig#extends must be resolved. Use getTsconfig or parseTsconfig to resolve it.");
|
|
967
945
|
if (!a.isAbsolute(t)) throw new Error("The tsconfig path must be absolute");
|
|
968
946
|
Me && (t = h(t));
|
|
969
|
-
const n = a.dirname(t)
|
|
970
|
-
const { files: c, include: l, exclude: y, compilerOptions: E } = e;
|
|
971
|
-
const w = r((e) => a.isAbsolute(e) ? e : Se(n, e), "resolvePattern");
|
|
972
|
-
const C = null == c ? void 0 : c.map(w);
|
|
973
|
-
const S = Te(E);
|
|
974
|
-
const I = i ? "" : "i";
|
|
975
|
-
const N = (y || Re(E)).map((e) => {
|
|
947
|
+
const n = a.dirname(t), { files: c, include: l, exclude: y, compilerOptions: E } = e, w = r((e) => a.isAbsolute(e) ? e : Se(n, e), "resolvePattern"), C = null == c ? void 0 : c.map(w), S = Te(E), I = i ? "" : "i", N = (y || Re(E)).map((e) => {
|
|
976
948
|
const t = w(e);
|
|
977
949
|
const i = Ae(t).replaceAll(String.raw`\*\*/`, "(.+/)?").replaceAll(String.raw`\*`, `${Ve}*`).replaceAll(String.raw`\?`, Ve);
|
|
978
950
|
return new RegExp(`^${i}($|/)`, I);
|
|
979
|
-
})
|
|
980
|
-
const O = c || l ? l : [De];
|
|
981
|
-
const j = O ? O.map((e) => {
|
|
951
|
+
}), O = c || l ? l : [De], j = O ? O.map((e) => {
|
|
982
952
|
let t = w(e);
|
|
983
953
|
Oe.test(t) && (t = Se(t, De));
|
|
984
954
|
const i = Ae(t).replaceAll(String.raw`/\*\*`, `(/${Le}${Ue}${Ve}*)*?`).replaceAll(/(\/)?\\\*/g, (e, t) => {
|
|
@@ -991,8 +961,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
991
961
|
if (!a.isAbsolute(t)) throw new Error("filePath must be absolute");
|
|
992
962
|
return Me && (t = h(t)), null != C && C.includes(t) || S.some((e) => t.endsWith(e)) && !N.some((e) => e.test(t)) && j && j.some((e) => e.test(t)) ? e : void 0;
|
|
993
963
|
};
|
|
994
|
-
}, "createFilesMatcher")
|
|
995
|
-
const Fe = r((e, t, i) => {
|
|
964
|
+
}, "createFilesMatcher"), Fe = r((e, t, i) => {
|
|
996
965
|
const n = a.resolve(e);
|
|
997
966
|
let c = h(e);
|
|
998
967
|
for (;;) {
|
|
@@ -1010,12 +979,10 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
1010
979
|
if (C === w) return;
|
|
1011
980
|
c = C;
|
|
1012
981
|
}
|
|
1013
|
-
}, "findConfigApplicable")
|
|
1014
|
-
const Be = r((e = process.cwd(), t = "tsconfig.json", i = /* @__PURE__ */ new Map(), n = !1) => {
|
|
982
|
+
}, "findConfigApplicable"), Be = r((e = process.cwd(), t = "tsconfig.json", i = /* @__PURE__ */ new Map(), n = !1) => {
|
|
1015
983
|
var a;
|
|
1016
984
|
return n ? null == (a = Fe(e, t, i)) ? void 0 : a.path : j(h(e), t, i);
|
|
1017
|
-
}, "findTsconfig")
|
|
1018
|
-
const $e = r((e = process.cwd(), t = "tsconfig.json", i = /* @__PURE__ */ new Map(), n = !1) => {
|
|
985
|
+
}, "findTsconfig"), $e = r((e = process.cwd(), t = "tsconfig.json", i = /* @__PURE__ */ new Map(), n = !1) => {
|
|
1019
986
|
var a;
|
|
1020
987
|
if (!n) {
|
|
1021
988
|
const n = Be(e, t, i);
|
|
@@ -1026,13 +993,10 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
1026
993
|
};
|
|
1027
994
|
}
|
|
1028
995
|
return null != (a = Fe(e, t, i)) ? a : null;
|
|
1029
|
-
}, "getTsconfig")
|
|
1030
|
-
const qe = /\*/g;
|
|
1031
|
-
const Ge = r((e, t) => {
|
|
996
|
+
}, "getTsconfig"), qe = /\*/g, Ge = r((e, t) => {
|
|
1032
997
|
const i = e.match(qe);
|
|
1033
998
|
if (i && i.length > 1) throw new Error(t);
|
|
1034
|
-
}, "assertStarCount")
|
|
1035
|
-
const Ke = r((e) => {
|
|
999
|
+
}, "assertStarCount"), Ke = r((e) => {
|
|
1036
1000
|
if (e.includes("*")) {
|
|
1037
1001
|
const [t, i] = e.split("*");
|
|
1038
1002
|
return {
|
|
@@ -1041,9 +1005,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
1041
1005
|
};
|
|
1042
1006
|
}
|
|
1043
1007
|
return e;
|
|
1044
|
-
}, "parsePattern")
|
|
1045
|
-
const He = r(({ prefix: e, suffix: t }, i) => i.startsWith(e) && i.endsWith(t), "isPatternMatch");
|
|
1046
|
-
const ze = r((e, t, i) => Object.entries(e).map(([e, n]) => (Ge(e, `Pattern '${e}' can have at most one '*' character.`), {
|
|
1008
|
+
}, "parsePattern"), He = r(({ prefix: e, suffix: t }, i) => i.startsWith(e) && i.endsWith(t), "isPatternMatch"), ze = r((e, t, i) => Object.entries(e).map(([e, n]) => (Ge(e, `Pattern '${e}' can have at most one '*' character.`), {
|
|
1047
1009
|
pattern: Ke(e),
|
|
1048
1010
|
substitutions: n.map((n) => {
|
|
1049
1011
|
if (Ge(n, `Substitution '${n}' in pattern '${e}' can have at most one '*' character.`), !t && !F.test(n) && !a.isAbsolute(n)) throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");
|
|
@@ -1130,15 +1092,13 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
1130
1092
|
if (void 0 === e || e === n) return n;
|
|
1131
1093
|
throw s(i, "\"exports\" cannot contain some keys starting with \".\" and some not");
|
|
1132
1094
|
}, void 0))(e)) && (e = { ".": e });
|
|
1133
|
-
const [c, l] = A(e, t);
|
|
1134
|
-
const y = f(E.Export, e[c], t, a, l);
|
|
1095
|
+
const [c, l] = A(e, t), y = f(E.Export, e[c], t, a, l);
|
|
1135
1096
|
if (0 === y.length) throw s("ERR_PACKAGE_PATH_NOT_EXPORTED", "." === t ? "No \"exports\" main defined" : `Package subpath '${t}' is not defined by "exports"`);
|
|
1136
1097
|
for (const e of y) if (!e.startsWith("./") && !C.test(e)) throw s(n, `Invalid "exports" target "${e}" defined in the package config`);
|
|
1137
1098
|
return y;
|
|
1138
1099
|
}, t.resolveImports = (e, t, i) => {
|
|
1139
1100
|
if (!e) throw new Error("\"imports\" is required");
|
|
1140
|
-
const [n, a] = A(e, t);
|
|
1141
|
-
const c = f(E.Import, e[n], t, i, a);
|
|
1101
|
+
const [n, a] = A(e, t), c = f(E.Import, e[n], t, i, a);
|
|
1142
1102
|
if (0 === c.length) throw s("ERR_PACKAGE_IMPORT_NOT_DEFINED", `Package import specifier "${t}" is not defined in package`);
|
|
1143
1103
|
return c;
|
|
1144
1104
|
};
|
|
@@ -4769,9 +4729,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
4769
4729
|
const t = isErrorStackTraceLimitWritable();
|
|
4770
4730
|
return t && (ht = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(e), t && (Error.stackTraceLimit = ht), e;
|
|
4771
4731
|
});
|
|
4772
|
-
const pt = {}.hasOwnProperty;
|
|
4773
|
-
const { ERR_INVALID_PACKAGE_CONFIG: ut } = ot;
|
|
4774
|
-
const dt = /* @__PURE__ */ new Map();
|
|
4732
|
+
const pt = {}.hasOwnProperty, { ERR_INVALID_PACKAGE_CONFIG: ut } = ot, dt = /* @__PURE__ */ new Map();
|
|
4775
4733
|
function read(e, { base: t, specifier: i }) {
|
|
4776
4734
|
const n = dt.get(e);
|
|
4777
4735
|
if (n) return n;
|
|
@@ -4822,9 +4780,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
4822
4780
|
function getPackageType(e) {
|
|
4823
4781
|
return getPackageScopeConfig(e).type;
|
|
4824
4782
|
}
|
|
4825
|
-
const { ERR_UNKNOWN_FILE_EXTENSION: ft } = ot
|
|
4826
|
-
const mt = {}.hasOwnProperty;
|
|
4827
|
-
const gt = {
|
|
4783
|
+
const { ERR_UNKNOWN_FILE_EXTENSION: ft } = ot, mt = {}.hasOwnProperty, gt = {
|
|
4828
4784
|
__proto__: null,
|
|
4829
4785
|
".cjs": "commonjs",
|
|
4830
4786
|
".js": "module",
|
|
@@ -4878,16 +4834,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
4878
4834
|
function getConditionsSet(e) {
|
|
4879
4835
|
return yt;
|
|
4880
4836
|
}
|
|
4881
|
-
const _t = RegExp.prototype[Symbol.replace]
|
|
4882
|
-
const { ERR_INVALID_MODULE_SPECIFIER: Et, ERR_INVALID_PACKAGE_CONFIG: bt, ERR_INVALID_PACKAGE_TARGET: kt, ERR_MODULE_NOT_FOUND: wt, ERR_PACKAGE_IMPORT_NOT_DEFINED: Ct, ERR_PACKAGE_PATH_NOT_EXPORTED: St, ERR_UNSUPPORTED_DIR_IMPORT: It, ERR_UNSUPPORTED_RESOLVE_REQUEST: Tt } = ot;
|
|
4883
|
-
const Rt = {}.hasOwnProperty;
|
|
4884
|
-
const At = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i;
|
|
4885
|
-
const Pt = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i;
|
|
4886
|
-
const Lt = /^\.|%|\\/;
|
|
4887
|
-
const Nt = /\*/g;
|
|
4888
|
-
const Ot = /%2f|%5c/i;
|
|
4889
|
-
const Dt = /* @__PURE__ */ new Set();
|
|
4890
|
-
const Vt = /[/\\]{2}/;
|
|
4837
|
+
const _t = RegExp.prototype[Symbol.replace], { ERR_INVALID_MODULE_SPECIFIER: Et, ERR_INVALID_PACKAGE_CONFIG: bt, ERR_INVALID_PACKAGE_TARGET: kt, ERR_MODULE_NOT_FOUND: wt, ERR_PACKAGE_IMPORT_NOT_DEFINED: Ct, ERR_PACKAGE_PATH_NOT_EXPORTED: St, ERR_UNSUPPORTED_DIR_IMPORT: It, ERR_UNSUPPORTED_RESOLVE_REQUEST: Tt } = ot, Rt = {}.hasOwnProperty, At = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i, Pt = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i, Lt = /^\.|%|\\/, Nt = /\*/g, Ot = /%2f|%5c/i, Dt = /* @__PURE__ */ new Set(), Vt = /[/\\]{2}/;
|
|
4891
4838
|
function emitInvalidSegmentDeprecation(e, t, i, n, a, c, l) {
|
|
4892
4839
|
if (Xe.noDeprecation) return;
|
|
4893
4840
|
const y = (0, Qe.fileURLToPath)(n);
|
|
@@ -5127,8 +5074,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
5127
5074
|
packageSubpath: "." + (-1 === i ? "" : e.slice(i)),
|
|
5128
5075
|
isScoped: a
|
|
5129
5076
|
};
|
|
5130
|
-
}(e, t);
|
|
5131
|
-
const l = getPackageScopeConfig(t);
|
|
5077
|
+
}(e, t), l = getPackageScopeConfig(t);
|
|
5132
5078
|
if (l.exists) {
|
|
5133
5079
|
const e = (0, Qe.pathToFileURL)(l.pjsonPath);
|
|
5134
5080
|
if (l.name === n && void 0 !== l.exports && null !== l.exports) return packageExportsResolve(e, a, l, t, i);
|
|
@@ -5197,8 +5143,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
5197
5143
|
throw n.url = String(e), n;
|
|
5198
5144
|
}
|
|
5199
5145
|
{
|
|
5200
|
-
const t = (0, $e.realpathSync)(i);
|
|
5201
|
-
const { search: n, hash: a } = e;
|
|
5146
|
+
const t = (0, $e.realpathSync)(i), { search: n, hash: a } = e;
|
|
5202
5147
|
(e = (0, Qe.pathToFileURL)(t + (i.endsWith(et.sep) ? "/" : ""))).search = n, e.hash = a;
|
|
5203
5148
|
}
|
|
5204
5149
|
return e;
|
|
@@ -5864,8 +5809,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
5864
5809
|
}
|
|
5865
5810
|
function next() {
|
|
5866
5811
|
if (N.exports && N.exports.__JITI_ERROR__) {
|
|
5867
|
-
const { filename: e, line: i, column: n, code: a, message: c } = N.exports.__JITI_ERROR__;
|
|
5868
|
-
const l = /* @__PURE__ */ new Error(`${a}: ${c} \n ${`${e}:${i}:${n}`}`);
|
|
5812
|
+
const { filename: e, line: i, column: n, code: a, message: c } = N.exports.__JITI_ERROR__, l = /* @__PURE__ */ new Error(`${a}: ${c} \n ${`${e}:${i}:${n}`}`);
|
|
5869
5813
|
Error.captureStackTrace(l, jitiRequire), t.onError(l);
|
|
5870
5814
|
}
|
|
5871
5815
|
N.loaded = !0;
|
|
@@ -5914,8 +5858,7 @@ var import_jiti = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
5914
5858
|
const c = a.alias && Object.keys(a.alias).length > 0 ? normalizeAliases(a.alias || {}) : void 0;
|
|
5915
5859
|
let l;
|
|
5916
5860
|
if (a.tsconfigPaths) {
|
|
5917
|
-
const { getTsconfig: t, createPathsMatcher: i } = __webpack_require__("./node_modules/.pnpm/get-tsconfig@4.14.0/node_modules/get-tsconfig/dist/index.cjs");
|
|
5918
|
-
const n = t("string" == typeof a.tsconfigPaths ? a.tsconfigPaths : pathe_M_eThtNZ_dirname(e));
|
|
5861
|
+
const { getTsconfig: t, createPathsMatcher: i } = __webpack_require__("./node_modules/.pnpm/get-tsconfig@4.14.0/node_modules/get-tsconfig/dist/index.cjs"), n = t("string" == typeof a.tsconfigPaths ? a.tsconfigPaths : pathe_M_eThtNZ_dirname(e));
|
|
5919
5862
|
n && (l = i(n));
|
|
5920
5863
|
}
|
|
5921
5864
|
const y = [
|