promise-breaker
Advanced tools
Comparing version 4.1.10 to 4.1.11
@@ -0,1 +1,14 @@ | ||
<a name="4.1.11"></a> | ||
## [4.1.11](https://github.com/jwalton/node-promise-breaker/compare/v4.1.10...v4.1.11) (2018-05-07) | ||
### Bug Fixes | ||
* **typescript:** Add generic to `addPromise()`. ([de41bf2](https://github.com/jwalton/node-promise-breaker/commit/de41bf2)) | ||
v4.1.10 | ||
------- | ||
* Add typescript support. | ||
v4.1.4 | ||
@@ -2,0 +15,0 @@ ------ |
@@ -14,3 +14,3 @@ // Global variable exported in browsers. | ||
addPromise(done: Function | undefined | null, asyncFn: Function): Promise<any> | null; | ||
addPromise<T>(done: Function | undefined | null, asyncFn: Function): Promise<T> | void; | ||
@@ -17,0 +17,0 @@ addCallback<T>( |
{ | ||
"name": "promise-breaker", | ||
"version": "4.1.10", | ||
"version": "4.1.11", | ||
"description": "Library to help write libraries that accept both promises and callbacks.", | ||
@@ -16,13 +16,24 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@semantic-release/changelog": "^2.0.2", | ||
"@semantic-release/git": "^4.0.3", | ||
"chai": "^4.1.2", | ||
"chai-as-promised": "^7.1.1", | ||
"commitlint": "^6.2.0", | ||
"coveralls": "^3.0.0", | ||
"es6-promise": "^4.0.5", | ||
"eslint": "^4.19.1", | ||
"husky": "^1.0.0-rc.2", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^5.1.1" | ||
"mocha": "^5.1.1", | ||
"semantic-release": "^15.3.1" | ||
}, | ||
"scripts": { | ||
"test": "eslint ./index.js && istanbul cover _mocha" | ||
"test": "eslint ./index.js && istanbul cover _mocha", | ||
"semantic-release": "semantic-release" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -e $GIT_PARAMS" | ||
} | ||
}, | ||
"keywords": [ | ||
@@ -29,0 +40,0 @@ "promise", |
[![Build Status](https://travis-ci.org/jwalton/node-promise-breaker.svg)](https://travis-ci.org/jwalton/node-promise-breaker) | ||
[![Coverage Status](https://coveralls.io/repos/jwalton/node-promise-breaker/badge.svg)](https://coveralls.io/r/jwalton/node-promise-breaker) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/jwalton/node-promise-breaker.svg)](https://greenkeeper.io/) | ||
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
@@ -4,0 +6,0 @@ ## What is it? |
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
26886
7
265
241
12