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

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.78.1-postman.3 to 2.79.1-postman.1

2

lib/auth.js
'use strict'
var caseless = require('caseless')
, uuid = require('node-uuid')
, uuid = require('uuid')
, helpers = require('./helpers')

@@ -6,0 +6,0 @@

'use strict'
var uuid = require('node-uuid')
var uuid = require('uuid')
, CombinedStream = require('combined-stream')

@@ -5,0 +5,0 @@ , isstream = require('isstream')

@@ -6,3 +6,3 @@ 'use strict'

, caseless = require('caseless')
, uuid = require('node-uuid')
, uuid = require('uuid')
, oauth = require('oauth-sign')

@@ -9,0 +9,0 @@ , crypto = require('crypto')

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

],
"version": "2.78.1-postman.3",
"version": "2.79.1-postman.1",
"repository": {

@@ -21,2 +21,7 @@ "type": "git",

"main": "index.js",
"files": [
"lib/",
"index.js",
"request.js"
],
"dependencies": {

@@ -37,3 +42,2 @@ "aws-sign2": "~0.6.0",

"mime-types": "~2.1.7",
"node-uuid": "~1.4.7",
"oauth-sign": "~0.8.1",

@@ -43,3 +47,4 @@ "qs": "~6.3.0",

"tough-cookie": "~2.3.0",
"tunnel-agent": "~0.4.1"
"tunnel-agent": "~0.4.1",
"uuid": "^3.0.1"
},

@@ -73,3 +78,3 @@ "scripts": {

"tape": "^4.6.0",
"taper": "^0.4.0"
"taper": "^0.5.0"
},

@@ -76,0 +81,0 @@ "greenkeeper": {

@@ -750,3 +750,3 @@

- `hawk` - Options for [Hawk signing](https://github.com/hueniverse/hawk). The `credentials` key must contain the necessary signing info, [see hawk docs for details](https://github.com/hueniverse/hawk#usage-example).
- `aws` - `object` containing AWS signing information. Should have the properties `key`, `secret`. Also requires the property `bucket`, unless you’re specifying your `bucket` as part of the path, or the request doesn’t use a bucket (i.e. GET Services). If you want to use AWS sign version 4 use the parameter `sign_version` with value `4` otherwise the default is version 2. **Note:** you need to `npm install aws4` first.
- `aws` - `object` containing AWS signing information. Should have the properties `key`, `secret`, and optionally `session` (note that this only works for services that require session as part of the canonical string). Also requires the property `bucket`, unless you’re specifying your `bucket` as part of the path, or the request doesn’t use a bucket (i.e. GET Services). If you want to use AWS sign version 4 use the parameter `sign_version` with value `4` otherwise the default is version 2. **Note:** you need to `npm install aws4` first.
- `httpSignature` - Options for the [HTTP Signature Scheme](https://github.com/joyent/node-http-signature/blob/master/http_signing.md) using [Joyent's library](https://github.com/joyent/node-http-signature). The `keyId` and `key` properties must be specified. See the docs for other options.

@@ -753,0 +753,0 @@

@@ -1303,6 +1303,10 @@ 'use strict'

accessKeyId: opts.key,
secretAccessKey: opts.secret
secretAccessKey: opts.secret,
sessionToken: opts.session
})
self.setHeader('authorization', signRes.headers.Authorization)
self.setHeader('x-amz-date', signRes.headers['X-Amz-Date'])
if (signRes.headers['X-Amz-Security-Token']) {
self.setHeader('x-amz-security-token', signRes.headers['X-Amz-Security-Token'])
}
}

@@ -1309,0 +1313,0 @@ else {

Sorry, the diff of this file is too big to display

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