diff

A JavaScript text diff implementation.

9.0.0Latest, 13 Apr 2026
843MDownloads, last month
0Advisories on the latest
2Advisories, all versions
BSD-3-ClauseLicence
9.2KStars
3.2/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Low jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch CVE-2026-24001 Fixed in 5.2.2, 4.0.4, 3.5.1 14 Jan 2026
High Regular Expression Denial of Service (ReDoS) GHSA-h6ch-v84p-w6p9 Fixed in 3.5.0 13 Jun 2019

In the news

On Hacker News

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