pugjs / pug-lint

An unopinionated and configurable linter and style checker for Pug
ISC License
228 stars 51 forks source link

Remove dependency semver-regex #187

Closed adrienverge closed 1 year ago

adrienverge commented 1 year ago

This npm package has 2 vulnerabilities: CVE-2021-3795 + CVE-2021-43307. It was imported just to use a regex. The present commit makes use of a much simpler regex, without any extra package requirement.

I tested that npm run changelog still works fine when creationg a new version.