Socket
Socket
Sign inDemoInstall

yargs

Package Overview
Dependencies
Maintainers
3
Versions
250
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yargs - npm Package Compare versions

Comparing version 3.5.3 to 3.5.4

8

lib/usage.js

@@ -37,10 +37,6 @@ // this file handles outputting usage instructions,

} else {
if (showHelpOnFail) {
yargs.showHelp("error");
}
if (showHelpOnFail) yargs.showHelp("error");
if (msg) console.error(msg);
if (failMessage) {
if (msg) {
console.error("");
}
if (msg) console.error("");
console.error(failMessage);

@@ -47,0 +43,0 @@ }

@@ -12,3 +12,3 @@ // validation-type-stuff, missing params,

if (demanded._ && argv._.length < demanded._.count) {
if (demanded._.msg) {
if (demanded._.msg !== undefined) {
usage.fail(demanded._.msg);

@@ -15,0 +15,0 @@ } else {

{
"name": "yargs",
"version": "3.5.3",
"version": "3.5.4",
"description": "Light-weight option parsing with an argv hash. No optstrings attached.",

@@ -5,0 +5,0 @@ "main": "./index.js",

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