update-browserslist-db 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -80,8 +80,7 @@ function getLatestInfo(lock) {
80
80
  return JSON.parse(execSync('pnpm info caniuse-lite --json').toString())
81
81
  }
82
82
  if (lock.mode === 'bun') {
83
- // TO-DO: No 'bun info' yet. Created issue: https://github.com/oven-sh/bun/issues/12280
84
- return JSON.parse(execSync(' npm info caniuse-lite --json').toString())
83
+ return JSON.parse(execSync(' bun info caniuse-lite --json').toString())
85
84
  }
86
85
 
87
86
  return JSON.parse(execSync('npm show caniuse-lite --json').toString())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "update-browserslist-db",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "CLI tool to update caniuse-lite to refresh target browsers from Browserslist config",
5
5
  "keywords": [
6
6
  "caniuse",