Skip to content

Support for Node.js v11 #196

@fstoerkle

Description

@fstoerkle

In Node.js v11, the callback parameter to pipeline was made obligatory: nodejs/node#21054

Subsequently, running file-type with Node.js v11 fails with this error:

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function

I ran the test suite on Travis CI, which confirms this: https://travis-ci.com/fstoerkle/file-type/jobs/190598883

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