Socket.dev optimized package override for which-collection
npm install @socketregistry/which-collection


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