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

pac-proxy-agent

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pac-proxy-agent - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

History.md
0.0.2 / 2014-01-25
==================
* package: be lax on the `proxy-agent` version
* index: remove incomplete support for the `code` property
0.0.1 / 2014-01-12

@@ -3,0 +9,0 @@ ==================

22

index.js

@@ -97,2 +97,6 @@

// kick things off by attempting to (re)load the contents of the PAC file URI
this.loadPacFile(onPacFile);
// loadPacFile() callback function
function onPacFile (err, code) {

@@ -114,5 +118,2 @@ if (err) {

}
// kick things off by checking if we need to regenerate the Resolver
this.loadPacFile(onPacFile);
};

@@ -131,13 +132,8 @@

if (this.code) {
// code was directly passed in
fn(null, this.code);
} else {
// delegate out to the `get-uri` module
var opts = {};
if (this.cache) {
opts.cache = this.cache;
}
getUri(this.uri, opts, onstream);
// delegate out to the `get-uri` module
var opts = {};
if (this.cache) {
opts.cache = this.cache;
}
getUri(this.uri, opts, onstream);

@@ -144,0 +140,0 @@ function onstream (err, rs) {

{
"name": "pac-proxy-agent",
"version": "0.0.1",
"version": "0.0.2",
"description": "A PAC file proxy `http.Agent` implementation for HTTP",

@@ -33,3 +33,3 @@ "main": "index.js",

"pac-resolver": "~0.0.2",
"proxy-agent": "~1.0.0",
"proxy-agent": "1",
"get-uri": "~0.1.0",

@@ -36,0 +36,0 @@ "stream-to-array": "~1.0.0",

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