@kubb/core 5.3.0 → 5.3.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/index.cjs +7 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/mocks.cjs +1 -1
- package/dist/mocks.d.ts +1 -1
- package/dist/mocks.js +1 -1
- package/dist/{types-D6I-1WdH.d.ts → types-DIHOpbmO.d.ts} +12 -6
- package/dist/{usingCtx-y6z42CxR.js → usingCtx-BfeNtY1B.js} +5 -1
- package/dist/usingCtx-BfeNtY1B.js.map +1 -0
- package/dist/{usingCtx-DxKUGwsR.cjs → usingCtx-CBWq26N5.cjs} +5 -1
- package/dist/usingCtx-CBWq26N5.cjs.map +1 -0
- package/package.json +2 -2
- package/dist/usingCtx-DxKUGwsR.cjs.map +0 -1
- package/dist/usingCtx-y6z42CxR.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_usingCtx = require("./usingCtx-
|
|
2
|
+
const require_usingCtx = require("./usingCtx-CBWq26N5.cjs");
|
|
3
3
|
let node_async_hooks = require("node:async_hooks");
|
|
4
4
|
let node_util = require("node:util");
|
|
5
5
|
let node_process = require("node:process");
|
|
@@ -127,7 +127,7 @@ function formatMs(ms) {
|
|
|
127
127
|
/**
|
|
128
128
|
* Docs major version, derived from the package version so the link tracks the published major.
|
|
129
129
|
*/
|
|
130
|
-
const docsMajor = "5.3.
|
|
130
|
+
const docsMajor = "5.3.2".split(".")[0] ?? "5";
|
|
131
131
|
/**
|
|
132
132
|
* Builds a type guard that narrows a {@link Diagnostic} to the variant for `kind`. A diagnostic
|
|
133
133
|
* with no `kind` is treated as a `problem`.
|
|
@@ -290,6 +290,11 @@ const diagnosticCatalog = {
|
|
|
290
290
|
cause: "The linter pass over the generated files failed.",
|
|
291
291
|
fix: "Check the linter (oxlint, biome, or eslint) is installed and its config is valid, then run it manually on the output."
|
|
292
292
|
},
|
|
293
|
+
[require_usingCtx.diagnosticCode.barrelDuplicateExport]: {
|
|
294
|
+
title: "Duplicate barrel export",
|
|
295
|
+
cause: "Two generated modules export the same name, so the barrel cannot re-export both.",
|
|
296
|
+
fix: "Rename one of the colliding declarations, or configure the plugin resolver to produce distinct names."
|
|
297
|
+
},
|
|
293
298
|
[require_usingCtx.diagnosticCode.performance]: {
|
|
294
299
|
title: "Performance",
|
|
295
300
|
cause: "Not a failure. Records a plugin’s elapsed time, summed into the run total.",
|