Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

yargs

Package Overview
Dependencies
Maintainers
4
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.21.0 to 3.21.1

7

CHANGELOG.md
## Change Log
### v3.21.1 (2015/08/28 20:58 +00:00)
- [#240](https://github.com/bcoe/yargs/pull/240) hot-fix for Atom on Windows (@bcoe)
### v3.21.0 (2015/08/21 21:20 +00:00)
- [#238](https://github.com/bcoe/yargs/pull/238) upgrade camelcase, window-size, chai, mocha (@nexdrew)
- [#237](https://github.com/bcoe/yargs/pull/237) adds defaultDescription to option() (@nexdrew)
### v3.20.0 (2015/08/20 01:29 +00:00)

@@ -4,0 +11,0 @@ - [#231](https://github.com/bcoe/yargs/pull/231) Merge pull request #231 from bcoe/detect-locale (@sindresorhus)

10

index.js

@@ -22,3 +22,3 @@ var assert = require('assert')

directory: path.resolve(__dirname, './locales'),
locale: osLocale.sync(),
locale: guessLocale(),
updateFiles: false

@@ -535,2 +535,10 @@ })

function guessLocale () {
try {
return osLocale.sync()
} catch (err) {
return 'en'
}
}
function setPlaceholderKeys (argv) {

@@ -537,0 +545,0 @@ Object.keys(options.key).forEach(function (key) {

4

package.json
{
"name": "yargs",
"version": "3.21.0",
"version": "3.21.1",
"description": "Light-weight option parsing with an argv hash. No optstrings attached.",

@@ -17,3 +17,3 @@ "main": "./index.js",

"decamelize": "^1.0.0",
"os-locale": "^1.2.0",
"os-locale": "^1.2.1",
"window-size": "^0.1.2",

@@ -20,0 +20,0 @@ "y18n": "^3.1.0"

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