Updating packages with npm in JavaScript
To update packages use the following command:
terminalnpm update
Given this command, npm will check all
packages for their newer versions, and
if it finds newer versions that match
the package version limits set in
package.json, it will install them.
You can also update one package:
terminalnpm update lodash
Задание 1
Try to update all packages you have installed.
Задание 2
Try to update one of the packages you have installed.