@ui5/cli 3.4.0 → 3.4.1

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/CHANGELOG.md CHANGED
@@ -2,7 +2,16 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
4
 
5
- A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.4.0...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.4.1...HEAD).
6
+
7
+ <a name="v3.4.1"></a>
8
+ ## [v3.4.1] - 2023-08-20
9
+ ### Bug Fixes
10
+ - **ui5 config:** Allow usage of all Configuration options ([#645](https://github.com/SAP/ui5-cli/issues/645)) [`78e032e`](https://github.com/SAP/ui5-cli/commit/78e032ebd7d71ee59e6f6fd4f21dc0564e108d44)
11
+
12
+ ### Dependency Updates
13
+ - Bump [@ui5](https://github.com/ui5)/project from 3.5.0 to 3.5.1 [`4ca30c3`](https://github.com/SAP/ui5-cli/commit/4ca30c3dc4066919f68af47307b4dc8b0bd898f7)
14
+
6
15
 
7
16
  <a name="v3.4.0"></a>
8
17
  ## [v3.4.0] - 2023-08-09
@@ -1089,6 +1098,7 @@ Only Node.js v10 or higher is supported.
1089
1098
 
1090
1099
  <a name="v0.0.1"></a>
1091
1100
  ## v0.0.1 - 2018-06-06
1101
+ [v3.4.1]: https://github.com/SAP/ui5-cli/compare/v3.4.0...v3.4.1
1092
1102
  [v3.4.0]: https://github.com/SAP/ui5-cli/compare/v3.3.4...v3.4.0
1093
1103
  [v3.3.4]: https://github.com/SAP/ui5-cli/compare/v3.3.3...v3.3.4
1094
1104
  [v3.3.3]: https://github.com/SAP/ui5-cli/compare/v3.3.2...v3.3.3
@@ -1,6 +1,7 @@
1
1
  import chalk from "chalk";
2
2
  import process from "node:process";
3
3
  import baseMiddleware from "../middlewares/base.js";
4
+ import Configuration from "@ui5/project/config/Configuration";
4
5
 
5
6
  const configCommand = {
6
7
  command: "config",
@@ -12,13 +13,17 @@ const configCommand = {
12
13
  configCommand.builder = function(cli) {
13
14
  return cli
14
15
  .demandCommand(1, "Command required. Available commands are 'set', 'get', and 'list'")
15
- .command("set <key> [value]", "Set the value for a given configuration key. " +
16
+ .command("set <option> [value]", "Set the value for a given configuration option. " +
16
17
  "Clear an existing configuration by omitting the value", {
17
18
  handler: handleConfig,
18
- builder: noop,
19
+ builder: (cli) => {
20
+ cli.positional("option", {
21
+ choices: Configuration.OPTIONS
22
+ });
23
+ },
19
24
  middlewares: [baseMiddleware],
20
25
  })
21
- .command("get <key>", "Get the value for a given configuration key", {
26
+ .command("get <option>", "Get the value for a given configuration option", {
22
27
  handler: handleConfig,
23
28
  builder: noop,
24
29
  middlewares: [baseMiddleware],
@@ -28,51 +33,47 @@ configCommand.builder = function(cli) {
28
33
  builder: noop,
29
34
  middlewares: [baseMiddleware],
30
35
  })
31
- .example("$0 config set mavenSnapshotEndpointUrl http://example.com/snapshots/",
32
- "Set a value for the mavenSnapshotEndpointUrl configuration")
33
- .example("$0 config set mavenSnapshotEndpointUrl",
34
- "Unset the current value of the mavenSnapshotEndpointUrl configuration");
36
+ .example("$0 config set ui5DataDir /path/to/.ui5",
37
+ "Set a value for the ui5DataDir configuration")
38
+ .example("$0 config set ui5DataDir",
39
+ "Unset the current value of the ui5DataDir configuration");
35
40
  };
36
41
 
37
42
  function noop() {}
38
43
 
39
44
  async function handleConfig(argv) {
40
- const {_: commandArgs, key, value} = argv;
45
+ const {_: commandArgs, option, value} = argv;
41
46
  const command = commandArgs[commandArgs.length - 1];
42
47
 
43
- const {default: Configuration} = await import( "@ui5/project/config/Configuration");
44
- const allowedKeys = ["mavenSnapshotEndpointUrl"];
45
-
46
- if (["set", "get"].includes(command) && !allowedKeys.includes(key)) {
47
- throw new Error(
48
- `The provided key is not a valid configuration option. Valid options are: ${allowedKeys.join(", ")}`);
49
- }
48
+ // Yargs ensures that:
49
+ // - "option" only contains valid values (defined as "choices" in command builder)
50
+ // - "command" is one of "list", "get", "set"
50
51
 
51
52
  const config = await Configuration.fromFile();
52
- if (command === "list") {
53
+ let jsonConfig;
54
+
55
+ switch (command) {
56
+ case "list":
53
57
  // Print all configuration values to stdout
54
58
  process.stdout.write(formatJsonForOutput(config.toJson()));
55
- } else if (command === "get") {
59
+ break;
60
+ case "get":
56
61
  // Get a single configuration value and print to stdout
57
- let configValue = config.toJson()[key];
58
- if (configValue === undefined) {
59
- configValue = "";
60
- }
61
- process.stdout.write(`${configValue}\n`);
62
- } else if (command === "set") {
63
- const jsonConfig = config.toJson();
62
+ process.stdout.write(`${config.toJson()[option] ?? ""}\n`);
63
+ break;
64
+ case "set":
65
+ jsonConfig = config.toJson();
64
66
  if (value === undefined || value === "") {
65
- delete jsonConfig[key];
66
- process.stderr.write(`Configuration option ${chalk.bold(key)} has been unset\n`);
67
+ delete jsonConfig[option];
68
+ process.stderr.write(`Configuration option ${chalk.bold(option)} has been unset\n`);
67
69
  } else {
68
- jsonConfig[key] = value;
69
- process.stderr.write(`Configuration option ${chalk.bold(key)} has been updated:
70
- ${formatJsonForOutput(jsonConfig, key)}`);
70
+ jsonConfig[option] = value;
71
+ process.stderr.write(`Configuration option ${chalk.bold(option)} has been updated:
72
+ ${formatJsonForOutput(jsonConfig, option)}`);
71
73
  }
72
74
 
73
75
  await Configuration.toFile(new Configuration(jsonConfig));
74
- } else {
75
- throw new Error(`Unknown 'ui5 config' command '${command}'`);
76
+ break;
76
77
  }
77
78
  }
78
79
 
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@ui5/cli",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@ui5/cli",
9
- "version": "3.4.0",
9
+ "version": "3.4.1",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@ui5/builder": "^3.0.9",
13
13
  "@ui5/fs": "^3.0.4",
14
14
  "@ui5/logger": "^3.0.0",
15
- "@ui5/project": "^3.5.0",
15
+ "@ui5/project": "^3.5.1",
16
16
  "@ui5/server": "^3.1.3",
17
17
  "chalk": "^5.3.0",
18
18
  "data-with-position": "^0.5.0",
@@ -34,21 +34,73 @@
34
34
  }
35
35
  },
36
36
  "node_modules/@adobe/css-tools": {
37
- "version": "4.2.0",
38
- "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.2.0.tgz",
39
- "integrity": "sha512-E09FiIft46CmH5Qnjb0wsW54/YQd69LsxeKUOWawmws1XWvyFGURnAChH0mlr7YPFR1ofwvUQfcL0J3lMxXqPA=="
37
+ "version": "4.3.1",
38
+ "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.1.tgz",
39
+ "integrity": "sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg=="
40
40
  },
41
41
  "node_modules/@babel/code-frame": {
42
- "version": "7.22.5",
43
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz",
44
- "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==",
42
+ "version": "7.22.10",
43
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.10.tgz",
44
+ "integrity": "sha512-/KKIMG4UEL35WmI9OlvMhurwtytjvXoFcGNrOvyG9zIzA8YmPjVtIZUf7b05+TPO7G7/GEmLHDaoCgACHl9hhA==",
45
45
  "dependencies": {
46
- "@babel/highlight": "^7.22.5"
46
+ "@babel/highlight": "^7.22.10",
47
+ "chalk": "^2.4.2"
47
48
  },
48
49
  "engines": {
49
50
  "node": ">=6.9.0"
50
51
  }
51
52
  },
53
+ "node_modules/@babel/code-frame/node_modules/ansi-styles": {
54
+ "version": "3.2.1",
55
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
56
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
57
+ "dependencies": {
58
+ "color-convert": "^1.9.0"
59
+ },
60
+ "engines": {
61
+ "node": ">=4"
62
+ }
63
+ },
64
+ "node_modules/@babel/code-frame/node_modules/chalk": {
65
+ "version": "2.4.2",
66
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
67
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
68
+ "dependencies": {
69
+ "ansi-styles": "^3.2.1",
70
+ "escape-string-regexp": "^1.0.5",
71
+ "supports-color": "^5.3.0"
72
+ },
73
+ "engines": {
74
+ "node": ">=4"
75
+ }
76
+ },
77
+ "node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
78
+ "version": "1.0.5",
79
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
80
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
81
+ "engines": {
82
+ "node": ">=0.8.0"
83
+ }
84
+ },
85
+ "node_modules/@babel/code-frame/node_modules/has-flag": {
86
+ "version": "3.0.0",
87
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
88
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
89
+ "engines": {
90
+ "node": ">=4"
91
+ }
92
+ },
93
+ "node_modules/@babel/code-frame/node_modules/supports-color": {
94
+ "version": "5.5.0",
95
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
96
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
97
+ "dependencies": {
98
+ "has-flag": "^3.0.0"
99
+ },
100
+ "engines": {
101
+ "node": ">=4"
102
+ }
103
+ },
52
104
  "node_modules/@babel/helper-validator-identifier": {
53
105
  "version": "7.22.5",
54
106
  "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz",
@@ -58,12 +110,12 @@
58
110
  }
59
111
  },
60
112
  "node_modules/@babel/highlight": {
61
- "version": "7.22.5",
62
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz",
63
- "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==",
113
+ "version": "7.22.10",
114
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.10.tgz",
115
+ "integrity": "sha512-78aUtVcT7MUscr0K5mIEnkwxPE0MaxkR5RxRwuHaQ+JuU5AmTPhY+do2mdzVTnIJJpyBglql2pehuBIWHug+WQ==",
64
116
  "dependencies": {
65
117
  "@babel/helper-validator-identifier": "^7.22.5",
66
- "chalk": "^2.0.0",
118
+ "chalk": "^2.4.2",
67
119
  "js-tokens": "^4.0.0"
68
120
  },
69
121
  "engines": {
@@ -122,9 +174,9 @@
122
174
  }
123
175
  },
124
176
  "node_modules/@babel/parser": {
125
- "version": "7.22.7",
126
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.7.tgz",
127
- "integrity": "sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q==",
177
+ "version": "7.22.10",
178
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.10.tgz",
179
+ "integrity": "sha512-lNbdGsQb9ekfsnjFGhEiF4hfFqGgfOP3H3d27re3n+CGhNuTSUEQdfWk556sTLNTloczcdM5TYF2LhzmDQKyvQ==",
128
180
  "bin": {
129
181
  "parser": "bin/babel-parser.js"
130
182
  },
@@ -183,9 +235,9 @@
183
235
  }
184
236
  },
185
237
  "node_modules/@jridgewell/resolve-uri": {
186
- "version": "3.1.0",
187
- "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz",
188
- "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==",
238
+ "version": "3.1.1",
239
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
240
+ "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
189
241
  "engines": {
190
242
  "node": ">=6.0.0"
191
243
  }
@@ -213,19 +265,14 @@
213
265
  "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
214
266
  },
215
267
  "node_modules/@jridgewell/trace-mapping": {
216
- "version": "0.3.18",
217
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz",
218
- "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==",
268
+ "version": "0.3.19",
269
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz",
270
+ "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==",
219
271
  "dependencies": {
220
- "@jridgewell/resolve-uri": "3.1.0",
221
- "@jridgewell/sourcemap-codec": "1.4.14"
272
+ "@jridgewell/resolve-uri": "^3.1.0",
273
+ "@jridgewell/sourcemap-codec": "^1.4.14"
222
274
  }
223
275
  },
224
- "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": {
225
- "version": "1.4.14",
226
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz",
227
- "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw=="
228
- },
229
276
  "node_modules/@jsdoc/salty": {
230
277
  "version": "0.2.5",
231
278
  "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.5.tgz",
@@ -484,9 +531,9 @@
484
531
  }
485
532
  },
486
533
  "node_modules/@sigstore/bundle": {
487
- "version": "1.0.0",
488
- "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-1.0.0.tgz",
489
- "integrity": "sha512-yLvrWDOh6uMOUlFCTJIZEnwOT9Xte7NPXUqVexEKGSF5XtBAuSg5du0kn3dRR0p47a4ah10Y0mNt8+uyeQXrBQ==",
534
+ "version": "1.1.0",
535
+ "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-1.1.0.tgz",
536
+ "integrity": "sha512-PFutXEy0SmQxYI4texPw3dd2KewuNqv7OuK1ZFtY2fM754yhvG2KdgwIhRnoEE2uHdtdGNQ8s0lb94dW9sELog==",
490
537
  "dependencies": {
491
538
  "@sigstore/protobuf-specs": "^0.2.0"
492
539
  },
@@ -495,9 +542,22 @@
495
542
  }
496
543
  },
497
544
  "node_modules/@sigstore/protobuf-specs": {
498
- "version": "0.2.0",
499
- "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.2.0.tgz",
500
- "integrity": "sha512-8ZhZKAVfXjIspDWwm3D3Kvj0ddbJ0HqDZ/pOs5cx88HpT8mVsotFrg7H1UMnXOuDHz6Zykwxn4mxG3QLuN+RUg==",
545
+ "version": "0.2.1",
546
+ "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.2.1.tgz",
547
+ "integrity": "sha512-XTWVxnWJu+c1oCshMLwnKvz8ZQJJDVOlciMfgpJBQbThVjKTCG8dwyhgLngBD2KN0ap9F/gOV8rFDEx8uh7R2A==",
548
+ "engines": {
549
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
550
+ }
551
+ },
552
+ "node_modules/@sigstore/sign": {
553
+ "version": "1.0.0",
554
+ "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-1.0.0.tgz",
555
+ "integrity": "sha512-INxFVNQteLtcfGmcoldzV6Je0sbbfh9I16DM4yJPw3j5+TFP8X6uIiA18mvpEa9yyeycAKgPmOA3X9hVdVTPUA==",
556
+ "dependencies": {
557
+ "@sigstore/bundle": "^1.1.0",
558
+ "@sigstore/protobuf-specs": "^0.2.0",
559
+ "make-fetch-happen": "^11.0.1"
560
+ },
501
561
  "engines": {
502
562
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
503
563
  }
@@ -655,9 +715,9 @@
655
715
  }
656
716
  },
657
717
  "node_modules/@ui5/project": {
658
- "version": "3.5.0",
659
- "resolved": "https://registry.npmjs.org/@ui5/project/-/project-3.5.0.tgz",
660
- "integrity": "sha512-IzrMPA875z2Zly5zKlgr9PVtFBMmnCLOJ7YSIH1tlm2SFnnSO5hoZ4/Opdy3bT6yz8YltIUFSYF5FP7ffng6Ww==",
718
+ "version": "3.5.1",
719
+ "resolved": "https://registry.npmjs.org/@ui5/project/-/project-3.5.1.tgz",
720
+ "integrity": "sha512-u23L140rhuoozdv7pN3ZwsiBeMSjhQjZq5d6nocWYStO9qFDOIhvdPbuWJtNmXFiQ4FcNu4xB+e7MrlXk9hfGA==",
661
721
  "dependencies": {
662
722
  "@npmcli/config": "^6.2.1",
663
723
  "@ui5/builder": "^3.0.9",
@@ -769,12 +829,10 @@
769
829
  }
770
830
  },
771
831
  "node_modules/agentkeepalive": {
772
- "version": "4.4.0",
773
- "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.4.0.tgz",
774
- "integrity": "sha512-MysLRwkhsJTZKs+fsZIsTgBlr3IjQroonVJWMSqC9k3LS6f6ZifePl9fCqOtvc8p0CeYDSZVFvytdkwhOGaSZA==",
832
+ "version": "4.5.0",
833
+ "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz",
834
+ "integrity": "sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==",
775
835
  "dependencies": {
776
- "debug": "^4.1.0",
777
- "depd": "^2.0.0",
778
836
  "humanize-ms": "^1.2.1"
779
837
  },
780
838
  "engines": {
@@ -1058,15 +1116,15 @@
1058
1116
  }
1059
1117
  },
1060
1118
  "node_modules/cacache": {
1061
- "version": "17.1.3",
1062
- "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.3.tgz",
1063
- "integrity": "sha512-jAdjGxmPxZh0IipMdR7fK/4sDSrHMLUV0+GvVUsjwyGNKHsh79kW/otg+GkbXwl6Uzvy9wsvHOX4nUoWldeZMg==",
1119
+ "version": "17.1.4",
1120
+ "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz",
1121
+ "integrity": "sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==",
1064
1122
  "dependencies": {
1065
1123
  "@npmcli/fs": "^3.1.0",
1066
1124
  "fs-minipass": "^3.0.0",
1067
1125
  "glob": "^10.2.2",
1068
1126
  "lru-cache": "^7.7.1",
1069
- "minipass": "^5.0.0",
1127
+ "minipass": "^7.0.3",
1070
1128
  "minipass-collect": "^1.0.2",
1071
1129
  "minipass-flush": "^1.0.5",
1072
1130
  "minipass-pipeline": "^1.2.4",
@@ -1115,14 +1173,6 @@
1115
1173
  "node": ">=12"
1116
1174
  }
1117
1175
  },
1118
- "node_modules/cacache/node_modules/minipass": {
1119
- "version": "5.0.0",
1120
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
1121
- "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
1122
- "engines": {
1123
- "node": ">=8"
1124
- }
1125
- },
1126
1176
  "node_modules/cacache/node_modules/p-map": {
1127
1177
  "version": "4.0.0",
1128
1178
  "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
@@ -1721,6 +1771,36 @@
1721
1771
  "url": "https://github.com/sponsors/sindresorhus"
1722
1772
  }
1723
1773
  },
1774
+ "node_modules/default-browser/node_modules/execa": {
1775
+ "version": "7.2.0",
1776
+ "resolved": "https://registry.npmjs.org/execa/-/execa-7.2.0.tgz",
1777
+ "integrity": "sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==",
1778
+ "dependencies": {
1779
+ "cross-spawn": "^7.0.3",
1780
+ "get-stream": "^6.0.1",
1781
+ "human-signals": "^4.3.0",
1782
+ "is-stream": "^3.0.0",
1783
+ "merge-stream": "^2.0.0",
1784
+ "npm-run-path": "^5.1.0",
1785
+ "onetime": "^6.0.0",
1786
+ "signal-exit": "^3.0.7",
1787
+ "strip-final-newline": "^3.0.0"
1788
+ },
1789
+ "engines": {
1790
+ "node": "^14.18.0 || ^16.14.0 || >=18.0.0"
1791
+ },
1792
+ "funding": {
1793
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
1794
+ }
1795
+ },
1796
+ "node_modules/default-browser/node_modules/human-signals": {
1797
+ "version": "4.3.1",
1798
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz",
1799
+ "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==",
1800
+ "engines": {
1801
+ "node": ">=14.18.0"
1802
+ }
1803
+ },
1724
1804
  "node_modules/defer-to-connect": {
1725
1805
  "version": "2.0.1",
1726
1806
  "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz",
@@ -2037,9 +2117,9 @@
2037
2117
  }
2038
2118
  },
