A tested zero dependency drop-in replacement of
reflect.getprototypeof
complete with TypeScript types.
socket
CLI will automagically ✨
populate
overrides
and resolutions of
your package.json
.
npx socket optimize
Prefer to do it yourself? Add @socketregistry/reflect.getprototypeof
to your
package.json
.
{
"overrides": {
"reflect.getprototypeof": "npm:@socketregistry/reflect.getprototypeof@^1"
},
"resolutions": {
"reflect.getprototypeof": "npm:@socketregistry/reflect.getprototypeof@^1"
}
}
Install with your favorite package manager.
npm install @socketregistry/reflect.getprototypeof
Node >= 18.20.4