News for hackers. Stuff that matters.
Re:Yarn vs. npm5 determinism by naiveattack on Sunday June 04, 2017 @02:17AM (#14480125)
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#9...

supports-color@^3.2.3: version "3.2.3" resolved "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", "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" }, "supports-color": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3..., "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=" } } }

Yarn file seems to have more not less info.

There are no comments on this comment yet.