npm · npm:focus-trap-react
focus-trap-react 活跃
A React component that traps focus.
focus-trap-react 的最新稳定版本是 12.0.3,发布于 2026-06-22。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 12.0.3 |
|---|---|
| 发布时间 | 2026-06-22 01:59:38 UTC |
| 安装 | npm install focus-trap-react@latest |
| 运行要求(engines) | 未声明 |
| Peer 依赖 | react ^18.0.0 || ^19.0.0 react-dom ^18.0.0 || ^19.0.0 @types/react ^18.0.0 || ^19.0.0 @types/react-dom ^18.0.0 || ^19.0.0 |
| Dist 标签 | latest: 12.0.3 tabbable-i905: 10.0.3-tabbable-i905.2 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 12:32:13 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-06-22 01:59:38 UTC · 143 天前 |
| 过去 12 个月的稳定版本数 | 6 |
| 已发布版本数 | 82 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
12.0.3 | 2026-06-22 01:59:38 UTC |
12.0.2 | 2026-05-16 21:22:40 UTC |
12.0.1 | 2026-04-25 18:40:19 UTC |
12.0.0 | 2026-01-29 16:56:00 UTC |
11.0.6 | 2026-01-11 00:31:17 UTC |
11.0.5 | 2026-01-07 17:41:07 UTC |
11.0.4 | 2025-05-28 01:32:37 UTC |
11.0.3 | 2025-01-13 11:48:20 UTC |
11.0.2 | 2024-12-31 16:25:08 UTC |
11.0.1 | 2024-12-12 16:15:41 UTC |
11.0.0 | 2024-12-07 20:50:24 UTC |
10.3.1 | 2024-11-10 20:47:43 UTC |
10.3.0 | 2024-09-21 19:28:18 UTC |
10.2.3 | 2023-10-12 17:57:56 UTC |
10.2.2 | 2023-09-25 15:17:36 UTC |
10.2.1 | 2023-07-04 19:29:33 UTC |
10.1.4 | 2023-05-19 14:15:25 UTC |
10.1.3 | 2023-05-17 18:56:57 UTC |
10.1.2 | 2023-05-10 22:42:18 UTC |
10.1.1 | 2023-03-08 23:50:33 UTC |
显示 79 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 12.0.3 |
node 18 | 12.0.3 |
node 20 | 12.0.3 |
node 22 | 12.0.3 |
node 24 | 12.0.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" } } }常见问题
focus-trap-react 的最新版本是什么?
focus-trap-react 的最新稳定版本是 12.0.3,发布于 2026-06-22。Vigia 于 2026-11-12 核实。
如何安装 focus-trap-react 的最新版本?
运行 npm install focus-trap-react@latest。最新稳定版本是 12.0.3(2026-11-12 核实)。
focus-trap-react 是否已弃用?
否。注册表中 focus-trap-react 未被标记为已弃用。
focus-trap-react 需要哪个版本的 Node.js?
focus-trap-react 12.0.3 未声明对 Node.js 版本的要求。
focus-trap-react 12.0.3 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 focus-trap-react 12.0.3。
focus-trap-react 是否仍在维护?
focus-trap-react 在过去 12 个月内发布了 6 个稳定版本,最近一次在 143 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- @types/react
- @types/react-dom
- react
- react-dom
- gherkin
- babel-plugin-transform-async-to-generator
- micromark-extension-cjk-friendly
- ml-matrix
- @js-temporal/polyfill
- @cspell/dict-data-science
- path2d-polyfill
- @turf/standard-deviational-ellipse
- babel-dead-code-elimination
- @storybook/client-api
- @fortawesome/free-regular-svg-icons
- @marsidev/react-turnstile
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/focus-trap-react) [](https://vigia.coredls.cloud/npm/focus-trap-react) [](https://vigia.coredls.cloud/npm/focus-trap-react)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/focus-trap-react
GET https://vigia.coredls.cloud/v1/packages/npm/focus-trap-react/versions/{version}