Skip to content

Deprecated Buffer usage in dependency #136

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?

Activity

  1. bcoe commented on Sep 6, 2019

    @bcoe
    Owner

    @oliversalzburg this should be addressed in 5.0.3.

  2. oliversalzburg commented on Sep 9, 2019

    @oliversalzburg
    Author

    Awesome. Confirmed working as expected 👍 Thanks

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