Socket
Socket
Sign inDemoInstall

ethereum-bloom-filters

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.10 to 1.1.0

0

dist/index.d.ts

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

4

dist/utils.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const sha3 = require("js-sha3");
const sha3_1 = require("@noble/hashes/sha3");
/**

@@ -9,3 +9,3 @@ * Keccak256 hash

function keccak256(data) {
return '0x' + sha3.keccak_256(toByteArray(data));
return bytesToHex(sha3_1.keccak_256(toByteArray(data)));
}

@@ -12,0 +12,0 @@ exports.keccak256 = keccak256;

{
"name": "ethereum-bloom-filters",
"version": "1.0.10",
"version": "1.1.0",
"description": "Ability to test bloom filters for ethereum.",

@@ -31,3 +31,3 @@ "main": "dist/index.js",

"dependencies": {
"js-sha3": "^0.8.0"
"@noble/hashes": "^1.4.0"
},

@@ -38,3 +38,3 @@ "devDependencies": {

"gulp": "^4.0.2",
"gulp-uglify-es": "^1.0.4",
"gulp-uglify-es": "^3.0.0",
"jest": "^24.9.0",

@@ -41,0 +41,0 @@ "ts-jest": "^24.1.0",

@@ -8,3 +8,3 @@ [![npm version](https://badge.fury.io/js/ethereum-bloom-filters.svg)](https://badge.fury.io/js/ethereum-bloom-filters)

This package only has 1 dependency which is on `js-sha3` which has no dependencies on at all.
This package only has 1 dependency which is on `@noble/hashes` which has no dependencies on at all and is funded by ethereum foundation.

@@ -11,0 +11,0 @@ ## Installation

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc