-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ERROR (node:8) [DEP0040] DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead.
#16023
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
Comments
Hello, can you run Cross-Linking this as the issue has been already posted in |
@s1gr1d it shows in eslint, but the final bundle I am using esbuild and eslint is not included in the final bundle. The final bundle if I run
|
I would assume that require-in-the-middle is not actually the culprit here, but showing up because it is wrapping modules under the hood, maybe 🤔 Your logs also show that punycode actually comes from eslint, so I'd look into updating this to get rid of this! It does not appear as if this is related to us, we do not ship any code that depends on punycode as far as I can tell. |
From what I see after a quick search in the eslint repository, it's an issue that's already opened multiple times there (https://github.com/eslint/eslint/issues?q=is%3Aissue%20deprecation%20punycode%20). Apparently Node 22.14.0 stopped emitting this warning: eslint/eslint#19375 (comment) |
Closing this as it does not seem to be originating from our code. |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/aws-serverless
SDK Version
9.12.0
Framework Version
Node 22
Link to Sentry event
No response
Reproduction Example/SDK Setup
Error log:
Steps to Reproduce
Package that @sentry/aws-serverless used
Expected Result
Fix the package issue for
@opentelemetry/instrumentation
Actual Result
Using deprecated function and show warnings in AWS Lambda
The text was updated successfully, but these errors were encountered: