Socket
Socket
Sign inDemoInstall

urllib

Package Overview
Dependencies
Maintainers
1
Versions
221
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 0.5.2 to 0.5.3

5

History.md
0.5.3 / 2013-10-18
==================
* add args.beforeRequest(options) hook to change options before http send
0.5.2 / 2013-09-23

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

@@ -76,2 +76,3 @@ /**

* - {Number} [maxRedirects]: The maximum number of redirects to follow, defaults to 10.
* - {Function(options)} [beforeRequest]: Before request hook, you can change every thing here.
* @param {Function} callback, callback(error, data, res)

@@ -181,2 +182,6 @@ * @return {HttpRequest} req object.

if (typeof args.beforeRequest === 'function') {
// you can use this hook to change every thing.
args.beforeRequest(options);
}
var timer = null;

@@ -183,0 +188,0 @@ var __err = null;

2

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

@@ -5,0 +5,0 @@ "keywords": [ "urllib", "http", "urlopen", "curl", "wget", "request", "https" ],

@@ -68,2 +68,3 @@ # urllib

- ***maxRedirects*** Number - The maximum number of redirects to follow, defaults to 10.
- ***beforeRequest*** Function - Before request hook, you can change every thing here.
- ***callback(err, data, res)*** Function - Optional callback.

@@ -215,11 +216,11 @@ - **err** Error - Would be `null` if no error accured.

project : urllib
repo age : 2 years, 3 months
active : 34 days
commits : 106
repo age : 2 years, 5 months
active : 37 days
commits : 110
files : 17
authors :
86 fengmk2 81.1%
9 XiNGRZ 8.5%
6 ibigbug 5.7%
4 Jackson Tian 3.8%
90 fengmk2 81.8%
9 XiNGRZ 8.2%
6 ibigbug 5.5%
4 Jackson Tian 3.6%
1 aleafs 0.9%

@@ -226,0 +227,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