sindresorhus/trim-newlines

sindresorhus/trim-newlines

Releases7
Frequency1 year 2 months
Last Release
Stars49
Trim newlines from the start and/or end of a string

CVE History

CVEPublishedCVSS v3CVSS v2
7.5 HIGH5 MEDIUM

The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.