npm · npm:@testing-library/jest-dom
@testing-library/jest-dom 活跃
Custom jest matchers to test the state of the DOM
@testing-library/jest-dom 的最新稳定版本是 7.0.1,发布于 2026-08-09。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 7.0.1 |
|---|---|
| 发布时间 | 2026-08-09 23:44:33 UTC |
| 安装 | npm install @testing-library/jest-dom@latest |
| 运行要求(engines) | {"npm":">=6","node":">=22","yarn":">=1"} |
| Peer 依赖 | vitest >= 0.32 @testing-library/dom >=10 <11 |
| Dist 标签 | beta: 5.7.0-beta.1 latest: 7.0.1 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 12:43:07 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-08-09 23:44:33 UTC · 95 天前 |
| 过去 12 个月的稳定版本数 | 3 |
| 已发布版本数 | 85 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
7.0.1 | 2026-08-09 23:44:33 UTC |
7.0.0 | 2026-07-20 19:07:31 UTC |
6.10.0 已撤回 | 2026-07-20 19:04:06 UTC |
6.9.1 | 2025-10-01 20:04:22 UTC |
6.9.0 | 2025-09-30 13:23:00 UTC |
6.8.0 | 2025-08-20 21:59:07 UTC |
6.7.0 | 2025-08-13 19:55:51 UTC |
6.6.4 | 2025-07-26 19:22:32 UTC |
6.6.3 | 2024-10-31 15:11:25 UTC |
6.6.2 | 2024-10-17 16:07:16 UTC |
6.6.1 | 2024-10-16 18:47:33 UTC |
6.6.0 | 2024-10-16 16:28:13 UTC |
6.5.0 | 2024-08-23 19:47:46 UTC |
6.4.8 | 2024-07-23 12:24:00 UTC |
6.4.7 | 2024-07-22 19:35:48 UTC |
6.4.6 | 2024-06-10 23:27:43 UTC |
6.4.5 | 2024-05-03 18:32:13 UTC |
6.4.4 | 2024-05-03 15:13:46 UTC |
6.4.3 | 2024-05-03 06:22:49 UTC |
6.4.2 | 2024-02-05 13:00:44 UTC |
显示 84 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 6.9.1 |
node 18 | 6.9.1 |
node 20 | 6.9.1 |
node 22 | 7.0.1 |
node 24 | 7.0.1 |
把这些数据交给你的 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" } } }常见问题
@testing-library/jest-dom 的最新版本是什么?
@testing-library/jest-dom 的最新稳定版本是 7.0.1,发布于 2026-08-09。Vigia 于 2026-11-12 核实。
如何安装 @testing-library/jest-dom 的最新版本?
运行 npm install @testing-library/jest-dom@latest。最新稳定版本是 7.0.1(2026-11-12 核实)。
@testing-library/jest-dom 是否已弃用?
否。注册表中 @testing-library/jest-dom 未被标记为已弃用。
@testing-library/jest-dom 需要哪个版本的 Node.js?
@testing-library/jest-dom 7.0.1 声明的要求为:{"npm":">=6","node":">=22","yarn":">=1"}。
@testing-library/jest-dom 7.0.1 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 @testing-library/jest-dom 7.0.1。
@testing-library/jest-dom 是否仍在维护?
@testing-library/jest-dom 在过去 12 个月内发布了 3 个稳定版本,最近一次在 95 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- @testing-library/dom
- vitest
- is-buffer
- @types/deep-eql
- expect-type
- terser-webpack-plugin
- tar-fs
- unist-util-visit-parents
- @tanstack/query-core
- @types/istanbul-reports
- file-type
- @smithy/util-uri-escape
- unist-util-visit
- watchpack
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/@testing-library/jest-dom) [](https://vigia.coredls.cloud/npm/@testing-library/jest-dom) [](https://vigia.coredls.cloud/npm/@testing-library/jest-dom)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/@testing-library/jest-dom
GET https://vigia.coredls.cloud/v1/packages/npm/@testing-library/jest-dom/versions/{version}