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.
| Software | From | Fixed in |
|---|---|---|
| trim-newlines_project / trim-newlines | 4.0.0 | 4.0.1 |
| trim-newlines_project / trim-newlines | - | 3.0.1 |
| debian / debian_linux | 10.0 | 10.0.x |
sindresorhus / trim-newlines
|
- | 3.0.1 |
sindresorhus / trim-newlines
|
4.0.0 | 4.0.0.x |
sindresorhus / trim-newlines
|
4.0.0 | 4.0.1 |