
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
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.
stream-transformers
Advanced tools
Reusable stream transformers for WHATWG Streams similar to ReactiveX Operators
Reusable stream transformers for WHATWG Streams similar to ReactiveX Operators
Use either
yarn add stream-transformers
or
npm install stream-transformers
This module allows you to test WHATWG Streams with [Marble Syntax] in Jest.
import { ReadableStream } from "isomorphic-streams";
import { filter, map } from "stream-transformers";
const SECOND = 1000;
const stream = new ReadableStream({
start(controller) {
let index = 0;
setInterval(() => {
controller.enqueue(index);
index += 1;
}, SECOND);
},
});
const output = stream.pipeThrough(map((it) => it * 2)).pipeThrough(filter((it) => it < 10));
for await (const value of output) {
console.dir(value);
}
This project is open to feedback and contributions, please open an issue.
stream-transformers follows the Contributor Covenant Code of Conduct.
Also have a look at the following NPM Packages:
MIT © 2021 Konstantin Möllers, see LICENSE.
FAQs
Reusable stream transformers for WHATWG Streams similar to ReactiveX Operators
We found that stream-transformers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
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.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.