mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-24 21:09:54 +00:00
Update @oclif/core to 3.26.2
Change-type: patch
This commit is contained in:
parent
be682c7426
commit
4811031172
14
npm-shrinkwrap.json
generated
14
npm-shrinkwrap.json
generated
@ -14,7 +14,7 @@
|
||||
"@balena/dockerignore": "^1.0.2",
|
||||
"@balena/env-parsing": "^1.1.8",
|
||||
"@balena/es-version": "^1.0.1",
|
||||
"@oclif/core": "^3.24.0",
|
||||
"@oclif/core": "^3.26.2",
|
||||
"@resin.io/valid-email": "^0.1.0",
|
||||
"@sentry/node": "^6.16.1",
|
||||
"@types/fast-levenshtein": "0.0.1",
|
||||
@ -1993,9 +1993,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@oclif/core": {
|
||||
"version": "3.25.0",
|
||||
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-3.25.0.tgz",
|
||||
"integrity": "sha512-6O6Q2buS4uZcH0l5YDo3rYQyquRm6uoshEFE1O1RGQsZhT7PCXo3PAoBU8SKLBZoUIurupXZqNJpW+BHUmatBw==",
|
||||
"version": "3.26.0",
|
||||
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-3.26.0.tgz",
|
||||
"integrity": "sha512-TpMdfD4tfA2tVVbd4l0PrP02o5KoUXYmudBbTC7CeguDo/GLoprw4uL8cMsaVA26+cbcy7WYtOEydQiHVtJixA==",
|
||||
"dependencies": {
|
||||
"@types/cli-progress": "^3.11.5",
|
||||
"ansi-escapes": "^4.3.2",
|
||||
@ -26164,9 +26164,9 @@
|
||||
}
|
||||
},
|
||||
"@oclif/core": {
|
||||
"version": "3.25.0",
|
||||
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-3.25.0.tgz",
|
||||
"integrity": "sha512-6O6Q2buS4uZcH0l5YDo3rYQyquRm6uoshEFE1O1RGQsZhT7PCXo3PAoBU8SKLBZoUIurupXZqNJpW+BHUmatBw==",
|
||||
"version": "3.26.0",
|
||||
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-3.26.0.tgz",
|
||||
"integrity": "sha512-TpMdfD4tfA2tVVbd4l0PrP02o5KoUXYmudBbTC7CeguDo/GLoprw4uL8cMsaVA26+cbcy7WYtOEydQiHVtJixA==",
|
||||
"requires": {
|
||||
"@types/cli-progress": "^3.11.5",
|
||||
"ansi-escapes": "^4.3.2",
|
||||
|
@ -202,7 +202,7 @@
|
||||
"@balena/dockerignore": "^1.0.2",
|
||||
"@balena/env-parsing": "^1.1.8",
|
||||
"@balena/es-version": "^1.0.1",
|
||||
"@oclif/core": "^3.24.0",
|
||||
"@oclif/core": "^3.26.2",
|
||||
"@resin.io/valid-email": "^0.1.0",
|
||||
"@sentry/node": "^6.16.1",
|
||||
"@types/fast-levenshtein": "0.0.1",
|
||||
|
@ -44,10 +44,10 @@ index bc54de4..cb246ce 100644
|
||||
}
|
||||
return (0, theme_1.colorize)(this.config.theme?.flag, label);
|
||||
diff --git a/node_modules/@oclif/core/lib/help/index.js b/node_modules/@oclif/core/lib/help/index.js
|
||||
index 1dc30a3..ceefd4c 100644
|
||||
index e1859e1..756654c 100644
|
||||
--- a/node_modules/@oclif/core/lib/help/index.js
|
||||
+++ b/node_modules/@oclif/core/lib/help/index.js
|
||||
@@ -171,11 +171,12 @@ class Help extends HelpBase {
|
||||
@@ -172,11 +172,12 @@ class Help extends HelpBase {
|
||||
}
|
||||
this.log(this.formatCommand(command));
|
||||
this.log('');
|
||||
@ -63,7 +63,7 @@ index 1dc30a3..ceefd4c 100644
|
||||
const uniqueSubCommands = subCommands.filter((p) => {
|
||||
aliases.push(...p.aliases);
|
||||
diff --git a/node_modules/@oclif/core/lib/parser/errors.js b/node_modules/@oclif/core/lib/parser/errors.js
|
||||
index af490c9..a1d4add 100644
|
||||
index b37743a..489d66e 100644
|
||||
--- a/node_modules/@oclif/core/lib/parser/errors.js
|
||||
+++ b/node_modules/@oclif/core/lib/parser/errors.js
|
||||
@@ -15,7 +15,8 @@ class CLIParseError extends errors_1.CLIError {
|
||||
@ -86,8 +86,8 @@ index af490c9..a1d4add 100644
|
||||
+
|
||||
const namedArgs = args.filter((a) => a.name);
|
||||
if (namedArgs.length > 0) {
|
||||
const list = (0, list_1.renderList)(namedArgs.map((a) => [a.name, a.description]));
|
||||
@@ -49,7 +52,7 @@ class RequiredArgsError extends CLIParseError {
|
||||
const list = (0, list_1.renderList)(namedArgs.map((a) => {
|
||||
@@ -52,7 +55,7 @@ class RequiredArgsError extends CLIParseError {
|
||||
message += `\n\nNote: ${flags} allow${flagsWithMultiple.length === 1 ? 's' : ''} multiple values. Because of this you need to provide all arguments before providing ${flagsWithMultiple.length === 1 ? 'that flag' : 'those flags'}.`;
|
||||
message += '\nAlternatively, you can use "--" to signify the end of the flags and the beginning of arguments.';
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user