Package ent
isn't maintained anymore, and using deprecated punycode
#812
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The
ent
package is still using the nativepunycode
module which used to be bundled in Node.js < 21.Starting in Node.js 21, this native module was deprecated (see official Node.js docs), and we now have to use the userland
punycode
.And the following warning shows:
Since the latest version of
ent
is 9-years-old and the repository was removed from GitHub, I think we could replaceent
with another heavily-used package, e.g.html-entities
.Environment details
macOS
v21.7.3
10.5.0
@google-cloud/common
version:5.0.1
Steps to reproduce
npm install @google-cloud/common
node --trace-deprecation -e "require('@google-cloud/common')"
(on Node.js 21)I'll make a PR.
The text was updated successfully, but these errors were encountered: