diff 8.0.3

A JavaScript text diff implementation.

diff@8.0.3 was published on 2026-01-12. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=0.3.1.

All diff versions · Permanent reference to 8.0.3 · Latest release

Package specifications

Version8.0.3
License declarationBSD-3-Clause
Published2026-01-12T15:01:26.760Z
Node.js requirement>=0.3.1
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size497.94 KiB
Published file count148
Package typemodule
ES module entry./libesm/index.js
Default entry./libcjs/index.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies0
Repository stars9213
Repository forks556

Install diff 8.0.3

npm install diff@8.0.3
pnpm add diff@8.0.3
yarn add diff@8.0.3

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

    How to interpret the specifications

    Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

    Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

    OpenSSF repository checks

    Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

    Code-Review1/10 — Found 3/29 approved changesets -- score normalized to 1
    Maintained7/10 — 5 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 7
    Binary-Artifacts10/10 — no binaries found in the repo
    CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
    Security-Policy0/10 — security policy file not detected
    Fuzzing0/10 — project is not fuzzed
    License10/10 — license file detected
    Branch-Protection0/10 — branch protection not enabled on development/release branches
    SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

    Evidence and freshness