The only change is that this version supports orphaned surrogates in ucs2encode and ucs2decode. For example, require('punycode').ucs2.encode([0xD800]) now returns '\uD800' rather than throwing an error.
punycode: Update to v1.1.1
Mathias, can you add a regression test for that? Otherwise LGTM.
Sure, but where/how? Any pointers? (There are tests for this in punycode.js repo, FWIW.)
There are tests in test/simple/test-punycode.js. One or two new asserts should be sufficient.
tests: Add regression tests for punycode
Thanks Mathias, landed in 2ba9645.
By the way, if you're ever in Amsterdam, come by the office and you can buy me a beer.
(Okay, okay - I'll buy the first round.)
I’ll hold you to that promise :)