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

Stop using the internal NodeJS punycode module #238

Merged

Conversation

gboer
Copy link
Contributor

@gboer gboer commented May 3, 2022

The way the code is right now, it doesn't use the Punycode package, but the internal NodeJS punycode module. That is deprecated now, which is why I saw the warning popping up (for the ones googling this, the warning is [DEP0040] DeprecationWarning: The 'punycode' module is deprecated. Please use a userland alternative instead). According to the docs of the Punycode package, you need to use require('punycode/'), to use the Punycode package rather than the internal NodeJS module, see https://github.com/mathiasbynens/punycode.js#installation.

…unycode package (also because the internal punycode NodeJS module is deprecated)
Copy link
Contributor

@wjhsf wjhsf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this, @gboer!

@colincasey colincasey added this to To do in 4.01/4.1 Release Plan via automation May 23, 2022
4.01/4.1 Release Plan automation moved this from To do to Reviewer approved May 23, 2022
@colincasey colincasey merged commit 8088047 into salesforce:master May 23, 2022
4.01/4.1 Release Plan automation moved this from Reviewer approved to Done May 23, 2022
@gboer gboer deleted the fix/actually-use-punycode-package branch May 23, 2022 17:50
@gboer
Copy link
Contributor Author

gboer commented Jun 28, 2022

@colincasey any way we can get a new release out? I see there's actually quite a number of things fixed that aren't released yet. If there's something I can do, let me know!

@colincasey
Copy link
Contributor

colincasey commented Jun 28, 2022

@gboer sorry for the delay. we're planning to release those changes next week (cc: @awaterma)

@gboer
Copy link
Contributor Author

gboer commented Jun 29, 2022

Great! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants