@polkadot/x-randomvalues
Advanced tools
Comparing version 12.2.1 to 12.2.2
@@ -11,3 +11,3 @@ "use strict"; | ||
let r = 0; | ||
for (let i = 0; i < arr.length; i++) { | ||
for (let i = 0, count = arr.length; i < count; i++) { | ||
if ((i & 0b11) === 0) { | ||
@@ -14,0 +14,0 @@ r = Math.random() * 0x100000000; |
"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.1' }; | ||
exports.packageInfo = { name: '@polkadot/x-randomvalues', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.2.2' }; |
@@ -8,3 +8,3 @@ let warned = false; | ||
let r = 0; | ||
for (let i = 0; i < arr.length; i++) { | ||
for (let i = 0, count = arr.length; i < count; i++) { | ||
if ((i & 0b11) === 0) { | ||
@@ -11,0 +11,0 @@ r = Math.random() * 0x100000000; |
@@ -18,3 +18,3 @@ { | ||
"type": "module", | ||
"version": "12.2.1", | ||
"version": "12.2.2", | ||
"main": "./cjs/node.js", | ||
@@ -100,9 +100,9 @@ "module": "./node.js", | ||
"dependencies": { | ||
"@polkadot/x-global": "12.2.1", | ||
"tslib": "^2.5.0" | ||
"@polkadot/x-global": "12.2.2", | ||
"tslib": "^2.5.3" | ||
}, | ||
"peerDependencies": { | ||
"@polkadot/util": "12.2.1", | ||
"@polkadot/util": "12.2.2", | ||
"@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.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' }; |
21137
+ Added@polkadot/util@12.2.2(transitive)
+ Added@polkadot/x-bigint@12.2.2(transitive)
+ Added@polkadot/x-global@12.2.2(transitive)
+ Added@polkadot/x-textdecoder@12.2.2(transitive)
+ Added@polkadot/x-textencoder@12.2.2(transitive)
- Removed@polkadot/util@12.2.1(transitive)
- Removed@polkadot/x-bigint@12.2.1(transitive)
- Removed@polkadot/x-global@12.2.1(transitive)
- Removed@polkadot/x-textdecoder@12.2.1(transitive)
- Removed@polkadot/x-textencoder@12.2.1(transitive)
Updated@polkadot/x-global@12.2.2
Updatedtslib@^2.5.3