
亮点
🌐 Highlights
此补丁版本修复了 ESLint v9.39.0 中引入的一个问题,该问题导致所有规则的访问者都会被调用时带有第二个参数。此更改破坏了期望访问者函数仅接收单个参数的第三方规则,尤其是 @typescript-eslint/unified-signatures。为确保兼容性,ESLint v9.39.1 恢复了以前的行为,即在调用 JavaScript/TypeScript 的访问者时,仅将目标节点作为参数传入。
🌐 This patch release fixes an issue introduced in ESLint v9.39.0 where visitors of all rules are invoked with a second argument. This change broke third-party rules that expect visitor functions to receive only a single argument, notably @typescript-eslint/unified-signatures. To ensure compatibility, ESLint v9.39.1 restores the previous behavior of invoking visitors for JavaScript/TypeScript with only the target node as the argument.
错误修复
🌐 Bug Fixes
文档
🌐 Documentation
杂项
🌐 Chores
92db329事务: 将@eslint/js版本更新到 9.39.1 (#20284) (Francesco Trotta)c7ebefc事务:更新 package.json 以适配 @eslint/js 版本发布(Jenkins)61778f6事务: 更新 eslint-config-eslint 依赖 @eslint/js 到 ^9.39.0 (#20275) (renovate[bot])d9ca2fcci:在 renovate 配置中向 eslint 组添加 rangeStrategy (#20266) (唯然)009e507测试:修复 ESLint v10 的版本测试 (#20274) (Milos Djermanovic)
