Socket
Socket
Sign inDemoInstall

yargs

Package Overview
Dependencies
Maintainers
3
Versions
250
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yargs - npm Package Compare versions

Comparing version 3.9.0 to 3.9.1

4

CHANGELOG.md
## Change Log
### v3.9.1 (2015/05/20 05:14 +00:00)
- [b6662b6](https://github.com/bcoe/yargs/commit/b6662b6774cfeab4876f41ec5e2f67b7698f4e2f) clarify .config() docs (@linclark)
- [0291360](https://github.com/bcoe/yargs/commit/02913606285ce31ce81d7f12c48d8a3029776ec7) fixed tests, switched to nyc for coverage, fixed security issue, added Lin as collaborator (@bcoe)
### v3.9.0 (2015/05/10 18:32 +00:00)

@@ -4,0 +8,0 @@ - [#157](https://github.com/bcoe/yargs/pull/157) Merge pull request #157 from bcoe/command-yargs. allows handling of command specific arguments. Thanks for the suggestion @ohjames (@bcoe)

4

lib/usage.js

@@ -109,3 +109,3 @@ // this file handles outputting usage instructions,

width: wrap,
wrap: wrap ? true : false
wrap: !!wrap
})

@@ -298,3 +298,3 @@

// guess the width of the console window, max-width 100.
// guess the width of the console window, max-width 80.
function windowWidth () {

@@ -301,0 +301,0 @@ return wsize.width ? Math.min(80, wsize.width) : null

{
"name": "yargs",
"version": "3.9.0",
"version": "3.9.1",
"description": "Light-weight option parsing with an argv hash. No optstrings attached.",

@@ -23,9 +23,8 @@ "main": "./index.js",

"mocha": "^2.2.1",
"mocha-lcov-reporter": "0.0.2",
"mocoverage": "^1.0.0",
"patched-blanket": "^1.0.1",
"standard": "^3.6.0"
"nyc": "^2.0.0",
"standard": "^3.9.0"
},
"scripts": {
"test": "standard && mocha --check-leaks --ui exports --require patched-blanket -R mocoverage"
"test": "standard && nyc mocha --check-leaks && nyc report",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},

@@ -36,15 +35,2 @@ "repository": {

},
"config": {
"blanket": {
"pattern": [
"lib",
"index.js"
],
"data-cover-never": [
"node_modules",
"test"
],
"output-reporter": "spec"
}
},
"standard": {

@@ -91,2 +77,6 @@ "ignore": [

"url": "https://github.com/fizker"
},
{
"name": "Lin Clark",
"url": "https://github.com/linclark"
}

@@ -93,0 +83,0 @@ ],

@@ -621,4 +621,5 @@ yargs

Tells the parser to interpret `key` as a path to a JSON config file. The file
is loaded and parsed, and its properties are set as arguments.
Tells the parser that if the option specified by `key` is passed in, it
should be interpreted as a path to a JSON config file. The file is loaded
and parsed, and its properties are set as arguments.

@@ -625,0 +626,0 @@ .wrap(columns)

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