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

rerun

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rerun - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

2

package.json
{
"name": "rerun",
"description": "A retry library for node.js",
"version": "0.9.1",
"version": "0.9.2",
"author": "BigPanda <noam@bigpanda.io>",

@@ -6,0 +6,0 @@ "repository": {

@@ -8,4 +8,4 @@ var Q = require('q');

var retries = options.retries || 3;
var timeout = options.timeout || 50;
var factor = options.factor || 1;
var timeout = options.retryTimeout || 50;
var factor = options.retryFactor || 1;

@@ -12,0 +12,0 @@ function _succeed(returned) {

@@ -71,3 +71,3 @@ var chai = require('chai');

var scope = nock('http://localhost:3027').post('/test', JSON.stringify({ objects: array })).reply(200);
var promise = request({ url: 'http://localhost:3027/test', json: { objects: array }, retries: 5, factor: 2, timeout: 10, method: 'POST' });
var promise = request({ url: 'http://localhost:3027/test', json: { objects: array }, retries: 5, retryFactor: 2, retryTimeout: 10, method: 'POST' });
var timeBefore = new Date().getTime();

@@ -74,0 +74,0 @@ promise.then(function () {

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