Skip to content
Discussion options

You must be logged in to vote

The carets in package.json will update you to all future minor/patch versions (this Stack Overflow question answers it actually). So if you had "next": "^9.4.0" in a new project, ran npm install and the latest version of Next available was 9.4.1, then it would install that 9.4.1 version for you.

After the initial installation, package-lock.json files will lock to whatever version you installed originally when the dependency was first installed (unless you manually increment the version yourself).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tr1s
Comment options

Answer selected by tr1s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants