NPM에서 packege version spec 관련 내용


- `~version` “Approximately equivalent to version”, will update you to all future patch versions, without incrementing the minor version. `~1.2.3` will use releases from `1.2.3 to <1.3.0`.

- `^version` “Compatible with version”, will update you to all future minor/patch versions, without incrementing the major version. `^2.3.4` will use releases from `2.3.4 to <3.0.0`.


[1] [What's the difference between tilde(~) and caret(^) in package.json?](
[https://stackoverflow.com/questions/22343224/whats-the-difference-between-tilde-and-caret-in-package-json])

댓글

이 블로그의 인기 게시물

엘릭서 Phoenix migration (1.5 -> 1.6 and scss for esbuild)

윈도우 디스크 관리세어 삭제 불가능 파티션 삭제 (필요해서 찾아봄)