package-lock.json

MD
S
Markdown

Dead simple explanation of what the package-lock.json is doing.

Trivia: 100% reproducible blueprint of the NPM modules (even if updated by their maintainers).

Semver notation:

  • ~0.13.0, only PATCH releases: 0.13.1, 0.13.2, 0.13.4
  • ^0.13.0, both PATCH && MINOR releases: 0.13.1, 0.14.0, 0.15.2
  • 0.13.0, EXACT version

Note: package-lock.json will only solve problems with packages using ~ or ^ (exact versions are not affected) Note: The dependencies versions will be updated in the package-lock.json file when you run npm update. Similar: Composer in PHP uses a map lock

Created on 12/15/2019