@pact-foundation/pact-node
Advanced tools
Comparing version 10.5.0 to 10.6.0
@@ -5,2 +5,17 @@ # Change Log | ||
# [10.6.0](https://github.com/pact-foundation/pact-node/compare/v10.5.0...v10.6.0) (2020-03-15) | ||
### Bug Fixes | ||
* remove tests, point directly to npm config settings for ca and StrictSSL ([ae36609](https://github.com/pact-foundation/pact-node/commit/ae366098c268339cebf91bc562a611360f0a68b1)) | ||
* set strictSSL on custom downloads from NPM config. Fixes [#211](https://github.com/pact-foundation/pact-node/issues/211) ([d264f0b](https://github.com/pact-foundation/pact-node/commit/d264f0b800209a171b320039e7fa3c2dd621606e)) | ||
### Features | ||
* **upgrade:** update standalone to 1.82.0 ([92c3af3](https://github.com/pact-foundation/pact-node/commit/92c3af3bb158544ee921a8d0737197c0dd607ba6)) | ||
# [10.5.0](https://github.com/pact-foundation/pact-node/compare/v10.4.0...v10.5.0) (2020-03-02) | ||
@@ -7,0 +22,0 @@ |
{ | ||
"name": "@pact-foundation/pact-node", | ||
"version": "10.5.0", | ||
"version": "10.6.0", | ||
"description": "A wrapper for the Ruby version of Pact to work within Node", | ||
@@ -60,3 +60,4 @@ "main": "src/index.js", | ||
"cross-spawn": "^7.0.1", | ||
"mkdirp": "0.5.1", | ||
"libnpmconfig": "^1.2.1", | ||
"mkdirp": "1.0.0", | ||
"q": "1.5.1", | ||
@@ -107,3 +108,2 @@ "request": "2.87.0", | ||
"prettier": "^1.18.2", | ||
"rewire": "^4.0.1", | ||
"sinon": "4.4.2", | ||
@@ -110,0 +110,0 @@ "snyk": "^1.230.5", |
@@ -1,2 +0,2 @@ | ||
export declare const PACT_STANDALONE_VERSION = "1.81.0"; | ||
export declare const PACT_STANDALONE_VERSION = "1.82.0"; | ||
export declare function createConfig(): Config; | ||
@@ -3,0 +3,0 @@ export declare function getBinaryEntry(platform?: string, arch?: string): BinaryEntry; |
@@ -11,2 +11,3 @@ "use strict"; | ||
var urljoin = require("url-join"); | ||
var config = require('libnpmconfig'); | ||
var sumchecker = require('sumchecker'); | ||
@@ -18,3 +19,3 @@ var request = Request.defaults({ | ||
}); | ||
exports.PACT_STANDALONE_VERSION = '1.81.0'; | ||
exports.PACT_STANDALONE_VERSION = '1.82.0'; | ||
var PACT_DEFAULT_LOCATION = "https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v" + exports.PACT_STANDALONE_VERSION + "/"; | ||
@@ -47,7 +48,7 @@ var HTTP_REGEX = /^http(s?):\/\//; | ||
if (fs.existsSync(packagePath)) { | ||
var config = require(packagePath).config; | ||
if (config && (config.pact_binary_location || config.pact_do_not_track)) { | ||
var config_1 = require(packagePath).config; | ||
if (config_1 && (config_1.pact_binary_location || config_1.pact_do_not_track)) { | ||
return { | ||
binaryLocation: getBinaryLocation(config.pact_binary_location, location), | ||
doNotTrack: config.pact_do_not_track, | ||
binaryLocation: getBinaryLocation(config_1.pact_binary_location, location), | ||
doNotTrack: config_1.pact_do_not_track, | ||
}; | ||
@@ -137,2 +138,4 @@ } | ||
}, | ||
strictSSL: config.read()['strict-ssl'], | ||
ca: config.read()['cafile'], | ||
}) | ||
@@ -139,0 +142,0 @@ .on('error', function (e) { return reject(e); }) |
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
419207
41
5719
18
+ Addedlibnpmconfig@^1.2.1
+ Addedfiggy-pudding@3.5.2(transitive)
+ Addedfind-up@3.0.0(transitive)
+ Addedini@1.3.8(transitive)
+ Addedlibnpmconfig@1.2.1(transitive)
+ Addedlocate-path@3.0.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.61.0.0(transitive)
+ Addedp-limit@2.3.0(transitive)
+ Addedp-locate@3.0.0(transitive)
+ Addedp-try@2.2.0(transitive)
+ Addedpath-exists@3.0.0(transitive)
- Removedminimist@0.0.8(transitive)
- Removedmkdirp@0.5.1(transitive)
Updatedmkdirp@1.0.0