3 ms·
Where is the hoisting information in the npm lock file? The examples for yarn and npm look The same to me. Copied below: has-flag@^1.0.0: version "1.0.0" r
by naiveattack 9y ago
Where is the hoisting information in the npm lock file? The examples for yarn and npm look The same to me. Copied below:
has-flag@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9...
supports-color@^3.2.3:
version "3.2.3"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" https://registry.yarnpkg.com/supports-color/-/supports-color...
dependencies:
has-flag "^1.0.0"
{
"name": "react-example",
"version": "1.0.0",
"lockfileVersion": 1,
"dependencies": {
"has-flag": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz" https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
"integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo="
},
"supports-color": {
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz" https://registry.npmjs.org/supports-color/-/supports-color-3...,
"integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY="
}
}
}
Yarn file seems to have more not less info.