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

[DEP0040] DeprecationWarning: The punycode module is deprecated - after migration to NodeJS 22.12.0 #1348

Closed
RobertDr opened this issue Jan 3, 2025 · 2 comments

Comments

@RobertDr
Copy link

RobertDr commented Jan 3, 2025

Currently, I'm using the cyclonedx/webpack-plugin in version 3.15.1 to create a bill of materials within my Angular 19 project build with NodeKS 22.12.0.

For some other reasons I had to migrate my build environment from NodeJS 20.14.0 to 22.12.0.

Since this migration the angular build emits thie deprecation warning:
[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 only usage of "punycode" is coming from the webpack-plugin:

@jkowalleck
Copy link
Member

thanks for letting us know, @RobertDr .

Unfortunately, this is nothing we have control of, or is it?
it appears to be caused by one of our 3rd party dependencies, and they are resolved at install-time.

@jkowalleck
Copy link
Member

Will close, as this is nothing we control.
In case there is anything we can do, let us know by opening a new issue with a concrete solution or request.

Thanks in advance.

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