Socket
Socket
Sign inDemoInstall

postman-collection

Package Overview
Dependencies
Maintainers
3
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postman-collection - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

12

lib/collection/request-auth/awsv4.js

@@ -5,4 +5,8 @@ var _ = require('../../util').lodash,

AWSV4 = 'awsv4';
AWSV4 = 'awsv4',
// These auto-added headers interfere with the AWS Auth signing process.
// Ideally, they're not supposed to be a part of the signature calculation
NON_SIGNABLE_HEADERS = ['cache-control', 'postman-token'];
module.exports = {

@@ -58,3 +62,7 @@ name: AWSV4,

body: request.body ? request.body.toString() : undefined,
headers: request.getHeaders()
headers: _.transform(request.getHeaders(), function (accumulator, value, key) {
if (!_.contains(NON_SIGNABLE_HEADERS, key.toLowerCase())) {
accumulator[key] = value;
}
}, {})
});

@@ -61,0 +69,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"author": "Postman Labs <help@getpostman.com>",
"version": "0.4.7",
"version": "0.4.8",
"keywords": [

@@ -8,0 +8,0 @@ "postman"

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