Skip to content

SyntaxError: Invalid regular expression: /^.*?\((?<label>.*?)[,)]/: Invalid group #73

@fsultani

Description

@fsultani

When deploying an app via Heroku, there's an error: SyntaxError: Invalid regular expression: /^.*?\((?<label>.*?)[,)]/: Invalid group. The stack trace seems to point back to imagemin-pngquant, which uses ow, which is where this regex is being used.

ow is currently on v.0.19.0, whereas imagemin-pngquant is still using v.0.17.0 (https://github.com/imagemin/imagemin-pngquant/blob/master/package.json#L30). Can it be upgraded to v.0.19.0 to see if it fixes the error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions