From 6876ea72ebd883e7c7a02d0eae7c4f4135a882e8 Mon Sep 17 00:00:00 2001 From: Carlos Henriques Date: Tue, 16 Dec 2025 15:01:59 +0000 Subject: [PATCH] Support Bun info (#77) --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 4d6b439..8909e39 100644 --- a/index.js +++ b/index.js @@ -80,8 +80,7 @@ function getLatestInfo(lock) { return JSON.parse(execSync('pnpm info caniuse-lite --json').toString()) } 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()) + return JSON.parse(execSync(' bun info caniuse-lite --json').toString()) } return JSON.parse(execSync('npm show caniuse-lite --json').toString())