2039
2119
  "node_modules/eslint-visitor-keys": {
2040
- "version": "3.4.2",
2041
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
2042
- "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
2120
+ "version": "3.4.3",
2121
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
2122
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
2043
2123
  "engines": {
2044
2124
  "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
2045
2125
  },
@@ -2098,28 +2178,6 @@
2098
2178
  "node": ">= 0.6"
2099
2179
  }
2100
2180
  },
2101
- "node_modules/execa": {
2102
- "version": "7.2.0",
2103
- "resolved": "https://registry.npmjs.org/execa/-/execa-7.2.0.tgz",
2104
- "integrity": "sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==",
2105
- "dependencies": {
2106
- "cross-spawn": "^7.0.3",
2107
- "get-stream": "^6.0.1",
2108
- "human-signals": "^4.3.0",
2109
- "is-stream": "^3.0.0",
2110
- "merge-stream": "^2.0.0",
2111
- "npm-run-path": "^5.1.0",
2112
- "onetime": "^6.0.0",
2113
- "signal-exit": "^3.0.7",
2114
- "strip-final-newline": "^3.0.0"
2115
- },
2116
- "engines": {
2117
- "node": "^14.18.0 || ^16.14.0 || >=18.0.0"
2118
- },
2119
- "funding": {
2120
- "url": "https://github.com/sindresorhus/execa?sponsor=1"
2121
- }
2122
- },
2123
2181
  "node_modules/exponential-backoff": {
2124
2182
  "version": "3.1.1",
2125
2183
  "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz",
@@ -2387,24 +2445,16 @@
2387
2445
  }
2388
2446
  },
2389
2447
  "node_modules/fs-minipass": {
2390
- "version": "3.0.2",
2391
- "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.2.tgz",
2392
- "integrity": "sha512-2GAfyfoaCDRrM6jaOS3UsBts8yJ55VioXdWcOL7dK9zdAuKT71+WBA4ifnNYqVjYv+4SsPxjK0JT4yIIn4cA/g==",
2448
+ "version": "3.0.3",
2449
+ "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz",
2450
+ "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==",
2393
2451
  "dependencies": {
2394
- "minipass": "^5.0.0"
2452
+ "minipass": "^7.0.3"
2395
2453
  },
2396
2454
  "engines": {
2397
2455
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
2398
2456
  }
2399
2457
  },
2400
- "node_modules/fs-minipass/node_modules/minipass": {
2401
- "version": "5.0.0",
2402
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
2403
- "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
2404
- "engines": {
2405
- "node": ">=8"
2406
- }
2407
- },
2408
2458
  "node_modules/fs.realpath": {
2409
2459
  "version": "1.0.0",
2410
2460
  "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -2772,14 +2822,6 @@
2772
2822
  "node": ">= 6"
2773
2823
  }
2774
2824
  },
2775
- "node_modules/human-signals": {
2776
- "version": "4.3.1",
2777
- "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz",
2778
- "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==",
2779
- "engines": {
2780
- "node": ">=14.18.0"
2781
- }
2782
- },
2783
2825
  "node_modules/humanize-ms": {
2784
2826
  "version": "1.2.1",
2785
2827
  "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
@@ -3109,9 +3151,9 @@
3109
3151
  "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
3110
3152
  },
