safe-timers
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -117,1 +117,7 @@ // All common browsers limit the interval to 2^31 numbers. | ||
}; | ||
exports.clearTimeout = exports.clearInterval = function (timer) { | ||
if (timer && typeof timer.clear === 'function') { | ||
timer.clear(); | ||
} | ||
}; |
{ | ||
"name": "safe-timers", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "Timers with near-infinite duration support", | ||
"main": "index.js", | ||
"files": [ | ||
"index.js" | ||
], | ||
"directories": { | ||
@@ -10,3 +13,4 @@ "test": "test" | ||
"scripts": { | ||
"test": "tape test/*.js | tap-spec" | ||
"test": "tape test/*.js | tap-spec", | ||
"cov": "nyc npm test && nyc report --reporter=lcov" | ||
}, | ||
@@ -21,4 +25,6 @@ "repository": { | ||
"timer", | ||
"timeout", | ||
"interval", | ||
"timers", | ||
"timeouts", | ||
"intervals" | ||
@@ -33,2 +39,5 @@ ], | ||
"devDependencies": { | ||
"codecov": "^3.0.0", | ||
"nyc": "^11.2.1", | ||
"pre-commit": "^1.2.2", | ||
"tap-spec": "^4.1.1", | ||
@@ -35,0 +44,0 @@ "tape": "^4.5.1" |
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
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
7521
5
4
93
1