Skip to content

Can eslint-visitor-keys dep range include ^4.0.0? #259

@askoufis

Description

@askoufis

Including ^4.0.0 in the eslint-visitor-keys dependency range would deduplicate the eslint-visitor-keys dependency in eslint@9's dependency tree. The only change in 4.0.0 was requiring more modern versions of Node, so it's API compatible and would still satisfy this package's Node engines:

"node": "^12.22.0 || ^14.17.0 || >=16.0.0"

This does introduce the risk of breaking consumers if a v4-only API is accidentally used without a subsequent break in this package too.

I'd be happy to make a PR for this change.

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