3111
3153
  "node_modules/jackspeak": {
3112
- "version": "2.2.2",
3113
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz",
3114
- "integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==",
3154
+ "version": "2.3.0",
3155
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.0.tgz",
3156
+ "integrity": "sha512-uKmsITSsF4rUWQHzqaRUuyAir3fZfW3f202Ee34lz/gZCi970CPZwyQXLGNgWJvvZbvFyzeyGq0+4fcG/mBKZg==",
3115
3157
  "dependencies": {
3116
3158
  "@isaacs/cliui": "^8.0.2"
3117
3159
  },
@@ -3521,9 +3563,9 @@
3521
3563
  }
3522
3564
  },
3523
3565
  "node_modules/minipass": {
3524
- "version": "7.0.2",
3525
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz",
3526
- "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==",
3566
+ "version": "7.0.3",
3567
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.3.tgz",
3568
+ "integrity": "sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==",
3527
3569
  "engines": {
3528
3570
  "node": ">=16 || 14 >=14.17"
3529
3571
  }
@@ -3556,11 +3598,11 @@
3556
3598
  "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
3557
3599
  },
3558
3600
  "node_modules/minipass-fetch": {
3559
- "version": "3.0.3",
3560
- "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz",
3561
- "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==",
3601
+ "version": "3.0.4",
3602
+ "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz",
3603
+ "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==",
3562
3604
  "dependencies": {
3563
- "minipass": "^5.0.0",
3605
+ "minipass": "^7.0.3",
3564
3606
  "minipass-sized": "^1.0.3",
3565
3607
  "minizlib": "^2.1.2"
3566
3608
  },
@@ -3571,14 +3613,6 @@
3571
3613
  "encoding": "^0.1.13"
3572
3614
  }
