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

struct

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

struct - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

9

index.js

@@ -161,3 +161,3 @@ /**

if (remainSpace > 0) {
p.buf.fill(0, (offset + val.length), length);
p.buf.fill(0, (offset + val.length), offset + length);
}

@@ -364,3 +364,8 @@

applyClosures(priv);
priv.buf = new Buffer(priv.len);
if (Buffer.alloc) {
priv.buf = Buffer.alloc(priv.len);
} else {
priv.buf = new Buffer(priv.len);
priv.buf.fill(0);
}
allocateFields();

@@ -367,0 +372,0 @@ priv.allocated = true;

{ "name" : "struct"
, "version" : "v0.0.11"
, "version" : "v0.0.12"
, "description" : "Pack/Unpack multibyte binary values from/to buffers "

@@ -4,0 +4,0 @@ , "author": "Denys Khanzhiyev"

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