Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/x-randomvalues

Package Overview
Dependencies
Maintainers
2
Versions
721
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/x-randomvalues - npm Package Compare versions

Comparing version 4.2.2-8 to 4.2.2-9

6

esm/fallback.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc