I just upgraded the punycode package from 2.1.0 to 2.3.0. Since I could not find a changelog or even a Git tag here, I backuped the 2.1.0 version from my node_modules folder and compared it to the version after the upgrade. They matched (empty diff)!
Then I found #122 and switched my installation to punycode.js. Now I'm seeing a difference (attached below), and importing punycode.js is obviously better than importing punycode/. But: node -pe "require('punycode.js').version" still outputs 2.1.0, taken from the source code:
I just upgraded the
punycode
package from 2.1.0 to 2.3.0. Since I could not find a changelog or even a Git tag here, I backuped the 2.1.0 version from mynode_modules
folder and compared it to the version after the upgrade. They matched (empty diff)!Then I found #122 and switched my installation to
punycode.js
. Now I'm seeing a difference (attached below), and importingpunycode.js
is obviously better than importingpunycode/
. But:node -pe "require('punycode.js').version"
still outputs2.1.0
, taken from the source code:https://github.com/mathiasbynens/punycode.js/blob/36db01b15285f364fd5a40df56fdb62241e46bd1/punycode.js#L418-L425