Socket
Socket
Sign inDemoInstall

@polkadot/util

Package Overview
Dependencies
Maintainers
2
Versions
1408
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/util - npm Package Compare versions

Comparing version 10.1.2 to 10.1.3

6

array/flatten.js

@@ -21,4 +21,6 @@ // Copyright 2017-2022 @polkadot/util authors & contributors

export function arrayFlatten(arrays) {
// noop for the single-entry case
if (arrays.length === 1) {
// noop for the empty & single-entry case
if (arrays.length === 0) {
return [];
} else if (arrays.length === 1) {
return arrays[0];

@@ -25,0 +27,0 @@ } // pre-allocate based on the combined size

@@ -28,4 +28,6 @@ "use strict";

function arrayFlatten(arrays) {
// noop for the single-entry case
if (arrays.length === 1) {
// noop for the empty & single-entry case
if (arrays.length === 0) {
return [];
} else if (arrays.length === 1) {
return arrays[0];

@@ -32,0 +34,0 @@ } // pre-allocate based on the combined size

@@ -14,4 +14,4 @@ "use strict";

type: 'cjs',
version: '10.1.2'
version: '10.1.3'
};
exports.packageInfo = packageInfo;

@@ -23,3 +23,3 @@ {

"type": "module",
"version": "10.1.2",
"version": "10.1.3",
"main": "./cjs/index.js",

@@ -723,6 +723,6 @@ "module": "./index.js",

"@babel/runtime": "^7.18.9",
"@polkadot/x-bigint": "10.1.2",
"@polkadot/x-global": "10.1.2",
"@polkadot/x-textdecoder": "10.1.2",
"@polkadot/x-textencoder": "10.1.2",
"@polkadot/x-bigint": "10.1.3",
"@polkadot/x-global": "10.1.3",
"@polkadot/x-textdecoder": "10.1.3",
"@polkadot/x-textencoder": "10.1.3",
"@types/bn.js": "^5.1.0",

@@ -729,0 +729,0 @@ "bn.js": "^5.2.1"

@@ -8,3 +8,3 @@ // Copyright 2017-2022 @polkadot/util authors & contributors

type: 'esm',
version: '10.1.2'
version: '10.1.3'
};

Sorry, the diff of this file is too big to display

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