
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@treecg/basic-bucketizer
Advanced tools
The purpose of the basic bucketizer is to fragment TREE members based on the order they were received. This bucketizer must be used as a fallback bucketizer in case when no fragmentation strategy was chosen.
An LDES bucketizer adds triples with the ldes bucket predicate (https://w3id.org/ldes#bucket) to the array of quads representating an LDES member, indicating the bucket in which the member belongs.
This strategy will create a file called 0.ttl where the first LDES member will be added to, once the page limit is received, a new file, 1.ttl, is created to add LDES members to.
> npm i @treecg/basic-bucketizer
import { BasicBucketizer } from '@treecg/basic-bucketizer'
const run = async (): Promise<void> => {
const options = {...};
const url = ...;
const pageSize = 50;
const bucketizer = await BasicBucketizer.build({pageSize: pageSize});
const ldes = LDESClient.createReadStream(url, options);
ldes.on('data', (member) => {
bucketizer.bucketize(member.quads, member.id)
// Continue processing the member, but now the array of quads will have an extra triple, the bucket triple
});
}
run().catch(error => console.error(error.stack));
FAQs
Applies a basic, linear fragmentation to LDES members
The npm package @treecg/basic-bucketizer receives a total of 18 weekly downloads. As such, @treecg/basic-bucketizer popularity was classified as not popular.
We found that @treecg/basic-bucketizer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.