Skip to content

DeprecationWarning on node16 #407

Open
@ATQQ

Description

@ATQQ

在 Node v16.19.0 使用时终端有 API 弃用的警告信息

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAnything around developer experience or feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions