Skip to content

DeprecationWarnings are written out on the console #35

@mikaelkaron

Description

@mikaelkaron

When running a hook with deprecated api usage you can see:

(node:13604) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`,
 `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.

if you try to use a package like trumpet things get even weirder.

Possible solutions would be to somehow set the process the same way as passing --no-deprecation in the cli, perhaps nodejs/node@c6656db can shed some light on that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions