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

@polkadot/util

Package Overview
Dependencies
Maintainers
1
Versions
1412
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 0.18.5 to 0.18.6

4

package.json
{
"name": "@polkadot/util",
"version": "0.18.5",
"version": "0.18.6",
"description": "A collection of useful utilities for @polkadot",

@@ -32,3 +32,3 @@ "main": "index.js",

"devDependencies": {
"@polkadot/api-jsonrpc": "^0.8.11"
"@polkadot/api-jsonrpc": "^0.8.13"
},

@@ -35,0 +35,0 @@ "dependencies": {

@@ -23,6 +23,7 @@ 'use strict';

module.exports = function u8aConcat() {
for (var _len = arguments.length, list = Array(_len), _key = 0; _key < _len; _key++) {
list[_key] = arguments[_key];
for (var _len = arguments.length, _list = Array(_len), _key = 0; _key < _len; _key++) {
_list[_key] = arguments[_key];
}
var list = _list.map(u8aToU8a);
var length = list.reduce(function (total, item) {

@@ -35,3 +36,3 @@ return total + item.length;

return list.reduce(function (result, item) {
result.set(u8aToU8a(item), offset);
result.set(item, offset);
offset += item.length;

@@ -38,0 +39,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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