node update package code example
Example 1: update all dependencies npm
npm update //update all local packages
Example 2: npm update specific package
npm update browser-sync
-------
yarn upgrade browser-sync
npm update //update all local packages
npm update browser-sync
-------
yarn upgrade browser-sync