Socket
Socket
Sign inDemoInstall

node-argv

Package Overview
Dependencies
1
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

10

index.js

@@ -29,5 +29,5 @@

/**
* Parse a string.
* Parse arguments.
*
* @param {line} String to parse
* @param {line} String/Array to parse
* @return {Object}

@@ -43,3 +43,2 @@ * @api public

opts[don] = false;
var through = parsed[don].length ? parseArray(parsed[don], opts) : null;
var result = {

@@ -49,3 +48,4 @@ options: parsed,

input: argv
};
},
through = parsed[don].length ? parseArray(parsed[don], opts) : null;
if (through) {

@@ -60,3 +60,3 @@ result.through = {

delete parsed[din];
return argv;
return result;
function ignore (s) {

@@ -63,0 +63,0 @@ return s && '' !== s;

{
"name": "node-argv",
"version": "0.0.2",
"version": "0.0.3",
"description": "Parse argv as String or process.argv",

@@ -5,0 +5,0 @@ "main": "./index",

@@ -6,6 +6,3 @@

describe("simple", function () {
it('', function () {
});
it('', function () {});
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc