Comparing version 2.1.0 to 2.1.1
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
17986
0