Skip to content

8.11.0 - Return outside of function #2980

Closed
@bryantqo

Description

@bryantqo

Starting in version 8 a line was added to which a return happens outside of a function. I think this was added in 5532ca5 located in packages/pg/lib/crypto/utils.js. This recently popped up in our jest tests with an error of

SyntaxError: /node_modules/pg/lib/crypto/utils.js: 'return' outside of function. (7:2)

Reverting to 8.10.0 solves the problem for now

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