@polkadot/x-randomvalues
Advanced tools
Comparing version 4.2.2-8 to 4.2.2-9
@@ -6,3 +6,3 @@ // Copyright 2017-2020 @polkadot/x-randomvalues authors & contributors | ||
// SPDX-License-Identifier: MIT | ||
let warned = false; | ||
var warned = false; | ||
export default function insecureRandomValues(arr) { | ||
@@ -14,5 +14,5 @@ if (!warned) { | ||
let r = 0; | ||
var r = 0; | ||
for (let i = 0; i < arr.length; i++) { | ||
for (var i = 0; i < arr.length; i++) { | ||
if ((i & 0b11) === 0) { | ||
@@ -19,0 +19,0 @@ r = Math.random() * 0x100000000; |
@@ -11,3 +11,3 @@ { | ||
"type": "module", | ||
"version": "4.2.2-8" | ||
"version": "4.2.2-9" | ||
} |
{ | ||
"name": "@polkadot/x-randomvalues", | ||
"version": "4.2.2-8", | ||
"version": "4.2.2-9", | ||
"description": "A cross-environment window.crypto.getRandomValues replacement", | ||
@@ -5,0 +5,0 @@ "browser": "browser.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