New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bare-buffer

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-buffer - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

global.d.ts

10

index.d.ts

@@ -12,3 +12,3 @@ type BufferEncoding =

declare class Buffer extends Uint8Array {
interface Buffer extends Uint8Array {
compare(

@@ -139,5 +139,7 @@ target: Buffer,

declare class Buffer extends Uint8Array {
constructor(arrayBuffer: ArrayBuffer, offset?: number, length?: number)
}
declare namespace Buffer {
export { Buffer, BufferEncoding }
export let poolSize: number

@@ -181,4 +183,6 @@

export const constants: { MAX_LENGTH: number; MAX_STRING_LENGTH: number }
export { Buffer, BufferEncoding }
}
export = Buffer
{
"name": "bare-buffer",
"version": "3.0.0",
"version": "3.0.1",
"description": "Native buffers for JavaScript",

@@ -11,3 +11,6 @@ "exports": {

"./package": "./package.json",
"./global": "./global.js",
"./global": {
"types": "./global.d.ts",
"default": "./global.js"
},
"./constants": "./lib/constants.js"

@@ -19,2 +22,3 @@ },

"global.js",
"global.d.ts",
"binding.c",

@@ -21,0 +25,0 @@ "binding.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc