Skip to content

v7.17.1 - stream issue in Node.js < v8 #2068

Closed
@vitaly-t

Description

@vitaly-t

In v7.17.1, with pg-query-stream 3.0.0, I am getting error under Node.js < v8

TypeError: stream.destroy is not a function

For example, I am testing it under Node.js v7.10.1

@brianc It seems that after changing from method close to method destroy on the stream, we lost compatibility with Node.js v7 and earlier.

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