Socket
Socket
Sign inDemoInstall

postman-collection

Package Overview
Dependencies
Maintainers
6
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 3.4.4 to 3.4.5-beta.1

3

CHANGELOG.md
# Postman Collection SDK Changelog
#### v3.4.5 (Unreleased)
* #813 Added support for PFX certificate
#### v3.4.4 (February 19, 2019)

@@ -4,0 +7,0 @@ * #798 Handle disabled property in `VariableScope` methods

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

/**
* PFX or PKCS12 Certificate
* @type {{ src: (string) }}
*/
pfx: _.isObject(options.pfx) ? options.pfx : { src: options.pfx },
/**
* passphrase

@@ -155,2 +161,3 @@ * @type {Object}

_.unset(obj, 'cert.value');
_.unset(obj, 'pfx.value');

@@ -157,0 +164,0 @@ return obj;

24

lib/collection/request.js

@@ -60,21 +60,3 @@ var util = require('../util'),

/**
* Connection header
*
* @private
* @const
* @type {String}
*/
CONNECTION_KEEP_ALIVE = 'Connection: keep-alive',
/**
* Connection header key name
*
* @private
* @const
* @type {String}
*/
CONNECTION_HEADER_KEY = 'connection',
/**
* @private
* @type {Boolean}

@@ -375,8 +357,2 @@ */

this.headers.contentSize();
// account for connection header which will be added by Node's HTTP Agent
// since its not added back via Request~upsertHeader.
// @note requester.keepAlive is true by default in postman-runtime
if (!this.headers.has(CONNECTION_HEADER_KEY)) {
sizeInfo.header += (CONNECTION_KEEP_ALIVE + CRLF).length;
}

@@ -383,0 +359,0 @@ // compute the approximate total body size by adding size of header and body

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

"author": "Postman Labs <help@getpostman.com>",
"version": "3.4.4",
"version": "3.4.5-beta.1",
"keywords": [

@@ -41,3 +41,3 @@ "postman"

"lodash": "4.17.11",
"marked": "0.6.0",
"marked": "0.6.1",
"mime-format": "2.0.0",

@@ -71,3 +71,3 @@ "mime-types": "2.1.22",

"karma-mocha-reporter": "2.2.5",
"mocha": "6.0.0",
"mocha": "6.0.1",
"mustache": "3.0.1",

@@ -85,3 +85,3 @@ "packity": "0.3.2",

"tv4": "1.3.0",
"watchify": "3.11.0"
"watchify": "3.11.1"
},

@@ -88,0 +88,0 @@ "homepage": "https://github.com/postmanlabs/postman-collection#readme",

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