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

@knapsack-pro/core

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knapsack-pro/core - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

7

CHANGELOG.md
# 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)

6

lib/knapsack-pro-api.js

@@ -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 @@ },

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