A small polyfill for Object.setPrototypeOf with cross-platform compatibility
82
Native Object.setPrototypeOf passthrough
Imports package
100%
100%
Rebinds prototype
100%
100%
Null prototype support
100%
100%
Prototype validation
100%
100%
TypeScript declaration for setPrototypeOf signature
Import usage
100%
100%
In-place calls
100%
100%
Clone calls
50%
25%
Null handling
100%
100%
Typed signature
100%
100%
Returns original object after prototype change
Imports package
100%
100%
Single rebind
100%
100%
Own props intact
100%
100%
Null prototype
100%
100%
Bulk rebind
100%
100%
__proto__ assignment fallback
Imports package
100%
100%
Prototype calls
100%
100%
Fallback reliance
0%
25%
Null handling
100%
100%
Return usage
0%
66%
Legacy property mixin fallback when prototypes unsupported
Imports helper
100%
100%
Prototype path
100%
100%
Legacy mixin path
0%
0%
Single mechanism
0%
0%
Install with Tessl CLI
npx tessl i tessl/npm-setprototypeof