@kubb/core 3.13.2 → 3.14.1
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/LICENSE +1 -1
- package/dist/{chunk-AHJUF7XY.cjs → chunk-3GAXFWD7.cjs} +13 -13
- package/dist/{chunk-AHJUF7XY.cjs.map → chunk-3GAXFWD7.cjs.map} +1 -1
- package/dist/{chunk-XYYJ47OY.cjs → chunk-KZOJCFA7.cjs} +4 -4
- package/dist/{chunk-XYYJ47OY.cjs.map → chunk-KZOJCFA7.cjs.map} +1 -1
- package/dist/{chunk-SWGRVXDA.cjs → chunk-NK3PFGI7.cjs} +47 -47
- package/dist/{chunk-SWGRVXDA.cjs.map → chunk-NK3PFGI7.cjs.map} +1 -1
- package/dist/{chunk-5FMXBQIM.cjs → chunk-TC37PFUL.cjs} +8 -8
- package/dist/{chunk-5FMXBQIM.cjs.map → chunk-TC37PFUL.cjs.map} +1 -1
- package/dist/{chunk-BGQLAB22.cjs → chunk-TEEWO6UV.cjs} +17 -17
- package/dist/{chunk-BGQLAB22.cjs.map → chunk-TEEWO6UV.cjs.map} +1 -1
- package/dist/fs.cjs +9 -9
- package/dist/index.cjs +42 -42
- package/dist/logger.cjs +7 -7
- package/dist/mocks.cjs +10 -10
- package/dist/{prompt-D3TJH7LL.cjs → prompt-55FJQYBV.cjs} +4 -4
- package/dist/{prompt-D3TJH7LL.cjs.map → prompt-55FJQYBV.cjs.map} +1 -1
- package/dist/transformers.cjs +22 -22
- package/dist/utils.cjs +19 -19
- package/package.json +12 -8
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 chunkTEEWO6UV_cjs = require('./chunk-TEEWO6UV.cjs');
|
|
6
|
+
require('./chunk-KZOJCFA7.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 chunkTEEWO6UV_cjs.camelCase; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "combineCodes", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkTEEWO6UV_cjs.combineCodes; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "createIndent", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkTEEWO6UV_cjs.createIndent; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "createJSDocBlockText", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkTEEWO6UV_cjs.createJSDocBlockText; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "default", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkTEEWO6UV_cjs.transformers_default; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "escape", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkTEEWO6UV_cjs.escape; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "isValidVarName", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkTEEWO6UV_cjs.isValidVarName; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "jsStringEscape", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkTEEWO6UV_cjs.jsStringEscape; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "merge", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkTEEWO6UV_cjs.merge; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "nameSorter", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkTEEWO6UV_cjs.nameSorter; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "orderBy", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkTEEWO6UV_cjs.orderBy; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "pascalCase", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkTEEWO6UV_cjs.pascalCase; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "searchAndReplace", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkTEEWO6UV_cjs.searchAndReplace; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "stringify", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkTEEWO6UV_cjs.stringify; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "stringifyObject", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkTEEWO6UV_cjs.stringifyObject; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "toRegExp", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkTEEWO6UV_cjs.toRegExp; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "toRegExpString", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkTEEWO6UV_cjs.toRegExpString; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "transformReservedWord", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkTEEWO6UV_cjs.transformReservedWord; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "trim", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkTEEWO6UV_cjs.trim; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "trimQuotes", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkTEEWO6UV_cjs.trimQuotes; }
|
|
89
89
|
});
|
|
90
90
|
//# sourceMappingURL=transformers.cjs.map
|
|
91
91
|
//# sourceMappingURL=transformers.cjs.map
|
package/dist/utils.cjs
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var chunkNK3PFGI7_cjs = require('./chunk-NK3PFGI7.cjs');
|
|
4
|
+
require('./chunk-TEEWO6UV.cjs');
|
|
5
|
+
require('./chunk-TC37PFUL.cjs');
|
|
6
|
+
require('./chunk-KZOJCFA7.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "FunctionParams", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkNK3PFGI7_cjs.FunctionParams; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "URLPath", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkNK3PFGI7_cjs.URLPath; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "createFile", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkNK3PFGI7_cjs.createFile; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "createFileExport", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkNK3PFGI7_cjs.createFileExport; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "createFileImport", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkNK3PFGI7_cjs.createFileImport; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "createFileParser", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkNK3PFGI7_cjs.createFileParser; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "getDefaultBanner", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkNK3PFGI7_cjs.getDefaultBanner; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "getFileParser", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkNK3PFGI7_cjs.getFileParser; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "getUniqueName", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkNK3PFGI7_cjs.getUniqueName; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "isPromise", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkNK3PFGI7_cjs.isPromise; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "isPromiseFulfilledResult", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkNK3PFGI7_cjs.isPromiseFulfilledResult; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "isPromiseRejectedResult", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkNK3PFGI7_cjs.isPromiseRejectedResult; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "renderTemplate", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkNK3PFGI7_cjs.renderTemplate; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "setUniqueName", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkNK3PFGI7_cjs.setUniqueName; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "timeout", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkNK3PFGI7_cjs.timeout; }
|
|
69
69
|
});
|
|
70
70
|
//# sourceMappingURL=utils.cjs.map
|
|
71
71
|
//# sourceMappingURL=utils.cjs.map
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/core",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.14.1",
|
|
4
|
+
"description": "Core functionality for Kubb's plugin-based code generation system, providing the foundation for transforming OpenAPI specifications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
7
7
|
"plugins",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"plugin-system",
|
|
9
|
+
"code-generator",
|
|
10
|
+
"codegen",
|
|
11
|
+
"openapi",
|
|
12
|
+
"swagger",
|
|
13
|
+
"kubb"
|
|
10
14
|
],
|
|
11
15
|
"repository": {
|
|
12
16
|
"type": "git",
|
|
@@ -90,10 +94,10 @@
|
|
|
90
94
|
"natural-orderby": "^5.0.0",
|
|
91
95
|
"object-hash": "^3.0.0",
|
|
92
96
|
"p-queue": "^8.1.0",
|
|
93
|
-
"remeda": "^2.
|
|
97
|
+
"remeda": "^2.25.0",
|
|
94
98
|
"seedrandom": "^3.0.5",
|
|
95
99
|
"semver": "^7.7.2",
|
|
96
|
-
"@kubb/parser-ts": "3.
|
|
100
|
+
"@kubb/parser-ts": "3.14.1"
|
|
97
101
|
},
|
|
98
102
|
"devDependencies": {
|
|
99
103
|
"@types/fs-extra": "^11.0.4",
|
|
@@ -104,8 +108,8 @@
|
|
|
104
108
|
"prettier": "^3.6.2",
|
|
105
109
|
"tsup": "^8.5.0",
|
|
106
110
|
"typescript": "^5.8.3",
|
|
107
|
-
"@kubb/config-ts": "3.
|
|
108
|
-
"@kubb/config-tsup": "3.
|
|
111
|
+
"@kubb/config-ts": "3.14.1",
|
|
112
|
+
"@kubb/config-tsup": "3.14.1"
|
|
109
113
|
},
|
|
110
114
|
"engines": {
|
|
111
115
|
"node": ">=20"
|