Regular Expression Denial of Service (ReDoS)
The trim-newlines package for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.
The trim-newlines package for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.