@kubb/parser-ts 2.19.5 → 2.20.0
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-O7GB3MTG.js → chunk-QHLKNPYD.js} +1 -1
- package/dist/{chunk-SCIDO3JK.cjs → chunk-UQLRYRTM.cjs} +1 -1
- package/dist/factory.cjs +2 -2
- package/dist/factory.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +7 -7
- /package/dist/{chunk-O7GB3MTG.js.map → chunk-QHLKNPYD.js.map} +0 -0
- /package/dist/{chunk-SCIDO3JK.cjs.map → chunk-UQLRYRTM.cjs.map} +0 -0
|
@@ -450,4 +450,4 @@ var createTupleTypeNode = factory.createTupleTypeNode;
|
|
|
450
450
|
|
|
451
451
|
|
|
452
452
|
exports.modifiers = modifiers; exports.createQuestionToken = createQuestionToken; exports.createIntersectionDeclaration = createIntersectionDeclaration; exports.createTupleDeclaration = createTupleDeclaration; exports.createArrayDeclaration = createArrayDeclaration; exports.createUnionDeclaration = createUnionDeclaration; exports.createPropertySignature = createPropertySignature; exports.createParameterSignature = createParameterSignature; exports.createJSDoc = createJSDoc; exports.appendJSDocToNode = appendJSDocToNode; exports.createIndexSignature = createIndexSignature; exports.createTypeAliasDeclaration = createTypeAliasDeclaration; exports.createNamespaceDeclaration = createNamespaceDeclaration; exports.createImportDeclaration = createImportDeclaration; exports.createExportDeclaration = createExportDeclaration; exports.createEnumDeclaration = createEnumDeclaration; exports.createOmitDeclaration = createOmitDeclaration; exports.keywordTypeNodes = keywordTypeNodes; exports.createTypeLiteralNode = createTypeLiteralNode; exports.createTypeReferenceNode = createTypeReferenceNode; exports.createNumericLiteral = createNumericLiteral; exports.createStringLiteral = createStringLiteral; exports.createArrayTypeNode = createArrayTypeNode; exports.createLiteralTypeNode = createLiteralTypeNode; exports.createNull = createNull; exports.createIdentifier = createIdentifier; exports.createTupleTypeNode = createTupleTypeNode; exports.factory_exports = factory_exports;
|
|
453
|
-
//# sourceMappingURL=chunk-
|
|
453
|
+
//# sourceMappingURL=chunk-UQLRYRTM.cjs.map
|
package/dist/factory.cjs
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkUQLRYRTMcjs = require('./chunk-UQLRYRTM.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
@@ -55,5 +55,5 @@ var _chunkSCIDO3JKcjs = require('./chunk-SCIDO3JK.cjs');
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
exports.appendJSDocToNode =
|
|
58
|
+
exports.appendJSDocToNode = _chunkUQLRYRTMcjs.appendJSDocToNode; exports.createArrayDeclaration = _chunkUQLRYRTMcjs.createArrayDeclaration; exports.createArrayTypeNode = _chunkUQLRYRTMcjs.createArrayTypeNode; exports.createEnumDeclaration = _chunkUQLRYRTMcjs.createEnumDeclaration; exports.createExportDeclaration = _chunkUQLRYRTMcjs.createExportDeclaration; exports.createIdentifier = _chunkUQLRYRTMcjs.createIdentifier; exports.createImportDeclaration = _chunkUQLRYRTMcjs.createImportDeclaration; exports.createIndexSignature = _chunkUQLRYRTMcjs.createIndexSignature; exports.createIntersectionDeclaration = _chunkUQLRYRTMcjs.createIntersectionDeclaration; exports.createJSDoc = _chunkUQLRYRTMcjs.createJSDoc; exports.createLiteralTypeNode = _chunkUQLRYRTMcjs.createLiteralTypeNode; exports.createNamespaceDeclaration = _chunkUQLRYRTMcjs.createNamespaceDeclaration; exports.createNull = _chunkUQLRYRTMcjs.createNull; exports.createNumericLiteral = _chunkUQLRYRTMcjs.createNumericLiteral; exports.createOmitDeclaration = _chunkUQLRYRTMcjs.createOmitDeclaration; exports.createParameterSignature = _chunkUQLRYRTMcjs.createParameterSignature; exports.createPropertySignature = _chunkUQLRYRTMcjs.createPropertySignature; exports.createQuestionToken = _chunkUQLRYRTMcjs.createQuestionToken; exports.createStringLiteral = _chunkUQLRYRTMcjs.createStringLiteral; exports.createTupleDeclaration = _chunkUQLRYRTMcjs.createTupleDeclaration; exports.createTupleTypeNode = _chunkUQLRYRTMcjs.createTupleTypeNode; exports.createTypeAliasDeclaration = _chunkUQLRYRTMcjs.createTypeAliasDeclaration; exports.createTypeLiteralNode = _chunkUQLRYRTMcjs.createTypeLiteralNode; exports.createTypeReferenceNode = _chunkUQLRYRTMcjs.createTypeReferenceNode; exports.createUnionDeclaration = _chunkUQLRYRTMcjs.createUnionDeclaration; exports.keywordTypeNodes = _chunkUQLRYRTMcjs.keywordTypeNodes; exports.modifiers = _chunkUQLRYRTMcjs.modifiers;
|
|
59
59
|
//# sourceMappingURL=factory.cjs.map
|
package/dist/factory.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkUQLRYRTMcjs = require('./chunk-UQLRYRTM.cjs');
|
|
4
4
|
|
|
5
5
|
// src/api.ts
|
|
6
6
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
@@ -73,5 +73,5 @@ function parse(ast) {
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
exports.factory =
|
|
76
|
+
exports.factory = _chunkUQLRYRTMcjs.factory_exports; exports.getExports = getExports; exports.parse = parse; exports.print = print;
|
|
77
77
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/parser-ts",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.0",
|
|
4
4
|
"description": "TypeScript parser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
"!/**/__tests__/**"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"remeda": "^2.
|
|
51
|
+
"remeda": "^2.2.0",
|
|
52
52
|
"typescript": "^5.4.5"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"prettier": "^3.2
|
|
56
|
-
"tsup": "^8.0
|
|
57
|
-
"@kubb/config-biome": "2.
|
|
58
|
-
"@kubb/config-ts": "2.
|
|
59
|
-
"@kubb/config-tsup": "2.
|
|
55
|
+
"prettier": "^3.3.2",
|
|
56
|
+
"tsup": "^8.1.0",
|
|
57
|
+
"@kubb/config-biome": "2.20.0",
|
|
58
|
+
"@kubb/config-ts": "2.20.0",
|
|
59
|
+
"@kubb/config-tsup": "2.20.0"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=18"
|
|
File without changes
|
|
File without changes
|