@socketregistry/array-includes
A tested zero dependency drop-in replacement of
array-includes
complete
with TypeScript types.
Installation
Install as a package override
@socketsecurity/cli
will
automagically :sparkles: populate the
overrides
and resolutions fields
of your package.json
.
npx @socketsecurity/cli optimize
Prefer to do it yourself? You may manually add @socketregistry/array-includes
to your package.json
.
{
"overrides": {
"array-includes": "npm:@socketregistry/array-includes@^1"
},
"resolutions": {
"array-includes": "npm:@socketregistry/array-includes@^1"
}
}
Install as a plain dependency
Install with your preferred package manager.
npm install @socketregistry/array-includes
Requirements
Node >= 18.20.4