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

classy-commander

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

classy-commander - npm Package Compare versions

Comparing version 3.2.16 to 3.2.17

1

classy.js

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

exports.__esModule = true;
exports.Commander = void 0;
// tslint:disable:no-console

@@ -41,0 +42,0 @@ var cli = require("commander");

"use strict";
exports.__esModule = true;
exports.coerceValue = void 0;
var boolean_1 = require("boolean");

@@ -4,0 +5,0 @@ function coerceValue(value, toType, defaultValue) {

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

exports.__esModule = true;
exports.getCommandUsage = exports.getCommandDefinitionUsage = exports.registerCommand = exports.getIocContainer = exports.setIocContainer = void 0;
var chalk = require("chalk");

@@ -41,0 +42,0 @@ var cli = require("commander");

"use strict";
exports.__esModule = true;
exports.value = exports.option = exports.command = void 0;
var commander_1 = require("./commander");

@@ -4,0 +5,0 @@ var meta = require("./metadata");

"use strict";
exports.__esModule = true;
exports.errorToString = void 0;
function errorToString(err) {

@@ -4,0 +5,0 @@ return err.stack || err.message || "" + err;

14

index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -39,8 +46,9 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

exports.__esModule = true;
exports.getCommandUsageString = exports.execute = exports.commandsFromDirectory = exports.ioc = exports.versionFromPackage = exports.version = void 0;
var classy_1 = require("./classy");
var commander_1 = require("./commander");
var decorators_1 = require("./decorators");
exports.command = decorators_1.command;
exports.option = decorators_1.option;
exports.value = decorators_1.value;
__createBinding(exports, decorators_1, "command");
__createBinding(exports, decorators_1, "option");
__createBinding(exports, decorators_1, "value");
var commander = new classy_1.Commander();

@@ -47,0 +55,0 @@ // tslint:disable-next-line:no-shadowed-variable

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

exports.__esModule = true;
exports.addCommandOption = exports.getCommandOptions = exports.addCommandValue = exports.getCommandValues = exports.metadataKeys = void 0;
require("reflect-metadata");

@@ -23,0 +24,0 @@ exports.metadataKeys = Object.freeze({

"use strict";
exports.__esModule = true;
exports.getUniqueModuleNames = void 0;
var _ = require("lodash");

@@ -4,0 +5,0 @@ function isFileNameTypeScriptOrJavaScript(fileName) {

{
"name": "classy-commander",
"version": "3.2.16",
"version": "3.2.17",
"description": "A TypeScript wrapper for Commander that lets you easily declare commands using classes & decorators and provides strongly typed arguments.",

@@ -29,5 +29,5 @@ "main": "index.js",

"glob": "7.1.6",
"lodash": "4.17.15",
"lodash": "4.17.20",
"reflect-metadata": "0.1.13"
}
}

@@ -141,3 +141,3 @@ <p align="center">

```
1 + 2 = 6
1 + 2 = 3
```

@@ -144,0 +144,0 @@

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