Unverified70% confidenceFactExact time
In npm/pnpm, the ^ symbol allows automatic upgrades of minor and patch versions, while the ~ symbol only allows automatic upgrades of patch versions.
2
Sources
70%
Confidence
Long-term
Relevance
9/21/2026
First Seen
Sources
Related Entities
Related Claims
Verifiednpm's ^ prefix rule automatically includes patch version updates, requiring no manual intervention from users.80% similarUnverifiedIn npm's package.json, the tilde (~) automatically accepts patch updates, while the caret (^) accepts minor and patch updates.79% similarUnverifiedWhen a project uses ^ or ~ version ranges, running npm update or pnpm update will raise the version in the lockfile to the latest patch73% similarVerifiedIn the npm ecosystem, a range declaration such as ^3.0.25 automatically accepts patch and minor version upgrades, and running npm update will automatically fetch 3.0.2670% similarUnverifiedPackage managers (npm/pnpm/yarn) using ^1.0.x range constraints will automatically allow upgrades to 1.0.128 without crossing into the 2.x version that may contain breaking changes.68% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/939545API
curl https://kongchang.com/api/v1/knowledge/claims/939545MCP
get_claim(id=939545)