Comparing version 12.0.1 to 12.0.2
@@ -22,3 +22,4 @@ 'use strict' | ||
middlewares = middlewares || [] | ||
middlewares = globalMiddleware.concat(middlewares) | ||
globalMiddleware.push(...middlewares) | ||
middlewares = globalMiddleware | ||
if (Array.isArray(cmd)) { | ||
@@ -25,0 +26,0 @@ aliases = cmd.slice(1) |
@@ -295,3 +295,3 @@ 'use strict' | ||
if (value && argv[key] !== undefined && argv[value] !== undefined) { | ||
usage.fail(__(`Arguments ${key} and ${value} are mutually exclusive`)) | ||
usage.fail(__('Arguments %s and %s are mutually exclusive', key, value)) | ||
} | ||
@@ -298,0 +298,0 @@ }) |
@@ -11,3 +11,4 @@ { | ||
"Show help": "Parlay this here code of conduct", | ||
"Show version number": "'Tis the version ye be askin' fer" | ||
"Show version number": "'Tis the version ye be askin' fer", | ||
"Arguments %s and %s are mutually exclusive" : "Yon scurvy dogs %s and %s be as bad as rum and a prudish wench" | ||
} |
{ | ||
"name": "yargs", | ||
"version": "12.0.1", | ||
"version": "12.0.2", | ||
"description": "yargs the modern, pirate-themed, successor to optimist.", | ||
@@ -19,3 +19,3 @@ "main": "./index.js", | ||
"get-caller-file": "^1.0.1", | ||
"os-locale": "^2.0.0", | ||
"os-locale": "^3.0.0", | ||
"require-directory": "^2.1.1", | ||
@@ -32,3 +32,3 @@ "require-main-filename": "^1.0.1", | ||
"chalk": "^1.1.3", | ||
"coveralls": "^3.0.1", | ||
"coveralls": "^3.0.2", | ||
"cpr": "^2.0.0", | ||
@@ -35,0 +35,0 @@ "cross-spawn": "^6.0.4", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
216184
3329
+ Addedcross-spawn@6.0.6(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedexeca@1.0.0(transitive)
+ Addedget-stream@4.1.0(transitive)
+ Addedinvert-kv@2.0.0(transitive)
+ Addedlcid@2.0.0(transitive)
+ Addedmap-age-cleaner@0.1.3(transitive)
+ Addedmem@4.3.0(transitive)
+ Addedmimic-fn@2.1.0(transitive)
+ Addednice-try@1.0.5(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedos-locale@3.1.0(transitive)
+ Addedp-defer@1.0.0(transitive)
+ Addedp-is-promise@2.1.0(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedcross-spawn@5.1.0(transitive)
- Removedexeca@0.7.0(transitive)
- Removedget-stream@3.0.0(transitive)
- Removedinvert-kv@1.0.0(transitive)
- Removedlcid@1.0.0(transitive)
- Removedlru-cache@4.1.5(transitive)
- Removedmem@1.1.0(transitive)
- Removedmimic-fn@1.2.0(transitive)
- Removedos-locale@2.1.0(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedyallist@2.1.2(transitive)
Updatedos-locale@^3.0.0