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

infinity-agent

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

infinity-agent - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

11

http.js

@@ -8,6 +8,11 @@ 'use strict';

var debug;
if (process.env.NODE_DEBUG && /http/.test(process.env.NODE_DEBUG)) {
debug = function(x) { console.error('HTTP: %s', x); };
if (util.debuglog) {
debug = util.debuglog('http');
} else {
debug = function() { };
debug = function (x) {
if (process.env.NODE_DEBUG && /http/.test(process.env.NODE_DEBUG)) {
console.error('HTTP: %s', x);
}
};
}

@@ -14,0 +19,0 @@

@@ -9,8 +9,12 @@ 'use strict';

var debug;
if (process.env.NODE_DEBUG && /http/.test(process.env.NODE_DEBUG)) {
debug = function(x) { console.error('HTTPS: %s', x); };
if (util.debuglog) {
debug = util.debuglog('https');
} else {
debug = function() { };
debug = function (x) {
if (process.env.NODE_DEBUG && /http/.test(process.env.NODE_DEBUG)) {
console.error('HTTPS: %s', x);
}
};
}
function createConnection(port, host, options) {

@@ -17,0 +21,0 @@ if (port !== null && typeof port === 'object') {

{
"name": "infinity-agent",
"version": "2.0.2",
"version": "2.0.3",
"description": "Creates HTTP/HTTPS Agent with Infinity maxSockets",

@@ -5,0 +5,0 @@ "scripts": {

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