safe-regex-test takes a regular expression and returns a predicate function you can call with a string to test for matches. It’s designed to remain robust even if RegExp.prototype is altered later, making it useful for safer regex-based checks in JavaScript.
Project status
- The repository appears actively maintained, with an upstream push recorded on 2026-01-05, though the most recent tagged update summaries shown are from 2024-12-12 (v1.1.0).
- The apparent update cadence looks irregular, based on published tags in 2024-01-11 (v1.0.2), 2024-02-06 (v1.0.3), and 2024-12-12 (v1.1.0), with no update summary shown between 2024-12-12 and the 2026-01-05 push.
AI summary generated Today
Recent updates
v1.1.0
12/12/2024This release (v1.1.0) primarily adds TypeScript type definitions and updates internal dependencies and tooling. The provided release notes are empty, so the full set of behavior-relevant changes must be inferred from the code diff.
Featuresv1.0.3
2/6/2024Release v1.0.3 updates runtime and dev dependencies and refactors how the module obtains the TypeError constructor used in its regex test error handling logic. The release notes section provided by the publisher is empty, so the functional intent of these changes is not documented there.
v1.0.2
1/11/2024Release v1.0.2 was published on 2024-01-11, but no release notes were provided by the publisher. As a result, there is no documented information about new features, fixes, or breaking changes in this version.