Socket
Socket
Sign inDemoInstall

postman-request

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postman-request - npm Package Compare versions

Comparing version 2.74.1-postman.1 to 2.74.1-postman.2

lib/url-parse.js

13

package.json

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

],
"version": "2.74.1-postman.1",
"version": "2.74.1-postman.2",
"repository": {

@@ -29,3 +29,3 @@ "type": "git",

"forever-agent": "~0.6.1",
"form-data": "~1.0.0-rc4",
"form-data": "~1.0.1",
"har-validator": "~2.0.6",

@@ -67,3 +67,3 @@ "hawk": "~3.1.3",

"karma-phantomjs-launcher": "^1.0.0",
"karma-tap": "^2.0.1",
"karma-tap": "^3.0.1",
"phantomjs-prebuilt": "^2.1.3",

@@ -74,3 +74,10 @@ "rimraf": "^2.2.8",

"taper": "^0.4.0"
},
"greenkeeper": {
"ignore": [
"eslint",
"hawk",
"har-validator"
]
}
}

@@ -806,3 +806,3 @@

- `time` - If `true`, the request-response cycle (including all redirects) is timed at millisecond resolution, and the result provided on the response's `elapsedTime` property.
- `time` - If `true`, the request-response cycle (including all redirects) is timed at millisecond resolution, and the result provided on the response's `elapsedTime` property. The `responseStartTime` property is also available to indicate the timestamp when the response begins.
- `har` - A [HAR 1.2 Request Object](http://www.softwareishard.com/blog/har-12-spec/#request), will be processed from HAR format into options overwriting matching values *(see the [HAR 1.2 section](#support-for-har-1.2) for details)*

@@ -809,0 +809,0 @@ - `callback` - alternatively pass the request's callback in the options object

@@ -25,2 +25,3 @@ 'use strict'

, inflate = require('./lib/inflate')
, urlParse = require('./lib/url-parse')
, getProxyFromURI = require('./lib/getProxyFromURI')

@@ -739,2 +740,7 @@ , Querystring = require('./lib/querystring').Querystring

// Workaround for a bug in Node: https://github.com/nodejs/node/issues/8321
if (!self.proxy && !(self.uri.isUnix)) {
extend(reqOptions, urlParse(self.uri.href))
}
debug('make request', self.uri.href)

@@ -964,2 +970,6 @@

responseContent.on('data', function (chunk) {
if (self.timing && !self.responseStarted) {
self.responseStartTime = (new Date()).getTime()
response.responseStartTime = self.responseStartTime
}
self._destdata = true

@@ -966,0 +976,0 @@ self.emit('data', chunk)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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