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.5.1 to 17.6.0

locales/cs.json

9

build/lib/usage.js

@@ -136,3 +136,6 @@ import { objFilter } from './utils/obj-filter.js';

};
function getWrap() {
self.getWrap = () => {
if (shim.getEnv('YARGS_DISABLE_WRAP')) {
return null;
}
if (!wrapSet) {

@@ -143,3 +146,3 @@ wrap = windowWidth();

return wrap;
}
};
const deferY18nLookupPrefix = '__yargsString__:';

@@ -170,3 +173,3 @@ self.deferY18nLookup = str => deferY18nLookupPrefix + str;

}, {}));
const theWrap = getWrap();
const theWrap = self.getWrap();
const ui = shim.cliui({

@@ -173,0 +176,0 @@ width: theWrap,

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

@@ -56,3 +56,3 @@ "main": "./index.cjs",

"dependencies": {
"cliui": "^7.0.2",
"cliui": "^8.0.1",
"escalade": "^3.1.1",

@@ -59,0 +59,0 @@ "get-caller-file": "^2.0.5",

Sorry, the diff of this file is not supported yet

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

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