All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.CreditsRobert McLaughlinReferenceshttps://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6