A JavaScript ES2015 mostly-spec-compliant shim or polyfill that provides `Reflect.getPrototypeOf` behavior across many engines, including older environments that support `__proto__` or ES6. Useful for getting an object's prototype consistently when `Reflect.getPrototypeOf` is missing or unreliable.
Project status
- Actively maintained, with recent updates published close together (last upstream push on 2025-01-02, followed by v1.0.10 on 2025-01-02, then v1.0.9 on 2024-12-18, and v1.0.8 on 2024-12-06).
- Apparent update cadence is roughly every 1 to 2 weeks based on the provided update timestamps, suggesting an ongoing maintenance stream rather than a one-off change.
AI summary generated Today
Recent updates
v1.0.10
1/2/2025v1.0.10 is a refactor release that changes how the polyfill/shim obtains an object's prototype. It also bumps several dependencies (notably es-abstract and get-intrinsic) and swaps out the dunder-proto based implementation for get-proto plus es-object-atoms.
v1.0.9
12/18/2024This release (v1.0.9) includes a small code change in polyfill.js to prevent a crash when Node is started with the `--disable-proto=throw` flag. It also bumps several dependencies and adds CI coverage for both `--disable-proto=throw` and `--disable-proto=delete`.
v1.0.8
12/6/2024Release v1.0.8 was published on 2024-12-06, but the publisher did not include any release notes. As a result, no developer-impacting changes, breaking changes, or migration steps are explicitly documented in the provided information.