@socketregistry/safer-buffer
v1.0.2
Published
Socket.dev optimized package override for safer-buffer
Downloads
1,299
Readme
@socketregistry/safer-buffer
A tested zero dependency drop-in replacement of
safer-buffer
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/safer-buffer
to
your package.json
.
{
"overrides": {
"safer-buffer": "npm:@socketregistry/safer-buffer@^1"
},
"resolutions": {
"safer-buffer": "npm:@socketregistry/safer-buffer@^1"
}
}
Install as a plain dependency
Install with your preferred package manager.
npm install @socketregistry/safer-buffer
Requirements
Node >= 18.20.4