New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@libj/http

Package Overview
Dependencies
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libj/http - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

8

dist/client/HttpClient.js

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

if (config === void 0) { config = {}; }
this.retryConfig = {};
this.agent = axios_1.default.create(this.processRequestOptions(config));

@@ -69,3 +70,3 @@ // Attach logger

HttpClient.prototype.setRetry = function (config) {
this.retryConfig = config;
this.retryConfig = __assign(__assign({}, this.retryConfig), config);
};

@@ -97,6 +98,3 @@ HttpClient.prototype.processRequestOptions = function (inOptions) {

// Handle retry config
var retryConfig = {};
if (this.retryConfig) {
Object.assign(retryConfig, this.retryConfig);
}
var retryConfig = __assign({}, this.retryConfig);
if (options.retry) {

@@ -103,0 +101,0 @@ Object.assign(retryConfig, options.retry);

{
"dependencies": {
"@libj/http-meta": "0.1.24",
"@libj/logger": "0.2.3",
"@libj/http-meta": "0.1.25",
"@libj/logger": "0.2.4",
"@libj/make-uri": "1.1.15",

@@ -12,3 +12,3 @@ "axios": "^0.21.1",

"name": "@libj/http",
"version": "0.7.1",
"version": "0.7.2",
"description": "Http toolbox",

@@ -37,3 +37,3 @@ "author": "Sergey Poskachey <seregynp@gmail.com>",

],
"gitHead": "1c40a140cd12ddce9c1e9b5eb8c5cc5ac66a2eb7"
"gitHead": "c0d36ba90cf61af48d266170b6e84075696ecf5f"
}

Sorry, the diff of this file is not supported yet

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