Skip to content

Replace deprecated punycode #565

@eeeggg

Description

@eeeggg

Hello @ksvirkou-hubspot

Using Node.js lts/jod:

(node:3690961) [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 punycode module was deprecated some time ago: https://nodejs.org/api/deprecations.html#DEP0040

Steps to Reproduce:
Install and use the HubSpot Node.js API Client in a project.
Run the project using Node.js 22.12.0 or newer.
Observe the deprecation warning in the console.

Suggested Resolution:
Identify the dependency in this package (or its sub-dependencies) that relies on punycode and replace it with a maintained alternative.

** Follow up: the root cause appears to be ESLint 6.8.0 (released 5 years ago).

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