@kubb/core 5.0.4 → 5.0.6
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 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -4
- 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-Ba5Mo-G8.d.ts → types-QndGMAwn.d.ts} +7 -2
- package/dist/{usingCtx-njZUKKsY.js → usingCtx-2r6N3STL.js} +17 -14
- package/dist/usingCtx-2r6N3STL.js.map +1 -0
- package/dist/{usingCtx-BdYw7ICK.cjs → usingCtx-khw91yct.cjs} +17 -14
- package/dist/usingCtx-khw91yct.cjs.map +1 -0
- package/package.json +2 -2
- package/dist/usingCtx-BdYw7ICK.cjs.map +0 -1
- package/dist/usingCtx-njZUKKsY.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-khw91yct.cjs");
|
|
3
3
|
let node_async_hooks = require("node:async_hooks");
|
|
4
4
|
let node_util = require("node:util");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -157,7 +157,7 @@ function randomCliColor(text) {
|
|
|
157
157
|
/**
|
|
158
158
|
* Docs major version, derived from the package version so the link tracks the published major.
|
|
159
159
|
*/
|
|
160
|
-
const docsMajor = "5.0.
|
|
160
|
+
const docsMajor = "5.0.6".split(".")[0] ?? "5";
|
|
161
161
|
/**
|
|
162
162
|
* Builds a type guard that narrows a {@link Diagnostic} to the variant for `kind`. A diagnostic
|
|
163
163
|
* with no `kind` is treated as a `problem`.
|
|
@@ -2037,8 +2037,11 @@ const fsStorage = createStorage(() => {
|
|
|
2037
2037
|
return null;
|
|
2038
2038
|
}
|
|
2039
2039
|
},
|
|
2040
|
-
async writeItem(key, value) {
|
|
2041
|
-
await limit(() => require_usingCtx.write((0, node_path.resolve)(key), value, {
|
|
2040
|
+
async writeItem(key, value, options) {
|
|
2041
|
+
await limit(() => require_usingCtx.write((0, node_path.resolve)(key), value, {
|
|
2042
|
+
sanity: false,
|
|
2043
|
+
stored: options?.stored
|
|
2044
|
+
}));
|
|
2042
2045
|
},
|
|
2043
2046
|
async removeItem(key) {
|
|
2044
2047
|
await (0, node_fs_promises.rm)((0, node_path.resolve)(key), { force: true });
|