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