Skip to content

package-lock.json version is outdated #147

Open
@IlyaSemenov

Description

@IlyaSemenov

package-lock.json is version 1:

"lockfileVersion": 1,

It's been 5+ years since npm v7 (introducing the new lockfile format) has been released. It's npm v11 now. Installing the project in modern environment leads to this:

% npm i
npm warn old lockfile
npm warn old lockfile The package-lock.json file was created with an old version of npm,
npm warn old lockfile so supplemental metadata must be fetched from the registry.
npm warn old lockfile
npm warn old lockfile This is a one-time fix-up, please be patient...
npm warn old lockfile

Can we update this in the repo?

Also (and/or alternatively), the tooling, especially outdated tooling, should be specified in package.json under devEngines, and preferably under packageManager for corepack.

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