Vigia

npm · npm:@testing-library/react

@testing-library/react 活跃

Simple and complete React DOM testing utilities that encourage good testing practices.

@testing-library/react 的最新稳定版本是 16.3.3,发布于 2026-08-27。Vigia 于 2026-11-12 核实。

最新稳定版本16.3.3
发布时间2026-08-27 17:41:18 UTC
安装npm install @testing-library/react@latest
运行要求(engines){"node":">=18"}
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 @testing-library/dom ^10.0.0
Dist 标签beta: 11.0.0-beta.1 alpha: 14.0.0-alpha.3 latest: 16.3.3 release-12.x: 12.1.5 release-14.x: 14.3.1
许可证MIT
最新版本的安全公告暂无已知
最近核实2026-11-12 12:48:22 UTC
来源api.deps.dev, registry.npmjs.org, registry.npmjs.org

维护情况

活跃度活跃
最近的稳定版本2026-08-27 17:41:18 UTC · 77 天前
过去 12 个月的稳定版本数3
已发布版本数123

仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。

版本历史

版本发布时间
16.3.32026-08-27 17:41:18 UTC
16.3.22026-01-19 10:59:08 UTC
16.3.12025-12-15 14:00:32 UTC
16.3.02025-04-02 17:03:38 UTC
16.2.02025-01-15 23:19:08 UTC
16.1.02024-12-05 20:02:45 UTC
16.0.12024-08-29 09:30:39 UTC
16.0.02024-06-03 13:55:27 UTC
15.0.72024-05-07 11:10:17 UTC
15.0.62024-05-01 18:32:35 UTC
15.0.52024-04-26 15:32:06 UTC
15.0.42024-04-23 15:35:22 UTC
15.0.32024-04-23 10:24:21 UTC
15.0.22024-04-13 09:24:02 UTC
14.3.12024-04-11 17:14:53 UTC
15.0.12024-04-11 17:06:42 UTC
15.0.02024-04-10 15:21:48 UTC
14.3.02024-04-08 14:10:38 UTC
14.2.22024-03-19 22:57:18 UTC
14.2.12024-02-01 19:54:15 UTC

显示 103 个版本中最新的 20 个。 JSON

版本兼容性

声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。

运行时最新兼容版本
node 1614.3.1
node 1816.3.3
node 2016.3.3
node 2216.3.3
node 2416.3.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" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

常见问题

@testing-library/react 的最新版本是什么?

@testing-library/react 的最新稳定版本是 16.3.3,发布于 2026-08-27。Vigia 于 2026-11-12 核实。

如何安装 @testing-library/react 的最新版本?

运行 npm install @testing-library/react@latest。最新稳定版本是 16.3.3(2026-11-12 核实)。

@testing-library/react 是否已弃用?

否。注册表中 @testing-library/react 未被标记为已弃用。

@testing-library/react 需要哪个版本的 Node.js?

@testing-library/react 16.3.3 声明的要求为:{"node":">=18"}。

@testing-library/react 16.3.3 是否存在已知漏洞?

根据 Vigia 检查的数据,没有已知安全公告影响 @testing-library/react 16.3.3。

@testing-library/react 是否仍在维护?

@testing-library/react 在过去 12 个月内发布了 3 个稳定版本,最近一次在 77 天前。活跃度:活跃。

观察到的变更

自 Vigia 开始跟踪此软件包以来,尚未观察到变更。

相关软件包

用于 README 的徽章

展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/@testing-library/react/version.svg)](https://vigia.coredls.cloud/npm/@testing-library/react)
[![maintained](https://vigia.coredls.cloud/badge/npm/@testing-library/react/maintained.svg)](https://vigia.coredls.cloud/npm/@testing-library/react)
[![status](https://vigia.coredls.cloud/badge/npm/@testing-library/react/status.svg)](https://vigia.coredls.cloud/npm/@testing-library/react)

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/npm/@testing-library/react
GET https://vigia.coredls.cloud/v1/packages/npm/@testing-library/react/versions/{version}