bplist-parser
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -135,3 +135,8 @@ 'use strict'; | ||
var realBuffer = buffer.slice(offset + 1, offset + 1 + length); | ||
return realBuffer.readDoubleBE(0); | ||
if (length === 4) { | ||
return realBuffer.readFloatBE(0); | ||
} | ||
else if (length === 8) { | ||
return realBuffer.readDoubleBE(0); | ||
} | ||
} else { | ||
@@ -138,0 +143,0 @@ throw new Error("To little heap space available! Wanted to read " + length + " bytes, but only " + exports.maxObjectSize + " are available."); |
{ | ||
"name": "bplist-parser", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Binary plist parser.", | ||
@@ -5,0 +5,0 @@ "main": "bplistParser.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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
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
43054
381
6
1