# diff (npm)

A JavaScript text diff implementation.

- Latest: 9.0.0 (2026-04-13)
- Licence: BSD-3-Clause
- Downloads: 842816777 last month
- Advisories on the latest version: 0

- CVE-2026-24001 LOW: jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch Fixed in 5.2.2, 4.0.4, 3.5.1.
- GHSA-h6ch-v84p-w6p9 HIGH: Regular Expression Denial of Service (ReDoS) Fixed in 3.5.0.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
