@oclif/plugin-commands 3.0.8 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,7 +20,7 @@ $ npm install -g @oclif/plugin-commands
20
20
  $ oclif-example COMMAND
21
21
  running command...
22
22
  $ oclif-example (--version)
23
- @oclif/plugin-commands/3.0.8 linux-x64 node-v20.10.0
23
+ @oclif/plugin-commands/3.1.0 linux-x64 node-v20.10.0
24
24
  $ oclif-example --help [COMMAND]
25
25
  USAGE
26
26
  $ oclif-example COMMAND
@@ -39,14 +39,15 @@ list all the commands
39
39
 
40
40
  ```
41
41
  USAGE
42
- $ oclif-example commands [--json] [-h] [--hidden] [--tree] [--columns <value> | -x] [--filter <value>]
43
- [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml | | ] [--sort <value>]
42
+ $ oclif-example commands [--json] [--deprecated] [-h] [--hidden] [--tree] [--columns <value> | -x] [--filter
43
+ <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml | | ] [--sort <value>]
44
44
 
45
45
  FLAGS
46
46
  -h, --help Show CLI help.
47
47
  -x, --extended show extra columns
48
48
  --columns=<value> only show provided columns (comma-separated)
49
49
  --csv output is csv format [alias: --output=csv]
50
+ --deprecated show deprecated commands
50
51
  --filter=<value> filter property by partial string matching, ex: name=foo
51
52
  --hidden show hidden commands
52
53
  --no-header hide table header from output
@@ -63,5 +64,5 @@ DESCRIPTION
63
64
  list all the commands
64
65
  ```
65
66
 
