@kubb/core 2.6.3 → 2.6.5
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/{chunk-LX3C2KYZ.cjs → chunk-2YPJ2PU6.cjs} +3 -3
- package/dist/{chunk-LX3C2KYZ.cjs.map → chunk-2YPJ2PU6.cjs.map} +1 -1
- package/dist/{chunk-IZEN6QJW.cjs → chunk-5P3EI3J3.cjs} +4 -4
- package/dist/{chunk-ORSUFOUY.js → chunk-7ENLO2XM.js} +3 -3
- package/dist/{chunk-ORSUFOUY.js.map → chunk-7ENLO2XM.js.map} +1 -1
- package/dist/{chunk-QMJHN2SZ.js → chunk-7VQYBAHZ.js} +2 -2
- package/dist/{chunk-SQ7PJS37.js → chunk-AABVZDWJ.js} +2 -2
- package/dist/{chunk-4ETFEMWH.cjs → chunk-AUXXNU4E.cjs} +3 -3
- package/dist/{chunk-QUDB2AZM.cjs → chunk-BCJRR2TA.cjs} +5 -5
- package/dist/{chunk-KMYQYSXM.js → chunk-DC7TSBAX.js} +2 -2
- package/dist/{chunk-K5BPDI36.js → chunk-DOKFLMTZ.js} +2 -2
- package/dist/{chunk-UP3ABHHJ.js → chunk-EI5BXOWQ.js} +2 -2
- package/dist/{chunk-BMYALID3.js → chunk-GQZLE54N.js} +7 -7
- package/dist/{chunk-BG5SP7MX.js → chunk-GTQX3YE3.js} +3 -3
- package/dist/{chunk-42QBHWTS.cjs → chunk-MYP62TTS.cjs} +214 -214
- package/dist/chunk-NYSHCGJK.cjs +15 -0
- package/dist/{chunk-VARKFQXA.js → chunk-PD4VAMC4.js} +2 -2
- package/dist/{chunk-46M72VA2.js → chunk-RKJEICYC.js} +3 -3
- package/dist/{chunk-AKVDLTIG.cjs → chunk-RVR4GIMH.cjs} +6 -6
- package/dist/{chunk-QNVB4X4Z.cjs → chunk-SFOOQU7X.cjs} +14 -14
- package/dist/{chunk-CLOD7FDI.cjs → chunk-TXURS7MB.cjs} +5 -5
- package/dist/{chunk-LZMHGPYG.cjs → chunk-X7LK5QPJ.cjs} +90 -90
- package/dist/fs.cjs +10 -10
- package/dist/fs.js +4 -4
- package/dist/index.cjs +103 -103
- package/dist/index.js +11 -11
- package/dist/logger.cjs +7 -7
- package/dist/logger.js +3 -3
- package/dist/mocks.cjs +10 -10
- package/dist/mocks.cjs.map +1 -1
- package/dist/mocks.js +8 -8
- package/dist/mocks.js.map +1 -1
- package/dist/transformers.cjs +23 -23
- package/dist/transformers.js +5 -5
- package/dist/utils.cjs +13 -13
- package/dist/utils.js +4 -4
- package/package.json +25 -6
- package/dist/chunk-ZGGS2LJL.cjs +0 -15
- /package/dist/{chunk-IZEN6QJW.cjs.map → chunk-5P3EI3J3.cjs.map} +0 -0
- /package/dist/{chunk-QMJHN2SZ.js.map → chunk-7VQYBAHZ.js.map} +0 -0
- /package/dist/{chunk-SQ7PJS37.js.map → chunk-AABVZDWJ.js.map} +0 -0
- /package/dist/{chunk-4ETFEMWH.cjs.map → chunk-AUXXNU4E.cjs.map} +0 -0
- /package/dist/{chunk-QUDB2AZM.cjs.map → chunk-BCJRR2TA.cjs.map} +0 -0
- /package/dist/{chunk-KMYQYSXM.js.map → chunk-DC7TSBAX.js.map} +0 -0
- /package/dist/{chunk-CLOD7FDI.cjs.map → chunk-DOKFLMTZ.js.map} +0 -0
- /package/dist/{chunk-UP3ABHHJ.js.map → chunk-EI5BXOWQ.js.map} +0 -0
- /package/dist/{chunk-BMYALID3.js.map → chunk-GQZLE54N.js.map} +0 -0
- /package/dist/{chunk-BG5SP7MX.js.map → chunk-GTQX3YE3.js.map} +0 -0
- /package/dist/{chunk-42QBHWTS.cjs.map → chunk-MYP62TTS.cjs.map} +0 -0
- /package/dist/{chunk-ZGGS2LJL.cjs.map → chunk-NYSHCGJK.cjs.map} +0 -0
- /package/dist/{chunk-VARKFQXA.js.map → chunk-PD4VAMC4.js.map} +0 -0
- /package/dist/{chunk-46M72VA2.js.map → chunk-RKJEICYC.js.map} +0 -0
- /package/dist/{chunk-AKVDLTIG.cjs.map → chunk-RVR4GIMH.cjs.map} +0 -0
- /package/dist/{chunk-QNVB4X4Z.cjs.map → chunk-SFOOQU7X.cjs.map} +0 -0
- /package/dist/{chunk-K5BPDI36.js.map → chunk-TXURS7MB.cjs.map} +0 -0
- /package/dist/{chunk-LZMHGPYG.cjs.map → chunk-X7LK5QPJ.cjs.map} +0 -0
|
@@ -71,9 +71,9 @@ var __privateMethod = (obj, member, method) => {
|
|
|
71
71
|
return method;
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
-
// ../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.
|
|
74
|
+
// ../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.6_ts-node@10.9.2_typescript@5.3.3/node_modules/tsup/assets/cjs_shims.js
|
|
75
75
|
var init_cjs_shims = __esm({
|
|
76
|
-
"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.
|
|
76
|
+
"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.6_ts-node@10.9.2_typescript@5.3.3/node_modules/tsup/assets/cjs_shims.js"() {
|
|
77
77
|
}
|
|
78
78
|
});
|
|
79
79
|
|
|
@@ -88,4 +88,4 @@ exports.__require = __require;
|
|
|
88
88
|
exports.__toESM = __toESM;
|
|
89
89
|
exports.init_cjs_shims = init_cjs_shims;
|
|
90
90
|
//# sourceMappingURL=out.js.map
|
|
91
|
-
//# sourceMappingURL=chunk-
|
|
91
|
+
//# sourceMappingURL=chunk-2YPJ2PU6.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.6_ts-node@10.9.2_typescript@5.3.3/node_modules/tsup/assets/cjs_shims.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["// Shim globals in cjs bundle\n// There's a weird bug that esbuild will always inject importMetaUrl\n// if we export it as `const importMetaUrl = ... __filename ...`\n// But using a function will not cause this issue\n\nconst getImportMetaUrl = () =>\n typeof document === 'undefined'\n ? new URL('file:' + __filename).href\n : (document.currentScript && document.currentScript.src) ||\n new URL('main.js', document.baseURI).href\n\nexport const importMetaUrl = /* @__PURE__ */ getImportMetaUrl()\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2YPJ2PU6_cjs = require('./chunk-2YPJ2PU6.cjs');
|
|
4
4
|
|
|
5
5
|
// src/transformers/casing.ts
|
|
6
|
-
|
|
6
|
+
chunk2YPJ2PU6_cjs.init_cjs_shims();
|
|
7
7
|
|
|
8
8
|
// ../../node_modules/.pnpm/change-case@5.4.3/node_modules/change-case/dist/index.js
|
|
9
|
-
|
|
9
|
+
chunk2YPJ2PU6_cjs.init_cjs_shims();
|
|
10
10
|
var SPLIT_LOWER_UPPER_RE = /([\p{Ll}\d])(\p{Lu})/gu;
|
|
11
11
|
var SPLIT_UPPER_UPPER_RE = /(\p{Lu})([\p{Lu}][\p{Ll}])/gu;
|
|
12
12
|
var SPLIT_SEPARATE_NUMBER_RE = /(\d)\p{Ll}|(\p{L})\d/u;
|
|
@@ -133,4 +133,4 @@ exports.camelCase = camelCase2;
|
|
|
133
133
|
exports.pascalCase = pascalCase2;
|
|
134
134
|
exports.pathCase = pathCase2;
|
|
135
135
|
//# sourceMappingURL=out.js.map
|
|
136
|
-
//# sourceMappingURL=chunk-
|
|
136
|
+
//# sourceMappingURL=chunk-5P3EI3J3.cjs.map
|
|
@@ -49,12 +49,12 @@ var __privateMethod = (obj, member, method) => {
|
|
|
49
49
|
return method;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
// ../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.
|
|
52
|
+
// ../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.6_ts-node@10.9.2_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
|
|
53
53
|
var init_esm_shims = __esm({
|
|
54
|
-
"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.
|
|
54
|
+
"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.6_ts-node@10.9.2_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js"() {
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
export { __commonJS, __privateAdd, __privateGet, __privateMethod, __privateSet, __toESM, init_esm_shims };
|
|
59
59
|
//# sourceMappingURL=out.js.map
|
|
60
|
-
//# sourceMappingURL=chunk-
|
|
60
|
+
//# sourceMappingURL=chunk-7ENLO2XM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.6_ts-node@10.9.2_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["// Shim globals in esm bundle\nimport { fileURLToPath } from 'url'\nimport path from 'path'\n\nconst getFilename = () => fileURLToPath(import.meta.url)\nconst getDirname = () => path.dirname(getFilename())\n\nexport const __dirname = /* @__PURE__ */ getDirname()\nexport const __filename = /* @__PURE__ */ getFilename()\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { init_esm_shims } from './chunk-7ENLO2XM.js';
|
|
2
2
|
import { relative, basename, extname } from 'path';
|
|
3
3
|
import fs from 'fs-extra';
|
|
4
4
|
import { switcher } from 'js-runtime';
|
|
@@ -55,4 +55,4 @@ function readSync(path) {
|
|
|
55
55
|
|
|
56
56
|
export { getRelativePath, read, readSync };
|
|
57
57
|
//# sourceMappingURL=out.js.map
|
|
58
|
-
//# sourceMappingURL=chunk-
|
|
58
|
+
//# sourceMappingURL=chunk-7VQYBAHZ.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { init_esm_shims } from './chunk-7ENLO2XM.js';
|
|
2
2
|
import { camelCase as camelCase$1, pascalCase as pascalCase$1, pathCase as pathCase$1 } from 'change-case';
|
|
3
3
|
|
|
4
4
|
// src/transformers/casing.ts
|
|
@@ -27,4 +27,4 @@ function pathCase(text, { isFile, prefix = "", suffix = "" } = {}) {
|
|
|
27
27
|
|
|
28
28
|
export { camelCase, pascalCase, pathCase };
|
|
29
29
|
//# sourceMappingURL=out.js.map
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-AABVZDWJ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2YPJ2PU6_cjs = require('./chunk-2YPJ2PU6.cjs');
|
|
4
4
|
|
|
5
5
|
// src/utils/uniqueName.ts
|
|
6
|
-
|
|
6
|
+
chunk2YPJ2PU6_cjs.init_cjs_shims();
|
|
7
7
|
function getUniqueName(originalName, data) {
|
|
8
8
|
let used = data[originalName] || 0;
|
|
9
9
|
if (used) {
|
|
@@ -26,4 +26,4 @@ function setUniqueName(originalName, data) {
|
|
|
26
26
|
exports.getUniqueName = getUniqueName;
|
|
27
27
|
exports.setUniqueName = setUniqueName;
|
|
28
28
|
//# sourceMappingURL=out.js.map
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-AUXXNU4E.cjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkX7LK5QPJ_cjs = require('./chunk-X7LK5QPJ.cjs');
|
|
4
|
+
var chunk2YPJ2PU6_cjs = require('./chunk-2YPJ2PU6.cjs');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var jsRuntime = require('js-runtime');
|
|
7
7
|
|
|
8
8
|
// src/fs/read.ts
|
|
9
|
-
|
|
10
|
-
var import_fs_extra =
|
|
9
|
+
chunk2YPJ2PU6_cjs.init_cjs_shims();
|
|
10
|
+
var import_fs_extra = chunk2YPJ2PU6_cjs.__toESM(chunkX7LK5QPJ_cjs.require_lib(), 1);
|
|
11
11
|
function slash(path, platform = "linux") {
|
|
12
12
|
const isWindowsPath = /^\\\\\?\\/.test(path);
|
|
13
13
|
if (["linux", "mac"].includes(platform) && !isWindowsPath) {
|
|
@@ -60,4 +60,4 @@ exports.getRelativePath = getRelativePath;
|
|
|
60
60
|
exports.read = read;
|
|
61
61
|
exports.readSync = readSync;
|
|
62
62
|
//# sourceMappingURL=out.js.map
|
|
63
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-BCJRR2TA.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { init_esm_shims } from './chunk-7ENLO2XM.js';
|
|
2
2
|
import fs from 'fs-extra';
|
|
3
3
|
|
|
4
4
|
// src/fs/clean.ts
|
|
@@ -9,4 +9,4 @@ async function clean(path) {
|
|
|
9
9
|
|
|
10
10
|
export { clean };
|
|
11
11
|
//# sourceMappingURL=out.js.map
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-DC7TSBAX.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { init_esm_shims } from './chunk-7ENLO2XM.js';
|
|
2
2
|
|
|
3
3
|
// src/transformers/searchAndReplace.ts
|
|
4
4
|
init_esm_shims();
|
|
@@ -123,4 +123,4 @@ function transformReservedWord(word) {
|
|
|
123
123
|
|
|
124
124
|
export { searchAndReplace, transformReservedWord, trim, trimExtName };
|
|
125
125
|
//# sourceMappingURL=out.js.map
|
|
126
|
-
//# sourceMappingURL=chunk-
|
|
126
|
+
//# sourceMappingURL=chunk-DOKFLMTZ.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { init_esm_shims } from './chunk-7ENLO2XM.js';
|
|
2
2
|
import { resolve } from 'path';
|
|
3
3
|
import fs from 'fs-extra';
|
|
4
4
|
import { switcher } from 'js-runtime';
|
|
@@ -79,4 +79,4 @@ async function writeLog(data) {
|
|
|
79
79
|
|
|
80
80
|
export { write, writeLog };
|
|
81
81
|
//# sourceMappingURL=out.js.map
|
|
82
|
-
//# sourceMappingURL=chunk-
|
|
82
|
+
//# sourceMappingURL=chunk-EI5BXOWQ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { transformReservedWord, trimExtName, searchAndReplace } from './chunk-
|
|
2
|
-
import { setUniqueName } from './chunk-
|
|
3
|
-
import { EventEmitter, LogLevel } from './chunk-
|
|
4
|
-
import { read, getRelativePath } from './chunk-
|
|
5
|
-
import { write } from './chunk-
|
|
6
|
-
import { __commonJS, init_esm_shims, __toESM, __privateAdd, __privateSet, __privateGet, __privateMethod } from './chunk-
|
|
1
|
+
import { transformReservedWord, trimExtName, searchAndReplace } from './chunk-DOKFLMTZ.js';
|
|
2
|
+
import { setUniqueName } from './chunk-PD4VAMC4.js';
|
|
3
|
+
import { EventEmitter, LogLevel } from './chunk-GTQX3YE3.js';
|
|
4
|
+
import { read, getRelativePath } from './chunk-7VQYBAHZ.js';
|
|
5
|
+
import { write } from './chunk-EI5BXOWQ.js';
|
|
6
|
+
import { __commonJS, init_esm_shims, __toESM, __privateAdd, __privateSet, __privateGet, __privateMethod } from './chunk-7ENLO2XM.js';
|
|
7
7
|
import crypto from 'crypto';
|
|
8
8
|
import path, { resolve, extname } from 'path';
|
|
9
9
|
import { print, getExports } from '@kubb/parser';
|
|
@@ -1827,4 +1827,4 @@ parse_fn = function(plugin, pluginManager, context) {
|
|
|
1827
1827
|
|
|
1828
1828
|
export { FileManager, KubbFile, PluginManager, PromiseManager, Warning, createPlugin, isPromise, pluginName };
|
|
1829
1829
|
//# sourceMappingURL=out.js.map
|
|
1830
|
-
//# sourceMappingURL=chunk-
|
|
1830
|
+
//# sourceMappingURL=chunk-GQZLE54N.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { writeLog } from './chunk-
|
|
2
|
-
import { init_esm_shims, __privateAdd, __privateGet } from './chunk-
|
|
1
|
+
import { writeLog } from './chunk-EI5BXOWQ.js';
|
|
2
|
+
import { init_esm_shims, __privateAdd, __privateGet } from './chunk-7ENLO2XM.js';
|
|
3
3
|
import seedrandom from 'seedrandom';
|
|
4
4
|
import { isatty } from 'tty';
|
|
5
5
|
import { EventEmitter as EventEmitter$1 } from 'events';
|
|
@@ -167,4 +167,4 @@ function randomCliColour(text, colors = defaultColours) {
|
|
|
167
167
|
|
|
168
168
|
export { EventEmitter, LogLevel, createLogger, p2 as p, randomCliColour, randomColour };
|
|
169
169
|
//# sourceMappingURL=out.js.map
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-GTQX3YE3.js.map
|