Description
All versions of `url-relative` are vulnerable to Denial of Service. If the values `to` and `from` are equal, the function hangs and never returns. This may cause a Denial of Service.
## Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | url-relative | <= 1.0.0 | — | GHSA-86p3-4gfq-38f2 |