Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

promise-breaker

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-breaker - npm Package Compare versions

Comparing version 4.1.12 to 4.1.13

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [4.1.13](https://github.com/jwalton/node-promise-breaker/compare/v4.1.12...v4.1.13) (2018-11-29)
### Bug Fixes
* Fix typescript def for addPromise. ([fa4fb38](https://github.com/jwalton/node-promise-breaker/commit/fa4fb38))
## [4.1.12](https://github.com/jwalton/node-promise-breaker/compare/v4.1.11...v4.1.12) (2018-11-29)

@@ -2,0 +9,0 @@

18

index.d.ts

@@ -86,19 +86,3 @@ // Global variable exported in browsers.

done: Callback<R> | undefined | null,
asyncFn: () => Promise<R>
): BrokenFn0<R>;
addPromise<T1, R>(
done: Callback<R> | undefined | null,
asyncFn: (p1: T1) => Promise<R>
): BrokenFn1<T1, R>;
addPromise<T1, T2, R>(
done: Callback<R> | undefined | null,
asyncFn: (p1: T1, p2: T2) => Promise<R>
): BrokenFn2<T1, T2, R>;
addPromise<T1, T2, T3, R>(
done: Callback<R> | undefined | null,
asyncFn: (p1: T1, p2: T2, p3: T3) => Promise<R>
): BrokenFn3<T1, T2, T3, R>;
addPromise<R>(
done: Callback<R> | undefined | null,
asyncFn: (...args: any[]) => Promise<R>
asyncFn: (cb: Callback<R>) => void
): Promise<R>;

@@ -105,0 +89,0 @@

{
"name": "promise-breaker",
"version": "4.1.12",
"version": "4.1.13",
"description": "Library to help write libraries that accept both promises and callbacks.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc