Provides an ES spec-compliant polyfill (shim) for `Object.fromEntries`, and exposes a `shim()` method to patch `Object.fromEntries` when it is missing or noncompliant. Useful in JavaScript environments that support ES3 and need `Object.fromEntries` behavior that matches the proposed spec.
Project status
- Active maintenance: Evidence is mixed. The GitHub upstream shows a recent push on 2025-12-30, but the last tagged package update in the provided history is v2.0.8 on 2024-03-18, and several prior updates also lack publisher release notes. This suggests the project may still be maintained, but with long stretches between published updates.
- Update cadence: After v2.0.8 (2024-03-18), there are no newer tagged updates shown through 2026-09-10. Historically, updates are infrequent (often multi-year gaps), indicating a very low release update cadence.
AI summary generated
Recent updates
v2.0.8
Release v2.0.8 has no publisher-provided release notes. The code diff shows version bumps and implementation dependency refactors, but there is no explicit documentation of user-facing behavior changes.
v2.0.7
This release, v2.0.7, appears to be a dependency-only update. The only code change is that internal helper imports from the `es-abstract` package were moved from the `2022` to the `2023` spec paths, alongside bumps to `define-properties` and `es-abstract` (plus several dev dependencies).
v2.0.6
Release v2.0.6 was published on 2022-11-06, but no release notes were provided by the publisher. As a result, no specific changes, fixes, breaking changes, or migration steps can be verified from the provided information.
v2.0.5
No release notes were provided for v2.0.5. The published changes, based on the repository diff, mainly update dependencies (notably es-abstract and dev tooling) and adjust CI workflows, plus small test/coverage configuration tweaks.
v2.0.4
Release v2.0.4 appears to be mostly repository and release engineering changes: CI workflow adjustments, documentation/badge URL fixes, and npm packaging configuration. It also bumps several runtime and dev dependency versions in package.json, but there are no direct source code diffs shown in the provided diff.
v2.0.3
Release v2.0.3 does not include any publisher-provided release notes. The diff shows internal dependency and implementation changes, including a switch from function-bind to call-bind and an update to the es-abstract version used by the core fromEntries implementation.
v2.0.2
Release v2.0.2 updates the project tooling and refactors the runtime implementation to use split-out `es-abstract` modules instead of the bundled `es-abstract/es2019` entry. It also bumps `es-abstract` and several dev dependencies, and changes CI configuration (Travis) plus adds a GitHub Action for automatic rebasing.
v2.0.1
No release notes were provided for v2.0.1. The code changes focus on updating the shim internals to avoid mutating native Object.fromEntries and modernizing the implementation by switching to newer es-abstract utilities, alongside runtime dependency bumps.
v2.0.0
This release updates the `Object.fromEntries` shim to be stricter about the input `iterable`. The main code change adds an explicit runtime check that causes the function to throw when `iterable` is nullish. It also bumps the package version and updates documentation links.
v1.0.0
This release is tagged v1.0.0, but the publisher did not provide any release notes. As a result, there is no documented information here about new features, breaking changes, bug fixes, or security updates.