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

yargs

Package Overview
Dependencies
Maintainers
2
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 17.1.0 to 17.1.1-candidate.0

4

build/lib/command.js

@@ -331,2 +331,3 @@ import { assertNotStrictEqual, } from './typings/common-types.js';

});
const defaults = yargs.getOptions().default;
Object.keys(parsed.argv).forEach(key => {

@@ -336,3 +337,4 @@ if (positionalKeys.includes(key)) {

positionalMap[key] = parsed.argv[key];
if (Object.prototype.hasOwnProperty.call(argv, key) &&
if (!Object.prototype.hasOwnProperty.call(defaults, key) &&
Object.prototype.hasOwnProperty.call(argv, key) &&
Object.prototype.hasOwnProperty.call(parsed.argv, key) &&

@@ -339,0 +341,0 @@ (Array.isArray(argv[key]) || Array.isArray(parsed.argv[key]))) {

{
"name": "yargs",
"version": "17.1.0",
"version": "17.1.1-candidate.0",
"description": "yargs the modern, pirate-themed, successor to optimist.",

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

Sorry, the diff of this file is not supported yet

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