-
-
Notifications
You must be signed in to change notification settings - Fork 204
Closed
Description
update-db doesn't support Bun. The function getLatestInfo fallbacks on trying to use npm with Bun because Bun didn't had support for the info command:
if (lock.mode === 'bun') {
// TO-DO: No 'bun info' yet. Created issue: https://github.com/oven-sh/bun/issues/12280
return JSON.parse(execSync(' npm info caniuse-lite --json').toString())
}https://github.com/browserslist/update-db/blob/main/index.js
In the meantime, Bun already has support for the info command:
https://bun.com/docs/pm/cli/info
added in Bun 1.3: https://bun.com/blog/bun-v1.3#new-commands
Metadata
Metadata
Assignees
Labels
No labels