-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
api: clouderrorreportingIssues related to the googleapis/nodejs-error-reporting API.Issues related to the googleapis/nodejs-error-reporting API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable 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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
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
bradley-yoo-anrok
Metadata
Metadata
Assignees
Labels
api: clouderrorreportingIssues related to the googleapis/nodejs-error-reporting API.Issues related to the googleapis/nodejs-error-reporting API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable 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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.