@socketregistry/set-function-length

A tested zero dependency drop-in replacement of
set-function-length
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/set-function-length to your package.json.
{
"overrides": {
"set-function-length": "npm:@socketregistry/set-function-length@^1"
},
"resolutions": {
"set-function-length": "npm:@socketregistry/set-function-length@^1"
}
}
Install as a plain dependency
Install with your preferred package manager.
npm install @socketregistry/set-function-length
Requirements
Node >= 18.20.4