New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@emurgo/yoroi-lib

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emurgo/yoroi-lib - npm Package Compare versions

Comparing version 0.8.4 to 0.8.5

11

dist/internals/blake2b.js

@@ -11,12 +11,5 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const blake2_1 = __importDefault(require("blake2"));
const blake2b = (x, size) => __awaiter(void 0, void 0, void 0, function* () {
return blake2_1.default.createHash('blake2b', { digestLength: size / 8 })
.update(Buffer.from(x))
.digest('hex');
});
const blake2b_1 = require("@noble/hashes/blake2b");
const blake2b = (x, size) => __awaiter(void 0, void 0, void 0, function* () { return Buffer.from((0, blake2b_1.blake2b)(x, { dkLen: size / 8 })).toString('hex'); });
exports.default = blake2b;

7

package.json
{
"name": "@emurgo/yoroi-lib",
"version": "0.8.4",
"version": "0.8.5",
"description": "",

@@ -30,10 +30,9 @@ "main": "dist/index.js",

"@emurgo/cross-csl-core": "^2.7.0",
"@noble/hashes": "^1.3.2",
"axios": "^0.24.0",
"bech32": "^2.0.0",
"bignumber.js": "^9.0.1",
"blake2": "^5.0.0"
"bignumber.js": "^9.0.1"
},
"devDependencies": {
"@emurgo/cross-csl-nodejs": "^2.7.0",
"@types/blake2": "^4.0.2",
"@types/chai": "^4.2.21",

@@ -40,0 +39,0 @@ "@types/mocha": "^9.0.0",

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