Bun

Bun v1.1.42


Jarred Sumner · 2024 年 12 月 21 日

我們正在舊金山招聘系統工程師,共同打造 JavaScript 的未來!

此版本修復了 Bun v1.1.41 中的一個回歸錯誤,該錯誤涉及空檔案中的 "use strict" 並影響了 Prisma。

安裝 Bun

curl
npm
powershell
scoop
brew
docker
curl
curl -fsSL https://bun.dev.org.tw/install | bash
npm
npm install -g bun
powershell
powershell -c "irm bun.sh/install.ps1|iex"
scoop
scoop install bun
brew
brew tap oven-sh/bun
brew install bun
docker
docker pull oven/bun
docker run --rm --init --ulimit memlock=-1:-1 oven/bun

升級 Bun

bun upgrade

已修正:"use strict" 回歸錯誤

Bun v1.1.41 引入了一個回歸錯誤,在某些情況下,空檔案中的 "use strict" 可能會導致崩潰。我們已新增回歸測試,以確保此問題不再發生。