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.28 to 1.2.29

4

package.json
{
"name": "epip-generate",
"version": "1.2.28",
"version": "1.2.29",
"description": "",

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

"start": "rimraf dist & npm run build & node dist\\main.js gen -t vue -o ./ -h http://localhost:8585/api/v1/swagger.json",
"start:dev": "ts-node src/main.ts vue -o ./dist -h https://api.test.hemscap.com/v1/api/swagger.json -in jooooon -e",
"start:dev": "ts-node src/main.ts vue -o ./dist -h https://api.test.hemscap.com/v1/api/swagger.json -in jooooon -t auth,admin",
"start:debug": "nest start --debug --watch",

@@ -24,0 +24,0 @@ "start:prod": "node dist/main",

@@ -9,2 +9,3 @@ import { CommandRunner } from "nest-commander";

getSwaggerAddress(swgAddress: string): void;
getTags(tags: string): void;
getEnvironment(env: string): void;

@@ -11,0 +12,0 @@ getInterceptorPath(env: string): void;

@@ -28,2 +28,5 @@ "use strict";

}
getTags(tags) {
this.srv.tags = tags.split(",");
}
getEnvironment(env) {

@@ -60,2 +63,11 @@ this.srv.environment = env;

(0, nest_commander_1.Option)({
flags: '-t, --tags [string]',
description: 'default is all tags',
}),
__metadata("design:type", Function),
__metadata("design:paramtypes", [String]),
__metadata("design:returntype", void 0)
], VueGenCommander.prototype, "getTags", null);
__decorate([
(0, nest_commander_1.Option)({
flags: '-e, --env [string]',

@@ -62,0 +74,0 @@ description: 'environment key for baseUrl. defaule url is swagger\'s route',

@@ -7,2 +7,3 @@ import { IFramework } from "../interfaces/framework.intterface";

swgAddress: string;
tags: Array<string>;
constructor();

@@ -9,0 +10,0 @@ run(): Promise<void>;

@@ -47,2 +47,5 @@ "use strict";

const api = element[key1];
if (this.tags && api.tags.length && !this.tags.includes(api.tags[0].split("/")[0].trim())) {
continue;
}
api.name = key;

@@ -49,0 +52,0 @@ api.method = key1;

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

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