Replaces the current auto-mocking of 'punycode' to support destructured ESM imports and allow for functional polyfill coverage in the future.
๐ Linked issue
โ Type of change
[ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] ๐ Bug fix (a non-breaking change that fixes an issue)
[ ] ๐ Enhancement (improving an existing functionality like performance)
[x] โจ New feature (a non-breaking change that adds functionality)
[ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
Note that the node punycode module is deprecated. This change introduces the suggested punycode.jslibrary as a drop-in replacement similar to how we use pathe.
Replaces the current auto-mocking of 'punycode' to support destructured ESM imports and allow for functional polyfill coverage in the future.
๐ Linked issue
โ Type of change
๐ Description
Note that the node
punycode
module is deprecated. This change introduces the suggestedpunycode.js
library as a drop-in replacement similar to how we usepathe
.๐ Checklist