@polkadot/util
Advanced tools
Comparing version 0.12.3 to 0.13.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4
124655
175
1206
38
- Removedkeccak@^1.3.0
- Removedinherits@2.0.4(transitive)
- Removedkeccak@1.4.0(transitive)
- Removednan@2.22.0(transitive)
- Removedsafe-buffer@5.2.1(transitive)