This is a small JavaScript utility that detects whether the current environment supports setting an object's [[Prototype]] at creation time using `__proto__`. It also provides accessor and mutator checks (via `has-proto/accessor` and `has-proto/mutator`) to help you write compatibility logic for different JavaScript runtimes.
Project status
- Actively maintained signals are mixed but positive: the upstream repository shows a push on 2026-01-13, and the most recent tagged update in the provided list is v1.2.0 on 2024-12-06. (The absence of newer tagged updates than v1.2.0 in the provided data means we cannot confirm a steady release cadence beyond that.)
- Apparent update cadence from the provided versions: v1.0.3 on 2024-02-19, then v1.1.0 on 2024-12-01, followed closely by v1.2.0 on 2024-12-06. This suggests bursts of work rather than a regular monthly cadence.
AI summary generated Today
Recent updates
v1.2.0
12/6/2024v1.2.0 primarily refactors the internal implementation for getting and setting __proto__-related descriptors. The code now uses the dunder-proto package (get and set) instead of local helper modules built on gopd plus call-bind, and CI workflows were adjusted for Node 10-20 and Node 20+.
v1.1.0
12/1/2024v1.1.0 adds new “hasProto” capability check entrypoints, `has-proto/accessor` and `has-proto/mutator`, alongside the existing default export. The implementation also changes the default export to compute the result once at module load time (cached), rather than re-evaluating on every call.
BreakingFeaturesv1.0.3
2/19/2024Release v1.0.3 was published on 2024-02-19, but no release notes or change details were provided by the publisher. As a result, the specific developer-impacting changes (features, fixes, breaking changes) cannot be determined from the provided information.