An ESnext spec-compliant shim or polyfill that provides `Array.prototype.findLastIndex`, including in older ES3-supported environments. Useful for codebases that need consistent `findLastIndex` behavior and can either call the exported function with an array argument or use `.shim()` to ensure `Array.prototype.findLastIndex` is available.
Project status
- The repository appears actively maintained, with an upstream push and package update on 2025-03-14, and additional prior updates in 2024 and earlier.
- The apparent update cadence is roughly annual (v1.2.4 in 2024-02, v1.2.5 in 2024-03, v1.2.6 in 2025-03), suggesting steady but not frequent maintenance.
AI summary generated Today
Recent updates
v1.2.6
3/14/2025Release v1.2.6 updates the package metadata and refreshes several runtime and dev dependencies. The only direct code change is in index.js, where the module now requires call-bound directly instead of call-bind/callBound. The repo also updates its audit command in package.json.
v1.2.5
3/19/2024Version v1.2.5 makes internal dependency/refactor changes around spec helper implementations. More importantly, it removes the package's ESM entrypoint (index.mjs) and simplifies the package exports so the root export resolves to the CommonJS build for both require and import.
v1.2.4
2/6/2024Release v1.2.4 was published on 2024-02-06, but no release notes were provided by the publisher. As a result, there is no documented information about changes, bug fixes, breaking changes, or security updates in this release.
v1.2.3
8/30/2023v1.2.3 contains no publisher release notes (none provided). The code changes are primarily dependency and spec-algorithm updates (notably switching es-abstract imports from 2022 to 2023), plus a new test covering behavior with extremely large array-like lengths.
v1.2.2
11/3/2022v1.2.2 contains a small set of implementation-level dependency updates (notably es-abstract 2022 shims) and changes to how npm ignore files are generated for publishing. The provided release notes are empty, so most of the actual changes below are effectively undocumented.
v1.2.1
4/11/2022v1.2.1 is a small internal refactor release for the Array.prototype.findLastIndex shim/polyfill. The only functional-looking change is how Symbol.unscopables is handled, switching from an inline Symbol check to using the es-shim-unscopables helper.
v1.2.0
4/11/2022v1.2.0 updates the repo tooling and test workflows and bumps several dependencies. There is also a user-visible behavioral change in the shim implementation regarding Symbol.unscopables for findLastIndex.
Featuresv1.1.1
10/1/2021Release v1.1.1 updates core internal abstract-ops usage by bumping `es-abstract` (2020 to 2021 algorithm modules) and adjusts the package export layout for ESM-related subpaths. It also removes several ESM wrapper files and updates tests to cover additional edge cases, but the published release notes contain no documented changes.
v1.1.0
8/7/2021v1.1.0 adds ESM entry points for Array.prototype.findLastIndex and expands the package exports map to include additional subpath entry points (auto, implementation, polyfill, shim). It also changes the CJS entry implementation to explicitly validate the receiver via es-abstract's RequireObjectCoercible before delegating to the bound polyfill/implementation.
BreakingFeaturesv1.0.0
7/14/2021This release is tagged v1.0.0 and was published on 2021-07-14. No release notes were provided, so there is no documented information about new features, fixes, breaking changes, or dependency updates.