spid-saml-check
spid-saml-check copied to clipboard
Node 20
⚠️ 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.txt
cd 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();