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

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 10.1.1 to 10.1.2

6

lib/validation.js

@@ -62,3 +62,2 @@ 'use strict'

const options = yargs.getOptions()
if (options.requiresArg.length > 0) {

@@ -68,4 +67,7 @@ const missingRequiredArgs = []

options.requiresArg.forEach((key) => {
// if the argument is not set in argv no need to check
// whether a right-hand-side has been provided.
if (!argv.hasOwnProperty(key)) return
const value = argv[key]
// if a value is explicitly requested,

@@ -72,0 +74,0 @@ // flag argument as missing if it does not

{
"name": "yargs",
"version": "10.1.1",
"version": "10.1.2",
"description": "yargs the modern, pirate-themed, successor to optimist.",

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

Sorry, the diff of this file is too big to display

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