Comparing version 1.2.0 to 1.2.1
@@ -92,3 +92,5 @@ 'use strict'; | ||
timer = setTimeout(function ontimeout() { | ||
var error = new Error('Command timeout.'); | ||
error.name = 'commandTimeout'; | ||
error.code = 'ETIMEDOUT'; | ||
timer = undefined; | ||
@@ -98,4 +100,3 @@ self._pendingClose = false; | ||
self._onFailure(); | ||
callback(new Error('Command timeout.')); | ||
callback(error); | ||
}, this.settings.timeout); | ||
@@ -102,0 +103,0 @@ |
{ | ||
"name": "levee", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A circuitbreaker implementation for Node.js", | ||
@@ -33,8 +33,8 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "https://github.com/totherik/levee.git" | ||
"url": "https://github.com/krakenjs/levee.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/totherik/levee/issues" | ||
"url": "https://github.com/krakenjs/levee/issues" | ||
}, | ||
"homepage": "https://github.com/totherik/levee" | ||
"homepage": "https://github.com/krakenjs/levee" | ||
} |
@@ -8,3 +8,3 @@ Levee | ||
[![Build Status](https://travis-ci.org/totherik/levee.svg)](https://travis-ci.org/totherik/levee) | ||
[![Build Status](https://travis-ci.org/krakenjs/levee.svg)](https://travis-ci.org/krakenjs/levee) | ||
@@ -11,0 +11,0 @@ #### Basic Usage |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
15204
8
258
1