npm · npm:lru-cache
lru-cache 活跃
A cache object that deletes the least-recently-used items.
lru-cache 的最新稳定版本是 11.5.3,发布于 2026-09-18。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 11.5.3 |
|---|---|
| 发布时间 | 2026-09-18 23:46:33 UTC |
| 安装 | npm install lru-cache@latest |
| 运行要求(engines) | {"node":"20 || >=22"} |
| Peer 依赖 | — |
| Dist 标签 | latest: 11.5.3 legacy: 4.1.5 legacy-v10: 10.4.3 v7.0-backport: 7.0.4 v7.1-backport: 7.1.3 v7.2-backport: 7.2.3 v7.3-backport: 7.3.3 v7.4-backport: 7.4.5 v7.5-backport: 7.5.2 v7.6-backport: 7.6.1 v7.7-backport: 7.7.4 |
| 许可证 | BlueOak-1.0.0 |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 13:11:14 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-09-18 23:46:33 UTC · 54 天前 |
| 过去 12 个月的稳定版本数 | 17 |
| 已发布版本数 | 164 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
11.5.3 | 2026-09-18 23:46:33 UTC |
11.5.2 | 2026-07-07 23:27:14 UTC |
11.5.1 | 2026-05-27 15:04:12 UTC |
11.5.0 | 2026-05-19 23:13:36 UTC |
11.4.0 | 2026-05-18 06:58:37 UTC |
11.3.6 | 2026-05-04 15:35:22 UTC |
11.3.5 | 2026-04-13 08:28:34 UTC |
11.3.4 | 2026-04-13 08:10:19 UTC |
11.3.3 | 2026-04-08 15:20:53 UTC |
11.3.2 | 2026-04-06 20:54:44 UTC |
11.3.1 | 2026-04-06 17:16:33 UTC |
11.3.0 | 2026-04-06 00:03:59 UTC |
11.2.7 | 2026-03-13 15:44:21 UTC |
11.2.6 | 2026-02-10 16:21:10 UTC |
11.2.5 | 2026-01-26 00:23:31 UTC |
11.2.4 | 2025-11-30 23:29:17 UTC |
11.2.3 | 2025-11-30 23:09:53 UTC |
11.2.2 | 2025-09-23 17:02:13 UTC |
11.2.1 | 2025-09-03 21:36:56 UTC |
11.2.0 | 2025-09-03 19:01:26 UTC |
显示 164 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 10.4.3 |
node 18 | 10.4.3 |
node 20 | 11.5.3 |
node 22 | 11.5.3 |
node 24 | 11.5.3 |
此软件包的升级指南
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
lru-cache 的最新版本是什么?
lru-cache 的最新稳定版本是 11.5.3,发布于 2026-09-18。Vigia 于 2026-11-12 核实。
如何安装 lru-cache 的最新版本?
运行 npm install lru-cache@latest。最新稳定版本是 11.5.3(2026-11-12 核实)。
lru-cache 是否已弃用?
否。注册表中 lru-cache 未被标记为已弃用。
lru-cache 需要哪个版本的 Node.js?
lru-cache 11.5.3 声明的要求为:{"node":"20 || >=22"}。
lru-cache 11.5.3 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 lru-cache 11.5.3。
lru-cache 是否仍在维护?
lru-cache 在过去 12 个月内发布了 17 个稳定版本,最近一次在 54 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- string-width
- commander
- wrap-ansi
- chalk
- supports-color
- tslib
- ms
- picomatch
- ansi-regex
- emoji-regex
- strip-ansi
- glob
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/lru-cache) [](https://vigia.coredls.cloud/npm/lru-cache) [](https://vigia.coredls.cloud/npm/lru-cache)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/lru-cache
GET https://vigia.coredls.cloud/v1/packages/npm/lru-cache/versions/{version}