browserify / browserify/crypto-browserify
Usage without polyfills
Open
- Dominant language
- JavaScript
- Stars
- 681
- Forks
- 209
- PR merge metrics
- No merged PRs in 30d
Description
the library cipher-base from browserify-sign is using node js internal module 'stream'
which is not available in the browser.
I have come up with a fix for now which is to patch require('stream') to be require('readable-stream'), but it's not very elegant.
To reproduce:
- start a vite project with rollup bundler for react
- import crypto-browserify and try to sign using createSign
Expected:
- It should work
Actual:
- Cannot read property call of undefined at require('stream').Transform
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.