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

@boost/args

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boost/args - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

12

CHANGELOG.md

@@ -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 @@

28

lib/Checker.js

@@ -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"
}
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