Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use url-regex-safe to fix url-regex vulnerability
The package [url-regex](https://www.npmjs.com/package/url-regex) has a [Regular Expression Denial of Service vulnerability](https://www.npmjs.com/advisories/1550) and it looks like it is [not maintained anymore](kevva/url-regex#70). This PR replaces url-regex with [url-regex-safe](https://www.npmjs.com/package/url-regex-safe) which solves the problem above while providing a drop-in replacement for url-regex.
- Loading branch information