browserslist / update-db

CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
https://browsersl.ist/
MIT License
285 stars 56 forks source link

Follow the prompts to execute npxupdate-browserslist-db@latest Afterwards, all packages in the project package.json file were released with automatic upgrades. Why is this? #37

Open zzlw opened 1 month ago

zzlw commented 1 month ago

Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
postcss-px-media-pc: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
postcss-px-to-viewport: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration

pre-commit hook failed (add --no-verify to bypass)
➜  msfe-pangu git:(feature/fixed-quality-check-record) ✗ npx update-browserslist-db@latest
Latest version:     1.0.30001620
Updating caniuse-lite version
$ pnpm up caniuse-lite
caniuse-lite has been successfully updated

No target browser changes

Follow the prompts to execute npxupdate-browserslist-db@latest Afterwards, all packages in the project package.json file were released with automatic upgrades. Why is this?

image
ai commented 1 month ago

I don’t know. We are just calling pnpm up caniuse-lite, which should update only caniuse-lite. Maybe pnpm does something more?