Back to Explore

es-shims/Object.groupBy

GitHub
1 watchersOpen source

Last release: 3/18/2024

Provides an ESnext spec-compliant `Object.groupBy` shim, polyfill, or replacement that works in older environments down to ES3. Useful for adding `Object.groupBy`-style grouping behavior where it is missing, with an API that also exposes a `shim()` helper and returns the polyfill when needed.

Project status

  • The repo appears to be actively maintained, with an upstream push timestamp on 2024-12-21, though the provided versioned updates only go up through v1.0.3 (2024-03-18).
  • Update cadence looks intermittent but recently active: v1.0.1 (2023-08-28), v1.0.2 (2024-02-05, about 5 months later), then v1.0.3 (2024-03-18, about 1 month later).

AI summary generated Today

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

Recent updates

  • v1.0.3

    3/18/2024

    v1.0.3 updates the shim to use `es-abstract` 2024 implementations for `Object.groupBy`, and bumps the package version plus several dependencies. The release notes section is empty, so this version change is effectively undocumented in the provided release notes.

    Breaking
  • v1.0.2

    2/5/2024

    Release v1.0.2 primarily refactors internal implementation details and updates several dependencies. The most notable code-level change is replacing the way `TypeError` and `Array.prototype.filter` are obtained/used inside the polyfill implementation.

  • v1.0.1

    8/28/2023

    Release v1.0.1 was published on 2023-08-28. No release notes or change details were provided by the publisher, so the developer impact cannot be determined from the release information alone.