Comparing version 17.5.1 to 17.6.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290103
61
5243
+ Addedcliui@8.0.1(transitive)
- Removedcliui@7.0.4(transitive)
Updatedcliui@^8.0.1