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