Chia-Network / chia-blockchain-gui

Chia blockchain GUI in electron/react
https://chia.net
Apache License 2.0
332 stars 246 forks source link

Updated `inline-style-prefixer` to remove `fast-loops` #2423

Closed ChiaMineJP closed 2 months ago

ChiaMineJP commented 2 months ago

This PR replaces https://github.com/Chia-Network/chia-blockchain-gui/pull/2421

fast-loops@1.1.3 has vulnerability and needs to be updated to 1.1.4. But I found that by updating inline-style-prefixer to 7.0.1, fast-loops is no longer a dependency and will be removed from package-lock.json

Steps to reproduce the new package-lock.json

Updating indirect npm dependencies requires a bit tricky procedure. I'll show you the way here.

npm i inline-style-prefixer # Install the latest inline-style-prefixer. This also removed fast-loops from lock file
npm un inline-style-prefixer # Removes the npm from direct dependency in lock file