'Updating dependency chain in NPM / Yarn

I have a task where I need to update macaddress from 0.2.8 to 0.4.3, however this is child dependency and I am not exactly sure how to go about it.

Running "yarn why macaddress" returns:

=> Found "uniqid#[email protected]" info This module exists because "css-loader#cssnano#postcss-filter-plugins#uniqid" depends on it. info Disk size without dependencies: "48KB" info Disk size with unique dependencies: "48KB" info Disk size with transitive dependencies: "48KB" info Number of shared dependencies: 0 Done in 0.43s.

I've tried updating the chain one by one "css-loader" then "cssnano" but in the end the app is still using the 0.2.8 version.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source