New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@anycli/parser

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anycli/parser - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

9

CHANGELOG.md

@@ -0,1 +1,10 @@

<a name="3.2.2"></a>
## [3.2.2](https://github.com/anycli/parser/compare/f46fa41bdb4ddaee05f5f1800e723dcb1e8e98ef...v3.2.2) (2018-02-03)
### Bug Fixes
* make ts happy ([9e6a13d](https://github.com/anycli/parser/commit/9e6a13d))
* ran generator ([71dd89f](https://github.com/anycli/parser/commit/71dd89f))
<a name="3.2.1"></a>

@@ -2,0 +11,0 @@ ## [3.2.1](https://github.com/anycli/parser/compare/66ffd65db6fcaf1be306194bb65e73c973979e3c...v3.2.1) (2018-02-03)

4

lib/flags.js

@@ -6,3 +6,3 @@ "use strict";

return (options = {}) => {
return Object.assign({ parse: (i) => i }, defaults, options, { input: [], multiple: !!options.multiple, type: 'option' });
return Object.assign({ parse: (i, _) => i }, defaults, options, { input: [], multiple: !!options.multiple, type: 'option' });
};

@@ -12,3 +12,3 @@ }

function boolean(options = {}) {
return Object.assign({ parse: b => b }, options, { allowNo: !!options.allowNo, type: 'boolean' });
return Object.assign({ parse: (b, _) => b }, options, { allowNo: !!options.allowNo, type: 'boolean' });
}

@@ -15,0 +15,0 @@ exports.boolean = boolean;

{
"name": "@anycli/parser",
"description": "arg and flag parser for anycli",
"version": "3.2.1",
"version": "3.2.2",
"author": "Jeff Dickey @jdxcode",

@@ -14,4 +14,2 @@ "bugs": "https://github.com/anycli/parser/issues",

"@anycli/tslint": "^0.2.5",
"@commitlint/cli": "^6.1.0",
"@commitlint/config-conventional": "^6.1.0",
"@heroku/linewrap": "^1.0.0",

@@ -26,2 +24,3 @@ "@types/chai": "^4.1.2",

"chai": "^4.1.2",
"concurrently": "^3.5.1",
"eslint": "^4.17.0",

@@ -31,5 +30,2 @@ "eslint-config-anycli": "^1.3.2",

"mocha": "^5.0.0",
"mocha-junit-reporter": "^1.17.0",
"nps": "^5.7.1",
"nps-utils": "^1.5.0",
"ts-node": "^4.1.0",

@@ -52,8 +48,9 @@ "typescript": "^2.7.1"

"scripts": {
"commitmsg": "commitlint -x @commitlint/config-conventional -e $GIT_PARAMS",
"precommit": "nps lint -l warn",
"prepublishOnly": "nps build",
"test": "nps test -l warn"
"build": "rm -rf lib && tsc",
"lint": "yarn run build && concurrently -p command \"eslint .\" \"tsc -p test --noEmit\" \"tslint -p test\"",
"posttest": "yarn run lint",
"prepublishOnly": "yarn run build",
"test": "mocha --forbid-only \"test/**/*.test.ts\""
},
"types": "lib/index.d.ts"
}
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