@kubb/core 2.6.3 → 2.6.4

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.
Files changed (54) hide show
  1. package/dist/{chunk-LX3C2KYZ.cjs → chunk-2YPJ2PU6.cjs} +3 -3
  2. package/dist/{chunk-LX3C2KYZ.cjs.map → chunk-2YPJ2PU6.cjs.map} +1 -1
  3. package/dist/{chunk-IZEN6QJW.cjs → chunk-5P3EI3J3.cjs} +4 -4
  4. package/dist/{chunk-ORSUFOUY.js → chunk-7ENLO2XM.js} +3 -3
  5. package/dist/{chunk-ORSUFOUY.js.map → chunk-7ENLO2XM.js.map} +1 -1
  6. package/dist/{chunk-QMJHN2SZ.js → chunk-7VQYBAHZ.js} +2 -2
  7. package/dist/{chunk-SQ7PJS37.js → chunk-AABVZDWJ.js} +2 -2
  8. package/dist/{chunk-4ETFEMWH.cjs → chunk-AUXXNU4E.cjs} +3 -3
  9. package/dist/{chunk-QUDB2AZM.cjs → chunk-BCJRR2TA.cjs} +5 -5
  10. package/dist/{chunk-KMYQYSXM.js → chunk-DC7TSBAX.js} +2 -2
  11. package/dist/{chunk-K5BPDI36.js → chunk-DOKFLMTZ.js} +2 -2
  12. package/dist/{chunk-UP3ABHHJ.js → chunk-EI5BXOWQ.js} +2 -2
  13. package/dist/{chunk-BMYALID3.js → chunk-GQZLE54N.js} +7 -7
  14. package/dist/{chunk-BG5SP7MX.js → chunk-GTQX3YE3.js} +3 -3
  15. package/dist/{chunk-42QBHWTS.cjs → chunk-MYP62TTS.cjs} +214 -214
  16. package/dist/chunk-NYSHCGJK.cjs +15 -0
  17. package/dist/{chunk-VARKFQXA.js → chunk-PD4VAMC4.js} +2 -2
  18. package/dist/{chunk-46M72VA2.js → chunk-RKJEICYC.js} +3 -3
  19. package/dist/{chunk-AKVDLTIG.cjs → chunk-RVR4GIMH.cjs} +6 -6
  20. package/dist/{chunk-QNVB4X4Z.cjs → chunk-SFOOQU7X.cjs} +14 -14
  21. package/dist/{chunk-CLOD7FDI.cjs → chunk-TXURS7MB.cjs} +5 -5
  22. package/dist/{chunk-LZMHGPYG.cjs → chunk-X7LK5QPJ.cjs} +90 -90
  23. package/dist/fs.cjs +10 -10
  24. package/dist/fs.js +4 -4
  25. package/dist/index.cjs +103 -103
  26. package/dist/index.js +11 -11
  27. package/dist/logger.cjs +7 -7
  28. package/dist/logger.js +3 -3
  29. package/dist/mocks.cjs +10 -10
  30. package/dist/mocks.js +8 -8
  31. package/dist/transformers.cjs +23 -23
  32. package/dist/transformers.js +5 -5
  33. package/dist/utils.cjs +13 -13
  34. package/dist/utils.js +4 -4
  35. package/package.json +5 -5
  36. package/dist/chunk-ZGGS2LJL.cjs +0 -15
  37. /package/dist/{chunk-IZEN6QJW.cjs.map → chunk-5P3EI3J3.cjs.map} +0 -0
  38. /package/dist/{chunk-QMJHN2SZ.js.map → chunk-7VQYBAHZ.js.map} +0 -0
  39. /package/dist/{chunk-SQ7PJS37.js.map → chunk-AABVZDWJ.js.map} +0 -0
  40. /package/dist/{chunk-4ETFEMWH.cjs.map → chunk-AUXXNU4E.cjs.map} +0 -0
  41. /package/dist/{chunk-QUDB2AZM.cjs.map → chunk-BCJRR2TA.cjs.map} +0 -0
  42. /package/dist/{chunk-KMYQYSXM.js.map → chunk-DC7TSBAX.js.map} +0 -0
  43. /package/dist/{chunk-CLOD7FDI.cjs.map → chunk-DOKFLMTZ.js.map} +0 -0
  44. /package/dist/{chunk-UP3ABHHJ.js.map → chunk-EI5BXOWQ.js.map} +0 -0
  45. /package/dist/{chunk-BMYALID3.js.map → chunk-GQZLE54N.js.map} +0 -0
  46. /package/dist/{chunk-BG5SP7MX.js.map → chunk-GTQX3YE3.js.map} +0 -0
  47. /package/dist/{chunk-42QBHWTS.cjs.map → chunk-MYP62TTS.cjs.map} +0 -0
  48. /package/dist/{chunk-ZGGS2LJL.cjs.map → chunk-NYSHCGJK.cjs.map} +0 -0
  49. /package/dist/{chunk-VARKFQXA.js.map → chunk-PD4VAMC4.js.map} +0 -0
  50. /package/dist/{chunk-46M72VA2.js.map → chunk-RKJEICYC.js.map} +0 -0
  51. /package/dist/{chunk-AKVDLTIG.cjs.map → chunk-RVR4GIMH.cjs.map} +0 -0
  52. /package/dist/{chunk-QNVB4X4Z.cjs.map → chunk-SFOOQU7X.cjs.map} +0 -0
  53. /package/dist/{chunk-K5BPDI36.js.map → chunk-TXURS7MB.cjs.map} +0 -0
  54. /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.5_ts-node@10.9.2_typescript@5.3.3/node_modules/tsup/assets/cjs_shims.js
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.5_ts-node@10.9.2_typescript@5.3.3/node_modules/tsup/assets/cjs_shims.js"() {
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-LX3C2KYZ.cjs.map
91
+ //# sourceMappingURL=chunk-2YPJ2PU6.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.5_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
+ {"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 chunkLX3C2KYZ_cjs = require('./chunk-LX3C2KYZ.cjs');
3
+ var chunk2YPJ2PU6_cjs = require('./chunk-2YPJ2PU6.cjs');
4
4
 
5
5
  // src/transformers/casing.ts
6
- chunkLX3C2KYZ_cjs.init_cjs_shims();
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
- chunkLX3C2KYZ_cjs.init_cjs_shims();
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-IZEN6QJW.cjs.map
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.5_ts-node@10.9.2_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
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.5_ts-node@10.9.2_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js"() {
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-ORSUFOUY.js.map
60
+ //# sourceMappingURL=chunk-7ENLO2XM.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.40.5_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
+ {"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-ORSUFOUY.js';
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-QMJHN2SZ.js.map
58
+ //# sourceMappingURL=chunk-7VQYBAHZ.js.map
@@ -1,4 +1,4 @@
1
- import { init_esm_shims } from './chunk-ORSUFOUY.js';
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-SQ7PJS37.js.map
30
+ //# sourceMappingURL=chunk-AABVZDWJ.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkLX3C2KYZ_cjs = require('./chunk-LX3C2KYZ.cjs');
3
+ var chunk2YPJ2PU6_cjs = require('./chunk-2YPJ2PU6.cjs');
4
4
 
5
5
  // src/utils/uniqueName.ts
6
- chunkLX3C2KYZ_cjs.init_cjs_shims();
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-4ETFEMWH.cjs.map
29
+ //# sourceMappingURL=chunk-AUXXNU4E.cjs.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkLZMHGPYG_cjs = require('./chunk-LZMHGPYG.cjs');
4
- var chunkLX3C2KYZ_cjs = require('./chunk-LX3C2KYZ.cjs');
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
- chunkLX3C2KYZ_cjs.init_cjs_shims();
10
- var import_fs_extra = chunkLX3C2KYZ_cjs.__toESM(chunkLZMHGPYG_cjs.require_lib(), 1);
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-QUDB2AZM.cjs.map
63
+ //# sourceMappingURL=chunk-BCJRR2TA.cjs.map
@@ -1,4 +1,4 @@
1
- import { init_esm_shims } from './chunk-ORSUFOUY.js';
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-KMYQYSXM.js.map
12
+ //# sourceMappingURL=chunk-DC7TSBAX.js.map
@@ -1,4 +1,4 @@
1
- import { init_esm_shims } from './chunk-ORSUFOUY.js';
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-K5BPDI36.js.map
126
+ //# sourceMappingURL=chunk-DOKFLMTZ.js.map
@@ -1,4 +1,4 @@
1
- import { init_esm_shims } from './chunk-ORSUFOUY.js';
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-UP3ABHHJ.js.map
82
+ //# sourceMappingURL=chunk-EI5BXOWQ.js.map
@@ -1,9 +1,9 @@
1
- import { transformReservedWord, trimExtName, searchAndReplace } from './chunk-K5BPDI36.js';
2
- import { setUniqueName } from './chunk-VARKFQXA.js';
3
- import { EventEmitter, LogLevel } from './chunk-BG5SP7MX.js';
4
- import { read, getRelativePath } from './chunk-QMJHN2SZ.js';
5
- import { write } from './chunk-UP3ABHHJ.js';
6
- import { __commonJS, init_esm_shims, __toESM, __privateAdd, __privateSet, __privateGet, __privateMethod } from './chunk-ORSUFOUY.js';
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-BMYALID3.js.map
1830
+ //# sourceMappingURL=chunk-GQZLE54N.js.map
@@ -1,5 +1,5 @@
1
- import { writeLog } from './chunk-UP3ABHHJ.js';
2
- import { init_esm_shims, __privateAdd, __privateGet } from './chunk-ORSUFOUY.js';
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-BG5SP7MX.js.map
170
+ //# sourceMappingURL=chunk-GTQX3YE3.js.map