npm · npm:react-syntax-highlighter
react-syntax-highlighter active
syntax highlighting component for react with prismjs or highlightjs ast using inline styles
The latest stable version of react-syntax-highlighter is 16.1.2, published on 2026-10-08. Verified by Vigia on 2026-11-12.
| Latest stable version | 16.1.2 |
|---|---|
| Published | 2026-10-08 15:58:23 UTC |
| Install | npm install react-syntax-highlighter@latest |
| Requires (engines) | {"node":">= 16.20.2"} |
| Peer dependencies | react >= 0.14.0 |
| Dist-tags | beta: 12.1.0 next: 5.0.0-rc.1 latest: 16.1.2 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 15:49:33 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2026-02-26 22:37:53 UTC · 259 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 132 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
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 |
Showing the 20 most recent of 128 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
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 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of react-syntax-highlighter?
The latest stable version of react-syntax-highlighter is 16.1.2, published on 2026-10-08. Verified by Vigia on 2026-11-12.
How do I install the latest version of react-syntax-highlighter?
Run npm install react-syntax-highlighter@latest. The latest stable version is 16.1.2 (verified 2026-11-12).
Is react-syntax-highlighter deprecated?
No. react-syntax-highlighter is not marked as deprecated in the registry.
Which Node.js version does react-syntax-highlighter require?
react-syntax-highlighter 16.1.2 declares this requirement: {"node":">= 16.20.2"}.
Does react-syntax-highlighter 16.1.2 have known vulnerabilities?
No known advisories affect react-syntax-highlighter 16.1.2 according to the data Vigia checks.
Is react-syntax-highlighter still maintained?
react-syntax-highlighter published 1 stable releases in the last 12 months; the most recent was 259 days ago. Activity: slowing down.
Observed changes
- 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
Related packages
- 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
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the 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)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/react-syntax-highlighter
GET https://vigia.coredls.cloud/v1/packages/npm/react-syntax-highlighter/versions/{version}