Skip to content

DeprecationWarning: Buffer() (Use Buffer.from instead?)Β #17

@oakleaf

Description

@oakleaf

Hello and thank you for this minimal and smart repo!

Anyway, I am given warnings about using Buffer instead of Buffer.from with my Node 18 Lambda application.

Full error:
ERROR (node:8) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Im guessing it could have to do with busboy or something since your lib doesnt even include "Buffer" at all (from what I can see).

A fix to this would be appreciated πŸ‘

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions