You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(node:1617) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
This is actually seen in the opening screenshot 😄.
Tracking this back, it's been this change that's cause the message:
Hey @jpogran - was able to deliver a fix here: #43
Basically swapping out the proxy-agent package with the child https-proxy-agent package. Achieves the same result, but removes much of the package chain - including the offending ftp package.
Hey @BlackDark / @jpogran - I've been tracking an annoying deprecation warning I've been seeing in the https://github.com/hashicorp/setup-terraform GitHub Action recently.
This is actually seen in the opening screenshot 😄.
Tracking this back, it's been this change that's cause the message:
proxy-agent
package.pac-proxy-agent
get-uri
.ftp
(phew!)ftp
package makes use ofnew Buffer()
: FIXED: use Buffer.from(string) instead of Buffer(string) mscdex/node-ftp#230Got there!
I wonder if there is an alternative to the
proxy-agent
package?Originally posted by @magnetikonline in #11 (comment)
The text was updated successfully, but these errors were encountered: