-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop old browsers and modernize code #45
Comments
The only IE8-specific workaround is https://github.com/bestiejs/punycode.js/blob/0fbadd6e81f3a0ce06c38998040d6db6bdfbc5c9/punycode.js#L106-L110 which doesn’t really increase code complexity or negatively impact maintainability IMHO. Do you see any other browser-specific code?
I’m open to a patch that increases
I’m okay with simplifying the module detection to just Node/CommonJS and browsers (i.e. drop Rhino, Ringo, Narwhal) for the next major release. |
Well, there are a lot of places that use
It's probably better to use a I think that since this library runs on millions of computers and is in the NodeJS core we should consider refactoring for better performance. I'm willing to undertake such changes if you're willing to review them - I totally understand if you don't have motivation or time.
Great. |
Did you mean “instead of”?
We’re in agreement! |
Hey, would it be possible to modernize this library a little?
map
to either for loops for performance orArray#map
.I can write PRs if those would be entertained.
Refs: nodejs/node#5868
The text was updated successfully, but these errors were encountered: