
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@aggregion/binary-filter
Advanced tools
Small package for compact store numbers in bit mask, calculate count of unique numbers
Small package for compact store numbers in bit mask, calculate count of unique numbers
npm i @aggregion/binary-filter
Binary filter add entries:
import {BinaryFilter} from '@aggregion/binary-filter'
const filter = new BinaryFilter(10000);
filter.add(1);
filter.add(12);
filter.add(20);
filter.add(1);
filter.has(1) // true
filter.has(5) // false
filter.length // 3
Create from list
const filter = BinaryFilter.from([1,2,3]);
Union and intersections
const filter1 = BinaryFilter.from([1,2,3]);
const filter2 = BinaryFilter.from([2,3,5]);
const union = filter1.union(filter2); // new filter, that contains 1,2,3,5
const intersection = filter2.intersect(filter2); // new filter, that contains 2,3
FAQs
Small package for compact store numbers in bit mask, calculate count of unique numbers
We found that @aggregion/binary-filter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.