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 0.0.0-canary-20240312184340 to 0.0.0-canary-20240318214922

37

dist/factory.js

@@ -357,6 +357,9 @@ import {

}
return factory.createLiteralTypeNode(
factory.createStringLiteral(value?.toString())
);
})
if (value) {
return factory.createLiteralTypeNode(
factory.createStringLiteral(value.toString())
);
}
return void 0;
}).filter(Boolean)
)

@@ -390,7 +393,10 @@ )

}
return factory.createEnumMember(
factory.createStringLiteral(`${key}`),
initializer
);
})
if (key) {
return factory.createEnumMember(
factory.createStringLiteral(`${key}`),
initializer
);
}
return void 0;
}).filter(Boolean)
)

@@ -421,7 +427,10 @@ ];

}
return factory.createPropertyAssignment(
factory.createStringLiteral(`${key}`),
initializer
);
}),
if (key) {
return factory.createPropertyAssignment(
factory.createStringLiteral(`${key}`),
initializer
);
}
return void 0;
}).filter(Boolean),
true

@@ -428,0 +437,0 @@ ),

{
"name": "@kubb/parser",
"version": "0.0.0-canary-20240312184340",
"version": "0.0.0-canary-20240318214922",
"description": "Generator parser",

@@ -54,5 +54,5 @@ "keywords": [

"devDependencies": {
"@types/lodash.tonumber": "^4.0.9",
"eslint": "^8.57.0",
"lodash.tonumber": "^4.0.3",
"@types/lodash.tonumber": "^4.0.3",
"tsup": "^8.0.2",

@@ -59,0 +59,0 @@ "@kubb/eslint-config": "1.1.8",

@@ -444,7 +444,10 @@ /* eslint-disable @typescript-eslint/unbound-method */

}
if (value) {
return factory.createLiteralTypeNode(
factory.createStringLiteral(value.toString()),
)
}
return factory.createLiteralTypeNode(
factory.createStringLiteral(value?.toString()),
)
}),
return undefined
}).filter(Boolean),
),

@@ -484,7 +487,11 @@ ),

return factory.createEnumMember(
factory.createStringLiteral(`${key}`),
initializer,
)
}),
if (key) {
return factory.createEnumMember(
factory.createStringLiteral(`${key}`),
initializer,
)
}
return undefined
}).filter(Boolean),
),

@@ -522,7 +529,11 @@ ]

return factory.createPropertyAssignment(
factory.createStringLiteral(`${key}`),
initializer,
)
}),
if (key) {
return factory.createPropertyAssignment(
factory.createStringLiteral(`${key}`),
initializer,
)
}
return undefined
}).filter(Boolean),
true,

@@ -529,0 +540,0 @@ ),

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