stream-browserify
stream-browserify copied to clipboard
the stream module from node core for browsers
Bumps dependency versions to fix a number of security vulnerabilities. Tested in Firefox only.
Some variables are missing on outdated version of `readable-stream` like `Readable.from` and `Readable.fromWeb`. This PR bumps its version to latest.
ERROR TypeError: window.addEventListener is not a function. (In 'window.addEventListener("message", this._listener)', 'window.addEventListener' is undefined) ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of...
force `readable-stream` inheritance to `stream-browserify`
``` const sb = require('stream-browserify') const rb = new sb.Readable() console.log(rb instanceof sb.Stream) // false const s = require('stream') const r = new s.Readable() console.log(r instanceof s.Stream) // true ```...
MIT license needs both of year and copyright holder. Please complete MIT license. We want to use this without legal risk.