@knapsack-pro/core
Advanced tools
Comparing version 1.4.0 to 1.4.1
# Change Log | ||
## [v1.4.1](https://github.com/KnapsackPro/knapsack-pro-core-js/tree/v1.4.1) (2019-09-04) | ||
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-core-js/compare/v1.4.0...v1.4.1) | ||
**Fixed bugs:** | ||
- Fix not working Fallback Mode when using axios 0.19.0 [\#15](https://github.com/KnapsackPro/knapsack-pro-core-js/pull/15) ([ArturT](https://github.com/ArturT)) | ||
## [v1.4.0](https://github.com/KnapsackPro/knapsack-pro-core-js/tree/v1.4.0) (2019-08-23) | ||
@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/KnapsackPro/knapsack-pro-core-js/compare/v1.3.1...v1.4.0) |
@@ -107,8 +107,8 @@ "use strict"; | ||
}; | ||
KnapsackProAPI.prototype.retryDelay = function (retryNumber) { | ||
KnapsackProAPI.prototype.retryDelay = function (retryCount) { | ||
var requestRetryTimebox = 2000; | ||
var delay = retryNumber * requestRetryTimebox; | ||
var delay = retryCount * requestRetryTimebox; | ||
var randomSum = delay * 0.2 * Math.random(); | ||
var finalDelay = delay + randomSum; | ||
this.knapsackProLogger.info("Wait " + finalDelay + " ms and retry request to Knapsack Pro API."); | ||
this.knapsackProLogger.info("(" + retryCount + ") Wait " + finalDelay + " ms and retry request to Knapsack Pro API."); | ||
return finalDelay; | ||
@@ -115,0 +115,0 @@ }; |
{ | ||
"name": "@knapsack-pro/core", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Knapsack Pro Core library splits tests across CI nodes and makes sure that tests will run in optimal time on each CI node. This library gives core features like communication with KnapsackPro.com API. This library is a dependency for other projects specific for particular test runner.", | ||
@@ -51,4 +51,4 @@ "keywords": [ | ||
"dependencies": { | ||
"axios": "^0.19.0", | ||
"axios-retry": "^3.1.1", | ||
"axios": "0.18.0", | ||
"axios-retry": "^3.1.2", | ||
"winston": "^3.1.0" | ||
@@ -55,0 +55,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61737
+ Addedaxios@0.18.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedis-buffer@1.1.6(transitive)
- Removedaxios@0.19.2(transitive)
- Removedfollow-redirects@1.5.10(transitive)
Updatedaxios@0.18.0
Updatedaxios-retry@^3.1.2