@socketregistry/has
v1.0.5
Published
Socket.dev optimized package override for has
Downloads
388
Readme
@socketregistry/has
A tested zero dependency drop-in replacement of
has
complete with TypeScript types.
Installation
Install as a package override
socket
CLI will automagically ✨
populate
overrides
and resolutions of
your package.json
.
npx socket optimize
Prefer to do it yourself? Add @socketregistry/has
to your package.json
.
{
"overrides": {
"has": "npm:@socketregistry/has@^1"
},
"resolutions": {
"has": "npm:@socketregistry/has@^1"
}
}
Install as a plain dependency
Install with your favorite package manager.
npm install @socketregistry/has
Requirements
Node >= 18.20.4