
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@types/denodeify
Advanced tools
TypeScript definitions for denodeify
npm install --save @types/denodeify
This package contains type definitions for denodeify (https://github.com/matthew-andrews/denodeify).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/denodeify.
declare function _<R>(fn: _.F0<R>, transformer?: _.M): () => Promise<R>;
declare function _<A, R>(fn: _.F1<A, R>, transformer?: _.M): (a: A) => Promise<R>;
declare function _<A, B, R>(fn: _.F2<A, B, R>, transformer?: _.M): (a: A, b: B) => Promise<R>;
declare function _<A, B, C, R>(fn: _.F3<A, B, C, R>, transformer?: _.M): (a: A, b: B, c: C) => Promise<R>;
declare function _<A, B, C, D, R>(fn: _.F4<A, B, C, D, R>, transformer?: _.M): (a: A, b: B, c: C, d: D) => Promise<R>;
declare function _<A, B, C, D, E, R>(
fn: _.F5<A, B, C, D, E, R>,
transformer?: _.M,
): (a: A, b: B, c: C, d: D, e: E) => Promise<R>;
declare function _<A, B, C, D, E, F, R>(
fn: _.F6<A, B, C, D, E, F, R>,
transformer?: _.M,
): (a: A, b: B, c: C, d: D, e: E, f: F) => Promise<R>;
declare function _<A, B, C, D, E, F, G, R>(
fn: _.F7<A, B, C, D, E, F, G, R>,
transformer?: _.M,
): (a: A, b: B, c: C, d: D, e: E, f: F, g: G) => Promise<R>;
declare function _<A, B, C, D, E, F, G, H, R>(
fn: _.F8<A, B, C, D, E, F, G, H, R>,
transformer?: _.M,
): (a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H) => Promise<R>;
declare function _(fn: _.F, transformer?: _.M): (...args: any[]) => Promise<any>;
declare namespace _ {
type Callback<R> = (err: Error, result: R) => any;
type F0<R> = (cb: Callback<R>) => any;
type F1<A, R> = (a: A, cb: Callback<R>) => any;
type F2<A, B, R> = (a: A, b: B, cb: Callback<R>) => any;
type F3<A, B, C, R> = (a: A, b: B, c: C, cb: Callback<R>) => any;
type F4<A, B, C, D, R> = (a: A, b: B, c: C, d: D, cb: Callback<R>) => any;
type F5<A, B, C, D, E, R> = (a: A, b: B, c: C, d: D, e: E, cb: Callback<R>) => any;
type F6<A, B, C, D, E, F, R> = (a: A, b: B, c: C, d: D, e: E, f: F, cb: Callback<R>) => any;
type F7<A, B, C, D, E, F, G, R> = (a: A, b: B, c: C, d: D, e: E, f: F, g: G, cb: Callback<R>) => any;
type F8<A, B, C, D, E, F, G, H, R> = (a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, cb: Callback<R>) => any;
type F = (...args: any[]) => any;
type M = (err: Error, ...args: any[]) => any[];
}
export = _;
These definitions were written by joaomoreno.
FAQs
TypeScript definitions for denodeify
The npm package @types/denodeify receives a total of 1,098 weekly downloads. As such, @types/denodeify popularity was classified as popular.
We found that @types/denodeify 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.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.