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

DeprecationWarning: The punycode module is deprecated #311

Closed
6 tasks done
harusakura924 opened this issue Jan 13, 2025 · 2 comments
Closed
6 tasks done

DeprecationWarning: The punycode module is deprecated #311

harusakura924 opened this issue Jan 13, 2025 · 2 comments

Comments

@harusakura924
Copy link

harusakura924 commented Jan 13, 2025

Check List

  • I have already read README.
  • I have already searched existing issues and they are not help to me.
  • I examined error or warning messages and it's difficult to solve.
  • I am using the latest version of this repository.
  • I am using the latest version of Hexo.
  • My Node.js is matched the required version.

Describe the bug

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

Expected behavior

No errors or warnings

How to reproduce

$ hexo generate --trace-deprecation

INFO Validating config
(node:17112) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
INFO Start processing
INFO Files loaded in 108 ms
INFO 0 files generated in 247 ms

$ npm ls punycode

[email protected] D:\hexo\comver
[email protected]
++ [email protected]
[email protected]
[email protected]
[email protected]

Screenshots

No response

Environment information

No response

Additional context

ref: mathiasbynens/punycode.js#141

@uiolee
Copy link
Member

uiolee commented Jan 13, 2025

image

could not reproduce. provide more information please

@uiolee
Copy link
Member

uiolee commented Jan 13, 2025

image

This shows that punycode is introduced by jsdom. hexo cannot fix it

@uiolee uiolee closed this as not planned Won't fix, can't repro, duplicate, stale Jan 13, 2025
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

2 participants