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