![]() This means that only the latest patch version can be safely installed. Sometimes a version has a ~ in front of it (e.g. So in this example, ^16.12.1 can be safely installed if this was the newest version in 16.x. ![]() This means that the latest minor version can be safely installed. This is incremented when breaking changes are madeĪ version often has a ^ in front of it (e.g. This is incremented when features are added that won’t break consuming code ![]() This is incremented when a bug fix is made that won’t break consuming code Npm package versioning follows semantic versioning. How can we safely upgrade the npm dependencies in our project? What do the funny ^ and ~ characters mean in front of the dependency package versions? How can we do a major version upgrade on an npm dependency in our project? We’ll find out in this post.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |