Junior
From PDF
Node.js
Node.js
What is semantic versioning?
Semantic Versioning (semver) is a versioning system that uses the format:
MAJOR.MINOR.PATCH
Example: 2.5.3
- MAJOR: Breaking changes
- MINOR: New features, no breaking changes
- PATCH: Bug fixes, backwards-compatible
📌 Example:
If a package moves from 1.2.0 to 2.0.0, it likely has breaking changes.
In package.json, you might see:
"express": "^4.17.1"
- ^ means it can auto-update minor and patch versions, but not major ones.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png