Skip to content

Do not use deprecated util.pump, it's going away. #87

@ChALkeR

Description

@ChALkeR

util.pump was deprecated since nodejs v0.10, and there is an ongoing discussion on removing that in the next major version: nodejs/node#2531.

The lines in question: /lib/monitor.js#L76-81:

util.pump(readStream, res, function (e) {
    if(e) {
        console.error(e.stack || e);
    }
    res.end();
});

I am not making a pull request because I am not a user of this package and have not tested it.

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