"Buffer() is deprecated due to security and usability issues" in macchiato.middleware.session.cookie
theasp opened this issue · comments
Andrew Phillips commented
(node:12627) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
See: https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/
Dmitri Sotnikov commented
Thanks for the heads up, any chance you could do a PR for this? :)
Josh Horwitz commented
I will take a look at this one as well. Thanks @theasp .
Josh Horwitz commented
Dmitri Sotnikov commented
Yup, that does look like it's been fixed.