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

bser

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bser - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

index.js

@@ -403,3 +403,3 @@ /* Copyright 2015-present Facebook, Inc.

BunserBuf.prototype.decodeInt = function(relaxSizeAsserts) {
if (relaxSizeAsserts && !this.buf.readAvail(1)) {
if (relaxSizeAsserts && (this.buf.readAvail() < 1)) {
return false;

@@ -428,3 +428,3 @@ } else {

if (relaxSizeAsserts && !this.buf.readAvail(1 + size)) {
if (relaxSizeAsserts && (this.buf.readAvail() < 1 + size)) {
return false;

@@ -431,0 +431,0 @@ }

{
"name": "bser",
"version": "2.1.0",
"version": "2.1.1",
"description": "JavaScript implementation of the BSER Binary Serialization",

@@ -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