Is trim-newlines 3.0 vulnerable?

npm · 2 releases from 3.0.0 to 3.0.1 · latest trim-newlines is 5.0.0 · checked 2 Nov 2026

No known advisories in the last release

trim-newlines 3.0.1, the last 3.0 release, has no known advisories. 1 advisory affects earlier 3.0.x releases, so update to 3.0.1.

Update within 3.0:npm install trim-newlines@3.0.1

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Fixed within 3.0.x, affecting earlier releases

  • HighCVE-2021-33623GHSA-7p7h-4mm5-852v7 Jun 2021

    Uncontrolled Resource Consumption in trim-newlines

    Affected
    <3.0.1 · >=4.0.0 <4.0.1
    Fixed in
    3.0.1, 4.0.1

Which of your client projects are still on trim-newlines 3.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact trim-newlines version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other trim-newlines versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.