Zeptomatch is a tiny glob matcher for JavaScript, designed to match patterns like `*`, `?`, character classes, brace alternations, and numeric or string ranges against file or path strings. It can also compile one or more globs into standalone regular expressions, and supports partial matching (useful during filesystem traversal) with memoization and path separator normalization.
Project status
- Zeptomatch is likely in maintenance mode, with the last upstream push on 2025-10-19 and no evidence of updates since then as of 2026-06-09.
- Update cadence appears irregular and infrequent, with prior updates dated 2025-06-14, 2025-03-05, and earlier in 2024-03-25 and 2023, suggesting no steady release rhythm.
AI summary generated
Recent updates
v2.1.0
v2.1.0 is a major internal rewrite of Zeptomatch that replaces the previous glob-to-RegExp conversion pipeline with a new AST-based pipeline compiled by a new dependency, graphmatch. It also introduces an options parameter to enable partial, segment-level matching and extends zeptomatch.compile to support compiling multiple globs.
BreakingFeaturesv2.0.2
Release v2.0.2 contains no publisher-provided release notes. The only code changes visible in the diff are a small update to the glob grammar and a new test covering path separator normalization between forward slashes and backslashes.
v2.0.1
Release v2.0.1 was published on 2025-03-05, but no release notes were provided by the publisher. As a result, there is no documented information about new features, bug fixes, breaking changes, security updates, or dependency changes in this release.
v2.0.0
Version 2.0.0 removes the built-in `zeptomatch.escape` utility from the main package. The README is updated to point users to a standalone `zeptomatch-escape` package instead, and the corresponding tests are deleted.
v1.2.2
Release v1.2.2 contains no published release notes. The code changes are limited to the glob grammar fast-path logic and a version bump.
Breakingv1.2.1
v1.2.1 contains a small change to the glob matching logic in src/index.ts. The only functional modification is an added guard for empty glob input, and the package version is bumped from 1.2.0 to 1.2.1.
Breakingv1.2.0
Release v1.2.0 is a small update that adds a new utility function, `zeptomatch.escape`, and documents it in the README. The provided release notes are missing (none were supplied), so this change is effectively not described in the release metadata.
Featuresv1.1.4
v1.1.4 makes a small change to the glob-to-regex conversion logic by adding fast-path handling for a few common double-star patterns. The release notes section is empty, so behavioral changes in matching logic and dependency updates are not documented.
Breakingv1.1.3
v1.1.3 includes a dependency upgrade to grammex and corresponding internal code adjustments in the parser setup. Release notes were not provided, so the behavioral and API adjustments seen in the diff are not documented.
v1.1.2
Release v1.1.2 was published on 2023-07-25, but no release notes were provided by the publisher. As a result, there is no stated information about new features, breaking changes, bug fixes, security updates, or dependency changes in this release.