Skip to content
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

helpers/mailauth/tools: punycode is deprecated in Node 21+ #205

Open
nykma opened this issue Jul 17, 2024 · 0 comments
Open

helpers/mailauth/tools: punycode is deprecated in Node 21+ #205

nykma opened this issue Jul 17, 2024 · 0 comments

Comments

@nykma
Copy link

nykma commented Jul 17, 2024

// helpers/src/lib/mailauth/tools.ts:7
import punycode from "punycode";

Code above will throw an exception on (at least) Node21 env.

BTW, the dependency psl 1.9.0 meets the same issue: lupomontero/psl#315

Please consider use the alternative punycode npm package instead of the built-in one, and find an alternative of psl (or fork that, since it seems not maintained for a long time).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant