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.1 | 2026-10-13 09:51:13 UTC |
12.2.0 | 2026-09-28 15:46:04 UTC |
12.1.0 | 2026-08-04 10:12:53 UTC |
12.0.4 | 2026-06-29 11:54:35 UTC |
12.0.3 | 2026-06-17 11:10:06 UTC |
12.0.2 | 2026-06-12 17:30:25 UTC |
12.0.1 | 2026-05-27 14:14:34 UTC |
12.0.0 | 2026-05-19 14:59:50 UTC |
11.14.0 | 2026-04-08 09:10:48 UTC |
11.13.0 | 2026-03-17 09:51:40 UTC |
11.12.0 | 2026-02-17 21:11:48 UTC |
11.11.0 | 2025-12-27 18:34:37 UTC |
11.10.0 | 2025-12-09 21:08:58 UTC |
11.9.0 | 2025-11-27 20:15:53 UTC |
11.8.1 | 2025-11-11 14:38:56 UTC |
11.8.0 | 2025-11-05 09:31:26 UTC |
11.7.2 | 2025-10-22 11:57:20 UTC |
11.7.1 | 2025-10-03 10:37:16 UTC |
11.7.0 | 2025-09-29 08:25:59 UTC |
11.6.0 | 2025-09-17 09:41:16 UTC |
显示 271 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 12.0.4 |
node 18 | 12.0.4 |
node 20 | 12.0.4 |
node 22 | 12.2.1 |
node 24 | 12.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" } } }常见问题
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 天前。活跃度:活跃。
观察到的变更
- ue Oct 13 2026 10:39:24 GMT+0000 (Coordinated Universal Time) — released 12.2.0 → 12.2.1
- Mon Sep 28 2026 17:02:57 GM +0000 (Coordinated Universal Time) — released 12.1.0 → 12.2.0
相关软件包
- debounce-fn
- abs-svg-path
- make-iterator
- @parcel/watcher-linux-arm64-glibc
- window-size
- @agentclientprotocol/sdk
- @types/pluralize
- node-schedule
- @npmcli/metavuln-calculator
- @apidevtools/openapi-schemas
- @astrojs/compiler
- hast-util-has-property
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/testcontainers) [](https://vigia.coredls.cloud/npm/testcontainers) [](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}