npm · npm:msw
msw 活跃
The industry standard for API mocking in JavaScript.
msw 的最新稳定版本是 3.0.5,发布于 2026-11-11。Vigia 于 2026-11-13 核实。
| 最新稳定版本 | 3.0.5 |
|---|---|
| 发布时间 | 2026-11-11 01:14:49 UTC |
| 安装 | npm install msw@latest |
| 运行要求(engines) | {"node":">=22.12.0"} |
| Peer 依赖 | vite >=6 graphql >=16 typescript >=5.9.x |
| Dist 标签 | beta: 0.0.0-fetch.rc-4 next: 2.3.0-ws.rc-12 latest: 3.0.5 backport: 1.3.5 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-13 02:46:00 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-11-11 01:14:49 UTC · 2 天前 |
| 过去 12 个月的稳定版本数 | 35 |
| 已发布版本数 | 343 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
3.0.5 | 2026-11-11 01:14:49 UTC |
3.0.4 | 2026-11-06 01:15:42 UTC |
3.0.3 | 2026-10-10 01:38:37 UTC |
3.0.2 | 2026-10-03 01:31:45 UTC |
3.0.1 | 2026-09-30 12:39:00 UTC |
3.0.0 | 2026-09-28 15:45:58 UTC |
2.15.0 | 2026-07-08 01:43:07 UTC |
2.14.7 | 2026-07-07 18:24:43 UTC |
2.14.6 | 2026-05-11 09:41:46 UTC |
2.14.5 | 2026-05-08 01:51:49 UTC |
2.14.4 | 2026-05-07 12:25:56 UTC |
2.14.3 | 2026-05-04 17:14:04 UTC |
2.14.2 | 2026-04-29 15:37:31 UTC |
2.14.1 | 2026-04-29 15:11:00 UTC |
2.14.0 | 2026-04-29 14:12:45 UTC |
2.13.6 | 2026-04-24 15:53:37 UTC |
2.13.5 | 2026-04-23 01:45:59 UTC |
2.13.4 | 2026-04-16 16:25:40 UTC |
2.13.3 | 2026-04-14 01:44:06 UTC |
2.13.2 | 2026-04-08 11:18:13 UTC |
显示 304 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 1.3.5 |
node 18 | 2.15.0 |
node 20 | 2.15.0 |
node 22 | 3.0.5 |
node 24 | 3.0.5 |
把这些数据交给你的 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" } } }常见问题
msw 的最新版本是什么?
msw 的最新稳定版本是 3.0.5,发布于 2026-11-11。Vigia 于 2026-11-13 核实。
如何安装 msw 的最新版本?
运行 npm install msw@latest。最新稳定版本是 3.0.5(2026-11-13 核实)。
msw 是否已弃用?
否。注册表中 msw 未被标记为已弃用。
msw 需要哪个版本的 Node.js?
msw 3.0.5 声明的要求为:{"node":">=22.12.0"}。
msw 3.0.5 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 msw 3.0.5。
msw 是否仍在维护?
msw 在过去 12 个月内发布了 35 个稳定版本,最近一次在 2 天前。活跃度:活跃。
观察到的变更
- Wed Nov 11 2026 02:45:19 GM +0000 (Coordinated Universal Time) — released 3.0.4 → 3.0.5
- Fri Nov 06 2026 02:43:34 GM +0000 (Coordinated Universal Time) — released 3.0.3 → 3.0.4
- Sat Oct 10 2026 02:03:08 GM +0000 (Coordinated Universal Time) — released 3.0.2 → 3.0.3
- Sat Oct 03 2026 03:23:03 GM +0000 (Coordinated Universal Time) — released 3.0.1 → 3.0.2
- Wed Sep 30 2026 13:34:35 GM +0000 (Coordinated Universal Time) — released 3.0.0 → 3.0.1
- Mon Sep 28 2026 16:58:52 GM +0000 (Coordinated Universal Time) — runtime_requirement_changed
- Mon Sep 28 2026 16:58:52 GM +0000 (Coordinated Universal Time) — released 2.15.0 → 3.0.0
相关软件包
- graphql
- typescript
- vite
- adjust-sourcemap-loader
- stylelint
- @tokenizer/token
- isomorphic-fetch
- @actions/io
- swap-case
- vscode-languageserver-protocol
- react-lifecycles-compat
- postcss-media-query-parser
- @oxc-parser/binding-linux-x64-gnu
- html-to-text
- aws-sdk
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/msw) [](https://vigia.coredls.cloud/npm/msw) [](https://vigia.coredls.cloud/npm/msw)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/msw
GET https://vigia.coredls.cloud/v1/packages/npm/msw/versions/{version}