🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@kubb/parser-ts

Package Overview
Dependencies
Maintainers
0
Versions
310
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kubb/parser-ts - npm Package Compare versions

Comparing version

to
3.0.0-alpha.13

src/format.ts

6

dist/index.d.ts

@@ -9,4 +9,6 @@ import ts, { PrinterOptions } from 'typescript';

} & PrinterOptions;
declare function print(elements: ts.Node | Array<ts.Node | undefined> | null, { source, baseName, removeComments, noEmitHelpers, newLine }?: Options): string;
declare function print(elements: Array<ts.Node>, { source, baseName, removeComments, noEmitHelpers, newLine }?: Options): string;
export { print };
declare function format(source: string): string;
export { format, print };

@@ -29,4 +29,9 @@ export { factory_exports as factory } from './chunk-2BN5RQSZ.js';

export { print };
// src/format.ts
function format(source) {
return print([], { source, noEmitHelpers: false });
}
export { format, print };
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map
{
"name": "@kubb/parser-ts",
"version": "3.0.0-alpha.12",
"version": "3.0.0-alpha.13",
"description": "TypeScript parser",

@@ -56,7 +56,6 @@ "keywords": [

"devDependencies": {
"prettier": "^3.3.3",
"tsup": "^8.2.4",
"@kubb/config-biome": "3.0.0-alpha.12",
"@kubb/config-ts": "3.0.0-alpha.12",
"@kubb/config-tsup": "3.0.0-alpha.12"
"@kubb/config-biome": "3.0.0-alpha.13",
"@kubb/config-ts": "3.0.0-alpha.13",
"@kubb/config-tsup": "3.0.0-alpha.13"
},

@@ -63,0 +62,0 @@ "engines": {

@@ -30,2 +30,15 @@ <div align="center">

</div>
## Supporting Kubb
Kubb uses an MIT-licensed open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:
- [Become a Sponsor on GitHub](https://github.com/sponsors/stijnvanhulle)
<p align="center">
<a href="https://github.com/sponsors/stijnvanhulle">
<img src="https://raw.githubusercontent.com/stijnvanhulle/sponsors/main/sponsors.svg" alt="My sponsors" />
</a>
</p>
<!-- Badges -->

@@ -32,0 +45,0 @@

export { print } from './print.ts'
export { format } from './format.ts'
export type { default as ts } from 'typescript'
export * as factory from './factory.ts'

@@ -27,3 +27,3 @@ import ts from 'typescript'

export function print(
elements: ts.Node | Array<ts.Node | undefined> | null,
elements: Array<ts.Node>,
{ source = '', baseName = 'print.ts', removeComments, noEmitHelpers, newLine = ts.NewLineKind.LineFeed }: Options = {},

@@ -30,0 +30,0 @@ ): string {

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