3573
3615
  },
3574
- "node_modules/minipass-fetch/node_modules/minipass": {
3575
- "version": "5.0.0",
3576
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
3577
- "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
3578
- "engines": {
3579
- "node": ">=8"
3580
- }
3581
- },
3582
3616
  "node_modules/minipass-flush": {
3583
3617
  "version": "1.0.5",
3584
3618
  "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz",
@@ -3882,9 +3916,9 @@
3882
3916
  }
3883
3917
  },
3884
3918
  "node_modules/npm-install-checks": {
3885
- "version": "6.1.1",
3886
- "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.1.1.tgz",
3887
- "integrity": "sha512-dH3GmQL4vsPtld59cOn8uY0iOqRmqKvV+DLGwNXV/Q7MDgD2QfOADWd/mFXcIE5LVhYYGjA3baz6W9JneqnuCw==",
3919
+ "version": "6.2.0",
3920
+ "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.2.0.tgz",
3921
+ "integrity": "sha512-744wat5wAAHsxa4590mWO0tJ8PKxR8ORZsH9wGpQc3nWTzozMAgBN/XyqYw7mg3yqLM8dLwEnwSfKMmXAjF69g==",
3888
3922
  "dependencies": {
3889
3923
  "semver": "^7.1.1"
3890
3924
  },
@@ -4285,9 +4319,9 @@
4285
4319
  }
4286
4320
  },
4287
4321
  "node_modules/path-scurry/node_modules/lru-cache": {
4288
- "version": "10.0.0",
4289
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz",
4290
- "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==",
4322
+ "version": "10.0.1",
4323
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz",
4324
+ "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==",
4291
4325
  "engines": {
4292
4326
  "node": "14 || >=16.14"
4293
4327
  }
@@ -5277,12 +5311,13 @@
5277
5311
  "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
5278
5312
  },
5279
5313
  "node_modules/sigstore": {
5280
- "version": "1.8.0",
5281
- "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-1.8.0.tgz",
5282
- "integrity": "sha512-ogU8qtQ3VFBawRJ8wjsBEX/vIFeHuGs1fm4jZtjWQwjo8pfAt7T/rh+udlAN4+QUe0IzA8qRSc/YZ7dHP6kh+w==",
5314
+ "version": "1.9.0",
5315
+ "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-1.9.0.tgz",
5316
+ "integrity": "sha512-0Zjz0oe37d08VeOtBIuB6cRriqXse2e8w+7yIy2XSXjshRKxbc2KkhXjL229jXSxEm7UbcjS76wcJDGQddVI9A==",
5283
5317
  "dependencies": {
5284
- "@sigstore/bundle": "^1.0.0",
5318
+ "@sigstore/bundle": "^1.1.0",
5285
5319
  "@sigstore/protobuf-specs": "^0.2.0",
5320
+ "@sigstore/sign": "^1.0.0",
5286
5321
  "@sigstore/tuf": "^1.0.3",
5287
5322
  "make-fetch-happen": "^11.0.1"
5288
5323
  },
@@ -5413,24 +5448,16 @@
5413
5448
  }
