Open EppO opened 5 months ago
What version of the CLI are you using on what OS/Version? I just installed the cli v.1.11.0 and ran bru run
in a collection with a couple requests, with scripts and tests and don't see the deprecation warning.
I'm seeing the error on macOS 14.4.1 with bru cli 1.11.0
That is my exact setup. How did you install bru CLI?
Update: I am now able to reproduce by using a node version of 21.
Besides adding the userland version of punycode and using it in bruno-js's own imports. The chain of dependencies that is going to still spit out that warning is: node-fetch@2.x -> whatwg-url@5.0.0 -> tr46@0.0.3 -> node:punycode.
But node v21 has the fetch api stable and built-in so hopefully the dependency on node-fetch can be ditched altogether there.
@jwetzell @DanaEpp any update on this? I'm still getting the punycode
warning on latest CLI and node v22.
@platform-kit my last comment still holds. The node-fetch dependency in @usebruno/js
needs to be removed to remove this deprecation warning when using node versions >= 21
Hi,
When running
bru
CLI, it displays the following warning message:I just started using Bruno and I love it! Thanks a lot for your work, really appreciated 🙏