brianloveswords / base64url

For encoding and decoding base64url!
MIT License
224 stars 44 forks source link

ES6 target should be replaced by ES5 #37

Closed ghost closed 5 years ago

ghost commented 5 years ago

ES5 compatible modules, such as 'node-jose', use this module as one of their dependencies. Because the module has been compiled to ES6 it causes problems in browsers that are not ES6 compatible. In our use case the iOS 9 browser.

Can you change 'es6' to 'es5' in the 'tsconfig.json' in order to resolve these type of issues?

MylesBorins commented 5 years ago

Fixed by https://github.com/brianloveswords/base64url/pull/40