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

ethereum-bloom-filters

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethereum-bloom-filters - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

.idea/ethereum-bloom-filters.iml

8

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

@@ -28,8 +29,3 @@ * Keccak256 hash

function bytesToHex(bytes) {
const hex = [];
for (let i = 0; i < bytes.length; i++) {
hex.push((bytes[i] >>> 4).toString(16));
hex.push((bytes[i] & 0xf).toString(16));
}
return `0x${hex.join('').replace(/^0+/, '')}`;
return "0x" + utils_1.bytesToHex(bytes);
}

@@ -36,0 +32,0 @@ exports.bytesToHex = bytesToHex;

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

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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