New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kubb/ts-codegen

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kubb/ts-codegen - npm Package Compare versions

Comparing version

to
1.1.2

5

dist/index.d.ts

@@ -46,2 +46,7 @@ import ts from 'typescript';

}): ts.TypeAliasDeclaration;
/**
* In { propertyName: string; name?: string } is `name` being used to make the type more unique when multiple same names are used.
* @example `import { Pet as Cat } from './Pet'`
*
*/
declare function createImportDeclaration({ name, path, isTypeOnly, }: {

@@ -48,0 +53,0 @@ name: string | Array<ts.Identifier | string | {

2

package.json
{
"name": "@kubb/ts-codegen",
"version": "1.1.1",
"version": "1.1.2",
"description": "Generator ts-codegen",

@@ -5,0 +5,0 @@ "repository": {

@@ -120,3 +120,7 @@ import ts from 'typescript'

}
/**
* In { propertyName: string; name?: string } is `name` being used to make the type more unique when multiple same names are used.
* @example `import { Pet as Cat } from './Pet'`
*
*/
export function createImportDeclaration({

@@ -123,0 +127,0 @@ name,