@pact-foundation/pact-node
Advanced tools
Comparing version 10.13.1 to 10.13.2
@@ -5,2 +5,10 @@ # Changelog | ||
### [10.13.2](https://github.com/pact-foundation/pact-node/compare/v10.13.1...v10.13.2) (2021-08-12) | ||
### Fixes and Improvements | ||
* Avoid throwing an exception if needle can't connect to the mock service during polling (may fix [#314](https://github.com/pact-foundation/pact-node/issues/314)) ([edc877f](https://github.com/pact-foundation/pact-node/commit/edc877f6d3334b290dceddf5906cb9782dab4fe5)) | ||
* update standalone to 1.88.63 ([7856a70](https://github.com/pact-foundation/pact-node/commit/7856a7073387545c9f1e695061245954f84e03d6)) | ||
### [10.13.1](https://github.com/pact-foundation/pact-node/compare/v10.13.0...v10.13.1) (2021-08-02) | ||
@@ -7,0 +15,0 @@ |
{ | ||
"version": "10.13.1", | ||
"version": "10.13.2", | ||
"name": "@pact-foundation/pact-node", | ||
@@ -68,3 +68,3 @@ "description": "Core of @pact-foundation/pact. You almost certainly don't want to depend on this directly.", | ||
"sumchecker": "^2.0.2", | ||
"tar": "4.4.2", | ||
"tar": "^6.1.7", | ||
"underscore": "1.12.1", | ||
@@ -71,0 +71,0 @@ "unixify": "1.0.0", |
@@ -222,7 +222,9 @@ "use strict"; | ||
} | ||
needle.get("http" + (options.ssl ? 's' : '') + "://" + options.host + ":" + options.port, config, function (err, res) { | ||
!err && res.statusCode === 200 | ||
? deferred.resolve() | ||
: deferred.reject("HTTP Error: '" + JSON.stringify(err ? err : res) + "'"); | ||
}); | ||
needle('get', "http" + (options.ssl ? 's' : '') + "://" + options.host + ":" + options.port, config) | ||
.then(function (res) { | ||
if (res.statusCode !== 200) { | ||
throw new Error("HTTP Error: '" + JSON.stringify(res) + "'"); | ||
} | ||
}) | ||
.then(function (d) { return deferred.resolve(d); }, function (e) { return deferred.reject(e); }); | ||
return deferred.promise; | ||
@@ -229,0 +231,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
export declare const PACT_STANDALONE_VERSION = "1.88.61"; | ||
export declare const PACT_STANDALONE_VERSION = "1.88.63"; | ||
export declare function createConfig(location?: string): Config; | ||
@@ -3,0 +3,0 @@ export declare function getBinaryEntry(platform?: string, arch?: string): BinaryEntry; |
@@ -30,3 +30,3 @@ "use strict"; | ||
} | ||
exports.PACT_STANDALONE_VERSION = '1.88.61'; | ||
exports.PACT_STANDALONE_VERSION = '1.88.63'; | ||
var PACT_DEFAULT_LOCATION = "https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v" + exports.PACT_STANDALONE_VERSION + "/"; | ||
@@ -33,0 +33,0 @@ var HTTP_REGEX = /^http(s?):\/\//; |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 5 instances in 1 package
72577553
153
3577
21
8
+ Addedchownr@2.0.0(transitive)
+ Addedfs-minipass@2.1.0(transitive)
+ Addedminipass@3.3.65.0.0(transitive)
+ Addedminizlib@2.1.2(transitive)
+ Addedmkdirp@1.0.4(transitive)
+ Addedtar@6.2.1(transitive)
+ Addedyallist@4.0.0(transitive)
- Removedchownr@1.1.4(transitive)
- Removedfs-minipass@1.2.7(transitive)
- Removedminipass@2.9.0(transitive)
- Removedminizlib@1.3.3(transitive)
- Removedtar@4.4.2(transitive)
- Removedyallist@3.1.1(transitive)
Updatedtar@^6.1.7