browserify / crypto-browserify

partial implementation of node's `crypto` for the browser
MIT License
653 stars 199 forks source link

bump browserify-sign to 4.2.1 #217

Closed eggplantzzz closed 2 years ago

eggplantzzz commented 2 years ago

While using crypto-browserify, I receive the following message:

> (node:22630) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

On using the --trace-deprecation flag with Node it seems to be coming from its dependency browserify-sign. The newest version of that package does not use the Buffer constructor. This PR bumps browserify-sign to the most up-to-date version (4.2.1).