Closed swaldmann closed 3 weeks ago
Thanks for reporting. We are aware of this and already upgraded the respective dependencies on our development branches.
Most of them can't be upgraded in UI5 Tooling v3 without breaking compatibility, since they required Node.js versions above v16 (which is the lowest supported version for UI5 Tooling v3).
UI5 Tooling v4 with updated dependencies will be released soon. We will update this issue once it is available and check whether the warnings are resolved.
Apologies. I just checked our current main branches and the warnings still appear. Looks like https://github.com/guybedford/devcert is quite outdated. We'll look into it. Thanks again for reporting! š
BTW, if there are older dependencies that don't have a good replacement but just very few users are interested in the feature they enable I'd just consider turning it into an optional peer dependency.
We do this in @cap-js/hana
for example, where we ship hdb
by default but @sap/hana-client
has to be manually added if required:
https://github.com/cap-js/cds-dbs/blob/main/hana/package.json#L29-L36
Affected dependencies have been updated in https://github.com/guybedford/devcert/pull/7
The deprecation warnings should be resolved with the latest UI5 CLI. Thanks again for reporting.
Is your feature request related to a problem? Please describe.
Currently installing
@ui5/cli
complains about outdated dependencies, for a rather minimal UI5 app with thispackage.json
:These come from (transitive) dependencies of
@ui5/cli
:Some warnings might just be due to an outdated shrinkwrap, but imo the dependencies could be thinned nowadays with Node.js 18+ (now LTS) APIs. For example, there's no reason to use the
rimraf
orgraceful-fs
package withfs.rm()
and other modern file system APIs now being stable.Describe the solution you'd like
rimraf
,graceful-fs
etag
,fresh
,yesno
,escape-html
ā¦Describe alternatives you've considered
ā
Additional context
ā