@polkadot/x-randomvalues
Advanced tools
Comparing version 12.2.2 to 12.3.1
"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); |
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
21149
+ Added@polkadot/util@12.3.1(transitive)
+ Added@polkadot/x-bigint@12.3.1(transitive)
+ Added@polkadot/x-global@12.3.1(transitive)
+ Added@polkadot/x-textdecoder@12.3.1(transitive)
+ Added@polkadot/x-textencoder@12.3.1(transitive)
- Removed@polkadot/util@12.2.2(transitive)
- Removed@polkadot/x-bigint@12.2.2(transitive)
- Removed@polkadot/x-global@12.2.2(transitive)
- Removed@polkadot/x-textdecoder@12.2.2(transitive)
- Removed@polkadot/x-textencoder@12.2.2(transitive)
Updated@polkadot/x-global@12.3.1