A tested zero dependency drop-in replacement of
object.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/object.getprototypeof
to your
package.json
.
{
"overrides": {
"object.getprototypeof": "npm:@socketregistry/object.getprototypeof@^1"
},
"resolutions": {
"object.getprototypeof": "npm:@socketregistry/object.getprototypeof@^1"
}
}
Install with your favorite package manager.
npm install @socketregistry/object.getprototypeof
Node >= 18.20.4