Vigia

npm · npm:testcontainers

testcontainers 活跃

Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container

testcontainers 的最新稳定版本是 12.2.1,发布于 2026-10-13。Vigia 于 2026-11-12 核实。

最新稳定版本12.2.1
发布时间2026-10-13 09:51:13 UTC
安装npm install testcontainers@latest
运行要求(engines){"node":">= 22.22"}
Peer 依赖—
Dist 标签beta: 9.12.0-beta.0 latest: 12.2.1
许可证MIT
最新版本的安全公告暂无已知
最近核实2026-11-12 13:55:20 UTC
来源api.deps.dev, registry.npmjs.org, registry.npmjs.org

维护情况

活跃度活跃
最近的稳定版本2026-10-13 09:51:13 UTC · 30 天前
过去 12 个月的稳定版本数14
已发布版本数300

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

版本历史

版本发布时间
12.2.12026-10-13 09:51:13 UTC
12.2.02026-09-28 15:46:04 UTC
12.1.02026-08-04 10:12:53 UTC
12.0.42026-06-29 11:54:35 UTC
12.0.32026-06-17 11:10:06 UTC
12.0.22026-06-12 17:30:25 UTC
12.0.12026-05-27 14:14:34 UTC
12.0.02026-05-19 14:59:50 UTC
11.14.02026-04-08 09:10:48 UTC
11.13.02026-03-17 09:51:40 UTC
11.12.02026-02-17 21:11:48 UTC
11.11.02025-12-27 18:34:37 UTC
11.10.02025-12-09 21:08:58 UTC
11.9.02025-11-27 20:15:53 UTC
11.8.12025-11-11 14:38:56 UTC
11.8.02025-11-05 09:31:26 UTC
11.7.22025-10-22 11:57:20 UTC
11.7.12025-10-03 10:37:16 UTC
11.7.02025-09-29 08:25:59 UTC
11.6.02025-09-17 09:41:16 UTC

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

版本兼容性

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

运行时最新兼容版本
node 1612.0.4
node 1812.0.4
node 2012.0.4
node 2212.2.1
node 2412.2.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" } } }

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

常见问题

testcontainers 的最新版本是什么?

testcontainers 的最新稳定版本是 12.2.1,发布于 2026-10-13。Vigia 于 2026-11-12 核实。

如何安装 testcontainers 的最新版本?

运行 npm install testcontainers@latest。最新稳定版本是 12.2.1(2026-11-12 核实)。

testcontainers 是否已弃用?

否。注册表中 testcontainers 未被标记为已弃用。

testcontainers 需要哪个版本的 Node.js?

testcontainers 12.2.1 声明的要求为:{"node":">= 22.22"}。

testcontainers 12.2.1 是否存在已知漏洞?

根据 Vigia 检查的数据,没有已知安全公告影响 testcontainers 12.2.1。

testcontainers 是否仍在维护?

testcontainers 在过去 12 个月内发布了 14 个稳定版本,最近一次在 30 天前。活跃度:活跃。

观察到的变更

相关软件包

用于 README 的徽章

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

[![version](https://vigia.coredls.cloud/badge/npm/testcontainers/version.svg)](https://vigia.coredls.cloud/npm/testcontainers)
[![maintained](https://vigia.coredls.cloud/badge/npm/testcontainers/maintained.svg)](https://vigia.coredls.cloud/npm/testcontainers)
[![status](https://vigia.coredls.cloud/badge/npm/testcontainers/status.svg)](https://vigia.coredls.cloud/npm/testcontainers)

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/npm/testcontainers
GET https://vigia.coredls.cloud/v1/packages/npm/testcontainers/versions/{version}