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

urllib

Package Overview
Dependencies
Maintainers
3
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

urllib - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

5

History.md
2.3.2 / 2015-03-29
==================
* refactor: httpclient custom agent property
2.3.1 / 2015-03-08

@@ -3,0 +8,0 @@ ==================

22

lib/urllib.js
/**!
* urllib - lib/urllib.js
*
* Copyright(c) 2011 - 2014 fengmk2 and other contributors.
* Copyright(c) node-modules and other contributors.
* MIT Licensed
*
* Authors:
* fengmk2 <fengmk2@gmail.com> (http://fengmk2.github.com)
* fengmk2 <fengmk2@gmail.com> (http://fengmk2.com)
*/

@@ -651,4 +651,18 @@

options = options || {};
this.agent = options.agent || exports.agent;
this.httpsAgent = options.httpsAgent || exports.httpsAgent;
if (options.agent) {
this.agent = options.agent;
this.hasCustomAgent = true;
} else {
this.agent = exports.agent;
this.hasCustomAgent = false;
}
if (options.httpsAgent) {
this.httpsAgent = options.httpsAgent;
this.hasCustomHttpsAgent = true;
} else {
this.httpsAgent = exports.httpsAgent;
this.hasCustomHttpsAgent = false;
}
}

@@ -655,0 +669,0 @@ util.inherits(HttpClient, EventEmitter);

3

LICENSE.txt
This software is licensed under the MIT License.
Copyright(c) 2011-2014 fengmk2 and other contributors.
Copyright(c) 2011 - 2014 fengmk2 and other contributors.
Copyright(c) 2015 node-modules and other contributors.

@@ -5,0 +6,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "urllib",
"version": "2.3.1",
"version": "2.3.2",
"description": "Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, cookies and more.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -316,30 +316,2 @@ # urllib

## Authors
Below is the output from `git-summary`.
```bash
$ git summary
project : urllib
repo age : 3 years, 9 months
active : 78 days
commits : 230
files : 24
authors :
188 fengmk2 81.7%
10 XiNGRZ 4.3%
9 dead_horse 3.9%
6 Jackson Tian 2.6%
6 ibigbug 2.6%
3 haoxin 1.3%
2 alsotang 0.9%
1 popomore 0.4%
1 Jonathan Dahan 0.4%
1 Yiyu He 0.4%
1 aleafs 0.4%
1 coderhaoxin 0.4%
1 fishbar 0.4%
```
## License

@@ -346,0 +318,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