Socket.dev optimized package override for has
npm install @socketregistry/has


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