Socket.dev optimized package override for path-parse
npm install @socketregistry/path-parse


> A tested zero dependency drop-in replacement of
> path-parse 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/path-parse to yourpackage.json.
`json`
{
"overrides": {
"path-parse": "npm:@socketregistry/path-parse@^1"
},
"resolutions": {
"path-parse": "npm:@socketregistry/path-parse@^1"
}
}
Install with your favorite package manager.
`sh`
npm install @socketregistry/path-parse
Node >= 18.20.4`