glob-parent

Extract the non-magic parent path from a glob string.

7.0.0Latest, 17 Nov 2026
1.9BDownloads, last month
0Advisories on the latest
2Advisories, all versions
ISCLicence
85Stars
3.7/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High glob-parent 6.0.0 vulnerable to Regular Expression Denial of Service CVE-2021-35065 Fixed in 6.0.1 18 Jul 2022
High glob-parent vulnerable to Regular Expression Denial of Service in enclosure regex CVE-2020-28469 Fixed in 5.1.2 7 Jun 2021

In the news

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.