66
- _See code: [src/commands/commands.ts](https://github.com/oclif/plugin-commands/blob/v3.0.8/src/commands/commands.ts)_
67
+ _See code: [src/commands/commands.ts](https://github.com/oclif/plugin-commands/blob/v3.1.0/src/commands/commands.ts)_
67
68
  <!-- commandsstop -->
@@ -11,6 +11,7 @@ export default class Commands extends Command {
11
11
  'no-truncate': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
12
12
  output: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined>;
13
13
  sort: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined>;
14
+ deprecated: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
14
15
  help: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<void>;
15
16
  hidden: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
16
17
  tree: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
@@ -9,6 +9,7 @@ export default class Commands extends Command {
9
9
  static description = 'list all the commands';
10
10
  static enableJsonFlag = true;
11
11
  static flags = {
12
+ deprecated: Flags.boolean({ description: 'show deprecated commands' }),
12
13
  help: Flags.help({ char: 'h' }),
13
14
  hidden: Flags.boolean({ description: 'show hidden commands' }),
14
15
  tree: Flags.boolean({ description: 'show tree of commands' }),
@@ -20,6 +21,10 @@ export default class Commands extends Command {
20
21
  if (!flags.hidden) {
21
22
  commands = commands.filter((c) => !c.hidden);
22
23
  }
24
+ if (!flags.deprecated) {
25
+ const deprecatedAliases = new Set(commands.filter((c) => c.deprecateAliases).flatMap((c) => c.aliases));
26
+ commands = commands.filter((c) => c.state !== 'deprecated' && !deprecatedAliases.has(c.id));
27
+ }
23
28
  const { config } = this;
24
29
  commands = sortBy(commands, 'id').map((command) => {
25
30
  // Template supported fields.
package/oclif.lock CHANGED
@@ -470,10 +470,10 @@
470
470
  minimatch "^3.1.2"
471
471
  strip-json-comments "^3.1.1"
472
472
 
473
- "@eslint/js@8.55.0":
474
- version "8.55.0"
475
- resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.55.0.tgz#b721d52060f369aa259cf97392403cb9ce892ec6"
476
- integrity sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==
473
+ "@eslint/js@8.56.0":
474
+ version "8.56.0"
475
+ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b"
476
+ integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==
477
477
 
478
478
  "@gar/promisify@^1.0.1":
479
479
  version "1.1.2"
@@ -771,10 +771,10 @@
771
771
  wordwrap "^1.0.0"
772
772
  wrap-ansi "^7.0.0"
773
773
 
774
- "@oclif/core@^3.0.4", "@oclif/core@^3.12.0", "@oclif/core@^3.15.0", "@oclif/core@^3.3.1":
775
- version "3.15.0"
776
- resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.15.0.tgz#28405012137fa92efcc5a2c4d61336dd64c697cb"
777
- integrity sha512-A1EVh4gv7mqAJ9OGVxLugaLcHvQnGwvOnPToP8OT9AldJ0LwVExOwhhlnOstYca33MIpGH00twYxWMS5nxMuDQ==
774
+ "@oclif/core@^3.0.4", "@oclif/core@^3.15.0", "@oclif/core@^3.15.1", "@oclif/core@^3.3.1":
775
+ version "3.15.1"
776
+ resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.15.1.tgz#e03fa775d658e76056150ac0c7b8097b6f51ab9c"
777
+ integrity sha512-d4457zVo2agLoJG97CmdY6M3BeP5sogBP3BtP65hUvJH6wA6Us1hdY3UiPPtD/ZzZImq7cATVMABuCF9tM+rWA==
778
778
  dependencies:
779
779
  ansi-escapes "^4.3.2"
780
780
  ansi-styles "^4.3.0"
@@ -793,7 +793,7 @@
793
793
  js-yaml "^3.14.1"
794
794
  natural-orderby "^2.0.3"
795
795
  object-treeify "^1.1.33"
796
- password-prompt "^1.1.2"
796
+ password-prompt "^1.1.3"
797
797
  slice-ansi "^4.0.0"
798
798
  string-width "^4.2.3"
799
799
  strip-ansi "^6.0.1"
@@ -836,14 +836,14 @@
836
836
  resolved "https://registry.yarnpkg.com/@oclif/prettier-config/-/prettier-config-0.2.1.tgz#1def9f38134f9bfb229257f48a35f7d0d183dc78"
837
837
  integrity sha512-XB8kwQj8zynXjIIWRm+6gO/r8Qft2xKtwBMSmq1JRqtA6TpwpqECqiu8LosBCyg2JBXuUy2lU23/L98KIR7FrQ==
838
838
 
839
- "@oclif/test@^3.1.3":
840
- version "3.1.3"
841
- resolved "https://registry.yarnpkg.com/@oclif/test/-/test-3.1.3.tgz#42d98e3e2c29a3340dedd7eab7c0a7e392c2f3cf"
842
- integrity sha512-p4Z+SpGSW6pw/QQrQwVuG8eOuZtUl/hxh2rgaOkDfxWipb6FVNa08kzuE70rYaIDIq/9SFglcOb9YQmOXv2MEA==
839
+ "@oclif/test@^3.1.7":
840
+ version "3.1.7"
841
+ resolved "https://registry.yarnpkg.com/@oclif/test/-/test-3.1.7.tgz#614a101a880b6a8f7ef7439686495a5a6d64b051"
842
+ integrity sha512-lEKq/VKqxwSribfvxXu112KTrgo/WsHzoFnUZRv9YJe7Ho6FCkmKs6n362KHWJgSnBMc4rXMJNJQe62HzHbeoA==
843
843
  dependencies:
844
- "@oclif/core" "^3.12.0"
844
+ "@oclif/core" "^3.15.1"
845
845
  chai "^4.3.10"
846
- fancy-test "^3.0.1"
846
+ fancy-test "^3.0.7"
847
847
 
848
848
  "@octokit/auth-token@^2.4.4":
849
849
  version "2.5.0"
@@ -1115,10 +1115,10 @@
1115
1115
  resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.3.tgz#dd249cef80c6fff2ba6a0d4e5beca913e04e25f8"
1116
1116
  integrity sha512-ZYFzrvyWUNhaPomn80dsMNgMeXxNWZBdkuG/hWlUvXvbdUH8ZERNBGXnU87McuGcWDsyzX2aChCv/SVN348k3A==
1117
1117
 
1118
- "@types/mocha@^10.0.4":
1119
- version "10.0.4"
1120
- resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.4.tgz#b5331955ebca216604691fd4fcd2dbdc2bd559a4"
1121
- integrity sha512-xKU7bUjiFTIttpWaIZ9qvgg+22O1nmbA+HRxdlR+u6TWsGfmFdXrheJoK4fFxrHNVIOBDvDNKZG+LYBpMHpX3w==
1118
+ "@types/mocha@^10.0.6":
1119
+ version "10.0.6"
1120
+ resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.6.tgz#818551d39113081048bdddbef96701b4e8bb9d1b"
1121
+ integrity sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==
1122
1122
 
1123
1123
  "@types/nock@^11.1.0":
1124
1124
  version "11.1.0"
@@ -1181,16 +1181,16 @@
1181
1181
  "@types/expect" "^1.20.4"
1182
1182
  "@types/node" "*"
1183
1183
 
1184
- "@typescript-eslint/eslint-plugin@^6.13.2":
1185
- version "6.14.0"
1186
- resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.14.0.tgz#fc1ab5f23618ba590c87e8226ff07a760be3dd7b"
1187
- integrity sha512-1ZJBykBCXaSHG94vMMKmiHoL0MhNHKSVlcHVYZNw+BKxufhqQVTOawNpwwI1P5nIFZ/4jLVop0mcY6mJJDFNaw==
1184
+ "@typescript-eslint/eslint-plugin@^6.15.0":
1185
+ version "6.16.0"
1186
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.16.0.tgz#cc29fbd208ea976de3db7feb07755bba0ce8d8bc"
1187
+ integrity sha512-O5f7Kv5o4dLWQtPX4ywPPa+v9G+1q1x8mz0Kr0pXUtKsevo+gIJHLkGc8RxaZWtP8RrhwhSNIWThnW42K9/0rQ==
1188
1188
  dependencies:
1189
1189
  "@eslint-community/regexpp" "^4.5.1"
1190
- "@typescript-eslint/scope-manager" "6.14.0"
1191
- "@typescript-eslint/type-utils" "6.14.0"
1192
- "@typescript-eslint/utils" "6.14.0"
1193
- "@typescript-eslint/visitor-keys" "6.14.0"
1190
+ "@typescript-eslint/scope-manager" "6.16.0"
1191
+ "@typescript-eslint/type-utils" "6.16.0"
1192
+ "@typescript-eslint/utils" "6.16.0"
1193
+ "@typescript-eslint/visitor-keys" "6.16.0"
1194
1194
  debug "^4.3.4"
1195
1195
  graphemer "^1.4.0"
1196
1196
  ignore "^5.2.4"
@@ -1198,15 +1198,15 @@
1198
1198
  semver "^7.5.4"
1199
1199
  ts-api-utils "^1.0.1"
1200
1200
 
1201
- "@typescript-eslint/parser@^6.13.2":
1202
- version "6.14.0"
1203
- resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.14.0.tgz#a2d6a732e0d2b95c73f6a26ae7362877cc1b4212"
1204
- integrity sha512-QjToC14CKacd4Pa7JK4GeB/vHmWFJckec49FR4hmIRf97+KXole0T97xxu9IFiPxVQ1DBWrQ5wreLwAGwWAVQA==
1201
+ "@typescript-eslint/parser@^6.15.0":
1202
+ version "6.16.0"
1203
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.16.0.tgz#36f39f63b126aa25af2ad2df13d9891e9fd5b40c"
1204
+ integrity sha512-H2GM3eUo12HpKZU9njig3DF5zJ58ja6ahj1GoHEHOgQvYxzoFJJEvC1MQ7T2l9Ha+69ZSOn7RTxOdpC/y3ikMw==
1205
1205
  dependencies:
1206
- "@typescript-eslint/scope-manager" "6.14.0"
1207
- "@typescript-eslint/types" "6.14.0"
1208
- "@typescript-eslint/typescript-estree" "6.14.0"
1209
- "@typescript-eslint/visitor-keys" "6.14.0"
1206
+ "@typescript-eslint/scope-manager" "6.16.0"
1207
+ "@typescript-eslint/types" "6.16.0"
1208
+ "@typescript-eslint/typescript-estree" "6.16.0"
1209
+ "@typescript-eslint/visitor-keys" "6.16.0"
1210
1210
  debug "^4.3.4"
1211
1211
 
1212
1212
  "@typescript-eslint/scope-manager@6.14.0":
@@ -1217,13 +1217,21 @@
1217
1217
  "@typescript-eslint/types" "6.14.0"
1218
1218
  "@typescript-eslint/visitor-keys" "6.14.0"
1219
1219
 
1220
- "@typescript-eslint/type-utils@6.14.0":
1221
- version "6.14.0"
1222
- resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.14.0.tgz#ac9cb5ba0615c837f1a6b172feeb273d36e4f8af"
1223
- integrity sha512-x6OC9Q7HfYKqjnuNu5a7kffIYs3No30isapRBJl1iCHLitD8O0lFbRcVGiOcuyN837fqXzPZ1NS10maQzZMKqw==
1220
+ "@typescript-eslint/scope-manager@6.16.0":
1221
+ version "6.16.0"
1222
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.16.0.tgz#f3e9a00fbc1d0701356359cd56489c54d9e37168"
1223
+ integrity sha512-0N7Y9DSPdaBQ3sqSCwlrm9zJwkpOuc6HYm7LpzLAPqBL7dmzAUimr4M29dMkOP/tEwvOCC/Cxo//yOfJD3HUiw==
1224
1224
  dependencies:
1225
- "@typescript-eslint/typescript-estree" "6.14.0"
1226
- "@typescript-eslint/utils" "6.14.0"
1225
+ "@typescript-eslint/types" "6.16.0"
1226
+ "@typescript-eslint/visitor-keys" "6.16.0"
1227
+
1228
+ "@typescript-eslint/type-utils@6.16.0":
1229
+ version "6.16.0"
1230
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.16.0.tgz#5f21c3e49e540ad132dc87fc99af463c184d5ed1"
1231
+ integrity sha512-ThmrEOcARmOnoyQfYkHw/DX2SEYBalVECmoldVuH6qagKROp/jMnfXpAU/pAIWub9c4YTxga+XwgAkoA0pxfmg==
1232
+ dependencies:
1233
+ "@typescript-eslint/typescript-estree" "6.16.0"
1234
+ "@typescript-eslint/utils" "6.16.0"
1227
1235
  debug "^4.3.4"
1228
1236
  ts-api-utils "^1.0.1"
1229
1237
 
@@ -1232,6 +1240,11 @@
1232
1240
  resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.14.0.tgz#935307f7a931016b7a5eb25d494ea3e1f613e929"
1233
1241
  integrity sha512-uty9H2K4Xs8E47z3SnXEPRNDfsis8JO27amp2GNCnzGETEW3yTqEIVg5+AI7U276oGF/tw6ZA+UesxeQ104ceA==
1234
1242
 
1243
+ "@typescript-eslint/types@6.16.0":
1244
+ version "6.16.0"
1245
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.16.0.tgz#a3abe0045737d44d8234708d5ed8fef5d59dc91e"
1246
+ integrity sha512-hvDFpLEvTJoHutVl87+MG/c5C8I6LOgEx05zExTSJDEVU7hhR3jhV8M5zuggbdFCw98+HhZWPHZeKS97kS3JoQ==
1247
+
1235
1248
  "@typescript-eslint/typescript-estree@6.14.0":
1236
1249
  version "6.14.0"
1237
1250
  resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.14.0.tgz#90c7ddd45cd22139adf3d4577580d04c9189ac13"
@@ -1245,7 +1258,34 @@
1245
1258
  semver "^7.5.4"
1246
1259
  ts-api-utils "^1.0.1"
1247
1260
 
1248
- "@typescript-eslint/utils@6.14.0", "@typescript-eslint/utils@^6.13.0":
1261
+ "@typescript-eslint/typescript-estree@6.16.0":
1262
+ version "6.16.0"
1263
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.16.0.tgz#d6e0578e4f593045f0df06c4b3a22bd6f13f2d03"
1264
+ integrity sha512-VTWZuixh/vr7nih6CfrdpmFNLEnoVBF1skfjdyGnNwXOH1SLeHItGdZDHhhAIzd3ACazyY2Fg76zuzOVTaknGA==
1265
+ dependencies:
1266
+ "@typescript-eslint/types" "6.16.0"
1267
+ "@typescript-eslint/visitor-keys" "6.16.0"
1268
+ debug "^4.3.4"
1269
+ globby "^11.1.0"
1270
+ is-glob "^4.0.3"
1271
+ minimatch "9.0.3"
1272
+ semver "^7.5.4"
1273
+ ts-api-utils "^1.0.1"
1274
+
1275
+ "@typescript-eslint/utils@6.16.0":
1276
+ version "6.16.0"
1277
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.16.0.tgz#1c291492d34670f9210d2b7fcf6b402bea3134ae"
1278
+ integrity sha512-T83QPKrBm6n//q9mv7oiSvy/Xq/7Hyw9SzSEhMHJwznEmQayfBM87+oAlkNAMEO7/MjIwKyOHgBJbxB0s7gx2A==
1279
+ dependencies:
1280
+ "@eslint-community/eslint-utils" "^4.4.0"
1281
+ "@types/json-schema" "^7.0.12"
1282
+ "@types/semver" "^7.5.0"
1283
+ "@typescript-eslint/scope-manager" "6.16.0"
1284
+ "@typescript-eslint/types" "6.16.0"
1285
+ "@typescript-eslint/typescript-estree" "6.16.0"
1286
+ semver "^7.5.4"
1287
+
1288
+ "@typescript-eslint/utils@^6.13.0":
1249
1289
  version "6.14.0"
1250
1290
  resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.14.0.tgz#856a9e274367d99ffbd39c48128b93a86c4261e3"
1251
1291
  integrity sha512-XwRTnbvRr7Ey9a1NT6jqdKX8y/atWG+8fAIu3z73HSP8h06i3r/ClMhmaF/RGWGW1tHJEwij1uEg2GbEmPYvYg==
@@ -1266,6 +1306,14 @@
1266
1306
  "@typescript-eslint/types" "6.14.0"
1267
1307
  eslint-visitor-keys "^3.4.1"
1268
1308
 
1309
+ "@typescript-eslint/visitor-keys@6.16.0":
1310
+ version "6.16.0"
1311
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.16.0.tgz#d50da18a05d91318ed3e7e8889bda0edc35f3a10"
1312
+ integrity sha512-QSFQLruk7fhs91a/Ep/LqRdbJCZ1Rq03rqBdKT5Ky17Sz8zRLUksqIe9DW0pKtg/Z35/ztbLQ6qpOCN6rOC11A==
1313
+ dependencies:
1314
+ "@typescript-eslint/types" "6.16.0"
1315
+ eslint-visitor-keys "^3.4.1"
1316
+
1269
1317
  "@ungap/structured-clone@^1.2.0":
1270
1318
  version "1.2.0"
1271
1319
  resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
@@ -1294,12 +1342,7 @@ acorn-walk@^8.1.1:
1294
1342
  resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1"
1295
1343
  integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==
1296
1344
 
1297
- acorn@^8.4.1:
1298
- version "8.8.2"
1299
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a"
1300
- integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==
1301
-
1302
- acorn@^8.9.0:
1345
+ acorn@^8.4.1, acorn@^8.9.0:
1303
1346
  version "8.10.0"
1304
1347
  resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5"
1305
1348
  integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==
@@ -2358,7 +2401,7 @@ dezalgo@^1.0.0:
2358
2401
  asap "^2.0.0"
2359
2402
  wrappy "1"
2360
2403
 
2361
- diff@5.0.0, diff@^5.0.0:
2404
+ diff@5.0.0:
2362
2405
  version "5.0.0"
2363
2406
  resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b"
2364
2407
  integrity sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==
@@ -2368,7 +2411,7 @@ diff@^4.0.1:
2368
2411
  resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
2369
2412
  integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
2370
2413
 
2371
- diff@^5.1.0:
2414
+ diff@^5.0.0, diff@^5.1.0:
2372
2415
  version "5.1.0"
2373
2416
  resolved "https://registry.yarnpkg.com/diff/-/diff-5.1.0.tgz#bc52d298c5ea8df9194800224445ed43ffc87e40"
2374
2417
  integrity sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==
@@ -2565,16 +2608,16 @@ escape-string-regexp@^1.0.5:
2565
2608
  resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
2566
2609
  integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
2567
2610
 
2568
- eslint-config-oclif-typescript@^3.0.26:
2569
- version "3.0.26"
2570
- resolved "https://registry.yarnpkg.com/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.0.26.tgz#ded62c1f1ce6c6357af93fef815f3fe689e9da01"
2571
- integrity sha512-4ezPNOcU1pMlpiGmpeelZGeqYEDS6uZaPy5w5F5VPru/xTdZyrEYkpsW/VrYF0Aq2RTENy4d/HHtaKKOmtOkkg==
2611
+ eslint-config-oclif-typescript@^3.0.31:
2612
+ version "3.0.31"
2613
+ resolved "https://registry.yarnpkg.com/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.0.31.tgz#2aa70fdf4caae14e1e01f47278941fd271f4986d"
2614
+ integrity sha512-j5iNQtLjCZ2Mwkx/0z4zpoBn5YbMx7iwK4DICUWY4QA+KwZ5vyWISrybBjMFSiLHHM7todeE5xmufk8ZTrw+tA==
2572
2615
  dependencies:
2573
- "@typescript-eslint/eslint-plugin" "^6.13.2"
2574
- "@typescript-eslint/parser" "^6.13.2"
2616
+ "@typescript-eslint/eslint-plugin" "^6.15.0"
2617
+ "@typescript-eslint/parser" "^6.15.0"
2575
2618
  eslint-config-xo-space "^0.34.0"
2576
2619
  eslint-import-resolver-typescript "^3.6.1"
2577
- eslint-plugin-import "^2.29.0"
2620
+ eslint-plugin-import "^2.29.1"
2578
2621
  eslint-plugin-mocha "^10.2.0"
2579
2622
  eslint-plugin-node "^11.1.0"
2580
2623
  eslint-plugin-perfectionist "^2.5.0"
@@ -2645,10 +2688,10 @@ eslint-plugin-es@^3.0.0:
2645
2688
  eslint-utils "^2.0.0"
2646
2689
  regexpp "^3.0.0"
2647
2690
 
2648
- eslint-plugin-import@^2.29.0:
2649
- version "2.29.0"
2650
- resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.0.tgz#8133232e4329ee344f2f612885ac3073b0b7e155"
2651
- integrity sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg==
2691
+ eslint-plugin-import@^2.29.1:
2692
+ version "2.29.1"
2693
+ resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz#d45b37b5ef5901d639c15270d74d46d161150643"
2694
+ integrity sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==
2652
2695
  dependencies:
2653
2696
  array-includes "^3.1.7"
2654
2697
  array.prototype.findlastindex "^1.2.3"
@@ -2666,7 +2709,7 @@ eslint-plugin-import@^2.29.0:
2666
2709
  object.groupby "^1.0.1"
2667
2710
  object.values "^1.1.7"
2668
2711
  semver "^6.3.1"
2669
- tsconfig-paths "^3.14.2"
2712
+ tsconfig-paths "^3.15.0"
2670
2713
 
2671
2714
  eslint-plugin-mocha@^10.1.0, eslint-plugin-mocha@^10.2.0:
2672
2715
  version "10.2.0"
@@ -2755,15 +2798,15 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4
2755
2798
  resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
2756
2799
  integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
2757
2800
 
2758
- eslint@^8.55.0:
2759
- version "8.55.0"
2760
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.55.0.tgz#078cb7b847d66f2c254ea1794fa395bf8e7e03f8"
2761
- integrity sha512-iyUUAM0PCKj5QpwGfmCAG9XXbZCWsqP/eWAWrG/W0umvjuLRBECwSFdt+rCntju0xEH7teIABPwXpahftIaTdA==
2801
+ eslint@^8.56.0:
2802
+ version "8.56.0"
2803
+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.56.0.tgz#4957ce8da409dc0809f99ab07a1b94832ab74b15"
2804
+ integrity sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==
2762
2805
  dependencies:
2763
2806
  "@eslint-community/eslint-utils" "^4.2.0"
2764
2807
  "@eslint-community/regexpp" "^4.6.1"
2765
2808
  "@eslint/eslintrc" "^2.1.4"
2766
- "@eslint/js" "8.55.0"
2809
+ "@eslint/js" "8.56.0"
2767
2810
  "@humanwhocodes/config-array" "^0.11.13"
2768
2811
  "@humanwhocodes/module-importer" "^1.0.1"
2769
2812
  "@nodelib/fs.walk" "^1.2.8"
@@ -2896,10 +2939,10 @@ external-editor@^3.0.3:
2896
2939
  iconv-lite "^0.4.24"
2897
2940
  tmp "^0.0.33"
2898
2941
 
2899
- fancy-test@^3.0.1:
2900
- version "3.0.1"
2901
- resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-3.0.1.tgz#8b19ed4ccc8b0625475eabf36fd743e1d0168abb"
2902
- integrity sha512-Ke1IFOGEBxP2dNg0X7ZYPUSwKSRr5GNn3xM/2DpHkP86riF3MFDpesXJuD1TGm7gcfwBtYpuSzuw3m704bThVg==
2942
+ fancy-test@^3.0.7:
2943
+ version "3.0.8"
2944
+ resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-3.0.8.tgz#ca3919ebb07c1c0e5fb8e8953e02e2ed48600ef8"
2945
+ integrity sha512-vHkT59Kf0Byiqzwc2My1fD9VDYsAPkT+jVqdMqqtwtdLwz19x+hHI2oAxNwfyfEDSK+VrLB4+B96sZbOLVEHdA==
2903
2946
  dependencies:
2904
2947
  "@types/chai" "*"
2905
2948
  "@types/lodash" "*"
@@ -2907,8 +2950,8 @@ fancy-test@^3.0.1:
2907
2950
  "@types/sinon" "*"
2908
2951
  lodash "^4.17.13"
2909
2952
  mock-stdin "^1.0.0"
2910
- nock "^13.3.3"
2911
- sinon "^16.0.0"
2953
+ nock "^13.4.0"
2954
+ sinon "^16.1.3"
2912
2955
  stdout-stderr "^0.1.9"
2913
2956
 
2914
2957
  fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
@@ -4651,6 +4694,13 @@ minimatch@5.0.1:
4651
4694
  dependencies:
4652
4695
  brace-expansion "^2.0.1"
4653
4696
 
4697
+ minimatch@9.0.3, minimatch@^9.0.3:
4698
+ version "9.0.3"
4699
+ resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825"
4700
+ integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==
4701
+ dependencies:
4702
+ brace-expansion "^2.0.1"
4703
+
4654
4704
  minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.2:
4655
4705
  version "3.1.2"
4656
4706
  resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
@@ -4665,13 +4715,6 @@ minimatch@^7.2.0:
4665
4715
  dependencies:
4666
4716
  brace-expansion "^2.0.1"
4667
4717
 
4668
- minimatch@^9.0.3:
4669
- version "9.0.3"
4670
- resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825"
4671
- integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==
4672
- dependencies:
4673
- brace-expansion "^2.0.1"
4674
-
4675
4718
  minimist-options@4.1.0:
4676
4719
  version "4.1.0"
4677
4720
  resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619"
@@ -4874,7 +4917,7 @@ no-case@^3.0.4:
4874
4917
  lower-case "^2.0.2"
4875
4918
  tslib "^2.0.3"
4876
4919
 
4877
- nock@*, nock@^13.3.3, nock@^13.4.0:
4920
+ nock@*, nock@^13.4.0:
4878
4921
  version "13.4.0"
4879
4922
  resolved "https://registry.yarnpkg.com/nock/-/nock-13.4.0.tgz#60aa3f7a4afa9c12052e74d8fb7550f682ef0115"
4880
4923
  integrity sha512-W8NVHjO/LCTNA64yxAPHV/K47LpGYcVzgKd3Q0n6owhwvD0Dgoterc25R4rnZbckJEb6Loxz1f5QMuJpJnbSyQ==
@@ -5147,10 +5190,10 @@ object.values@^1.1.7:
5147
5190
  define-properties "^1.2.0"
5148
5191
  es-abstract "^1.22.1"
5149
5192
 
5150
- oclif@^4.0.3:
5151
- version "4.0.3"
5152
- resolved "https://registry.yarnpkg.com/oclif/-/oclif-4.0.3.tgz#2ff8fab10c29b2cd0bbf8e9c87640a64151b65ff"
5153
- integrity sha512-Bq7t1bJvAKYwW3DKQIzok3jkXv7yUIMneoSec1qUr9wfSqzRTZQB0UUDovwlT/L+3TBMVoRyw1WeX+YDvfRJNA==
5193
+ oclif@^4.1.0:
5194
+ version "4.1.0"
5195
+ resolved "https://registry.yarnpkg.com/oclif/-/oclif-4.1.0.tgz#486004caf6da8af9f5bdda681a616b5b2c180b45"
5196
+ integrity sha512-4E6z1HOdUYXHu/cbbSv0gnbFJfR9BGc9Oa+e9l8SkRoicGnrEPMpuZyY2vxWPGwMndN6ijxxuFlVmw1/j+MJpg==
5154
5197
  dependencies:
5155
5198
  "@oclif/core" "^3.0.4"
5156
5199
  "@oclif/plugin-help" "^5.2.14"
@@ -5397,6 +5440,14 @@ password-prompt@^1.1.2:
5397
5440
  ansi-escapes "^3.1.0"
5398
5441
  cross-spawn "^6.0.5"
5399
5442
 
5443
+ password-prompt@^1.1.3:
5444
+ version "1.1.3"
5445
+ resolved "https://registry.yarnpkg.com/password-prompt/-/password-prompt-1.1.3.tgz#05e539f4e7ca4d6c865d479313f10eb9db63ee5f"
5446
+ integrity sha512-HkrjG2aJlvF0t2BMH0e2LB/EHf3Lcq3fNMzy4GYHcQblAvOl+QQji1Lx7WRBMqpVK8p+KR7bCg7oqAMXtdgqyw==
5447
+ dependencies:
5448
+ ansi-escapes "^4.3.2"
5449
+ cross-spawn "^7.0.3"
5450
+
5400
5451
  path-case@^3.0.4:
5401
5452
  version "3.0.4"
5402
5453
  resolved "https://registry.yarnpkg.com/path-case/-/path-case-3.0.4.tgz#9168645334eb942658375c56f80b4c0cb5f82c6f"
@@ -5514,10 +5565,10 @@ prelude-ls@^1.2.1:
5514
5565
  resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
5515
5566
  integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
5516
5567
 
5517
- prettier@^3.1.0:
5518
- version "3.1.0"
5519
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.0.tgz#c6d16474a5f764ea1a4a373c593b779697744d5e"
5520
- integrity sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==
5568
+ prettier@^3.1.1:
5569
+ version "3.1.1"
5570
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.1.tgz#6ba9f23165d690b6cbdaa88cb0807278f7019848"
5571
+ integrity sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==
5521
5572
 
5522
5573
  pretty-bytes@^5.3.0:
5523
5574
  version "5.6.0"
@@ -6065,10 +6116,10 @@ simple-swizzle@^0.2.2:
6065
6116
  dependencies:
6066
6117
  is-arrayish "^0.3.1"
6067
6118
 
6068
- sinon@^16.0.0:
6069
- version "16.1.0"
6070
- resolved "https://registry.yarnpkg.com/sinon/-/sinon-16.1.0.tgz#645b836563c9bedb21defdbe48831cb2afb687f2"
6071
- integrity sha512-ZSgzF0vwmoa8pq0GEynqfdnpEDyP1PkYmEChnkjW0Vyh8IDlyFEJ+fkMhCP0il6d5cJjPl2PUsnUSAuP5sttOQ==
6119
+ sinon@^16.1.3:
6120
+ version "16.1.3"
6121
+ resolved "https://registry.yarnpkg.com/sinon/-/sinon-16.1.3.tgz#b760ddafe785356e2847502657b4a0da5501fba8"
6122
+ integrity sha512-mjnWWeyxcAf9nC0bXcPmiDut+oE8HYridTNzBbF98AYVLmWwGRp2ISEpyhYflG1ifILT+eNn3BmKUJPxjXUPlA==
6072
6123
  dependencies:
6073
6124
  "@sinonjs/commons" "^3.0.0"
6074
6125
  "@sinonjs/fake-timers" "^10.3.0"
@@ -6476,10 +6527,10 @@ ts-api-utils@^1.0.1:
6476
6527
  resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331"
6477
6528
  integrity sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==
6478
6529
 
6479
- ts-node@^10.8.1, ts-node@^10.9.1:
6480
- version "10.9.1"
6481
- resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b"
6482
- integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==
6530
+ ts-node@^10.8.1, ts-node@^10.9.1, ts-node@^10.9.2:
6531
+ version "10.9.2"
6532
+ resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f"
6533
+ integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==
6483
6534
  dependencies:
6484
6535
  "@cspotcode/source-map-support" "^0.8.0"
6485
6536
  "@tsconfig/node10" "^1.0.7"
@@ -6500,10 +6551,10 @@ tsconfck@^3.0.0:
6500
6551
  resolved "https://registry.yarnpkg.com/tsconfck/-/tsconfck-3.0.0.tgz#b469f1ced12973bbec3209a55ed8de3bb04223c9"
6501
6552
  integrity sha512-w3wnsIrJNi7avf4Zb0VjOoodoO0woEqGgZGQm+LHH9przdUI+XDKsWAXwxHA1DaRTjeuZNcregSzr7RaA8zG9A==
6502
6553
 
6503
- tsconfig-paths@^3.14.2:
6504
- version "3.14.2"
6505
- resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088"
6506
- integrity sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==
6554
+ tsconfig-paths@^3.15.0:
6555
+ version "3.15.0"
6556
+ resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz#5299ec605e55b1abb23ec939ef15edaf483070d4"
6557
+ integrity sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==
6507
6558
  dependencies:
6508
6559
  "@types/json5" "^0.0.29"
6509
6560
  json5 "^1.0.2"
@@ -12,6 +12,12 @@
12
12
  "allowNo": false,
13
13
  "type": "boolean"
14
14
  },
15
+ "deprecated": {
16
+ "description": "show deprecated commands",
17
+ "name": "deprecated",
18
+ "allowNo": false,
19
+ "type": "boolean"
20
+ },
15
21
  "help": {
16
22
  "char": "h",
17
23
  "description": "Show CLI help.",
@@ -129,5 +135,5 @@
129
135
  ]
130
136
  }
131
137
  },
132
- "version": "3.0.8"
138
+ "version": "3.1.0"
133
139
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/plugin-commands",
3
3
  "description": "plugin to show the list of all the commands",
4
- "version": "3.0.8",
4
+ "version": "3.1.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-commands/issues",
7
7
  "dependencies": {
@@ -15,20 +15,20 @@
15
15
  "@commitlint/config-conventional": "^17.8.1",
16
16
  "@oclif/plugin-help": "^5.2.20",
17
17
  "@oclif/prettier-config": "^0.2.1",
18
- "@oclif/test": "^3.1.3",
18
+ "@oclif/test": "^3.1.7",
19
19
  "@types/chai": "^4.3.11",
20
20
  "@types/lodash.pickby": "^4.6.9",
21
21
  "@types/lodash.sortby": "^4.7.9",
22
22
  "@types/lodash.template": "^4.5.3",
23
23
  "@types/lodash.uniqby": "^4.7.9",
24
- "@types/mocha": "^10.0.4",
24
+ "@types/mocha": "^10.0.6",
25
25
  "@types/nock": "^11.1.0",
26
26
  "@types/node": "^18",
27
27
  "chai": "^4.3.10",
28
28
  "commitlint": "^17.8.1",
29
- "eslint": "^8.55.0",
29
+ "eslint": "^8.56.0",
30
30
  "eslint-config-oclif": "^5.0.0",
31
- "eslint-config-oclif-typescript": "^3.0.26",
31
+ "eslint-config-oclif-typescript": "^3.0.31",
32
32
  "eslint-config-prettier": "^9.1.0",
33
33
  "globby": "^11",
34
34
  "husky": "^8.0.3",
@@ -36,10 +36,10 @@
36
36
  "mocha": "^10.2.0",
37
37
  "nock": "^13.4.0",
38
38
  "nyc": "^15.1.0",
39
- "oclif": "^4.0.3",
40
- "prettier": "^3.1.0",
39
+ "oclif": "^4.1.0",
40
+ "prettier": "^3.1.1",
41
41
  "shx": "^0.3.3",
42
- "ts-node": "^10.9.1",
42
+ "ts-node": "^10.9.2",
43
43
  "typescript": "^5.3.3"
44
44
  },
45
45
  "engines": {