npm package
Homesafe-regex2
safe-regex2 is a utility for detecting potentially catastrophic exponential-time regular expressions by limiting the star height to 1. It is useful for ensuring that regex patterns do not lead to performance issues in applications. This package is a fork of the original safe-regex and is not a comprehensive checker.
- lurq health score
- 71/100
- Confidence
- proven
- Weekly downloads
- 17,297,033
- Latest version
- 5.1.1
- Last release
- Apr 19, 2026
- License
- MIT
Should you depend on safe-regex2?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks safe-regex2 at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Other styling packages lurq scores
- @mui/private-theming94/100 · proven
- @mui/system93/100 · proven
- remeda93/100 · proven
- gaxios91/100 · proven
- @internationalized/number91/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 1, 2026; this page refreshes every 24 hours. Source repository.