
Research
/Security News
Bitwarden CLI Compromised in Ongoing Checkmarx Supply Chain Campaign
Bitwarden CLI 2026.4.0 was compromised in the Checkmarx supply chain campaign after attackers abused a GitHub Action in Bitwarden’s CI/CD pipeline.
@types/compose-function
Advanced tools
TypeScript definitions for compose-function
npm install --save @types/compose-function
This package contains type definitions for compose-function (https://github.com/stoeffel/compose-function).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/compose-function.
// Hardcoded signatures for 2-4 parameters
declare function f<A, B, C>(
f1: (b: B) => C,
f2: (a: A) => B,
): (a: A) => C;
declare function f<A, B, C, D>(
f1: (b: C) => D,
f2: (a: B) => C,
f3: (a: A) => B,
): (a: A) => D;
declare function f<A, B, C, D, E>(
f1: (b: D) => E,
f2: (a: C) => D,
f3: (a: B) => C,
f4: (a: A) => B,
): (a: A) => E;
// Minimal typing for more than 4 parameters
declare function f<Result>(
f1: (a: any) => Result,
...functions: Function[]
): (a: any) => Result;
export = f;
These definitions were written by Denis Sokolov.
FAQs
TypeScript definitions for compose-function
The npm package @types/compose-function receives a total of 5,694 weekly downloads. As such, @types/compose-function popularity was classified as popular.
We found that @types/compose-function 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
/Security News
Bitwarden CLI 2026.4.0 was compromised in the Checkmarx supply chain campaign after attackers abused a GitHub Action in Bitwarden’s CI/CD pipeline.

Research
/Security News
Docker and Socket have uncovered malicious Checkmarx KICS images and suspicious code extension releases in a broader supply chain compromise.

Product
Stay on top of alert changes with filtered subscriptions, batched summaries, and notification routing built for triage.