walling / unorm

JavaScript Unicode 8.0 Normalization - NFC, NFD, NFKC, NFKD.
http://git.io/unorm
Other
379 stars 45 forks source link

Do not apply polyfill by default #47

Open aduponchel opened 4 years ago

aduponchel commented 4 years ago

Hi,

In some applications String.prototype is sealed for security reason. In that context, define a new property on String.prototype will throw. It could be great if polyfill could be applied only when using an explicit argument or if you could provide a way to use unorm with a sealed String.prototype

Thanks Regards

walling commented 4 years ago

Hi, thanks for your request. I gladly accept PRs for this addition. Best regards