Unverified50% confidenceFactExact time
In npm's package.json, the tilde (~) automatically accepts patch updates, while the caret (^) accepts minor and patch updates.
1
Sources
50%
Confidence
Long-term
Relevance
9/27/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedIn npm/pnpm, the ^ symbol allows automatic upgrades of minor and patch versions, while the ~ symbol only allows automatic upgrades of patch versions.79% similarUnverifiednpm's ^ prefix rule automatically includes patch version updates, requiring no manual intervention from users.70% similarUnverifiedIn package.json, the ^ symbol indicates compatibility with the latest minor version, while the ~ symbol indicates compatibility with the latest patch version.69% similarUnverifiedUsing the range specifier ^1.0.0 in package.json will automatically accept all MINOR and PATCH updates under the same MAJOR version66% similarUnverifiedIt is recommended to use the ^5.0.x format in package.json to lock the major version while tracking patch updates.64% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/953424API
curl https://kongchang.com/api/v1/knowledge/claims/953424MCP
get_claim(id=953424)