Skip to content

punycode deprecation warning #68

@tyge68

Description

@tyge68

When using this library on our AWS Lambda, and deployed using Helix Deploy tooling.
It generate some deprecation warning.

{"timestamp":"2025-06-17T08:25:43.740Z","level":"ERROR","requestId":"0e699251-9fd7-4db1-bb9c-261c4a8b2379","message":"(node:8) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)"}
--

It seems that the issue is in tr46 dependency loaded by this module.
npm ls tr46
project
└─┬ @adobe/jwt-auth@2.0.0
└─┬ node-fetch@2.7.0
└─┬ whatwg-url@5.0.0
└── tr46@0.0.3

Are there any plans to update to a more recent version maybe of node-fetch ? which would use maybe a fix ?

example: jsdom/tr46#63

I suppose this module should be updated as a lot of dependencies are outdated. Renovate integration would also help to keep up to date more easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions