npm · npm:react-syntax-highlighter
react-syntax-highlighter 活跃
syntax highlighting component for react with prismjs or highlightjs ast using inline styles
react-syntax-highlighter 的最新稳定版本是 16.1.2,发布于 2026-10-08。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 16.1.2 |
|---|---|
| 发布时间 | 2026-10-08 15:58:23 UTC |
| 安装 | npm install react-syntax-highlighter@latest |
| 运行要求(engines) | {"node":">= 16.20.2"} |
| Peer 依赖 | react >= 0.14.0 |
| Dist 标签 | beta: 12.1.0 next: 5.0.0-rc.1 latest: 16.1.2 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 15:49:33 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 放缓 |
|---|---|
| 最近的稳定版本 | 2026-02-26 22:37:53 UTC · 259 天前 |
| 过去 12 个月的稳定版本数 | 1 |
| 已发布版本数 | 132 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
16.1.1 | 2026-02-26 22:37:53 UTC |
16.1.0 | 2025-10-28 15:57:14 UTC |
16.0.0 | 2025-10-22 04:28:38 UTC |
15.6.6 | 2025-08-25 19:45:14 UTC |
15.6.5 | 2025-08-25 12:25:38 UTC |
15.6.4 | 2025-08-25 11:51:52 UTC |
15.6.3 | 2025-08-21 19:53:56 UTC |
15.6.2 | 2025-08-21 19:45:52 UTC |
15.6.1 | 2024-10-16 15:38:37 UTC |
15.6.0 | 2024-10-16 15:26:19 UTC |
15.5.0 | 2022-03-14 16:00:20 UTC |
15.4.5 | 2021-11-12 22:31:03 UTC |
15.4.4 | 2021-07-23 17:23:39 UTC |
11.0.3 | 2021-07-22 05:34:58 UTC |
15.4.3 | 2020-12-09 22:22:50 UTC |
15.4.2 | 2020-12-08 23:55:29 UTC |
15.4.1 | 2020-12-08 05:29:34 UTC |
15.4.0 | 2020-12-08 04:22:11 UTC |
15.3.1 | 2020-11-24 17:29:39 UTC |
15.3.0 | 2020-10-29 15:51:18 UTC |
显示 128 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 16.1.1 |
node 18 | 16.1.1 |
node 20 | 16.1.1 |
node 22 | 16.1.1 |
node 24 | 16.1.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" } } }常见问题
react-syntax-highlighter 的最新版本是什么?
react-syntax-highlighter 的最新稳定版本是 16.1.2,发布于 2026-10-08。Vigia 于 2026-11-12 核实。
如何安装 react-syntax-highlighter 的最新版本?
运行 npm install react-syntax-highlighter@latest。最新稳定版本是 16.1.2(2026-11-12 核实)。
react-syntax-highlighter 是否已弃用?
否。注册表中 react-syntax-highlighter 未被标记为已弃用。
react-syntax-highlighter 需要哪个版本的 Node.js?
react-syntax-highlighter 16.1.2 声明的要求为:{"node":">= 16.20.2"}。
react-syntax-highlighter 16.1.2 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 react-syntax-highlighter 16.1.2。
react-syntax-highlighter 是否仍在维护?
react-syntax-highlighter 在过去 12 个月内发布了 1 个稳定版本,最近一次在 259 天前。活跃度:放缓。
观察到的变更
- Fri Oct 09 2026 12:26:29 GM +0000 (Coordinated Universal Time) — released 16.1.2 → 16.1.2
- hu Oct 08 2026 16:26:06 GMT+0000 (Coordinated Universal Time) — released 16.1.1 → 16.1.2
相关软件包
- react
- seek-bzip
- conventional-commits-filter
- os-locale
- @vueuse/shared
- @react-native/codegen
- @electric-sql/pglite
- @dnd-kit/modifiers
- @angular-devkit/architect
- @types/dompurify
- @types/tmp
- postcss-focus-within
- @cucumber/messages
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/react-syntax-highlighter) [](https://vigia.coredls.cloud/npm/react-syntax-highlighter) [](https://vigia.coredls.cloud/npm/react-syntax-highlighter)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/react-syntax-highlighter
GET https://vigia.coredls.cloud/v1/packages/npm/react-syntax-highlighter/versions/{version}