Bun v1.1.26

2024-08-24来源 Bun BlogEnglish
Fixes 9 bugs (addressing 652 👍). `bun outdated` shows outdated dependencies. Bun.serve() gets a new `idleTimeout` option and `subscriberCount(topic: string)` for a count of websocket clients subscribed to a topic. `test.only` in bun:test now skips tests before and after instead of only after. expect.assertions(n) in async functionn is fixed. "use strict" in CommonJS modules is now preserved. Plus, more node.js compatibility improvements and bug fixes.

原文:https://www.a8q9.cn/en/article/bun-v1-1-26-6dde72.html

相关文章