auth0 / node-jws

JSON Web Signatures
http://self-issued.info/docs/draft-ietf-jose-json-web-signature.html
MIT License
709 stars 108 forks source link

Use readable-stream instead of stream #94

Open taymoork2 opened 4 years ago

taymoork2 commented 4 years ago

Going through a webpack v5 upgrade on a repo. With the removal of Automatic nodejs polyfills, i've been seeing stream come up as a issue. readable-stream is a mirror of node's stream lib from the nodejs team

TrySound commented 3 years ago

You can add polyfill manually with webpack. There is no need to change all node packages.

jimmywarting commented 2 years ago

👎 will only increase the dependency tree and ppl will get stuck with a rather old implementation that will never be updated with newer features once a package is no longer maintained.

should rather opt to use async iterable instead or something web-ish such as web streams that exist globally