Socket
Socket
Sign inDemoInstall

request

Package Overview
Dependencies
0
Maintainers
0
Versions
126
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.9.3 to 1.9.5

6

._main.js

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRZe1��"�"com.macromates.caret{
column = 0;
line = 41;
Mac OS X  2��ATTR`�8��$�$com.macromates.caret{
column = 56;
line = 231;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRZe3��#�#com.macromates.caret{
column = 23;
line = 11;
Mac OS X  2��ATTR`�:��"�"com.macromates.caret{
column = 20;
line = 3;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRZe5��"�"com.macromates.caret{
Mac OS X  2��ATTR`�<��"�"com.macromates.caret{
column = 6;
line = 43;
}

@@ -136,5 +136,7 @@ // Copyright 2010-2011 Mikeal Rogers

if (setHost) delete options.headers.host;
if (options.onResponse) options.onResponse(error);
if (options.callback) options.callback(error);
options.emit('error', error);
};
if (options.onResponse) options.on('error', function (e) {options.onResponse(e)});
if (options.callback) options.on('error', function (e) {options.callback(e)});

@@ -230,2 +232,5 @@ if (options.uri.auth && !options.headers.authorization) {

options._redirectsFollowed = 0;
// Be a good stream and emit end when the response is finished.
// Hack to emit end on close becuase of a core bug that never fires end
response.on('close', function () {options.emit('end')})

@@ -239,2 +244,3 @@ if (options.encoding) {

}
if (options.dests.length !== 0) {

@@ -246,2 +252,3 @@ options.dests.forEach(function (dest) {

if (options.callback) options.callback(null, response, options.responseBodyStream);
} else {

@@ -248,0 +255,0 @@ if (options.onResponse) {

{ "name" : "request"
, "description" : "Simplified HTTP request client."
, "tags" : ["http", "simple", "util", "utility"]
, "version" : "1.9.3"
, "version" : "1.9.5"
, "author" : "Mikeal Rogers <mikeal.rogers@gmail.com>"

@@ -6,0 +6,0 @@ , "repository" :

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRZe8��!�!com.macromates.caret{
Mac OS X  2��ATTR`�?��!�!com.macromates.caret{
column = 3;
line = 4;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRZe:��#�#com.macromates.caret{
Mac OS X  2��ATTR`�A��#�#com.macromates.caret{
column = 33;
line = 27;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRZe<��"�"com.macromates.caret{
Mac OS X  2��ATTR`�C��"�"com.macromates.caret{
column = 0;
line = 11;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRZe>��#�#com.macromates.caret{
Mac OS X  2��ATTR`�E��#�#com.macromates.caret{
column = 34;
line = 13;
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc