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