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