Socket
Socket
Sign inDemoInstall

safe-timers

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

safe-timers - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

6

index.js

@@ -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();
}
};

13

package.json
{
"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"

.npmignore
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc