⚠️ ATTENTION/DISCLAIMER: This PR has many possible breaking changes and i haven't tested that every feature is working 100% as before.
Tried to update to Node.js 20 LTS for server.
Managed to get docker build to work with node:20 base image.
Removed or found alternatives for dependencies that broke in node 20, also tried to remove dependencies that had security vulnerabilities for server.
There is still work to do though:
cd spid-validator/client && npm audit > client.audit.txtcd spid-validator/server && npm audit > server.audit.txt
removed unnecessary, broken or deprecated dependencies that could not run
in node 20;
modified spid-validator/server/api/metadata-sp.js:
removed deprecated 'unzip' dep -> replaced with yauzl
modified spid-validator/server/lib/utils.js:
removed deprecated 'uuidjs' dep -> replaced with standard crypto.randomUUID();
Also, i have the concern that this repository is no longer mantained as before.
If the focus of the communify has changed (as far as spid and node.js are concerned), let me know where i can be of more help :)
⚠️ ATTENTION/DISCLAIMER: This PR has many possible breaking changes and i haven't tested that every feature is working 100% as before.
Tried to update to Node.js 20 LTS for
server
. Managed to getdocker build
to work with node:20 base image.Removed or found alternatives for dependencies that broke in node 20, also tried to remove dependencies that had security vulnerabilities for
server
.There is still work to do though:
cd spid-validator/client && npm audit
> client.audit.txtcd spid-validator/server && npm audit
> server.audit.txtremoved unnecessary, broken or deprecated dependencies that could not run in node 20;
modified
spid-validator/server/api/metadata-sp.js
: removed deprecated 'unzip' dep -> replaced with yauzl modifiedspid-validator/server/lib/utils.js
: removed deprecated 'uuidjs' dep -> replaced with standard crypto.randomUUID();