DEV Community

Discussion on: Why Running `yarn upgrade` Does Not Update My `package.json`

Collapse
 
muhammadmuzammilqadri profile image
Muhammad Muzammil

Nice article, but there is one little mistake that I found, which is:

yarn upgrade --latest on dependency "react": "^16.5.1": installs the latest version 16.8.6 as of today, and DOES NOT update package.json to "react": ^16.8.6". AS THE VERSION 16.8.6 IS ALREADY IN THE SPECIFIED RANGE ^16.5.1