Socket
Socket
Sign inDemoInstall

posix-argv-parser

Package Overview
Dependencies
1
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 2.0.0

2

lib/argument.js

@@ -6,3 +6,3 @@ var when = require("when");

var val = validator(data);
return when.isPromise(val) ? val : when(val);
return when.isPromiseLike(val) ? val : when(val);
} catch (e) {

@@ -9,0 +9,0 @@ return when.reject(e.message || e);

@@ -1,2 +0,1 @@

var when = require("when");
var argument = require("./argument");

@@ -3,0 +2,0 @@

{
"name": "posix-argv-parser",
"version": "1.0.2",
"description": "POSIX compliant command-line argument parser.",
"homepage": "http://busterjs.org/docs/posix-argv-parser",
"author": { "name": "August Lilleaas" },
"contributors": [{
"name": "Christian Johansen",
"email": "christian@cjohansen.no",
"url": "http://cjohansen.no"
}, {
"name": "August Lilleaas",
"email": "august.lilleaas@gmail.com",
"url": "http://augustl.com"
}, {
"name": "Stein Magnus Jodal",
"email": "stein.magnus@jodal.no",
"url": "http://jodal.no"
}],
"main": "./lib/posix-argv-parser",
"repository": "https://github.com/busterjs/posix-argv-parser.git",
"license": {
"type": "BSD",
"url": "https://github.com/busterjs/posix-argv-parser/blob/master/LICENSE"
"name": "posix-argv-parser",
"version": "2.0.0",
"description": "POSIX compliant command-line argument parser.",
"homepage": "http://busterjs.org/docs/posix-argv-parser",
"author": {
"name": "August Lilleaas"
},
"contributors": [
{
"name": "Christian Johansen",
"email": "christian@cjohansen.no",
"url": "http://cjohansen.no"
},
"scripts": {
"test": "node run-tests.js"
{
"name": "August Lilleaas",
"email": "august.lilleaas@gmail.com",
"url": "http://augustl.com"
},
"dependencies": {
"when": "https://github.com/cujojs/when/tarball/1.8.1"
},
"devDependencies": {
"buster-node": "*"
{
"name": "Stein Magnus Jodal",
"email": "stein.magnus@jodal.no",
"url": "http://jodal.no"
}
],
"license": "BSD-3-Clause",
"main": "./lib/posix-argv-parser",
"engines": {
"node": ">= 4"
},
"repository": "https://github.com/busterjs/posix-argv-parser.git",
"scripts": {
"test": "node run-tests.js"
},
"dependencies": {
"when": "3.x"
},
"devDependencies": {
"buster-node": "0.7.x"
}
}

@@ -54,3 +54,3 @@ # posix-argv-parser

posixArgvParser.parse(process.argv.slice(2), function (errors, options) {
args.parse(process.argv.slice(2), function (errors, options) {
if (errors) { return console.log(errors[0]); }

@@ -479,8 +479,13 @@

**1.0.2** (23.04.2014)
**2.0.0** (2015-Nov-18)
* Potentially breaking: updated when.js v1 to v3 (no more zalgo in promises)
* Added `engines` property in `package.json` with a node v4+ requirement
**1.0.2** (2014-Apr-23)
* additional fix for issue [#391](https://github.com/busterjs/buster/issues/391), [not call pop for string arg with trailing dash](https://github.com/busterjs/posix-argv-parser/commit/923797b4896523128586dc901567b4f0ffe2d837)
**1.0.1** (25.03.2014)
**1.0.1** (2014-Mar-25)

@@ -487,0 +492,0 @@ * Fix for issue [#391, posix-argv-parser fails when short option is combined with shorthand](https://github.com/busterjs/buster/issues/391)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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