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

@trayio/axios

Package Overview
Dependencies
Maintainers
0
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trayio/axios - npm Package Compare versions

Comparing version 4.36.0 to 4.36.1-unstable

9

dist/http/AxiosHttpClient.js

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

const axios_1 = __importDefault(require("axios"));
const https_1 = require("https");
const FormData = require("form-data");

@@ -40,2 +41,8 @@ const NodeFsFileStorage_1 = require("@trayio/commons/file/NodeFsFileStorage");

let axiosConfig;
// We need a keep-alive heartbeat shorter than 350 seconds to bypass the idle timeout in AWS NAT/LB servers:
// https://repost.aws/knowledge-center/lambda-vpc-timeout
const httpsAgent = new https_1.Agent({
keepAlive: true,
keepAliveMsecs: 42000,
});
if (headers['content-type'] &&

@@ -59,2 +66,3 @@ headers['content-type'].includes(Http_1.HttpContentType.MultipartRequestBody)) {

headers,
httpsAgent,
params: request.queryString,

@@ -72,2 +80,3 @@ };

headers,
httpsAgent,
params: request.queryString,

@@ -74,0 +83,0 @@ };

4

package.json
{
"name": "@trayio/axios",
"version": "4.36.0",
"version": "4.36.1-unstable",
"description": "Axios extensions and implementations",

@@ -17,3 +17,3 @@ "exports": {

"dependencies": {
"@trayio/commons": "4.36.0",
"@trayio/commons": "4.36.1-unstable",
"axios": "1.7.4",

@@ -20,0 +20,0 @@ "form-data": "4.0.0"

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