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.0.5 to 0.0.6

2

index.js

@@ -126,3 +126,3 @@ 'use strict';

this.timers[name] = {
timer: (next.setImmediate || next)(this.tock(name)),
timer: (next.setImmediate || next)(this.tock(name, true)),
clear: next.clearImmediate,

@@ -129,0 +129,0 @@ fns: [fn]

{
"name": "tick-tock",
"version": "0.0.5",
"version": "0.0.6",
"description": "Timer management, never forget to clear timers again",

@@ -5,0 +5,0 @@ "main": "index.js",

# tick-tock
[![Build Status](https://travis-ci.org/unshiftio/tick-tock.svg?branch=master)](https://travis-ci.org/unshiftio/tick-tock)
[![NPM version](https://badge.fury.io/js/tick-tock.svg)](http://badge.fury.io/js/tick-tock)
[![Coverage Status](https://img.shields.io/coveralls/unshiftio/tick-tock.svg)](https://coveralls.io/r/unshiftio/tick-tock?branch=master)
[![Made by unshift](https://img.shields.io/badge/made%20by-unshift-00ffcc.svg?style=flat-square)](http://unshift.io)[![Version npm](http://img.shields.io/npm/v/tick-tock.svg?style=flat-square)](http://browsenpm.org/package/tick-tock)[![Build Status](http://img.shields.io/travis/unshiftio/tick-tock/master.svg?style=flat-square)](https://travis-ci.org/unshiftio/tick-tock)[![Dependencies](https://img.shields.io/david/unshiftio/tick-tock.svg?style=flat-square)](https://david-dm.org/unshiftio/tick-tock)[![Coverage Status](http://img.shields.io/coveralls/unshiftio/tick-tock/master.svg?style=flat-square)](https://coveralls.io/r/unshiftio/tick-tock?branch=master)[![IRC channel](http://img.shields.io/badge/IRC-irc.freenode.net%23unshift-00a8ff.svg?style=flat-square)](http://webchat.freenode.net/?channels=unshift)

@@ -7,0 +5,0 @@ `tick-tock` is a small timer and `setTimeout` management library. Nothing to

@@ -204,2 +204,12 @@ /* istanbul ignore next */

});
it('clear it self after execution', function (next) {
var tock = new Tick(context);
tock.setImmediate('test', function () {
tock.setImmediate('test', function () {
next();
});
});
});
});

@@ -206,0 +216,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