Describe the bug
When building and running current main (DSpace 11.0-next) on Node.js v24 the following warning is thrown:
(node:46830) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
(Use `node --trace-deprecation ...` to show where the warning was created)
By enabling tracing, this stack is shown on the first page load to http://localhost:4000/home:
(node:48913) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
at Object.urlParse [as parse] (node:url:136:13)
at XMLHttpRequest3._parseUrl (/home/aorth/src/git/dspace-angular/dist/server/main.js:1:3270228)
at XMLHttpRequest3.open (/home/aorth/src/git/dspace-angular/dist/server/main.js:1:3263395)
at Observable2._subscribe (/home/aorth/src/git/dspace-angular/dist/server/main.js:1:3880057)
at Observable2._trySubscribe (/home/aorth/src/git/dspace-angular/dist/server/main.js:1:2991137)
at /home/aorth/src/git/dspace-angular/dist/server/main.js:1:2991029
at Object.errorContext (/home/aorth/src/git/dspace-angular/dist/server/main.js:1:3183455)
at Observable2.subscribe (/home/aorth/src/git/dspace-angular/dist/server/main.js:1:2990858)
at /home/aorth/src/git/dspace-angular/dist/server/main.js:1:3121340
at OperatorSubscriber2._this._next (/home/aorth/src/git/dspace-angular/dist/server/main.js:1:3048844
I guess there are a handful of places we are using this deprecated behavior.
To Reproduce
Steps to reproduce the behavior:
- Build dspace-angular with Node.js v24
Describe the bug
When building and running current
main(DSpace 11.0-next) on Node.js v24 the following warning is thrown:By enabling tracing, this stack is shown on the first page load to http://localhost:4000/home:
I guess there are a handful of places we are using this deprecated behavior.
To Reproduce
Steps to reproduce the behavior: