Closed szaboge closed 3 years ago
This should be fixed now.
Thank you for your work on this high-quality project. I hate to be this person, but is there any chance this dependency could be removed from this package? Baking in a polyfill means that the script can't be adopted to import directly in the browser, which is shame because it is very high quality and relies on no node builtins. Polyfills can always be injected via a build script, which is required since project only publishes a commonjs module.
Yes we can remove IE11 support in the next major release. >95% of clients support the TextEncoder/Decoder API now. https://caniuse.com/textencoder
Hi!
Internet Explorer 11 don't support this lib, because it uses TextDecoder what not supported in IE11. That can be bridged, with using
text-encoding
library.TextDecoder support: https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder text-encoding lib: https://www.npmjs.com/package/text-encoding or https://www.npmjs.com/package/fast-text-encoding
Thanks. :)