Socket
Socket
Sign inDemoInstall

yargs

Package Overview
Dependencies
1
Maintainers
1
Versions
250
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.13 to 1.0.15

14

index.js

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

Object.keys(inst).forEach(function (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];
}
Argv[key] = typeof inst[key] == 'function'
? inst[key].bind(inst)
: inst[key];
});

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

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

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

@@ -9,3 +9,3 @@ yargs

[![Build Status](https://travis-ci.org/chevex/yargs.png)](https://travis-ci.org/chevex/yargs)
[![Dependencies Status](https://gemnasium.com/Chevex/yargs.png)](https://gemnasium.com/Chevex/yargs)
[![Dependency Status](https://gemnasium.com/chevex/yargs.png)](https://gemnasium.com/chevex/yargs)
[![NPM version](https://badge.fury.io/js/yargs.png)](http://badge.fury.io/js/yargs)

@@ -12,0 +12,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc