Socket
Socket
Sign inDemoInstall

yargs

Package Overview
Dependencies
Maintainers
1
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 1.0.12 to 1.0.13

14

index.js

@@ -15,5 +15,13 @@ var path = require('path');

Object.keys(inst).forEach(function (key) {
Argv[key] = typeof inst[key] == 'function'
? inst[key].bind(inst)
: inst[key];
if (key === 'argv') {
Object.defineProperty(Argv, 'argv', {
get: function() { return inst.argv; },
enumerable: true,
});
}
else {
Argv[key] = typeof inst[key] == 'function'
? inst[key].bind(inst)
: inst[key];
}
});

@@ -20,0 +28,0 @@

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

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

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