Skip to content

Deprecated Buffer usage in dependency #136

@oliversalzburg

Description

@oliversalzburg
  • Version: 5.0.2
  • Platform: Windows

Every time I start c8, I get the following warning:
(node:12776) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

This is because foreground-child uses cross-spawn, which uses new Buffer().

cross-spawn has recently finally resolved this issue, but it'll probably take quite some time until the change trickles downstream.

Maybe an alternative module without deprecate feature usage can be used instead?

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