Giter Site home page Giter Site logo

node v22 has a punycode depre about pepr HOT 2 CLOSED

cmwylie19 avatar cmwylie19 commented on September 25, 2024
node v22 has a punycode depre

from pepr.

Comments (2)

schaeferka avatar schaeferka commented on September 25, 2024

It looks like there isn't much that we can do besides keeping our dependency versions up to date and wait for them to be updated to remove punycode.

There are a lot of issues on Github that have been raised around this deprecation warning, and it basically comes down to Node v22 deprecating punycode and module authors needing to update to a userland alternative.

We aren't using punycode directly, our dependencies are using it. So our options appear to be:

  • Stay with Node v20. The issue is not in v20.
  • Keep our dependencies up to date and when they are updated to remove punycode the warning will go away and we will be able to use v22 with no warnings.
  • Trace our dependency chain to find which modules are using punycode (or using dependencies that use punycode) and then change to alternative dependencies. It looks like the tr46 module is the main offender in our dependency chain.

The first two options appear to be the best way to go.

from pepr.

cmwylie19 avatar cmwylie19 commented on September 25, 2024

Thanks @schaeferka . Closing this for now

from pepr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.