@kubb/core 2.12.3 → 2.12.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.
- package/dist/{chunk-IP732R22.js → chunk-2Y4CDLGB.js} +2 -2
- package/dist/{chunk-NKAOH4VT.js → chunk-34EEUDMU.js} +3 -3
- package/dist/{chunk-5I2ALFAS.js → chunk-4ZVQSQBZ.js} +2 -2
- package/dist/{chunk-F4TSJHGA.cjs → chunk-B74BR46M.cjs} +5 -5
- package/dist/chunk-BOZP7LG7.cjs +19 -0
- package/dist/{chunk-ZS3YTJ2L.cjs → chunk-CIEHBU2S.cjs} +3 -3
- package/dist/{chunk-EAM5RXNI.js → chunk-FBJJW6ME.js} +3 -3
- package/dist/{chunk-EAM5RXNI.js.map → chunk-FBJJW6ME.js.map} +1 -1
- package/dist/{chunk-FOWWV3PP.js → chunk-HCCIKTCT.js} +2 -2
- package/dist/{chunk-LHNV7GQH.cjs → chunk-HKRFUPZL.cjs} +7 -7
- package/dist/{chunk-YYCT7ZB7.cjs → chunk-I6E2RETY.cjs} +5 -5
- package/dist/{chunk-L2OHRGUS.js → chunk-KHDN54K7.js} +2 -2
- package/dist/{chunk-VPKB6WED.js → chunk-O7B2DCFM.js} +4 -4
- package/dist/{chunk-KXDRK6DY.js → chunk-P5JZAH44.js} +2 -2
- package/dist/{chunk-OVLOS3IJ.cjs → chunk-S7MSMKRT.cjs} +88 -88
- package/dist/{chunk-OPTGFWPQ.cjs → chunk-TDN4N77Q.cjs} +25 -25
- package/dist/{chunk-KPXUT3DG.cjs → chunk-VEW4PGF3.cjs} +5 -5
- package/dist/{chunk-KPXUT3DG.cjs.map → chunk-VEW4PGF3.cjs.map} +1 -1
- package/dist/{chunk-TTAE4JRW.cjs → chunk-WBPIU73P.cjs} +14 -14
- package/dist/{chunk-XHJKKPCO.js → chunk-WUHRZLUP.js} +3 -3
- package/dist/{chunk-4TB6NGOC.cjs → chunk-Y4IJPEUV.cjs} +3 -3
- package/dist/{chunk-4TB6NGOC.cjs.map → chunk-Y4IJPEUV.cjs.map} +1 -1
- package/dist/fs.cjs +7 -7
- package/dist/fs.js +4 -4
- package/dist/index.cjs +296 -296
- package/dist/index.js +9 -9
- package/dist/logger.cjs +5 -5
- package/dist/logger.js +3 -3
- package/dist/mocks.cjs +7 -7
- package/dist/mocks.js +3 -3
- package/dist/transformers.cjs +6 -6
- package/dist/transformers.js +4 -4
- package/dist/utils.cjs +26 -26
- package/dist/utils.js +4 -4
- package/package.json +6 -6
- package/dist/chunk-IBUMXAET.cjs +0 -19
- /package/dist/{chunk-IP732R22.js.map → chunk-2Y4CDLGB.js.map} +0 -0
- /package/dist/{chunk-NKAOH4VT.js.map → chunk-34EEUDMU.js.map} +0 -0
- /package/dist/{chunk-5I2ALFAS.js.map → chunk-4ZVQSQBZ.js.map} +0 -0
- /package/dist/{chunk-F4TSJHGA.cjs.map → chunk-B74BR46M.cjs.map} +0 -0
- /package/dist/{chunk-IBUMXAET.cjs.map → chunk-BOZP7LG7.cjs.map} +0 -0
- /package/dist/{chunk-ZS3YTJ2L.cjs.map → chunk-CIEHBU2S.cjs.map} +0 -0
- /package/dist/{chunk-FOWWV3PP.js.map → chunk-HCCIKTCT.js.map} +0 -0
- /package/dist/{chunk-LHNV7GQH.cjs.map → chunk-HKRFUPZL.cjs.map} +0 -0
- /package/dist/{chunk-YYCT7ZB7.cjs.map → chunk-I6E2RETY.cjs.map} +0 -0
- /package/dist/{chunk-L2OHRGUS.js.map → chunk-KHDN54K7.js.map} +0 -0
- /package/dist/{chunk-VPKB6WED.js.map → chunk-O7B2DCFM.js.map} +0 -0
- /package/dist/{chunk-KXDRK6DY.js.map → chunk-P5JZAH44.js.map} +0 -0
- /package/dist/{chunk-OVLOS3IJ.cjs.map → chunk-S7MSMKRT.cjs.map} +0 -0
- /package/dist/{chunk-OPTGFWPQ.cjs.map → chunk-TDN4N77Q.cjs.map} +0 -0
- /package/dist/{chunk-TTAE4JRW.cjs.map → chunk-WBPIU73P.cjs.map} +0 -0
- /package/dist/{chunk-XHJKKPCO.js.map → chunk-WUHRZLUP.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_esm_shims
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FBJJW6ME.js";
|
|
4
4
|
|
|
5
5
|
// ../../node_modules/.pnpm/natural-orderby@3.0.2/node_modules/natural-orderby/dist/index.js
|
|
6
6
|
init_esm_shims();
|
|
@@ -322,4 +322,4 @@ natural-orderby/dist/index.js:
|
|
|
322
322
|
* @license MIT
|
|
323
323
|
*)
|
|
324
324
|
*/
|
|
325
|
-
//# sourceMappingURL=chunk-
|
|
325
|
+
//# sourceMappingURL=chunk-2Y4CDLGB.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
camelCase
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HCCIKTCT.js";
|
|
4
4
|
import {
|
|
5
5
|
init_esm_shims
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FBJJW6ME.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/uniqueName.ts
|
|
9
9
|
init_esm_shims();
|
|
@@ -129,4 +129,4 @@ export {
|
|
|
129
129
|
setUniqueName,
|
|
130
130
|
URLPath
|
|
131
131
|
};
|
|
132
|
-
//# sourceMappingURL=chunk-
|
|
132
|
+
//# sourceMappingURL=chunk-34EEUDMU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_esm_shims
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FBJJW6ME.js";
|
|
4
4
|
|
|
5
5
|
// src/fs/read.ts
|
|
6
6
|
init_esm_shims();
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
read,
|
|
61
61
|
readSync
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-4ZVQSQBZ.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkS7MSMKRTcjs = require('./chunk-S7MSMKRT.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkY4IJPEUVcjs = require('./chunk-Y4IJPEUV.cjs');
|
|
8
8
|
|
|
9
9
|
// src/fs/read.ts
|
|
10
|
-
|
|
11
|
-
var import_fs_extra =
|
|
10
|
+
_chunkY4IJPEUVcjs.init_cjs_shims.call(void 0, );
|
|
11
|
+
var import_fs_extra = _chunkY4IJPEUVcjs.__toESM.call(void 0, _chunkS7MSMKRTcjs.require_lib.call(void 0, ), 1);
|
|
12
12
|
var _path = require('path');
|
|
13
13
|
var _jsruntime = require('js-runtime');
|
|
14
14
|
function slash(path, platform = "linux") {
|
|
@@ -64,4 +64,4 @@ function readSync(path) {
|
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
exports.getRelativePath = getRelativePath; exports.read = read; exports.readSync = readSync;
|
|
67
|
-
//# sourceMappingURL=chunk-
|
|
67
|
+
//# sourceMappingURL=chunk-B74BR46M.cjs.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkS7MSMKRTcjs = require('./chunk-S7MSMKRT.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkY4IJPEUVcjs = require('./chunk-Y4IJPEUV.cjs');
|
|
8
|
+
|
|
9
|
+
// src/fs/clean.ts
|
|
10
|
+
_chunkY4IJPEUVcjs.init_cjs_shims.call(void 0, );
|
|
11
|
+
var import_fs_extra = _chunkY4IJPEUVcjs.__toESM.call(void 0, _chunkS7MSMKRTcjs.require_lib.call(void 0, ), 1);
|
|
12
|
+
async function clean(path) {
|
|
13
|
+
return import_fs_extra.default.remove(path);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
exports.clean = clean;
|
|
19
|
+
//# sourceMappingURL=chunk-BOZP7LG7.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkY4IJPEUVcjs = require('./chunk-Y4IJPEUV.cjs');
|
|
4
4
|
|
|
5
5
|
// ../../node_modules/.pnpm/natural-orderby@3.0.2/node_modules/natural-orderby/dist/index.js
|
|
6
|
-
|
|
6
|
+
_chunkY4IJPEUVcjs.init_cjs_shims.call(void 0, );
|
|
7
7
|
var compareNumbers = function compareNumbers2(numberA, numberB) {
|
|
8
8
|
if (numberA < numberB) {
|
|
9
9
|
return -1;
|
|
@@ -322,4 +322,4 @@ natural-orderby/dist/index.js:
|
|
|
322
322
|
* @license MIT
|
|
323
323
|
*)
|
|
324
324
|
*/
|
|
325
|
-
//# sourceMappingURL=chunk-
|
|
325
|
+
//# sourceMappingURL=chunk-CIEHBU2S.cjs.map
|
|
@@ -49,9 +49,9 @@ 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.43.0_ts-node@10.9.2_typescript@5.4.
|
|
52
|
+
// ../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.0_ts-node@10.9.2_typescript@5.4.4/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.43.0_ts-node@10.9.2_typescript@5.4.
|
|
54
|
+
"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.0_ts-node@10.9.2_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js"() {
|
|
55
55
|
"use strict";
|
|
56
56
|
}
|
|
57
57
|
});
|
|
@@ -65,4 +65,4 @@ export {
|
|
|
65
65
|
__privateMethod,
|
|
66
66
|
init_esm_shims
|
|
67
67
|
};
|
|
68
|
-
//# sourceMappingURL=chunk-
|
|
68
|
+
//# sourceMappingURL=chunk-FBJJW6ME.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.0_ts-node@10.9.2_typescript@5.4.
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.0_ts-node@10.9.2_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js"],"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"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_esm_shims
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FBJJW6ME.js";
|
|
4
4
|
|
|
5
5
|
// src/transformers/casing.ts
|
|
6
6
|
init_esm_shims();
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
pascalCase,
|
|
39
39
|
pathCase
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=chunk-
|
|
41
|
+
//# sourceMappingURL=chunk-HCCIKTCT.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkVEW4PGF3cjs = require('./chunk-VEW4PGF3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkY4IJPEUVcjs = require('./chunk-Y4IJPEUV.cjs');
|
|
7
7
|
|
|
8
8
|
// src/utils/uniqueName.ts
|
|
9
|
-
|
|
9
|
+
_chunkY4IJPEUVcjs.init_cjs_shims.call(void 0, );
|
|
10
10
|
function getUniqueName(originalName, data) {
|
|
11
11
|
let used = data[originalName] || 0;
|
|
12
12
|
if (used) {
|
|
@@ -27,7 +27,7 @@ function setUniqueName(originalName, data) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
// src/utils/URLPath.ts
|
|
30
|
-
|
|
30
|
+
_chunkY4IJPEUVcjs.init_cjs_shims.call(void 0, );
|
|
31
31
|
var URLPath = class {
|
|
32
32
|
constructor(path) {
|
|
33
33
|
this.path = path;
|
|
@@ -94,7 +94,7 @@ var URLPath = class {
|
|
|
94
94
|
let newPath = this.path.replaceAll("{", "${");
|
|
95
95
|
if (found) {
|
|
96
96
|
newPath = found.reduce((prev, curr) => {
|
|
97
|
-
const pathParam = replacer ? replacer(
|
|
97
|
+
const pathParam = replacer ? replacer(_chunkVEW4PGF3cjs.camelCase.call(void 0, curr)) : _chunkVEW4PGF3cjs.camelCase.call(void 0, curr);
|
|
98
98
|
const replacement = `\${${pathParam}}`;
|
|
99
99
|
return prev.replace(curr, replacement);
|
|
100
100
|
}, this.path);
|
|
@@ -110,7 +110,7 @@ var URLPath = class {
|
|
|
110
110
|
const params = {};
|
|
111
111
|
found.forEach((item) => {
|
|
112
112
|
item = item.replaceAll("{", "").replaceAll("}", "");
|
|
113
|
-
const pathParam = replacer ? replacer(
|
|
113
|
+
const pathParam = replacer ? replacer(_chunkVEW4PGF3cjs.camelCase.call(void 0, item)) : _chunkVEW4PGF3cjs.camelCase.call(void 0, item);
|
|
114
114
|
params[pathParam] = pathParam;
|
|
115
115
|
}, this.path);
|
|
116
116
|
return params;
|
|
@@ -129,4 +129,4 @@ var URLPath = class {
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
exports.getUniqueName = getUniqueName; exports.setUniqueName = setUniqueName; exports.URLPath = URLPath;
|
|
132
|
-
//# sourceMappingURL=chunk-
|
|
132
|
+
//# sourceMappingURL=chunk-HKRFUPZL.cjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkS7MSMKRTcjs = require('./chunk-S7MSMKRT.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkY4IJPEUVcjs = require('./chunk-Y4IJPEUV.cjs');
|
|
8
8
|
|
|
9
9
|
// src/fs/write.ts
|
|
10
|
-
|
|
11
|
-
var import_fs_extra =
|
|
10
|
+
_chunkY4IJPEUVcjs.init_cjs_shims.call(void 0, );
|
|
11
|
+
var import_fs_extra = _chunkY4IJPEUVcjs.__toESM.call(void 0, _chunkS7MSMKRTcjs.require_lib.call(void 0, ), 1);
|
|
12
12
|
var _path = require('path');
|
|
13
13
|
var _jsruntime = require('js-runtime');
|
|
14
14
|
var writer = _jsruntime.switcher.call(void 0,
|
|
@@ -91,4 +91,4 @@ async function writeLog(data) {
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
exports.write = write; exports.writeLog = writeLog;
|
|
94
|
-
//# sourceMappingURL=chunk-
|
|
94
|
+
//# sourceMappingURL=chunk-I6E2RETY.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_esm_shims
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FBJJW6ME.js";
|
|
4
4
|
|
|
5
5
|
// src/fs/write.ts
|
|
6
6
|
init_esm_shims();
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
write,
|
|
88
88
|
writeLog
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-KHDN54K7.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
orderBy
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2Y4CDLGB.js";
|
|
4
4
|
import {
|
|
5
5
|
camelCase,
|
|
6
6
|
pascalCase,
|
|
7
7
|
pathCase
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HCCIKTCT.js";
|
|
9
9
|
import {
|
|
10
10
|
__commonJS,
|
|
11
11
|
__toESM,
|
|
12
12
|
init_esm_shims
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FBJJW6ME.js";
|
|
14
14
|
|
|
15
15
|
// ../../node_modules/.pnpm/lodash.tonumber@4.0.3/node_modules/lodash.tonumber/index.js
|
|
16
16
|
var require_lodash = __commonJS({
|
|
@@ -365,4 +365,4 @@ export {
|
|
|
365
365
|
default2 as default,
|
|
366
366
|
import_lodash5 as import_lodash
|
|
367
367
|
};
|
|
368
|
-
//# sourceMappingURL=chunk-
|
|
368
|
+
//# sourceMappingURL=chunk-O7B2DCFM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_esm_shims
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FBJJW6ME.js";
|
|
4
4
|
|
|
5
5
|
// src/fs/clean.ts
|
|
6
6
|
init_esm_shims();
|
|
@@ -12,4 +12,4 @@ async function clean(path) {
|
|
|
12
12
|
export {
|
|
13
13
|
clean
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-P5JZAH44.js.map
|