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