Skip to content

[api-extractor] Semver package needs to be updated to address vulnerability #4216

@christiango

Description

@christiango

We are using API extractor, which has a dependency on the semver package: "semver": "~7.3.0". Recently there was a vulnerability reported for older versions of the semver package https://nvd.nist.gov/vuln/detail/CVE-2022-25883.

Can the semver package dependencies be updated in API extractor and better yet can we start leveraging ^ semver ranges for this dependency going forward to remove the friction on downstream repos for addressing these vulnerabilities

Summary

Repro steps

Expected result:

Actual result:

Details

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/api-extractor version?
Operating system?
API Extractor scenario?
Would you consider contributing a PR?
TypeScript compiler version?
Node.js version (node -v)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions