Skip to content

Buffer() is deprecated due to security and usability issues (v2.0.0) #197

@marcofranssen

Description

@marcofranssen

In my workflows I'm using Node 16 (LTS)

When running this action it shows following logs.

(node:3250) [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)

Can this piece of code be updated to resolve this deprecation warning?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions