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

@spinajs/cli

Package Overview
Dependencies
Maintainers
1
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinajs/cli - npm Package Compare versions

Comparing version 2.0.253 to 2.0.254

7

lib/cjs/index.js

@@ -41,2 +41,3 @@ "use strict";

}
const program = new commander_1.Command();
for (const cmd of commands) {

@@ -51,3 +52,4 @@ this.Log.trace(`Found command ${cmd.name}`);

}
const c = commander_1.program.command(cMeta.nameAndArgs, cMeta.description, cMeta.opts);
const c = new commander_1.Command(cMeta.nameAndArgs);
c.description(cMeta.description);
oMeta?.forEach((o) => {

@@ -69,5 +71,6 @@ if (o.required) {

});
program.addCommand(c);
}
const argv = di_1.DI.resolve('__cli_argv_provider__');
commander_1.program.parse(argv);
program.parse(argv);
}

@@ -74,0 +77,0 @@ }

@@ -13,3 +13,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

import { Logger, Log } from '@spinajs/log-common';
import { program } from 'commander';
import { Command } from 'commander';
import { ResolveFromFiles } from '@spinajs/reflection';

@@ -25,2 +25,3 @@ export * from './interfaces.js';

}
const program = new Command();
for (const cmd of commands) {

@@ -35,3 +36,4 @@ this.Log.trace(`Found command ${cmd.name}`);

}
const c = program.command(cMeta.nameAndArgs, cMeta.description, cMeta.opts);
const c = new Command(cMeta.nameAndArgs);
c.description(cMeta.description);
oMeta?.forEach((o) => {

@@ -53,2 +55,3 @@ if (o.required) {

});
program.addCommand(c);
}

@@ -55,0 +58,0 @@ const argv = DI.resolve('__cli_argv_provider__');

{
"name": "@spinajs/cli",
"version": "2.0.253",
"version": "2.0.254",
"description": "SpinaJS command line module",

@@ -45,7 +45,7 @@ "main": "lib/cjs/index.js",

"dependencies": {
"@spinajs/configuration": "^2.0.253",
"@spinajs/di": "^2.0.253",
"@spinajs/exceptions": "^2.0.253",
"@spinajs/log": "^2.0.253",
"@spinajs/reflection": "^2.0.253",
"@spinajs/configuration": "^2.0.254",
"@spinajs/di": "^2.0.254",
"@spinajs/exceptions": "^2.0.254",
"@spinajs/log": "^2.0.254",
"@spinajs/reflection": "^2.0.254",
"commander": "10.0.0",

@@ -52,0 +52,0 @@ "reflect-metadata": "^0.1.13"

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

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