`lru-cache` fails on Node.js 22
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 76/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github-actions, javascript, node.js
调研方向
从 lib/lookup.json 中第 257–264 行附近的 lru-cache 条目开始,并将其 Node.js 版本规则与 issue 中链接的项目 CI 工作流进行比较。运行所引用的 lru-cache 测试模块工作流,以确认 Node.js 22 上的失败。完成标准是 citgm 对 lru-cache 跳过低于 24 的版本,并且相关工作流通过。
由索引模型根据 Issue 内容生成。
描述
- follows on from https://github.com/nodejs/citgm/issues/1197
Situation
Running citgm lru-cache fails:
- on Node.js 22 for macos, windows & ubuntu
| Item | Status |
|---|---|
| docs page | https://isaacs.github.io/node-lru-cache/ |
| npm package | https://www.npmjs.com/package/lru-cache |
| npm status | active |
| last published | 11.5.3 Sep 19, 2026 |
| weekly downloads | 652,744,103 |
| repo location | https://github.com/isaacs/node-lru-cache |
| repo last update to default branch | Sep 19, 2026 |
| repo status | active |
| repo CI status | runs in Node.js 24 & 25 |
| lookup release / HEAD | release |
| lookup - skip | aix |
| lookup - flaky | win32 |
| lookup maintainer 1 | isaacs |
Repo CI https://github.com/isaacs/node-lru-cache/blob/main/.github/workflows/ci.yml runs in Node.js 24 & 25
Steps to reproduce
Run https://github.com/nodejs/citgm/actions/workflows/test-module.yml
Module to test: lru-cache
CITGM repository to checkout: nodejs/citgm
CITGM GitHub ref to checkout: main
Result
Fails on Node.js 22 all OS
Fails on Node.js 22, 24 & 26 for Windows
| Node.js | npm | macos | ubuntu | windows |
|---|---|---|---|---|
| 22.23.4 | 10.9.9 | FAIL | FAIL | FAIL |
| 24.22.1 | 11.19.1 | PASS | PASS | FAIL |
| 26.12.1 | 11.20.0 | PASS | PASS | FAIL |
win32 is already skipped in lookup.json. No action needed for Windows
References
Suggestion
- Skip <24 in citgm for lru-cache which already dropped Node.js 22.x in https://github.com/isaacs/node-lru-cache/blob/main/.github/workflows/ci.yml due to testing incompatibility
- 主要语言
- JavaScript
- 星标
- 608
- 派生
- 163
- 平均合并
- 4 天 3 小时
- 30 天内合并 PR
- 14
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nodejs/citgm 的其他 Issue
-
`serialport` fails in `win11-vs2022_clang-arm64`可能已有人在做 @MikeMcC399 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
Outdated maintainers for body-parser可能已有人在做 @UlisesGascon 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
`citgm-smoker` fails `express-session` in `alpine-latest-x64` (openssl: not found)可能重新可做 @MikeMcC399 于 13 天前认领,目前没有进行中的 PR。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
`microtime` fails on macOS, Windows & Alpine Linux可能已有人在做 @MikeMcC399 于 14 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
`@yarnpkg/cli` v4 fails in Node.js 22 (macos/ubuntu)可能已有人在做 @MikeMcC399 于 12 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
area: quality enhancement priority: should
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 1/5 1 小时以内 新手友好度 62/100
TheOdinProject/curriculum#31509 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
d-dev0101/open-sea-skin#25 · 1 条评论 ·
-
type:docs
难度 2/5 1-3 小时 新手友好度 65/100
nightgauge/nightgauge#2836 ·
维护者通常 1 天内回复