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

swagger-axios-codegen

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-axios-codegen - npm Package Compare versions

Comparing version 0.9.6 to 0.9.7

7

dist/definitionCodegen/propTrueType.js

@@ -43,3 +43,8 @@ "use strict";

result.isEnum = true;
result.propType = getEnums(v.enum).map(item => `'${item}'='${item}'`).join(',');
result.propType = getEnums(v.enum).map(item => {
if (isNaN(item)) {
return `'${item}'='${item}'`;
}
return `'KEY_${item}'='${item}'`;
}).join(',');
}

@@ -46,0 +51,0 @@ else if (v.enum) {

2

package.json
{
"name": "swagger-axios-codegen",
"version": "0.9.6",
"version": "0.9.7",
"main": "./dist/index",

@@ -5,0 +5,0 @@ "typings": "./dist/",

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