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

epip-generate

Package Overview
Dependencies
Maintainers
2
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epip-generate - npm Package Compare versions

Comparing version 1.2.44 to 1.2.45

4

package.json
{
"name": "epip-generate",
"version": "1.2.44",
"version": "1.2.45",
"description": "",

@@ -19,3 +19,3 @@ "author": "",

"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"gen:help": "nest build & node dist\\main.js gen --help",
"gen:help": "nest build && node dist\\main.js gen --help",
"start": "rimraf dist & npm run build & node dist\\main.js gen -t vue -o ./ -h http://localhost:8585/api/v1/swagger.json",

@@ -22,0 +22,0 @@ "start:dev": "ts-node src/main.ts vue -o ./dist -h http://5.161.193.73:9595/v1/api/swagger.json -in jooooon ",

@@ -90,7 +90,15 @@ "use strict";

function getType(f) {
const _getType = (item) => {
if (item.type == "string" && item.format == "binary") {
return 'File';
}
else {
return item.type;
}
};
if (f.type == 'array') {
return 'Array<File>';
return `Array<${_getType(f.items)}>`;
}
else {
return f.type;
return _getType(f);
}

@@ -97,0 +105,0 @@ }

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