Back to Explore

es-shims/String.prototype.matchAll

GitHub
2 watchersOpen source

Last release:

A spec-compliant polyfill for `String.prototype.matchAll`, packaged as `string.prototype.matchall` for ES2020 JavaScript environments. It provides a `shim` method to add `String.prototype.matchAll` when it is missing or noncompliant, and it helps use `matchAll` for iterating over all regex matches.

Project status

  • The repo appears to be maintained intermittently, with an upstream push on 2025-12-30, but the most recently described version update is v4.0.12 dated 2024-12-20, which is about 18 months before today (2026-06-09). Overall, this looks more like periodic maintenance than continuous active development.
  • Update cadence is slow, with gaps commonly on the order of 6 to 18+ months between the summarized updates (for example, v4.0.12 in 2024-12, then prior summarized updates in 2024-03, 2023-09, 2022-11, 2022-03).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v4.0.12

    v4.0.12 does not include publisher release notes. The diff shows mostly CI/workflow and dependency updates, plus a small internal refactor around how `callBound` is imported.

  • v4.0.11

    v4.0.11 mainly updates the internal implementation to use newer ECMAScript abstract helpers and switches to safer intrinsic lookups (for RegExp and TypeError). It also bumps several dependencies and updates CI workflow definitions.

  • v4.0.10

    Release v4.0.10 (published 2023-09-13) was published, but no release notes or change details were provided by the publisher. As a result, there is insufficient information to identify new features, breaking changes, bug fixes, security, performance, or migration requirements for developers.

  • v4.0.9

    This release (v4.0.9) has no publisher-provided release notes. The code diff shows a patch-version update primarily driven by dependency upgrades, including switching internal `es-abstract` algorithm module paths from the 2022 to the 2023 set.

  • v4.0.8

    No release notes were provided for v4.0.8. The code diff indicates internal implementation changes via an update from es-abstract 2021 modules to es-abstract 2022 modules, along with dependency bumps and a change in how npm publish ignore rules are generated.

    Breaking
  • v4.0.7

    v4.0.7 updates the project version and modernizes CI and linting configuration. The only runtime code change visible in the diff is in the RegExp matchAll iterator logic, where flag parsing switches to using a call-bound String.prototype.indexOf for robustness.

    Breaking
  • v4.0.6

    v4.0.6 primarily refactors the polyfill implementation to use newer `es-abstract` helpers (notably `CreateRegExpStringIterator`) and bumps `es-abstract` from the `1.18.x` to `1.19.x` range. It also removes several internal helper modules from the package and updates release tooling (auto-changelog, npm config).

  • v4.0.5

    Release v4.0.5 updates the build and CI workflows and bumps several dependencies. The only functional-looking source change is inside the iterator helper, where the implementation switches from es-abstract's GetIntrinsic to the standalone get-intrinsic package.

  • v4.0.4

    v4.0.4 is primarily a maintenance release with dependency and dev dependency updates, plus CI workflow and repository metadata tweaks. The provided publisher release notes are empty, but the repository changelog indicates workflow updates, coverage-related gitignore/test adjustments, and several dependency bumps.

  • v4.0.3

    Release v4.0.3 was published on 2020-11-20, but no release notes were provided. As a result, the publicly documented changes, if any, cannot be determined from the release information alone.