npm · npm:dompurify
dompurify 活跃
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It runs as JavaScript and works in all modern browsers, as well as in Node.js (via jsdom). DOMPurify is written by security people who have vast background in web a
dompurify 的最新稳定版本是 3.4.17,发布于 2026-10-12。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 3.4.17 |
|---|---|
| 发布时间 | 2026-10-12 12:41:28 UTC |
| 安装 | npm install dompurify@latest |
| 运行要求(engines) | 未声明 |
| Peer 依赖 | — |
| Dist 标签 | latest: 3.4.17 |
| 许可证 | (MPL-2.0 OR Apache-2.0) |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 12:48:30 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-09-23 15:29:57 UTC · 50 天前 |
| 过去 12 个月的稳定版本数 | 21 |
| 已发布版本数 | 153 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
3.4.16 | 2026-09-23 15:29:57 UTC |
3.4.15 | 2026-09-06 11:39:57 UTC |
3.4.14 | 2026-08-19 10:25:15 UTC |
3.4.13 | 2026-08-03 14:16:00 UTC |
3.4.12 | 2026-07-11 12:11:29 UTC |
3.4.11 | 2026-06-17 10:33:28 UTC |
3.4.10 | 2026-06-12 12:49:46 UTC |
3.4.9 | 2026-06-10 08:42:40 UTC |
3.4.8 | 2026-06-03 12:07:27 UTC |
3.4.7 | 2026-05-27 11:40:00 UTC |
3.4.6 | 2026-05-26 13:07:02 UTC |
3.4.5 | 2026-05-18 07:46:30 UTC |
3.4.4 已撤回 | 2026-05-17 10:39:02 UTC |
3.4.3 | 2026-05-13 11:11:40 UTC |
3.4.2 | 2026-04-30 15:45:30 UTC |
3.4.1 | 2026-04-21 16:34:59 UTC |
3.4.0 | 2026-04-14 07:51:39 UTC |
3.3.3 | 2026-03-11 08:31:17 UTC |
3.3.2 | 2026-03-05 12:51:06 UTC |
2.5.9 | 2026-03-05 12:42:43 UTC |
显示 153 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 3.4.16 |
node 18 | 3.4.16 |
node 20 | 3.4.16 |
node 22 | 3.4.16 |
node 24 | 3.4.16 |
把这些数据交给你的 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" } } }常见问题
dompurify 的最新版本是什么?
dompurify 的最新稳定版本是 3.4.17,发布于 2026-10-12。Vigia 于 2026-11-12 核实。
如何安装 dompurify 的最新版本?
运行 npm install dompurify@latest。最新稳定版本是 3.4.17(2026-11-12 核实)。
dompurify 是否已弃用?
否。注册表中 dompurify 未被标记为已弃用。
dompurify 需要哪个版本的 Node.js?
dompurify 3.4.17 未声明对 Node.js 版本的要求。
dompurify 3.4.17 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 dompurify 3.4.17。
dompurify 是否仍在维护?
dompurify 在过去 12 个月内发布了 21 个稳定版本,最近一次在 50 天前。活跃度:活跃。
观察到的变更
- ue Oct 13 2026 10:51:10 GMT+0000 (Coordinated Universal Time) — released 3.4.17 → 3.4.17
- Mon Oct 12 2026 12:47:03 GM +0000 (Coordinated Universal Time) — released 3.4.16 → 3.4.17
相关软件包
- @vitejs/plugin-react
- @babel/plugin-transform-template-literals
- confbox
- regenerate-unicode-properties
- lodash.once
- @webassemblyjs/wasm-opt
- @radix-ui/react-radio-group
- tmpl
- tinyspy
- minipass-collect
- vfile
- pkg-types
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/dompurify) [](https://vigia.coredls.cloud/npm/dompurify) [](https://vigia.coredls.cloud/npm/dompurify)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/dompurify
GET https://vigia.coredls.cloud/v1/packages/npm/dompurify/versions/{version}