vicary
vicary2d ago

How to locate a deep dependency?

I have a Fresh project with some NPM dependencies. One day the following warning pops up every time the server starts:
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
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
The following command doesn't work because update-browserslist-db assumes a package.json.
$ deno run npm:update-browserslist-db@latest

update-browserslist-db: Cannot find package.json. Is this the right directory to run `npx update-browserslist-db` in?
$ deno run npm:update-browserslist-db@latest

update-browserslist-db: Cannot find package.json. Is this the right directory to run `npx update-browserslist-db` in?
Next thing I could try is upgrading the relevant module in my deno.json, how to I find the module depending on browserslist down their dependency tree?
0 Replies
No replies yetBe the first to reply to this messageJoin