Socket
Socket
Sign inDemoInstall

@pact-foundation/pact-node

Package Overview
Dependencies
Maintainers
5
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pact-foundation/pact-node - npm Package Compare versions

Comparing version 10.13.1 to 10.13.2

.vscode/settings.json

8

CHANGELOG.md

@@ -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 @@

4

package.json
{
"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

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