Regular Expression Denial of Servicetrim-newlines
trim-newlines 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.
Upgrade to versions 3.0.1 or 4.0.1 or later
Have content suggestions? Visit npmjs.com/support.
publishedAdvisory PublishedJun 7th, 2021
reportedReported by AnonymousJun 7th, 2021