Socket
Socket
Sign inDemoInstall

timers-browserify

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timers-browserify - npm Package Compare versions

Comparing version 0.0.0 to 1.0.0

10

main.js
// DOM APIs, for completeness
exports.setTimeout = setTimeout;
exports.clearTimeout = clearTimeout;
exports.setInterval = setInterval;
exports.clearInterval = clearInterval;
if (typeof setTimeout !== 'undefined') exports.setTimeout = setTimeout;
if (typeof clearTimeout !== 'undefined') exports.clearTimeout = clearTimeout;
if (typeof setInterval !== 'undefined') exports.setInterval = setInterval;
if (typeof clearInterval !== 'undefined') exports.clearInterval = clearInterval;

@@ -22,1 +22,3 @@ // TODO: Change to more effiecient list approach used in Node.js

};
exports.setImmediate = require('setimmediate');

6

package.json

@@ -5,3 +5,3 @@ {

"description": "timers module for browserify",
"version": "0.0.0",
"version": "1.0.0",
"homepage": "https://github.com/jryans/timers-browserify",

@@ -14,3 +14,5 @@ "bugs": "https://github.com/jryans/timers-browserify/issues",

"main": "main.js",
"dependencies": {},
"dependencies": {
"setimmediate": "~1.0.1"
},
"devDependencies": {

@@ -17,0 +19,0 @@ "connect": "~2.3.0",

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