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

proxy-chain

Package Overview
Dependencies
Maintainers
10
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxy-chain - npm Package Compare versions

Comparing version 2.0.1-beta.13 to 2.0.1-beta.14

3

dist/chain.d.ts
/// <reference types="node" />
import dns from 'dns';
import { URL } from 'url';

@@ -9,2 +10,3 @@ import { EventEmitter } from 'events';

localAddress?: string;
dnsLookup?: typeof dns['lookup'];
}

@@ -23,2 +25,3 @@ interface ChainOpts {

localAddress?: string;
dnsLookup?: typeof dns['lookup'];
}

@@ -25,0 +28,0 @@ /**

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

localAddress: handlerOpts.localAddress,
lookup: handlerOpts.dnsLookup,
};

@@ -40,0 +41,0 @@ if (proxy.username || proxy.password) {

/// <reference types="node" />
import dns from 'dns';
import { Buffer } from 'buffer';

@@ -7,2 +8,3 @@ import { EventEmitter } from 'events';

localAddress?: string;
dnsLookup?: typeof dns['lookup'];
}

@@ -9,0 +11,0 @@ interface DirectOpts {

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

localAddress: handlerOpts.localAddress,
lookup: handlerOpts.dnsLookup,
};

@@ -30,0 +31,0 @@ if (options.host[0] === '[') {

/// <reference types="node" />
import dns from 'dns';
import http from 'http';

@@ -7,2 +8,3 @@ import { URL } from 'url';

localAddress?: string;
dnsLookup?: typeof dns['lookup'];
}

@@ -9,0 +11,0 @@ /**

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

localAddress: handlerOpts.localAddress,
lookup: handlerOpts.dnsLookup,
};

@@ -40,0 +41,0 @@ // In case of proxy the path needs to be an absolute URL

/// <reference types="node" />
import dns from 'dns';
import http from 'http';

@@ -25,2 +26,3 @@ import { URL } from 'url';

localAddress?: string;
dnsLookup?: typeof dns['lookup'];
};

@@ -42,2 +44,3 @@ export declare type PrepareRequestFunctionOpts = {

localAddress?: string;
dnsLookup?: typeof dns['lookup'];
};

@@ -44,0 +47,0 @@ declare type Promisable<T> = T | Promise<T>;

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

handlerOpts.localAddress = funcResult.localAddress;
handlerOpts.dnsLookup = funcResult.dnsLookup;
// If not authenticated, request client to authenticate

@@ -344,0 +345,0 @@ if (funcResult.requestAuthentication) {

2

package.json
{
"name": "proxy-chain",
"version": "2.0.1-beta.13",
"version": "2.0.1-beta.14",
"description": "Node.js implementation of a proxy server (think Squid) with support for SSL, authentication, upstream proxy chaining, and protocol tunneling.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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