Skip to content

[BUG]: [DEP0040] DeprecationWarning: The punycode module is deprecated #2662

Closed
@baraknaveh

Description

@baraknaveh

When running quicktype with node v22, it produces the following warning:

(node:42238) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.

Issue Type

The issue doesn't affect correctness, just pollutes the logs.

Context (Environment, Version, Language)

Node version: v22
Input Format: --src-lang schema
Output Language: --lang typescript

Description

The issue doesn't affect correctness, just pollutes the logs.

Input Data

N/A

Expected Behaviour / Output

No warnings in log

Current Behaviour / Output

(node:42238) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.

Steps to Reproduce

Run with node v22

Possible Solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions