Socket.dev optimized package override for is-regex
npm install @socketregistry/is-regex


> A tested zero dependency drop-in replacement of
> is-regex complete with TypeScript
> types.
socket CLI will automagically ✨
populate
overrides
and resolutions of
your package.json.
``sh`
npx socket optimize
Prefer to do it yourself? Add @socketregistry/is-regex to your package.json.
`json`
{
"overrides": {
"is-regex": "npm:@socketregistry/is-regex@^1"
},
"resolutions": {
"is-regex": "npm:@socketregistry/is-regex@^1"
}
}
Install with your favorite package manager.
`sh`
npm install @socketregistry/is-regex
Node >= 18.20.4`