documentation
documentation copied to clipboard
[FEATURE] Top-level `requires` property in package-lock.json not describe on website
What / Why
The package-lock.json file contains a property called requires:
{
"name": "foo",
"version": "0.0.0",
"lockfileVersion": 3,
"requires": true, // <--- this one
"packages": {
It existed in all versions of lockfileVersion (1, 2 and 3). Notice that I am now using version 3.
I do not know what its purpose is. Nor if it is a bug or not to exist in lockfileVersion: 3. But even so, it is not documented at https://docs.npmjs.com/cli/v8/configuring-npm/package-lock-json.
As a top-level property, it would be nice to describe it at https://docs.npmjs.com/cli/v8/configuring-npm/package-lock-json (for all versions that you can select in the dropdown).