Skip to content

[DEP0005] DeprecationWarning: Buffer() is deprecated #42

@jpogran

Description

@jpogran

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.

(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:

Got there!

I wonder if there is an alternative to the proxy-agent package?

Originally posted by @magnetikonline in #11 (comment)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions