Comparing version 1.2.0 to 1.2.1
@@ -174,3 +174,3 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); | ||
if (optionKey && value.indexOf('--') != 0 && value.indexOf('-') != 0 && value.length != shirtArgLength) { | ||
if (optionKey && value.indexOf('--') != 0 && value.indexOf('-') != 0) { | ||
@@ -284,3 +284,3 @@ argv.shift(); | ||
if (argument.indexOf('--') != 0 && (argument.indexOf('-') != 0 || argument.length != shirtArgLength)) { | ||
if (argument.indexOf('--') != 0 && argument.indexOf('-') != 0) { | ||
continue; | ||
@@ -303,3 +303,3 @@ } | ||
if (optionKey && value.indexOf('--') != 0 && value.indexOf('-') != 0 && value.length != shirtArgLength) { | ||
if (optionKey && value.indexOf('--') != 0 && value.indexOf('-') != 0) { | ||
@@ -306,0 +306,0 @@ remove.unshift(i++); |
@@ -178,3 +178,3 @@ 'use strict'; | ||
if (optionKey && value.indexOf('--') != 0 && value.indexOf('-') != 0 && value.length != shirtArgLength) { | ||
if (optionKey && value.indexOf('--') != 0 && value.indexOf('-') != 0) { | ||
@@ -288,3 +288,3 @@ argv.shift(); | ||
if (argument.indexOf('--') != 0 && (argument.indexOf('-') != 0 || argument.length != shirtArgLength)) { | ||
if (argument.indexOf('--') != 0 && argument.indexOf('-') != 0) { | ||
continue; | ||
@@ -307,3 +307,3 @@ } | ||
if (optionKey && value.indexOf('--') != 0 && value.indexOf('-') != 0 && value.length != shirtArgLength) { | ||
if (optionKey && value.indexOf('--') != 0 && value.indexOf('-') != 0) { | ||
@@ -310,0 +310,0 @@ remove.unshift(i++); |
{ | ||
"name": "argue-cli", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Node.js CLI arguments parser.", | ||
@@ -42,3 +42,3 @@ "author": "dangreen", | ||
"escope": "^3.6.0", | ||
"eslint": "^4.14.0", | ||
"eslint": "^6.1.0", | ||
"eslint-config-trigen": "^2.3.1", | ||
@@ -45,0 +45,0 @@ "mocha": "^4.0.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
60043
9
704
0