5414
5449
  },
5415
5450
  "node_modules/ssri": {
5416
- "version": "10.0.4",
5417
- "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz",
5418
- "integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==",
5451
+ "version": "10.0.5",
5452
+ "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz",
5453
+ "integrity": "sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==",
5419
5454
  "dependencies": {
5420
- "minipass": "^5.0.0"
5455
+ "minipass": "^7.0.3"
5421
5456
  },
5422
5457
  "engines": {
5423
5458
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
5424
5459
  }
5425
5460
  },
5426
- "node_modules/ssri/node_modules/minipass": {
5427
- "version": "5.0.0",
5428
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
5429
- "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
5430
- "engines": {
5431
- "node": ">=8"
5432
- }
5433
- },
5434
5461
  "node_modules/statuses": {
5435
5462
  "version": "2.0.1",
5436
5463
  "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
@@ -5965,9 +5992,9 @@
5965
5992
  }
5966
5993
  },
5967
5994
  "node_modules/workerpool": {
5968
- "version": "6.4.0",
5969
- "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.4.0.tgz",
5970
- "integrity": "sha512-i3KR1mQMNwY2wx20ozq2EjISGtQWDIfV56We+yGJ5yDs8jTwQiLLaqHlkBHITlCuJnYlVRmXegxFxZg7gqI++A=="
5995
+ "version": "6.4.1",
5996
+ "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.4.1.tgz",
5997
+ "integrity": "sha512-zIK7qRgM1Mk+ySxOJl7ZpjX6SlKt5gugxzl8eXHPdbpXX8iDAaVIxYJz4Apn6JdDxP2buY/Ekqg0bOLNSf0u0g=="
5971
5998
  },
