postman-collection
Advanced tools
Comparing version 3.4.4 to 3.4.5-beta.1
# 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; |
@@ -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", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
487410
10538
1
+ Addedmarked@0.6.1(transitive)
- Removedmarked@0.6.0(transitive)
Updatedmarked@0.6.1