
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@web3-storage/data-segment
Advanced tools
Implementation of [FRC-0058](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0058.md) verifiable aggregation scheme
Implementation of the FRC-0058 verifiable aggregation scheme.
import { Piece, MIN_PAYLOAD_SIZE } from "@web3-storage/data-segment"
// input must be >= 65 bytes
const bytes = new Uint8Array(MIN_PAYLOAD_SIZE)
const piece = Piece.fromPayload(bytes)
// bafkzcibbai3tdo4zvruj6zxo6wlt4suu3imi6to4vzmaojh4n475mdp5jcbtg
const cid = piece.link.toSting()
Started as fork of js-fil-utils modernizing it to use ES modules and web crypto APIs in place of node APIs.
However, js-fil-utils produces different results from the more widely used go implementation which is why it got some heavy lifting inspired by go-data-segment and go-fil-commp-hashhash libraries.
FAQs
Implementation of [FRC-0058](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0058.md) verifiable aggregation scheme
The npm package @web3-storage/data-segment receives a total of 8,304 weekly downloads. As such, @web3-storage/data-segment popularity was classified as popular.
We found that @web3-storage/data-segment demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.