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

urllib

Package Overview
Dependencies
Maintainers
2
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.9 to 2.3.10

6

History.md
2.3.10 / 2015-08-12
==================
* fix: add alias urllib.curl()
* chore: add decodeBodyByCharset error debug log
2.3.9 / 2015-07-23

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

6

lib/urllib.js

@@ -137,2 +137,5 @@ /**!

// alias to curl
exports.curl = exports.request;
function makeCallback(resolve, reject) {

@@ -560,3 +563,4 @@ return function (err, data, res) {

data = decodeBodyByCharset(data, res);
} catch (_) {
} catch (e) {
debug('decodeBodyByCharset error: %s', e);
// if error, dont touch it

@@ -563,0 +567,0 @@ return done(null, data, res);

8

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

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

"scripts": {
"test": "node_modules/.bin/mocha -R spec -t 20000 -r should -r should-http test/*.test.js",
"test-cov": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -t 20000 -r should -r should-http test/*.test.js",
"test-travis": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- -t 20000 -r should -r should-http test/*.test.js",
"test": "node_modules/.bin/mocha -R spec -t 30000 -r should -r should-http test/*.test.js",
"test-cov": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -t 30000 -r should -r should-http test/*.test.js",
"test-travis": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- -t 30000 -r should -r should-http test/*.test.js",
"jshint": "jshint .",

@@ -30,0 +30,0 @@ "autod": "autod -w --prefix '~' -t test -e examples",

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