@pact-foundation/pact-node
Advanced tools
Comparing version 10.8.0 to 10.8.1
@@ -5,2 +5,12 @@ # Change Log | ||
## [10.8.1](https://github.com/pact-foundation/pact-node/compare/v0.0.7...v10.8.1) (2020-04-08) | ||
### Bug Fixes | ||
* **standalone:** update standalone to 1.82.2 ([#220](https://github.com/pact-foundation/pact-node/issues/220)) ([ea85d0b](https://github.com/pact-foundation/pact-node/commit/ea85d0b96dc3f489cfc335ad0b7331e8de0494a2)), closes [pact-foundation/pact-ruby-standalone#49](https://github.com/pact-foundation/pact-ruby-standalone/issues/49) | ||
* correcting the cafile setup for postinstall download ([a07e882](https://github.com/pact-foundation/pact-node/commit/a07e8824d6b5113cbddb4f1767b29020801de407)) | ||
# [10.8.0](https://github.com/pact-foundation/pact-node/compare/v10.7.1...v10.8.0) (2020-03-26) | ||
@@ -7,0 +17,0 @@ |
{ | ||
"name": "@pact-foundation/pact-node", | ||
"version": "10.8.0", | ||
"version": "10.8.1", | ||
"description": "A wrapper for the Ruby version of Pact to work within Node", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -341,3 +341,3 @@ <img src="https://raw.githubusercontent.com/pact-foundation/pact-logo/master/media/logo-black.png" width="200"> | ||
| -------------------- | --------- | ----------- | ----------------------------------------------------------------------------------- | | ||
| `pacticipants` | true | string | An array of { name: String, latest? string | boolean, version? string } objects. To | | ||
| `pacticipants` | true | []objects | An array of version [selectors](docs.pact.io/selectors) in the form `{ name: String, latest?: string | boolean, version?: string }` | | ||
| | | | specify a tag, use the tagname with latest. Specify one of these per pacticipant | | ||
@@ -344,0 +344,0 @@ | | | | that you want to deploy | |
@@ -1,2 +0,2 @@ | ||
export declare const PACT_STANDALONE_VERSION = "1.82.1"; | ||
export declare const PACT_STANDALONE_VERSION = "1.82.2"; | ||
export declare function createConfig(): Config; | ||
@@ -3,0 +3,0 @@ export declare function getBinaryEntry(platform?: string, arch?: string): BinaryEntry; |
@@ -18,3 +18,3 @@ "use strict"; | ||
}); | ||
exports.PACT_STANDALONE_VERSION = '1.82.1'; | ||
exports.PACT_STANDALONE_VERSION = '1.82.2'; | ||
var PACT_DEFAULT_LOCATION = "https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v" + exports.PACT_STANDALONE_VERSION + "/"; | ||
@@ -131,2 +131,6 @@ var HTTP_REGEX = /^http(s?):\/\//; | ||
var time = Date.now(); | ||
var ca = config.read()['cafile']; | ||
if (ca) { | ||
ca = fs.readFileSync(ca); | ||
} | ||
request({ | ||
@@ -138,3 +142,3 @@ url: url, | ||
strictSSL: config.read()['strict-ssl'], | ||
ca: config.read()['cafile'], | ||
ca: ca, | ||
}) | ||
@@ -141,0 +145,0 @@ .on('error', function (e) { return reject(e); }) |
426133
5789