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

@hyperone/cli-framework

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperone/cli-framework - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

10

command.js

@@ -101,6 +101,10 @@

}
if (opts._unknown && opts._unknown.length > 0 && opts._unknown[0].startsWith('-')) {
if (opts._unknown && opts._unknown.length > 0) {
const option = opts._unknown[0];
const suggestion = meant(option, options.map(x => `--${x.name}`));
throw new UnknownOptionError(`Unknown parameter "${option}" for "${this.getFullName()}"`, suggestion);
if (option.startsWith('--')) {
const suggestion = meant(option, options.map(x => `--${x.name}`));
throw new UnknownOptionError(`Unknown parameter "${option}" for "${this.getFullName()}"`, suggestion);
} else {
throw new UnknownOptionError(`Unknown parameter "${option}" for "${this.getFullName()}". Have you forgotten the quotation marks?`);
}
}

@@ -107,0 +111,0 @@ const missing = options.filter(x => x.required && typeof allOpts[x.name] == 'undefined').map(x => `--${x.name}`);

{
"name": "@hyperone/cli-framework",
"version": "2.0.4",
"version": "2.0.5",
"description": "",

@@ -20,3 +20,3 @@ "main": "index.js",

},
"gitHead": "6e7e9e3af14871e75cd1a6c44169924db05b3864"
"gitHead": "2b8bd95a08b8382d7ecb6a894e126b34b6f10e6c"
}
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