#5964·mocha

️ Repo: 将 `lib/utils.js` 转换为 ESM

作者: JoshuaKGoldberg创建于 2026年5月16日更新于 2026年9月16日
标签status: accepting prsarea: repository tooling

#5400 的子问题(从 CJS 切换到 ESM 内部)。`lib/utils.js` 是一个广泛使用的实用程序模块,仍然使用 CJS 编写。它通过 `exports.X` 导出了许多辅助函数,并且是核心运行时的一个依赖项。