Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tick-tock

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tick-tock - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

11

index.js
'use strict';
var has = Object.prototype.hasOwnProperty
, ms = require('millisecond');
, ms = require('millisecond')
, next = null;
//
// Attempt to detect if we have support for setImmediate or process.nextTick so
// we can use it in our setImmediate function.
//
var next = 'object' === typeof process && 'function' === process.nextTick
? process.nextTick
: null;
//
// The process.nexTick doesn't have a way to cancel the scheduled tick so we

@@ -16,0 +9,0 @@ // detect it first and know that when next is a function we cannot clear it.

5

package.json
{
"name": "tick-tock",
"version": "0.1.0",
"version": "0.1.1",
"description": "Timer management, never forget to clear timers again",

@@ -15,5 +15,2 @@ "main": "index.js",

},
"browser": {
"process": false
},
"keywords": [

@@ -20,0 +17,0 @@ "timer",

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