Skip to content

transitive dependency on deprecated punycode node module  #741

@leoschweizer

Description

@leoschweizer

This library transitively depends on ent, which uses the now deprecated node module punycode.

npm ls ent
...
└─┬ ...
  └─┬ @google-cloud/error-reporting@3.0.5
    └─┬ @google-cloud/common@4.0.3
      └── ent@2.2.0

This results in a deprecation warning when running on node >= 21:

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

This has been adressed in @google-cloud/common, see: googleapis/nodejs-common#812 - however @google-cloud/error-reporting does not depend on an up to date version of this library.

So @google-cloud/common must be updated to maintain compatibility with upcoming node releases. Edit: more precisely, @google-cloud/common has been updated on the main branch already here https://github.com/googleapis/nodejs-error-reporting/pull/715/files - but this is still unreleased!

Environment details

  • OS: macos
  • Node.js version: 22.0.0
  • npm version: 10.5.1
  • @google-cloud/error-reporting version: 3.0.5

Metadata

Metadata

Assignees

Labels

api: clouderrorreportingIssues related to the googleapis/nodejs-error-reporting API.priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions