Socket
Socket
Sign inDemoInstall

yargs

Package Overview
Dependencies
15
Maintainers
2
Versions
250
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 17.7.0 to 17.7.1

2

build/lib/command.js

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

if (isCommandBuilderCallback(builder)) {
yargs.getInternalMethods().getUsageInstance().freeze();
const builderOutput = builder(yargs.getInternalMethods().reset(aliases), helpOrVersionSet);

@@ -144,2 +145,3 @@ if (isPromise(builderOutput)) {

else if (isCommandBuilderOptionDefinitions(builder)) {
yargs.getInternalMethods().getUsageInstance().freeze();
innerYargs = yargs.getInternalMethods().reset(aliases);

@@ -146,0 +148,0 @@ Object.keys(commandHandler.builder).forEach(key => {

2

package.json
{
"name": "yargs",
"version": "17.7.0",
"version": "17.7.1",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc