@boost/args
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -6,2 +6,14 @@ # Change Log | ||
### 1.1.2 - 2020-01-25 | ||
#### 🐞 Fixes | ||
- Bump all packages to fix build issues. ([a8e8112](https://github.com/milesj/boost/commit/a8e8112)) | ||
**Note:** Version bump only for package @boost/args | ||
### 1.1.1 - 2020-01-25 | ||
@@ -8,0 +20,0 @@ |
@@ -12,26 +12,6 @@ "use strict"; | ||
constructor() { | ||
Object.defineProperty(this, "arg", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: '' | ||
}); | ||
Object.defineProperty(this, "argIndex", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: 0 | ||
}); | ||
Object.defineProperty(this, "parseErrors", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: [] | ||
}); | ||
Object.defineProperty(this, "validationErrors", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: [] | ||
}); | ||
this.arg = ''; | ||
this.argIndex = 0; | ||
this.parseErrors = []; | ||
this.validationErrors = []; | ||
} | ||
@@ -38,0 +18,0 @@ checkCommandOrder(anotherCommand, providedCommand, paramsLength) { |
@@ -6,14 +6,2 @@ "use strict"; | ||
super(message); | ||
Object.defineProperty(this, "arg", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: void 0 | ||
}); | ||
Object.defineProperty(this, "index", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: void 0 | ||
}); | ||
this.name = 'ParseError'; | ||
@@ -20,0 +8,0 @@ this.arg = arg; |
@@ -9,32 +9,4 @@ "use strict"; | ||
constructor(name, config) { | ||
Object.defineProperty(this, "config", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: void 0 | ||
}); | ||
Object.defineProperty(this, "name", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: void 0 | ||
}); | ||
Object.defineProperty(this, "negated", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: false | ||
}); | ||
Object.defineProperty(this, "unknown", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: false | ||
}); | ||
Object.defineProperty(this, "value", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: void 0 | ||
}); | ||
this.negated = false; | ||
this.unknown = false; | ||
this.name = name; | ||
@@ -41,0 +13,0 @@ if (config) { |
@@ -6,8 +6,2 @@ "use strict"; | ||
super(message); | ||
Object.defineProperty(this, "option", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: void 0 | ||
}); | ||
this.name = 'ValidationError'; | ||
@@ -14,0 +8,0 @@ this.option = option; |
{ | ||
"name": "@boost/args", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A type-safe and convention based argument parsing library, with strict validation checks.", | ||
@@ -17,2 +17,3 @@ "keywords": [ | ||
"types": "./lib/index.d.ts", | ||
"nonce": "1579986563745", | ||
"engines": { | ||
@@ -27,5 +28,5 @@ "node": ">=8.9.0" | ||
"dependencies": { | ||
"@boost/internal": "^1.0.2" | ||
"@boost/internal": "^1.0.3" | ||
}, | ||
"gitHead": "06877f461f77bd007a1d2e800d25a9f27b275e65" | ||
"gitHead": "415de2e011ad6252dde167d5e4c8a93d3719ea83" | ||
} |
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
57320
917
Updated@boost/internal@^1.0.3