Bump packages to fix linter

This commit is contained in:
Henry Mercer 2023-01-18 20:50:03 +00:00
parent ed9506bbaf
commit 0a11e3fdd9
6063 changed files with 378752 additions and 306784 deletions

2
node_modules/yargs/build/index.cjs generated vendored

File diff suppressed because one or more lines are too long

View file

@ -133,13 +133,16 @@ export function usage(yargs, shim) {
wrapSet = true;
wrap = cols;
};
function getWrap() {
self.getWrap = () => {
if (shim.getEnv('YARGS_DISABLE_WRAP')) {
return null;
}
if (!wrapSet) {
wrap = windowWidth();
wrapSet = true;
}
return wrap;
}
};
const deferY18nLookupPrefix = '__yargsString__:';
self.deferY18nLookup = str => deferY18nLookupPrefix + str;
self.help = function help() {
@ -165,7 +168,7 @@ export function usage(yargs, shim) {
acc[key] = true;
return acc;
}, {}));
const theWrap = getWrap();
const theWrap = self.getWrap();
const ui = shim.cliui({
width: theWrap,
wrap: !!theWrap,

View file

@ -667,7 +667,11 @@ export class YargsInstance {
this.skipValidation(key);
}
const desc = opt.describe || opt.description || opt.desc;
this.describe(key, desc);
const descriptions = __classPrivateFieldGet(this, _YargsInstance_usage, "f").getDescriptions();
if (!Object.prototype.hasOwnProperty.call(descriptions, key) ||
typeof desc === 'string') {
this.describe(key, desc);
}
if (opt.hidden) {
this.hide(key);
}

51
node_modules/yargs/locales/cs.json generated vendored Normal file
View file

@ -0,0 +1,51 @@
{
"Commands:": "Příkazy:",
"Options:": "Možnosti:",
"Examples:": "Příklady:",
"boolean": "logická hodnota",
"count": "počet",
"string": "řetězec",
"number": "číslo",
"array": "pole",
"required": "povinné",
"default": "výchozí",
"default:": "výchozí:",
"choices:": "volby:",
"aliases:": "aliasy:",
"generated-value": "generovaná-hodnota",
"Not enough non-option arguments: got %s, need at least %s": {
"one": "Nedostatek argumentů: zadáno %s, je potřeba alespoň %s",
"other": "Nedostatek argumentů: zadáno %s, je potřeba alespoň %s"
},
"Too many non-option arguments: got %s, maximum of %s": {
"one": "Příliš mnoho argumentů: zadáno %s, maximálně %s",
"other": "Příliš mnoho argumentů: zadáno %s, maximálně %s"
},
"Missing argument value: %s": {
"one": "Chybí hodnota argumentu: %s",
"other": "Chybí hodnoty argumentů: %s"
},
"Missing required argument: %s": {
"one": "Chybí požadovaný argument: %s",
"other": "Chybí požadované argumenty: %s"
},
"Unknown argument: %s": {
"one": "Neznámý argument: %s",
"other": "Neznámé argumenty: %s"
},
"Invalid values:": "Neplatné hodnoty:",
"Argument: %s, Given: %s, Choices: %s": "Argument: %s, Zadáno: %s, Možnosti: %s",
"Argument check failed: %s": "Kontrola argumentů se nezdařila: %s",
"Implications failed:": "Chybí závislé argumenty:",
"Not enough arguments following: %s": "Následuje nedostatek argumentů: %s",
"Invalid JSON config file: %s": "Neplatný konfigurační soubor JSON: %s",
"Path to JSON config file": "Cesta ke konfiguračnímu souboru JSON",
"Show help": "Zobrazit nápovědu",
"Show version number": "Zobrazit číslo verze",
"Did you mean %s?": "Měl jste na mysli %s?",
"Arguments %s and %s are mutually exclusive" : "Argumenty %s a %s se vzájemně vylučují",
"Positionals:": "Poziční:",
"command": "příkaz",
"deprecated": "zastaralé",
"deprecated: %s": "zastaralé: %s"
}

2
node_modules/yargs/locales/fi.json generated vendored
View file

@ -30,7 +30,7 @@
"other": "Pakollisia argumentteja puuttuu: %s"
},
"Unknown argument: %s": {
"one": "Tuntematon argumenttn: %s",
"one": "Tuntematon argumentti: %s",
"other": "Tuntemattomia argumentteja: %s"
},
"Invalid values:": "Virheelliset arvot:",

8
node_modules/yargs/package.json generated vendored
View file

@ -1,6 +1,6 @@
{
"name": "yargs",
"version": "17.5.1",
"version": "17.6.2",
"description": "yargs the modern, pirate-themed, successor to optimist.",
"main": "./index.cjs",
"exports": {
@ -53,18 +53,18 @@
"!**/*.d.ts"
],
"dependencies": {
"cliui": "^7.0.2",
"cliui": "^8.0.1",
"escalade": "^3.1.1",
"get-caller-file": "^2.0.5",
"require-directory": "^2.1.1",
"string-width": "^4.2.3",
"y18n": "^5.0.5",
"yargs-parser": "^21.0.0"
"yargs-parser": "^21.1.1"
},
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.4",
"@types/node": "^18.0.0",
"c8": "^7.7.0",
"chai": "^4.2.0",
"chalk": "^4.0.0",