Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitfield

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitfield - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

index.js

@@ -18,3 +18,3 @@ var Container = typeof Buffer !== "undefined" ? Buffer //in node, use buffers

data = new Container(getByteSize(data));
if(data.fill) data.fill(0); // clear node buffers of garbage
if(data.fill && !data._isBuffer) data.fill(0); // clear node buffers of garbage
}

@@ -21,0 +21,0 @@ this.buffer = data;

{
"name": "bitfield",
"version": "1.1.1",
"version": "1.1.2",
"description": "a very simple bitfield implementation using buffers",

@@ -5,0 +5,0 @@ "main": "index.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