@kubb/core 5.14.0 → 5.14.2
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/{Hookable-CvvyqvN3.js → Hookable-DjPMSKYr.js} +8 -2
- package/dist/Hookable-DjPMSKYr.js.map +1 -0
- package/dist/{createAdapter-CpL5uM0P.d.ts → createAdapter-DwnjwKN0.d.ts} +8 -1
- package/dist/index.cjs +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/mocks.d.ts +1 -1
- package/dist/mocks.js +1 -1
- package/package.json +2 -2
- package/dist/Hookable-CvvyqvN3.js.map +0 -1
|
@@ -19,7 +19,7 @@ var __name = (target, value) => __defProp(target, "name", {
|
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region package.json
|
|
22
|
-
var version = "5.14.
|
|
22
|
+
var version = "5.14.2";
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region ../../internals/utils/src/casing.ts
|
|
25
25
|
/**
|
|
@@ -489,6 +489,12 @@ const diagnosticCatalog = {
|
|
|
489
489
|
cause: "A schema uses a `format` Kubb does not map to a specific type, so it falls back to the base type.",
|
|
490
490
|
fix: "Use a format Kubb supports, or handle the custom format with a parser or plugin."
|
|
491
491
|
},
|
|
492
|
+
aliasCycle: {
|
|
493
|
+
code: "KUBB_ALIAS_CYCLE",
|
|
494
|
+
title: "Alias cycle",
|
|
495
|
+
cause: "Schemas that only `$ref` each other form a loop, so none of them has a shape to generate. Kubb resolves them to `unknown`.",
|
|
496
|
+
fix: "Break the loop by giving one of the schemas a real definition, or remove the `$ref` that closes it."
|
|
497
|
+
},
|
|
492
498
|
deprecated: {
|
|
493
499
|
code: "KUBB_DEPRECATED",
|
|
494
500
|
title: "Deprecated",
|
|
@@ -3183,4 +3189,4 @@ var Hookable = class {
|
|
|
3183
3189
|
//#endregion
|
|
3184
3190
|
export { formatMs as A, writeRaw as B, useConfig as C, defineExtension as D, checkCompatibility as E, isPathInside as F, camelCase as H, listFiles as I, read as L, inParallel as M, exists as N, resolveMeta as O, existsSync$1 as P, rm$1 as R, tryUseKubb as S, useOptions as T, __name as U, toError as V, kubbContext as _, FileManager as a, setOptions as b, Resolver as c, isPublicAddress as d, assertPluginOption as f, injectFile as g, addMacro as h, createNodeCache as i, getElapsedMs as j, Diagnostics as k, getInputKind as l, addGenerator as m, KubbDriver as n, _usingCtx as o, definePlugin as p, pluginNotFoundError as r, createResolver as s, Hookable as t, checkoutGitInput as u, requirePlugin as v, useKubb as w, setResolver as x, setMacros as y, write as z };
|
|
3185
3191
|
|
|
3186
|
-
//# sourceMappingURL=Hookable-
|
|
3192
|
+
//# sourceMappingURL=Hookable-DjPMSKYr.js.map
|