punycode deprecation warning. #1568
Labels
api: pubsub
Issues related to the Pub/Sub API.
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.
Hello, I'm getting a deprecation warning when I use the @google-cloud/pubsub library.
Here is the warning:
I checked where it's comming from, and I can see that in
node_modules/whatwg-url/lib/url-state-machine.js
there's arequire("punycode")
, which I assume causes the warning. Checking why my app imports that version of thewhatwg-url
pacakge I get the following:Is there a newer version of something I'm supposed to be using so I don't get the warning?
Environment details
@google-cloud/pubsub
version: 4.3.3Steps to reproduce
The text was updated successfully, but these errors were encountered: