Skip to content

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

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 👍

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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