npm · npm:react-diff-viewer
react-diff-viewer active
A simple and beautiful text diff viewer component made with diff and React
The latest stable version of react-diff-viewer is 3.1.1, published on 2020-05-22. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.1.1 |
|---|---|
| Published | 2020-05-22 06:47:58 UTC |
| Install | npm install react-diff-viewer@latest |
| Requires (engines) | {"node":">= 8"} |
| Peer dependencies | react ^15.3.0 || ^16.0.0 react-dom ^15.3.0 || ^16.0.0 |
| Dist-tags | beta: 3.0.0-beta.1 alpha: 2.0.0-alpha.4 latest: 3.1.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:38:48 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "react-diff-viewer", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/react-diff-viewer . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2020-05-22 06:47:58 UTC · 2365 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 25 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.1.1 | 2020-05-22 06:47:58 UTC |
3.1.0 | 2020-05-17 14:41:59 UTC |
3.0.2 | 2020-03-05 03:46:25 UTC |
3.0.1 | 2019-12-19 04:45:37 UTC |
3.0.0 | 2019-12-17 06:41:19 UTC |
2.0.6 | 2019-11-26 06:26:08 UTC |
2.0.5 | 2019-10-31 01:25:04 UTC |
2.0.3 | 2019-10-28 02:22:00 UTC |
2.0.1 | 2019-07-28 06:43:51 UTC |
2.0.0 | 2019-07-15 13:49:25 UTC |
1.1.0 | 2019-05-05 07:10:22 UTC |
1.0.5 | 2019-04-18 15:51:51 UTC |
1.0.4 | 2018-11-07 13:02:22 UTC |
1.0.3 | 2018-11-04 07:39:44 UTC |
0.0.1 | 2018-09-27 06:21:43 UTC |
Showing the 15 most recent of 15 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 | 3.1.1 |
node 18 | 3.1.1 |
node 20 | 3.1.1 |
node 22 | 3.1.1 |
node 24 | 3.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-diff-viewer?
The latest stable version of react-diff-viewer is 3.1.1, published on 2020-05-22. Verified by Vigia on 2026-11-12.
How do I install the latest version of react-diff-viewer?
Run npm install react-diff-viewer@latest. The latest stable version is 3.1.1 (verified 2026-11-12).
Is react-diff-viewer deprecated?
No. react-diff-viewer is not marked as deprecated in the registry.
Which Node.js version does react-diff-viewer require?
react-diff-viewer 3.1.1 declares this requirement: {"node":">= 8"}.
Does react-diff-viewer 3.1.1 have known vulnerabilities?
No known advisories affect react-diff-viewer 3.1.1 according to the data Vigia checks.
Is react-diff-viewer still maintained?
react-diff-viewer published 0 stable releases in the last 12 months; the most recent was 2365 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- react
- react-dom
- @prisma/internals
- exa-js
- remark-lint
- rgb-hex
- react-slider
- persona
- @fluentui/react-motion
- @braidai/lang
- asar
- @tanstack/react-hotkeys
- @types/dogapi
- ses
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-diff-viewer) [](https://vigia.coredls.cloud/npm/react-diff-viewer) [](https://vigia.coredls.cloud/npm/react-diff-viewer)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/react-diff-viewer
GET https://vigia.coredls.cloud/v1/packages/npm/react-diff-viewer/versions/{version}