-
Notifications
You must be signed in to change notification settings - Fork 145
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
The punycode
module is deprecated
#626
Comments
I haven’t seen this. Where did you see this warning, and where is it generated? |
Looks like a yarn issue that surfaced with node 21. I don't think we need to do anything, but wait for yarn to get fixed. I saw it in the build logs of https://huggingface.co/spaces/observablehq/french-newspapers?logs=build
(not a huge issue) |
I investigated this a bit more today, since it seems that it is now fixed in yarn 1.22.22: yarnpkg/yarn#9013 I upgraded yarn, but still saw the warning; however running with fixing it then showed the same issue coming from a transitive dependency psl (jsdom#tough-cookie#psl): fixing that, and the warning was gone. To sum up, three of our dependencies will need an upgrade: yarn, markdown-it, and psl. The fix in both cases was to transform |
Just an FYI, I get the "punycode" warning when pulling the official node.js docker image (v21, Debian "bookworm"). I tried updating yarn before creating the observable project, but that didn't seem to help. |
The text was updated successfully, but these errors were encountered: