brianloveswords / base64url

For encoding and decoding base64url!
MIT License
225 stars 44 forks source link

meta: use buffer.from or buffer.alloc #26

Closed MylesBorins closed 6 years ago

MylesBorins commented 6 years ago

refs: https://hackerone.com/reports/321687 refs: https://snyk.io/vuln/npm:base64url:20180511

remove all instances of the buffer constructor and use Buffer.from or Buffer.alloc as neccessary

Much secure

MylesBorins commented 6 years ago

Closing as dupe of #25