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
1411
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.12.3 to 0.13.1

6

hex/fromBuffer.js

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

// of the ISC license. See the LICENSE file for details.
var hexFromBuffer = require('../bn/toHex');
var bufferToHex = require('../buffer/toHex');
/**
@name hexFromBn
@name hexFromBuffer
@signature hexFromBuffer (value?: Buffer): string

@@ -15,2 +15,2 @@ @summary Creates a hex value from a Buffer object.

*/
module.exports = hexFromBuffer;
module.exports = bufferToHex;

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

var jsonrpc = require('./jsonrpc');
var keccak = require('./keccak');
var logger = require('./logger');

@@ -31,2 +30,2 @@ var number = require('./number');

*/
module.exports = (0, _assign2.default)({}, array, { assert: assert }, bn, buffer, ext, hex, is, jsonrpc, keccak, { logger: logger }, number, { promisify: promisify }, string, u8a);
module.exports = (0, _assign2.default)({}, array, { assert: assert }, bn, buffer, ext, hex, is, jsonrpc, { logger: logger }, number, { promisify: promisify }, string, u8a);
{
"name": "@polkadot/util",
"version": "0.12.3",
"version": "0.13.1",
"description": "A collection of useful utilities for @polkadot",

@@ -25,11 +25,11 @@ "main": "index.js",

},
"homepage": "https://github.com/polkadot-js/util#readme",
"homepage": "https://github.com/polkadot-js/util/tree/master/packages/util#readme",
"scripts": {
"build": "polkadot-dev-build-babel && polkadot-dev-build-docs",
"check": "eslint src && flow check",
"test": "jest --coverage"
"test": "echo \"Tests only available from root wrapper\""
},
"devDependencies": {
"@polkadot/api-jsonrpc": "^0.6.9",
"@polkadot/dev": "^0.14.8"
"@polkadot/api-jsonrpc": "^0.6.12",
"@polkadot/dev": "^0.15.1"
},

@@ -40,5 +40,4 @@ "dependencies": {

"deasync": "^0.1.12",
"ip-regex": "^2.1.0",
"keccak": "^1.3.0"
"ip-regex": "^2.1.0"
}
}

@@ -8,5 +8,4 @@ [![polkadotjs](https://img.shields.io/badge/polkadot-js-orange.svg?style=flat-square)](https://polkadot.js.org)

[![coverage](https://img.shields.io/coveralls/polkadot-js/util.svg?style=flat-square)](https://coveralls.io/github/polkadot-js/util?branch=master)
[![greenkeeper](https://img.shields.io/badge/greenkeeper-enabled-brightgreen.svg?style=flat-square)](https://greenkeeper.io/)
[![dependency](https://img.shields.io/david/polkadot-js/util.svg?style=flat-square)](https://david-dm.org/polkadot-js/util)
[![devDependency](https://img.shields.io/david/dev/polkadot-js/util.svg?style=flat-square)](https://david-dm.org/polkadot-js/util#info=devDependencies)
[![dependency](https://david-dm.org/polkadot-js/util.svg?style=flat-square&path=packages/util)](https://david-dm.org/polkadot-js/util?path=packages/util)
[![devDependency](https://david-dm.org/polkadot-js/util/dev-status.svg?style=flat-square&path=packages/util)](https://david-dm.org/polkadot-js/util?path=packages/util#info=devDependencies)

@@ -13,0 +12,0 @@ # @polkadot/util

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