browserify / randombytes

random bytes from browserify stand alone
MIT License
99 stars 47 forks source link

browser: force newer version of safe-buffer to fix bundling #10

Closed kjvalencik closed 7 years ago

kjvalencik commented 7 years ago

Fixes https://github.com/crypto-browserify/randombytes/issues/9

The issue is that if another dependency is requiring safe-buffer@5.0.1 (e.g., with ~5.0.1 instead of ^5.0.1) it may be deduped and use the older version. However, it's important to have the newer version for randombytes.