A zero dependency drop-in replacement of
string.prototype.matchall
.
@socketsecurity/cli
will
automagically ✨ populate the
overrides
and resolutions fields
of your package.json
.
npx @socketsecurity/cli optimize
Prefer to do it yourself? You may manually add
@socketregistry/string.prototype.matchall
to your package.json
.
{
"overrides": {
"string.prototype.matchall": "npm:@socketregistry/string.prototype.matchall@^1"
},
"resolutions": {
"string.prototype.matchall": "npm:@socketregistry/string.prototype.matchall@^1"
}
}
Install with your preferred package manager.
npm install @socketregistry/string.prototype.matchall
Node >= 18.20.4