npm update package inside another package code example
Example 1: npm get latest version of package
npm show {pkg} version
Example 2: npm update syntax
npm outdated -g --depth=0
npm show {pkg} version
npm outdated -g --depth=0