To check whether there are new versions available of the packages used in the project, run this command in the root folder:
npm outdated
If new versions are detected, a table is displayed:
The Wanted column is the version number compatible with the version range specified in the package.json file. To learn more about this, visit the npm documentation at http s://docs.npmjs.com/getting-started/semantic-versioning.
To update a package manually, open the package.json file and locate the corresponding line. Change the version range and save the file. Then, run this command to apply the changes:
npm install
Don't forget to read the change logs of the packages you update! There might be breaking changes or improvement you will be happy to know about.