@kubb/core 5.0.0-beta.76 → 5.0.0-beta.78
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/{memoryStorage-Bk7RHgGj.cjs → memoryStorage-9cOBg7bL.cjs} +3 -3
- package/dist/{memoryStorage-Bk7RHgGj.cjs.map → memoryStorage-9cOBg7bL.cjs.map} +1 -1
- package/dist/{memoryStorage-Dow5-isU.js → memoryStorage-C-3NpTDQ.js} +3 -3
- package/dist/{memoryStorage-Dow5-isU.js.map → memoryStorage-C-3NpTDQ.js.map} +1 -1
- package/dist/mocks.cjs +1 -1
- package/dist/mocks.js +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./rolldown-runtime-C0LytTxp.js";
|
|
2
|
-
import { _ as getErrorMessage, a as createStorage, c as clean, d as write, f as runtime, g as BuildError, h as AsyncEventEmitter, i as FileManager, l as toFilePath, m as pascalCase, n as _usingCtx, o as OPERATION_FILTER_TYPES, p as camelCase, r as FileProcessor, s as diagnosticCode, t as memoryStorage, u as toPosixPath } from "./memoryStorage-
|
|
3
|
-
import { stripVTControlCharacters, styleText } from "node:util";
|
|
2
|
+
import { _ as getErrorMessage, a as createStorage, c as clean, d as write, f as runtime, g as BuildError, h as AsyncEventEmitter, i as FileManager, l as toFilePath, m as pascalCase, n as _usingCtx, o as OPERATION_FILTER_TYPES, p as camelCase, r as FileProcessor, s as diagnosticCode, t as memoryStorage, u as toPosixPath } from "./memoryStorage-C-3NpTDQ.js";
|
|
4
3
|
import { hash } from "node:crypto";
|
|
4
|
+
import { stripVTControlCharacters, styleText } from "node:util";
|
|
5
5
|
import { access, glob, readFile, rm } from "node:fs/promises";
|
|
6
6
|
import path, { join, relative, resolve } from "node:path";
|
|
7
7
|
import { ast, ast as ast$1, composeMacros, operationDef, schemaDef, transform } from "@kubb/ast";
|
|
@@ -168,7 +168,7 @@ function arrayToAsyncIterable(arr) {
|
|
|
168
168
|
* JavaScript and Java reserved words.
|
|
169
169
|
* @link https://github.com/jonschlinkert/reserved/blob/master/index.js
|
|
170
170
|
*/
|
|
171
|
-
const reservedWords = new Set([
|
|
171
|
+
const reservedWords = /* @__PURE__ */ new Set([
|
|
172
172
|
"abstract",
|
|
173
173
|
"arguments",
|
|
174
174
|
"boolean",
|
|
@@ -394,7 +394,7 @@ function createAdapter(build) {
|
|
|
394
394
|
/**
|
|
395
395
|
* Docs major version, derived from the package version so the link tracks the published major.
|
|
396
396
|
*/
|
|
397
|
-
const docsMajor = "5.0.0-beta.
|
|
397
|
+
const docsMajor = "5.0.0-beta.78".split(".")[0] ?? "5";
|
|
398
398
|
/**
|
|
399
399
|
* Narrows a {@link Diagnostic} to the variant for `code`, or `null` when it does not match.
|
|
400
400
|
*
|