upgrading npm packages code example
Example 1: update all dependencies npm
npm update //update all local packages
Example 2: npm update syntax
npm update -g <package_name>
npm update //update all local packages
npm update -g <package_name>