@kubb/core 3.5.7 → 3.5.8
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-QUYSCEF5.cjs → chunk-BIWQPQEA.cjs} +4 -4
- package/dist/chunk-BIWQPQEA.cjs.map +1 -0
- package/dist/{chunk-VZI3Q424.cjs → chunk-BJTJV7DO.cjs} +12 -12
- package/dist/{chunk-VZI3Q424.cjs.map → chunk-BJTJV7DO.cjs.map} +1 -1
- package/dist/{chunk-UFJUTGAP.cjs → chunk-MYUGSVTP.cjs} +35 -35
- package/dist/{chunk-UFJUTGAP.cjs.map → chunk-MYUGSVTP.cjs.map} +1 -1
- package/dist/{chunk-BLL6IRIU.cjs → chunk-SH7MTMBR.cjs} +17 -17
- package/dist/{chunk-BLL6IRIU.cjs.map → chunk-SH7MTMBR.cjs.map} +1 -1
- package/dist/index.cjs +34 -34
- package/dist/logger.cjs +6 -6
- package/dist/mocks.cjs +9 -9
- package/dist/{prompt-PMVNGJYE.cjs → prompt-UHZFVPND.cjs} +4 -4
- package/dist/{prompt-PMVNGJYE.cjs.map → prompt-UHZFVPND.cjs.map} +1 -1
- package/dist/transformers.cjs +22 -22
- package/dist/utils.cjs +17 -17
- package/package.json +6 -6
- package/dist/chunk-QUYSCEF5.cjs.map +0 -1
package/dist/transformers.cjs
CHANGED
|
@@ -2,90 +2,90 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkSH7MTMBR_cjs = require('./chunk-SH7MTMBR.cjs');
|
|
6
|
+
require('./chunk-BIWQPQEA.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "camelCase", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkSH7MTMBR_cjs.camelCase; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "combineCodes", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkSH7MTMBR_cjs.combineCodes; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "createIndent", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkSH7MTMBR_cjs.createIndent; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "createJSDocBlockText", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkSH7MTMBR_cjs.createJSDocBlockText; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "default", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkSH7MTMBR_cjs.transformers_default; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "escape", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkSH7MTMBR_cjs.escape; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "isValidVarName", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkSH7MTMBR_cjs.isValidVarName; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "jsStringEscape", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkSH7MTMBR_cjs.jsStringEscape; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "merge", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkSH7MTMBR_cjs.merge; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "nameSorter", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkSH7MTMBR_cjs.nameSorter; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "orderBy", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkSH7MTMBR_cjs.orderBy; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "pascalCase", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkSH7MTMBR_cjs.pascalCase; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "searchAndReplace", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkSH7MTMBR_cjs.searchAndReplace; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "stringify", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkSH7MTMBR_cjs.stringify; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "stringifyObject", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkSH7MTMBR_cjs.stringifyObject; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "toRegExp", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkSH7MTMBR_cjs.toRegExp; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "toRegExpString", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkSH7MTMBR_cjs.toRegExpString; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "transformReservedWord", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkSH7MTMBR_cjs.transformReservedWord; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "trim", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkSH7MTMBR_cjs.trim; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "trimQuotes", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkSH7MTMBR_cjs.trimQuotes; }
|
|
89
89
|
});
|
|
90
90
|
//# sourceMappingURL=transformers.cjs.map
|
|
91
91
|
//# sourceMappingURL=transformers.cjs.map
|
package/dist/utils.cjs
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkMYUGSVTP_cjs = require('./chunk-MYUGSVTP.cjs');
|
|
4
|
+
require('./chunk-SH7MTMBR.cjs');
|
|
5
|
+
require('./chunk-BIWQPQEA.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "FunctionParams", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkMYUGSVTP_cjs.FunctionParams; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "URLPath", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkMYUGSVTP_cjs.URLPath; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "createFile", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkMYUGSVTP_cjs.createFile; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "createFileExport", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkMYUGSVTP_cjs.createFileExport; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "createFileImport", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkMYUGSVTP_cjs.createFileImport; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "createFileParser", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkMYUGSVTP_cjs.createFileParser; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "getFileParser", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkMYUGSVTP_cjs.getFileParser; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "getUniqueName", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkMYUGSVTP_cjs.getUniqueName; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "isPromise", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkMYUGSVTP_cjs.isPromise; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "isPromiseFulfilledResult", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkMYUGSVTP_cjs.isPromiseFulfilledResult; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "isPromiseRejectedResult", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkMYUGSVTP_cjs.isPromiseRejectedResult; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "renderTemplate", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkMYUGSVTP_cjs.renderTemplate; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "setUniqueName", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkMYUGSVTP_cjs.setUniqueName; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "timeout", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkMYUGSVTP_cjs.timeout; }
|
|
64
64
|
});
|
|
65
65
|
//# sourceMappingURL=utils.cjs.map
|
|
66
66
|
//# sourceMappingURL=utils.cjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.8",
|
|
4
4
|
"description": "Generator core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"remeda": "^2.20.1",
|
|
84
84
|
"seedrandom": "^3.0.5",
|
|
85
85
|
"semver": "^7.7.1",
|
|
86
|
-
"@kubb/fs": "3.5.
|
|
87
|
-
"@kubb/parser-ts": "3.5.
|
|
88
|
-
"@kubb/types": "3.5.
|
|
86
|
+
"@kubb/fs": "3.5.8",
|
|
87
|
+
"@kubb/parser-ts": "3.5.8",
|
|
88
|
+
"@kubb/types": "3.5.8"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@types/object-hash": "^3.0.6",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"tinyrainbow": "^1.2.0",
|
|
97
97
|
"tsup": "^8.3.6",
|
|
98
98
|
"typescript": "^5.7.3",
|
|
99
|
-
"@kubb/config-ts": "3.5.
|
|
100
|
-
"@kubb/config-tsup": "3.5.
|
|
99
|
+
"@kubb/config-ts": "3.5.8",
|
|
100
|
+
"@kubb/config-tsup": "3.5.8"
|
|
101
101
|
},
|
|
102
102
|
"engines": {
|
|
103
103
|
"node": ">=20"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.3.6_@microsoft+api-extractor@7.49.2_@types+node@20.17.17__jiti@2.4.2_postcss@8.4.49_typescript@5.7.3_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA,cAAA,GAAA,KAAA,CAAA;AAAA,EAAA,uLAAA,GAAA;AAAA;AAAA,CAAA","file":"chunk-QUYSCEF5.cjs","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"]}
|