trim-newlines vulnerabilities

Trim newlines from the start and/or end of a string

Registry
npm
Latest
5.0.0
License
MIT

1 known advisory

The latest version, 5.0.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install trim-newlines@5.0.0

Security advisories for trim-newlines

  • HighGHSA-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 still run an old trim-newlines?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.