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

@podium/client

Package Overview
Dependencies
Maintainers
5
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@podium/client - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

26

lib/client.js

@@ -1,2 +0,2 @@

/* eslint-disable import/order no-underscore-dangle */
/* eslint-disable import/order */
/* eslint-disable no-underscore-dangle */

@@ -13,2 +13,3 @@ /* eslint-disable prefer-spread */

const http = require('http');
const https = require('https');
const util = require('util');

@@ -26,3 +27,3 @@

const HTTP_AGENT = new http.Agent({
const HTTP_AGENT_OPTIONS = {
keepAlive: true,

@@ -33,4 +34,16 @@ maxSockets: 10,

keepAliveMsecs: 30000,
});
};
const HTTPS_AGENT_OPTIONS = Object.assign(
{},
HTTP_AGENT_OPTIONS,
{
maxCachedSessions: 10,
},
);
const HTTP_AGENT = new http.Agent(HTTP_AGENT_OPTIONS);
const HTTPS_AGENT = new https.Agent(HTTPS_AGENT_OPTIONS);
const RETRIES = 4;

@@ -62,3 +75,4 @@

maxAge: MAX_AGE,
agent: HTTP_AGENT,
httpAgent: HTTP_AGENT,
httpsAgent: HTTPS_AGENT,
},

@@ -165,3 +179,5 @@ options,

maxAge: this[_options].maxAge,
agent: this[_options].agent,
agent: options.uri.startsWith('https://')
? this[_options].httpsAgent
: this[_options].httpAgent,
},

@@ -168,0 +184,0 @@ options,

14

package.json
{
"name": "@podium/client",
"version": "4.0.0",
"version": "4.0.1",
"main": "lib/client.js",

@@ -38,3 +38,3 @@ "license": "MIT",

"@podium/schemas": "4.0.0",
"@podium/utils": "4.0.0",
"@podium/utils": "4.0.1",
"abslog": "2.4.0",

@@ -49,7 +49,7 @@ "@hapi/boom": "^7.3.0",

"devDependencies": {
"@podium/test-utils": "1.4.0",
"@podium/test-utils": "1.6.3",
"benchmark": "^2.1.4",
"eslint": "^5.13.0",
"eslint": "^6.0.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^4.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.16.0",

@@ -59,6 +59,6 @@ "eslint-plugin-prettier": "^3.0.1",

"http-proxy": "^1.16.2",
"husky": "^2.1.0",
"husky": "^3.0.0",
"is-stream": "^2.0.0",
"jest": "^24.1.0",
"lint-staged": "^8.1.3",
"lint-staged": "^9.0.0",
"lolex": "^4.0.1",

@@ -65,0 +65,0 @@ "prettier": "^1.16.4"

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