Skip to content

test: use modern supported punycode#49

Open
msimerson wants to merge 2 commits into
hapijs:masterfrom
msimerson:punycode
Open

test: use modern supported punycode#49
msimerson wants to merge 2 commits into
hapijs:masterfrom
msimerson:punycode

Conversation

@msimerson
Copy link
Copy Markdown

@msimerson msimerson commented Mar 15, 2026

Perhaps you've noticed the error messages in the test output?

(node:76084) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

The 'included' punycode in node stopped getting updated in node 7, so it's better to use the punycode NPM module. This adds it as a devDep and updates the import syntax as described in the README.

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

Successfully merging this pull request may close these issues.

1 participant