Comparing version 0.5.10 to 0.5.11
0.5.11 / 2014-03-13 | ||
================== | ||
* improve user-agent, add node version and plaform detail | ||
0.5.10 / 2014-03-11 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -17,2 +17,3 @@ /**! | ||
var debug = require('debug')('urllib'); | ||
var http = require('http'); | ||
@@ -25,6 +26,6 @@ var https = require('https'); | ||
var zlib = require('zlib'); | ||
var debug = require('debug')('urllib'); | ||
var ua = require('default-user-agent'); | ||
var pkg = JSON.parse(fs.readFileSync(path.join(__dirname, '../', 'package.json'))); | ||
var USER_AGENT = exports.USER_AGENT = 'node-urllib/' + pkg.version; | ||
var USER_AGENT = exports.USER_AGENT = ua('node-urllib', pkg.version); | ||
var TIME_OUT = exports.TIME_OUT = 60000; // 60 seconds | ||
@@ -31,0 +32,0 @@ |
{ | ||
"name": "urllib", | ||
"version": "0.5.10", | ||
"version": "0.5.11", | ||
"description": "Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, cookies and more.", | ||
@@ -20,3 +20,4 @@ "keywords": [ "urllib", "http", "urlopen", "curl", "wget", "request", "https" ], | ||
"dependencies": { | ||
"debug": "0.7.4" | ||
"debug": "0.7.4", | ||
"default-user-agent": "0.0.1" | ||
}, | ||
@@ -23,0 +24,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30762
403
2
+ Addeddefault-user-agent@0.0.1
+ Addeddefault-user-agent@0.0.1(transitive)