Skip to content

Upgrade to semver v7 #2808

@beanow-at-crabnebula

Description

@beanow-at-crabnebula

Semver disclosed this vulnerability: GHSA-c2qf-rxjj-qqgw

And there are no plans to backport the fix to v5/v6. npm/node-semver#576
This plugin is one of my transient dependencies depending on v6.

$ pnpm why semver@^6

devDependencies:
eslint-config-standard-with-typescript 34.0.1
├─┬ eslint-config-standard 17.0.0
│ └─┬ eslint-plugin-import 2.27.5 peer
│   └── semver 6.3.0
└─┬ eslint-plugin-import 2.27.5 peer
  └── semver 6.3.0

While it seems some community members offer to backport the fix, evidently the maintainers are reluctant to support older versions, given v7 was released in 2019. For future sanity of this plugin I'd encourage using the latest major version 😆

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