italia / spid-saml-check

Tool di verifica implementazione SPID SAML
European Union Public License 1.2
72 stars 60 forks source link

Node 20 #279

Open fautore opened 5 months ago

fautore commented 5 months ago

⚠️ 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();

fautore commented 5 months ago

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 :)