@socketregistry/hasown
v1.0.5
Published
Socket.dev optimized package override for hasown
Downloads
3,328
Readme
@socketregistry/hasown
A tested zero dependency drop-in replacement of
hasown
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/hasown
to your package.json
.
{
"overrides": {
"hasown": "npm:@socketregistry/hasown@^1"
},
"resolutions": {
"hasown": "npm:@socketregistry/hasown@^1"
}
}
Install as a plain dependency
Install with your favorite package manager.
npm install @socketregistry/hasown
Requirements
Node >= 18.20.4