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

request

Package Overview
Dependencies
Maintainers
3
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

request - npm Package Compare versions

Comparing version 2.52.0 to 2.53.0

4

CHANGELOG.md
## Change Log
### v2.53.0 (2015/02/02)
- [#1396](https://github.com/request/request/pull/1396) Do not rfc3986 escape JSON bodies (@nylen, @simov)
- [#1392](https://github.com/request/request/pull/1392) Improve `timeout` option description (@watson)
### v2.52.0 (2015/02/02)

@@ -4,0 +8,0 @@ - [#1383](https://github.com/request/request/pull/1383) Add missing HTTPS options that were not being passed to tunnel (@brichard19) (@nylen, @brichard19)

2

package.json

@@ -10,3 +10,3 @@ {

],
"version": "2.52.0",
"version": "2.53.0",
"author": "Mikeal Rogers <mikeal.rogers@gmail.com>",

@@ -13,0 +13,0 @@ "repository": {

@@ -602,5 +602,5 @@ # Request — Simplified HTTP client

* `timeout` - Integer containing the number of milliseconds to wait for a
request to respond before aborting the request. Note that increasing the
timeout beyond the OS-wide TCP connection timeout will not work
([the default in Linux is around 20 seconds](http://www.sekuda.com/overriding_the_default_linux_kernel_20_second_tcp_socket_connect_timeout)).
request to respond before aborting the request. Note that if the underlying
TCP connection cannot be established, the OS-wide TCP connection timeout will
overrule the `timeout` option ([the default in Linux is around 20 seconds](http://www.sekuda.com/overriding_the_default_linux_kernel_20_second_tcp_socket_connect_timeout)).
* `proxy` - An HTTP proxy to be used. Supports proxy Auth with Basic Auth, identical to support for the `url` parameter (by embedding the auth info in the `uri`)

@@ -607,0 +607,0 @@ * `oauth` - Options for OAuth HMAC-SHA1 signing. See documentation above.

@@ -1431,4 +1431,5 @@ 'use strict'

self.body = safeStringify(self.body)
} else {
self.body = rfc3986(self.body)
}
self.body = rfc3986(self.body)
if (!self.hasHeader('content-type')) {

@@ -1440,3 +1441,2 @@ self.setHeader('content-type', 'application/json')

self.body = safeStringify(val)
self.body = rfc3986(self.body)
if (!self.hasHeader('content-type')) {

@@ -1443,0 +1443,0 @@ self.setHeader('content-type', 'application/json')

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