expressjs / express

Fast, unopinionated, minimalist web framework for node.
https://expressjs.com
MIT License
65.73k stars 16.35k forks source link

refactor(cookie): remove `cookie-signature` dependency and use the native crypto module to sign cookie #6175

Open bhavya3024 opened 1 week ago

bhavya3024 commented 1 week ago

cookie-signature dependency is not required since it itself uses the crypto module to sign cookies itself. You can check here: https://github.com/tj/node-cookie-signature/blob/master/index.js