Socket
Socket
Sign inDemoInstall

reinterval

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

12

index.js
'use strict'
require('es6-shim');
function ReInterval (callback, interval, args) {

@@ -37,4 +35,12 @@ var self = this;

var args = Object.assign([], arguments).slice(2);
var args;
if (arguments.length > 0) {
args = new Array(arguments.length - 2);
for (var i = 0; i < args.length; i++) {
args[i] = arguments[i + 2];
}
}
return new ReInterval(arguments[0], arguments[1], args);

@@ -41,0 +47,0 @@ }

{
"name": "reinterval",
"version": "1.0.0",
"version": "1.0.1",
"description": "reschedulable setInterval for node.js",
"main": "index.js",
"scripts": {
"test": "echo -e '\\nTests not implemented yet\\n'"
"test": "mocha test/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/4rzael/reinterval.git"
"url": "https://github.com/4rzael/reInterval.git"
},

@@ -23,13 +23,11 @@ "keywords": [

"bugs": {
"url": "https://github.com/4rzael/reinterval/issues"
"url": "https://github.com/4rzael/reInterval/issues"
},
"homepage": "https://github.com/4rzael/reinterval",
"homepage": "https://github.com/4rzael/reInterval",
"devDependencies": {
"mocha": "^2.3.4",
"chai": "^3.4.1",
"chai-as-promised": "^5.1.0"
},
"dependencies": {
"chai-as-promised": "^5.1.0",
"es6-shim": "^0.33.13"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc