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.4 to 0.18.5

u8a/toU8a.js

4

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

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

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

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

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

"use strict";
'use strict';

@@ -6,7 +6,7 @@ // Copyright 2017-2018 Jaco Greeff

// of the ISC license. See the LICENSE file for details.
var u8aToU8a = require('./toU8a');
/**
@name u8aConcat
@signature u8aConcat (...values: Array<Uint8Array>): Uint8Array
@signature u8aConcat (...values: Array<Uint8Array | string>): Uint8Array
@summary Creates a concatenated Uint8Array from the inputs.

@@ -35,3 +35,3 @@ @description

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

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

@@ -17,2 +17,3 @@ 'use strict';

var u8aToString = require('./toString');
var u8aToU8a = require('./toU8a');
var u8aToUtf8 = require('./toUtf8');

@@ -35,3 +36,4 @@

u8aToString: u8aToString,
u8aToU8a: u8aToU8a,
u8aToUtf8: u8aToUtf8
};

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