Comparing version 2.4.0-2 to 2.4.0-3
@@ -514,3 +514,3 @@ /** | ||
var promise = this.toPromise(); | ||
return promise.then.apply(promise, arguments); | ||
return promise.catch.apply(promise, arguments); | ||
@@ -517,0 +517,0 @@ // Note: While the following is all very nice, we would need to change `Promise.prototype` to |
{ | ||
"name": "parley", | ||
"version": "2.4.0-2", | ||
"version": "2.4.0-3", | ||
"description": "Practical, lightweight flow control for Node.js. Supports callbacks and promises.", | ||
@@ -8,3 +8,3 @@ "main": "lib/parley.js", | ||
"custom-tests": "node ./node_modules/mocha/bin/mocha test/*.test.js", | ||
"lint": "node ./node_modules/eslint/bin/eslint . --max-warnings=0 --ignore-pattern 'test/'", | ||
"lint": "node ./node_modules/eslint/bin/eslint . --max-warnings=0 --ignore-pattern 'test/' && echo '✔ Your code looks good.'", | ||
"bench": "node ./node_modules/mocha/bin/mocha test/*.benchmark.js", | ||
@@ -11,0 +11,0 @@ "test": "npm run lint && npm run custom-tests && npm run bench" |
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
166675