Comparing version 3.1.0 to 3.1.1
@@ -37,3 +37,8 @@ 'use strict'; | ||
return buffer.map((v) => Math.floor(v / 25.6)).join(''); | ||
const digits = []; | ||
for (let i = 0; i < buffer.length; ++i) { | ||
digits.push(Math.floor(buffer[i] / 25.6)); | ||
} | ||
return digits.join(''); | ||
}; | ||
@@ -40,0 +45,0 @@ |
{ | ||
"name": "cryptiles", | ||
"description": "General purpose crypto utilities", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"repository": "git://github.com/hapijs/cryptiles", | ||
@@ -6,0 +6,0 @@ "main": "lib/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
4809
58