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 12.2.2 to 12.3.1

2

cjs/packageInfo.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.packageInfo = void 0;
exports.packageInfo = { name: '@polkadot/x-randomvalues', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.2.2' };
exports.packageInfo = { name: '@polkadot/x-randomvalues', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.3.1' };

@@ -24,3 +24,3 @@ "use strict";

? browser_js_1.getRandomValues
: (typeof x_global_1.xglobal.nativeCallSyncHook === 'undefined' || !react_native_1.NativeModules.ExpoRandom)
: (typeof x_global_1.xglobal['nativeCallSyncHook'] === 'undefined' || !react_native_1.NativeModules['ExpoRandom'])
? fallback_js_1.insecureRandomValues

@@ -27,0 +27,0 @@ : getRandomValuesRn);

@@ -18,3 +18,3 @@ {

"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "./cjs/node.js",

@@ -100,9 +100,9 @@ "module": "./node.js",

"dependencies": {
"@polkadot/x-global": "12.2.2",
"@polkadot/x-global": "12.3.1",
"tslib": "^2.5.3"
},
"peerDependencies": {
"@polkadot/util": "12.2.2",
"@polkadot/util": "12.3.1",
"@polkadot/wasm-util": "*"
}
}

@@ -1,1 +0,1 @@

export const packageInfo = { name: '@polkadot/x-randomvalues', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/x-randomvalues', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '12.3.1' };

@@ -20,3 +20,3 @@ import { NativeModules } from 'react-native';

? getRandomValuesBrowser
: (typeof xglobal.nativeCallSyncHook === 'undefined' || !NativeModules.ExpoRandom)
: (typeof xglobal['nativeCallSyncHook'] === 'undefined' || !NativeModules['ExpoRandom'])
? insecureRandomValues

@@ -23,0 +23,0 @@ : getRandomValuesRn);

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