5972
5999
  "node_modules/wrap-ansi": {
5973
6000
  "version": "8.1.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/cli",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "UI5 Tooling - CLI",
5
5
  "author": {
6
6
  "name": "SAP SE",
@@ -119,7 +119,7 @@
119
119
  "@ui5/builder": "^3.0.9",
120
120
  "@ui5/fs": "^3.0.4",
121
121
  "@ui5/logger": "^3.0.0",
122
- "@ui5/project": "^3.5.0",
122
+ "@ui5/project": "^3.5.1",
123
123
  "@ui5/server": "^3.1.3",
124
124
  "chalk": "^5.3.0",
125
125
  "data-with-position": "^0.5.0",
@@ -138,12 +138,12 @@
138
138
  "cross-env": "^7.0.3",
139
139
  "depcheck": "^1.4.3",
140
140
  "docdash": "^2.0.1",
141
- "eslint": "^8.46.0",
141
+ "eslint": "^8.47.0",
142
142
  "eslint-config-google": "^0.14.0",
143
143
  "eslint-plugin-ava": "^14.0.0",
144
144
  "eslint-plugin-jsdoc": "^46.4.6",
145
- "esmock": "^2.3.5",
146
- "execa": "^7.2.0",
145
+ "esmock": "^2.3.8",
146
+ "execa": "^8.0.1",
147
147
  "jsdoc": "^4.0.2",
148
148
  "nyc": "^15.1.0",
149
149
  "open-cli": "^7.2.0",