Skip to content

DeprecationWarning: Buffer() #50

@peacheym

Description

@peacheym

When running the API example linked in the docs, there is a deprecation warning being logged.

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

Just thought I would point this out, perhaps the API auth example should be updated!

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions