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

@polkadot/util-crypto

Package Overview
Dependencies
Maintainers
1
Versions
1357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/util-crypto - npm Package Compare versions

Comparing version 0.20.4 to 0.20.5

5

blake2/blake2b/asHex.spec.js

@@ -8,5 +8,4 @@ "use strict";

const {
blake2bAsHex
} = require('./index');
const _require = require('./index'),
blake2bAsHex = _require.blake2bAsHex;

@@ -13,0 +12,0 @@ describe('blake2bAsHex', () => {

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

// of the ISC license. See the LICENSE file for details.
const {
blake2bAsU8a
} = require('./index');
const _require = require('./index'),
blake2bAsU8a = _require.blake2bAsU8a;

@@ -11,0 +10,0 @@ describe('blake2bAsU8a', () => {

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

// of the ISC license. See the LICENSE file for details.
const {
keccak256
} = require('js-sha3');
const _require = require('js-sha3'),
keccak256 = _require.keccak256;
/**

@@ -11,0 +10,0 @@ @name keccakAsU8a

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

// of the ISC license. See the LICENSE file for details.
const {
naclKeypairFromRandom
} = require('../index');
const _require = require('../index'),
naclKeypairFromRandom = _require.naclKeypairFromRandom;

@@ -11,0 +10,0 @@ describe('naclKeypairFromRandom', () => {

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

// of the ISC license. See the LICENSE file for details.
const {
naclKeypairFromSecret
} = require('../index');
const _require = require('../index'),
naclKeypairFromSecret = _require.naclKeypairFromSecret;

@@ -11,0 +10,0 @@ describe('naclKeypairFromSecret', () => {

@@ -8,5 +8,4 @@ "use strict";

const {
naclKeypairFromSeed
} = require('../index');
const _require = require('../index'),
naclKeypairFromSeed = _require.naclKeypairFromSeed;

@@ -13,0 +12,0 @@ describe('naclKeypairFromSeed', () => {

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

// of the ISC license. See the LICENSE file for details.
const {
naclKeypairFromString
} = require('../index');
const _require = require('../index'),
naclKeypairFromString = _require.naclKeypairFromString;

@@ -11,0 +10,0 @@ describe('naclKeypairFromSeed', () => {

4

package.json
{
"name": "@polkadot/util-crypto",
"version": "0.20.4",
"version": "0.20.5",
"description": "A collection of useful crypto utilities for @polkadot",

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

"@babel/runtime": "^7.0.0-beta.47",
"@polkadot/util": "^0.20.4",
"@polkadot/util": "^0.20.5",
"blakejs": "^1.1.0",

@@ -36,0 +36,0 @@ "js-sha3": "^0.7.0",

"use strict";
require("core-js/modules/es6.regexp.to-string");
// Copyright 2017-2018 Jaco Greeff
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
const {
xxhash64AsBn
} = require('./index');
const _require = require('./index'),
xxhash64AsBn = _require.xxhash64AsBn;

@@ -10,0 +11,0 @@ describe('xxhash64AsBn', () => {

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

// of the ISC license. See the LICENSE file for details.
const {
xxhash64AsHex
} = require('./index');
const _require = require('./index'),
xxhash64AsHex = _require.xxhash64AsHex;

@@ -11,0 +10,0 @@ describe('xxhash64AsHex', () => {

"use strict";
require("core-js/modules/es6.regexp.to-string");
// Copyright 2017-2018 Jaco Greeff

@@ -4,0 +6,0 @@ // This software may be modified and distributed under the terms

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

// of the ISC license. See the LICENSE file for details.
const {
xxhash64AsRaw
} = require('./index');
const _require = require('./index'),
xxhash64AsRaw = _require.xxhash64AsRaw;

@@ -11,0 +10,0 @@ describe('xxhash64AsRaw', () => {

"use strict";
require("core-js/modules/es6.regexp.to-string");
// Copyright 2017-2018 Jaco Greeff

@@ -4,0 +6,0 @@ // This software may be modified and distributed under the terms

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