Commit activity
Last 12 weeks · 4 commits
Community health
4 of 6 standards met
Recent fixes
Passing keeps the original pattern instead of replacing it with an empty pattern. Other non-empty source overrides work. This prevents clearing a pattern through the existing options API. Reproduction Expected: The empty override should produce the same pattern as , whose normalized source is . Suggested fix: Distinguish an omitted source from an explicitly supplied empty string instead of using a truthiness fallback. Version: 3.0.0. Environment: Node.js v24.19.0.
Repository: sindresorhus/clone-regexp. Description: Clone and modify a RegExp instance Stars: 24, Forks: 9. Primary language: JavaScript. Languages: JavaScript (93.6%), TypeScript (6.4%). License: MIT. Latest release: v4.0.0 (1w ago). Open PRs: 0, open issues: 0. Last activity: 1w ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, Richienb, bluelovers, olsonpm.