🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@dkh-dev/parse-argv

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dkh-dev/parse-argv - npm Package Compare versions

Comparing version
2.1.1
to
2.2.0
+4
-2
index.js

@@ -39,3 +39,3 @@ 'use strict'

args[ key ] = value
args[ key ] = value === 'false' ? false : value
}

@@ -61,3 +61,5 @@

close()
if (current) {
close()
}

@@ -64,0 +66,0 @@ return args

{
"name": "@dkh-dev/parse-argv",
"version": "2.1.1",
"version": "2.2.0",
"description": "Parse process arguments",

@@ -14,3 +14,3 @@ "main": "index.js",

"scripts": {
"test": "node test parse --a=b -b -c d e --e --f=\"g h\" -i=123 -j=/k l/ -k",
"test": "node test parse --a=b -b -c d e --e --f=\"g h\" -i=123 -j=/k l/ -k false",
"prepublishOnly": "npm test"

@@ -17,0 +17,0 @@ },

@@ -20,3 +20,3 @@ # [@dkh-dev/parse-argv](https://www.npmjs.com/package/@dkh-dev/parse-argv)

// $ node test parse --a=b -b -c d e --e --f="g h" -i=123 -j=/k l/ -k
// $ node test parse --a=b -b -c d e --e --f="g h" -i=123 -j=/k l/ -k false
/* => {

@@ -33,5 +33,5 @@ '0': 'parse',

j: '/k',
k: true
k: false
}
*/
````