trim-newlines@3.0.0 vulnerabilities

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

  • latest version

    5.0.0

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    2 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the trim-newlines package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Denial of Service (DoS)

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

    Affected versions of this package are vulnerable to Denial of Service (DoS) via the end() method.

    How to fix Denial of Service (DoS)?

    Upgrade trim-newlines to version 3.0.1, 4.0.1 or higher.

    <3.0.1>=4.0.0 <4.0.1