Comparing version 1.0.5 to 1.0.6
@@ -15,2 +15,7 @@ "use strict"; | ||
function Timeout(callback, delay) { | ||
_classCallCheck(this, Timeout); | ||
this._callback = callback; | ||
this._delay = delay; | ||
for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { | ||
@@ -20,6 +25,2 @@ args[_key - 2] = arguments[_key]; | ||
_classCallCheck(this, Timeout); | ||
this._callback = callback; | ||
this._delay = delay; | ||
this.start(args); | ||
@@ -69,4 +70,3 @@ } | ||
var _clearTimeout = function _clearTimeout(timer) { | ||
timer.close(); | ||
return timer.close(); | ||
}; | ||
@@ -73,0 +73,0 @@ |
{ | ||
"name": "big-time", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Big time makes it possible to have a timeout that is longer than 24.8 days (2^31-1 milliseconds).", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "lab -T test/transformer.js -m 5000 -t 90 -v -La code", | ||
"test": "npm run lint && lab -T test/transformer.js -v -t 90 -a code -m 10000", | ||
"compile": "babel src --out-dir lib", | ||
"lint": "eslint src", | ||
"prepublish": "npm run compile" | ||
@@ -22,8 +23,10 @@ }, | ||
"devDependencies": { | ||
"babel": "5.5.x", | ||
"babel-core": "5.5.x", | ||
"babel": "5.6.x", | ||
"babel-core": "5.6.x", | ||
"babel-eslint": "3.1.x", | ||
"code": "1.x.x", | ||
"eslint": "0.23.x", | ||
"eslint-plugin-hapi": "1.x.x", | ||
"lab": "5.x.x" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
11
179
11158
7