Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pact-foundation/pact-node

Package Overview
Dependencies
Maintainers
4
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 9.0.5 to 9.0.6

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

## [9.0.6](https://github.com/pact-foundation/pact-node/compare/v9.0.5...v9.0.6) (2019-10-10)
### Bug Fixes
* **verifier:** allow to use progress formatter during verification ([#189](https://github.com/pact-foundation/pact-node/issues/189)) ([2571725](https://github.com/pact-foundation/pact-node/commit/2571725))
* package.json, package-lock.json & .snyk to reduce vulnerabilities ([0dc7a8f](https://github.com/pact-foundation/pact-node/commit/0dc7a8f))
## [9.0.5](https://github.com/pact-foundation/pact-node/compare/v9.0.4...v9.0.5) (2019-10-08)

@@ -7,0 +17,0 @@

4

package.json
{
"name": "@pact-foundation/pact-node",
"version": "9.0.5",
"version": "9.0.6",
"description": "A wrapper for the Ruby version of Pact to work within Node",

@@ -69,3 +69,3 @@ "main": "src/index.js",

"url-join": "^4.0.0",
"snyk": "^1.193.2"
"snyk": "^1.230.5"
},

@@ -72,0 +72,0 @@ "devDependencies": {

@@ -269,2 +269,3 @@ <img src="https://raw.githubusercontent.com/pact-foundation/pact-logo/master/media/logo-black.png" width="200">

| `timeout` | false | number | The duration in ms we should wait to confirm verification process was successful. Defaults to 30000. |
| `format` | false | string | What format the verification results are printed in. Options are `json`, `xml`, `progress` and `RspecJunitFormatter` (which is a synonym for `xml`) |

@@ -271,0 +272,0 @@ ### Pact Broker Publishing

@@ -27,4 +27,4 @@ import q = require('q');

monkeypatch?: string;
format?: 'json' | 'RspecJunitFormatter';
format?: 'json' | 'xml' | 'progress' | 'RspecJunitFormatter';
out?: string;
}

@@ -101,5 +101,6 @@ "use strict";

checkTypes.assert.string(options.format);
checkTypes.assert.match(options.format, /^(xml|json)$/i);
options.format =
options.format.toLowerCase() === 'xml' ? 'RspecJunitFormatter' : 'json';
checkTypes.assert.match(options.format, /^(xml|json|progress)$/i);
if (options.format.toLowerCase() === 'xml') {
options.format = 'RspecJunitFormatter';
}
}

@@ -106,0 +107,0 @@ if (options.out) {

@@ -163,2 +163,9 @@ "use strict";

}).to.not.throw(Error);
expect(function () {
return verifier_1.default({
providerBaseUrl: 'http://localhost',
pactUrls: ['http://idontexist'],
format: 'progress',
});
}).to.not.throw(Error);
});

@@ -165,0 +172,0 @@ it('should throw an error with anything but a string', function () {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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