greenkeeperio / greenkeeper-lockfile

:lock: Your lockfile, up to date, all the time
https://greenkeeper.io
183 stars 73 forks source link

GreenKeeper downgrading package lock on its first pull request #175

Closed SudharakaP closed 6 years ago

SudharakaP commented 6 years ago

Hi everyone,

I integrated greenkeeper-lockfile to my project; https://github.com/Service-Link/Service-Link-Angular/pull/2 and during it's first pull request updating the package-lock file; it seemed to have downgraded the packages. Could anyone explain this behavior. Is this normal behaviour with the first pull request or have I done something wrong here?

Thank you for your time.

SudharakaP commented 6 years ago

This is due to the initial package-lock.json being generated with npm5 whereas the latter builds were done using npm6; as explained clearly on this thread; https://github.com/npm/npm/issues/20434