postman-request
Advanced tools
Comparing version 2.78.1-postman.3 to 2.79.1-postman.1
'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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2598
198713
18
+ Addeduuid@^3.0.1
+ Addeduuid@3.4.0(transitive)
- Removednode-uuid@~1.4.7
- Removednode-uuid@1.4.8(transitive)