npm update package react specific version code example
Example 1: npm update
npm install -g npm@latest
Example 2: npm update specific package
npm update browser-sync
-------
yarn upgrade browser-sync
npm install -g npm@latest
npm update browser-sync
-------
yarn upgrade browser-sync