🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

api-reach

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-reach - npm Package Compare versions

Comparing version

to
0.1.1

4

CHANGELOG.md

@@ -6,2 +6,6 @@ All notable changes to this project will be documented in this file.

## [0.1.1] - 2019-02-16
### Added
- possibility not to use totalTimeout (define as Infinity)
## [0.1.0] - 2019-02-16

@@ -8,0 +12,0 @@ ### Added

13

dist/index.js

@@ -228,2 +228,3 @@ "use strict";

var currentController,
globalTimeout,
aborted = false,

@@ -275,3 +276,3 @@ isGlobalTimeouted = false;

if (!(fineOptions.totalTimeout > Date.now() - start + waitTime)) {
if (!(!globalTimeout || fineOptions.totalTimeout > Date.now() - start + waitTime)) {
_context.next = 12;

@@ -289,4 +290,3 @@ break;

case 12:
globalTimeout.stop(); // eslint-disable-line no-use-before-define
globalTimeout.stop();
globalBreak();

@@ -371,3 +371,3 @@

}).finally(function () {
globalTimeout.stop(); // eslint-disable-line no-use-before-define
globalTimeout && globalTimeout.stop(); // eslint-disable-line no-use-before-define
});

@@ -380,3 +380,6 @@

var globalTimeout = new _Timeout.default(globalBreak, fineOptions.totalTimeout, true);
if (fineOptions.totalTimeout > 0 && Number.isFinite(fineOptions.totalTimeout)) {
globalTimeout = new _Timeout.default(globalBreak, fineOptions.totalTimeout, true);
}
return future;

@@ -383,0 +386,0 @@ }

{
"name": "api-reach",
"version": "0.1.0",
"version": "0.1.1",
"repository": "https://github.com/dzek69/api-reach.git",

@@ -5,0 +5,0 @@ "author": "Jacek Nowacki @dzek69 <git-public@dzek.eu>",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet