Comparing version 1.1.1 to 1.1.2
@@ -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", |
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
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
8414
1