Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kubb/parser

Package Overview
Dependencies
Maintainers
1
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kubb/parser - npm Package Compare versions

Comparing version 2.6.7 to 2.7.0

33

dist/factory.js

@@ -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

18

dist/index.js

@@ -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,
print
};
//# 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc