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

urllib

Package Overview
Dependencies
Maintainers
1
Versions
222
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.10 to 0.5.11

5

History.md
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 @@ ==================

5

lib/urllib.js

@@ -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": {

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