You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
whoiser 2 beta version is loading the deprecated Node.JS module punycode instead of the one in node_modules
How to reproduce
This breaks things in non-node.js environments, such as Cloudflare's vitest pool workers.
Possible Solution
Follow the instruction in punycode.js to properly load the userland module
import punycode from 'punycode/';
After adding the trailing /, it's correctly pointing to the punycode in node_modules.
Additional context
whoiser v1 does the import correctly. However I cannot use whoiser v1 because it depends on NodeJS https module, which Cloudflare worker environment does not support at all.
The text was updated successfully, but these errors were encountered:
Version(s) affected: 2.0.0-beta.5
Description
whoiser 2 beta version is loading the deprecated Node.JS module
punycode
instead of the one innode_modules
How to reproduce
This breaks things in non-node.js environments, such as Cloudflare's vitest pool workers.
Possible Solution
Follow the instruction in punycode.js to properly load the userland module
After adding the trailing

/
, it's correctly pointing to the punycode in node_modules.Additional context
https
module, which Cloudflare worker environment does not support at all.The text was updated successfully, but these errors were encountered: