@kubb/parser
Advanced tools
Comparing version 2.6.7 to 2.7.0
@@ -1,4 +0,3 @@ | ||
import ts from 'typescript'; | ||
// src/factory.ts | ||
import ts from "typescript"; | ||
var { factory } = ts; | ||
@@ -343,5 +342,29 @@ var modifiers = { | ||
var createIdentifier = factory.createIdentifier; | ||
export { appendJSDocToNode, createArrayTypeNode, createEnumDeclaration, createExportDeclaration, createIdentifier, createImportDeclaration, createIndexSignature, createIntersectionDeclaration, createJSDoc, createLiteralTypeNode, createNamespaceDeclaration, createNull, createNumericLiteral, createOmitDeclaration, createParameterSignature, createPropertySignature, createQuestionToken, createStringLiteral, createTupleDeclaration, createTypeAliasDeclaration, createTypeLiteralNode, createTypeReferenceNode, createUnionDeclaration, keywordTypeNodes, modifiers }; | ||
//# sourceMappingURL=out.js.map | ||
export { | ||
appendJSDocToNode, | ||
createArrayTypeNode, | ||
createEnumDeclaration, | ||
createExportDeclaration, | ||
createIdentifier, | ||
createImportDeclaration, | ||
createIndexSignature, | ||
createIntersectionDeclaration, | ||
createJSDoc, | ||
createLiteralTypeNode, | ||
createNamespaceDeclaration, | ||
createNull, | ||
createNumericLiteral, | ||
createOmitDeclaration, | ||
createParameterSignature, | ||
createPropertySignature, | ||
createQuestionToken, | ||
createStringLiteral, | ||
createTupleDeclaration, | ||
createTypeAliasDeclaration, | ||
createTypeLiteralNode, | ||
createTypeReferenceNode, | ||
createUnionDeclaration, | ||
keywordTypeNodes, | ||
modifiers | ||
}; | ||
//# sourceMappingURL=factory.js.map |
@@ -1,5 +0,4 @@ | ||
import path from 'path'; | ||
import ts2 from 'typescript'; | ||
// src/api.ts | ||
import path from "path"; | ||
import ts from "typescript"; | ||
function getExports(filePath) { | ||
@@ -10,3 +9,3 @@ const rootName = path.extname(filePath) ? filePath : `${filePath}.ts`; | ||
} | ||
const program = ts2.createProgram({ | ||
const program = ts.createProgram({ | ||
rootNames: [rootName], | ||
@@ -34,2 +33,5 @@ options: {} | ||
} | ||
// src/print.ts | ||
import ts2 from "typescript"; | ||
var { factory } = ts2; | ||
@@ -62,5 +64,7 @@ var escapeNewLines = (code) => code.replace(/\n\n/g, "\n/* :newline: */"); | ||
} | ||
export { getExports, parse, print }; | ||
//# sourceMappingURL=out.js.map | ||
export { | ||
getExports, | ||
parse, | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@kubb/parser", | ||
"version": "2.6.7", | ||
"version": "2.7.0", | ||
"description": "Generator parser", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123557
1502