Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: properly update lockfile v2 #3091

Merged
merged 1 commit into from Jun 14, 2022
Merged

fix: properly update lockfile v2 #3091

merged 1 commit into from Jun 14, 2022

Commits on Jun 14, 2022

  1. fix: properly update lockfile v2

    npm's lockfile v2 adds a new top-level key: packages. This is not really
    noteworthy except for the fact that the first entry in there is a copy
    of the package this lockfile is for, stored in the key `""`, and this
    copy _also_ has a version key. This commit checks for and updates that
    key (`packages."".version`) if it exists.
    
    Fixes #2832.
    simon-abbott authored and JamesHenry committed Jun 14, 2022
    Copy the full SHA
    6f7ba96 View commit details
    Browse the repository at this point in the history