promise-breaker
Advanced tools
Comparing version 4.1.12 to 4.1.13
@@ -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 @@ |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
45652
582