@pact-foundation/pact-core 20.1.1 → 20.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [20.2.0](https://github.com/pact-foundation/pact-js-core/compare/v20.1.1...v20.2.0) (2026-09-16)
6
+
7
+ ### Features
8
+
9
+ * **ffi:** update pact-ffi to 0.5.8 and assert per-interaction pact details ([fcd52de](https://github.com/pact-foundation/pact-js-core/commit/fcd52ded3c22509560255e6f081fac37e7e7e88a)), references [pact-foundation/pact-reference#549](https://github.com/pact-foundation/pact-js-core/issues/549)
5
10
  ## [20.1.1](https://github.com/pact-foundation/pact-js-core/compare/v20.1.0...v20.1.1) (2026-09-07)
6
11
 
7
12
  ### Fixes and Improvements
@@ -1,6 +1,6 @@
1
1
  import type { LogLevel } from '../logger/types';
2
2
  import { type Ffi } from './types';
3
- export declare const PACT_FFI_VERSION = "0.5.7";
3
+ export declare const PACT_FFI_VERSION = "0.5.8";
4
4
  declare let ffiLib: Ffi;
5
5
  declare let ffi: typeof ffiLib;
6
6
  export declare const getFfiLib: (logLevel?: LogLevel, logFile?: string | undefined) => typeof ffi;
package/dist/ffi/index.js CHANGED
@@ -42,7 +42,7 @@ const detect_libc_1 = require("detect-libc");
42
42
  const logger_1 = __importStar(require("../logger"));
43
43
  const types_1 = require("./types");
44
44
  const bindings = require('node-gyp-build');
45
- exports.PACT_FFI_VERSION = '0.5.7';
45
+ exports.PACT_FFI_VERSION = '0.5.8';
46
46
  /**
47
47
  * Returns the library path which is located inside `node_modules`
48
48
  * The naming convention is @pact-foundation/pact-core-${os}-${arch}<-${libc}>
package/junit.xml CHANGED
@@ -1,118 +1,255 @@
1
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <testsuites name="vitest tests" tests="92" failures="0" errors="0" time="4.399135016">
3
- <testsuite name="src/index.spec.ts" timestamp="2026-09-07T06:17:17.738Z" hostname="runnervmejwal" tests="1" failures="0" errors="0" skipped="0" time="0.004115602">
4
- <testcase classname="src/index.spec.ts" name="Index Spec &gt; Typescript import should work" time="0.00218111">
2
+ <testsuites name="vitest tests" tests="93" failures="0" errors="0" time="4.444660371">
3
+ <testsuite name="src/consumer/checkErrors.spec.ts" timestamp="2026-09-16T10:54:03.859Z" hostname="runnervmlun5p" tests="2" failures="0" errors="0" skipped="0" time="0.005174097">
4
+ <testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors &gt; treats numeric status code 0 as success" time="0.002814018">
5
+ </testcase>
6
+ <testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors &gt; treats non-zero numeric status as failure" time="0.000418042">
7
+ </testcase>
8
+ </testsuite>
9
+ <testsuite name="src/index.spec.ts" timestamp="2026-09-16T10:54:03.860Z" hostname="runnervmlun5p" tests="1" failures="0" errors="0" skipped="0" time="0.003754508">
10
+ <testcase classname="src/index.spec.ts" name="Index Spec &gt; Typescript import should work" time="0.001983493">
5
11
  </testcase>
6
12
  </testsuite>
7
- <testsuite name="src/pact.spec.ts" timestamp="2026-09-07T06:17:17.739Z" hostname="runnervmejwal" tests="5" failures="0" errors="0" skipped="0" time="0.007777727">
8
- <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;trace&apos;" time="0.001746232">
13
+ <testsuite name="src/pact.spec.ts" timestamp="2026-09-16T10:54:03.860Z" hostname="runnervmlun5p" tests="5" failures="0" errors="0" skipped="0" time="0.007251445">
14
+ <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;trace&apos;" time="0.00177351">
9
15
  </testcase>
10
- <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;debug&apos;" time="0.000410713">
16
+ <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;debug&apos;" time="0.000387967">
11
17
  </testcase>
12
- <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;info&apos;" time="0.000407556">
18
+ <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;info&apos;" time="0.000374481">
13
19
  </testcase>
14
- <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;warn&apos;" time="0.000320314">
20
+ <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;warn&apos;" time="0.000388588">
15
21
  </testcase>
16
- <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;error&apos;" time="0.00047057">
22
+ <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;error&apos;" time="0.000260197">
17
23
  </testcase>
18
24
  </testsuite>
19
- <testsuite name="test/consumer.integration.spec.ts" timestamp="2026-09-07T06:17:17.740Z" hostname="runnervmejwal" tests="12" failures="0" errors="0" skipped="1" time="0.855479442">
20
- <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with matching rules &gt; generates a pact with success" time="0.057306047">
25
+ <testsuite name="src/verifier/validateOptions.spec.ts" timestamp="2026-09-16T10:54:03.862Z" hostname="runnervmlun5p" tests="42" failures="0" errors="0" skipped="0" time="0.040600662">
26
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when automatically finding pacts from a broker &gt; when not given --pact-urls and only --pact-broker-url &gt; should fail with an error because provider is missing" time="0.012771237">
27
+ <system-out>
28
+ [10:54:01.270] [31mERROR[39m (2818): [36mpactBrokerUrl requires the following properties: provider[39m
29
+
30
+
31
+ </system-out>
32
+ </testcase>
33
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when automatically finding pacts from a broker &gt; when given valid arguments &gt; should return a Verifier object" time="0.001376326">
34
+ </testcase>
35
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when automatically finding pacts from a broker &gt; when given an unknown array argument &gt; should return a Verifier object" time="0.000606295">
36
+ </testcase>
37
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when not given --pact-urls or --provider-base-url &gt; should fail with an error" time="0.000387385">
38
+ </testcase>
39
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given an invalid timeout &gt; should fail with an error" time="0.000432649">
40
+ </testcase>
41
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given remote Pact URLs that don&apos;t exist &gt; should pass through to the Pact Verifier regardless" time="0.000372617">
42
+ </testcase>
43
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given local Pact URLs that do exist &gt; should not fail" time="0.00042231">
44
+ </testcase>
45
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when requested to publish verification results to a Pact Broker &gt; and specifies a provider version &gt; should pass through to the Pact Verifier" time="0.000430506">
46
+ </testcase>
47
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when requested to publish verification results to a Pact Broker &gt; and does not specify provider version &gt; should fail with an error" time="0.001607628">
48
+ <system-out>
49
+ [10:54:01.283] [31mERROR[39m (2818): [36mpublishVerificationResult requires the following properties: providerVersion[39m
50
+
51
+
52
+ </system-out>
53
+ </testcase>
54
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given the correct arguments &gt; should return a Verifier object" time="0.000278992">
55
+ </testcase>
56
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using includeWipPactsSince &gt; should accept a non-empty string" time="0.000241071">
57
+ </testcase>
58
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using includeWipPactsSince &gt; should not accept an empty string" time="0.000282218">
59
+ </testcase>
60
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using followRedirects &gt; should accept a boolean" time="0.000246581">
61
+ </testcase>
62
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using followRedirects &gt; should not accept a non-boolean" time="0.00028289">
63
+ </testcase>
64
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when an using format option &gt; should work with either &apos;json&apos; or &apos;xml&apos;" time="0.001555971">
65
+ <system-out>
66
+ [10:54:01.286] [33mWARN[39m (2818): [36mpact-core@20.1.1: format is deprecated and no longer has any effect[39m
67
+
68
+ [10:54:01.286] [33mWARN[39m (2818): [36mpact-core@20.1.1: format is deprecated and no longer has any effect[39m
69
+
70
+ [10:54:01.286] [33mWARN[39m (2818): [36mpact-core@20.1.1: format is deprecated and no longer has any effect[39m
71
+
72
+
73
+ </system-out>
74
+ </testcase>
75
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when an using format option &gt; should work with a case insensitive string" time="0.000769731">
76
+ <system-out>
77
+ [10:54:01.287] [33mWARN[39m (2818): [36mpact-core@20.1.1: format is deprecated and no longer has any effect[39m
78
+
79
+
80
+ </system-out>
81
+ </testcase>
82
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when pactBrokerUrl is not provided &gt; should not fail" time="0.000371776">
83
+ </testcase>
84
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when pactBrokerUrl is provided &gt; should not fail" time="0.000510996">
85
+ </testcase>
86
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when consumerVersionTags is not provided &gt; should not fail" time="0.00032554">
87
+ </testcase>
88
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when consumerVersionTags is provided as an array &gt; should not fail" time="0.000630199">
89
+ </testcase>
90
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when providerVersionTags is not provided &gt; should not fail" time="0.000363009">
91
+ </testcase>
92
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when providerVersionTags is provided as an array &gt; should not fail" time="0.000330288">
93
+ </testcase>
94
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using a bearer token &gt; and specifies a username or password &gt; should fail with an error" time="0.00092989">
21
95
  <system-out>
22
- [06:17:15.301] [32mINFO[39m (2852): [36m0.5.7: pact native library successfully found, and the correct version[39m
96
+ [10:54:01.291] [31mERROR[39m (2818): [36mpactBrokerToken is incompatible with the following properties: pactBrokerUsername,pactBrokerPassword[39m
97
+
98
+
99
+ </system-out>
100
+ </testcase>
101
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using a bearer token &gt; should not fail" time="0.000285124">
102
+ </testcase>
103
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when providing consumerVersionSelectors &gt; and an unsupported selector is specified &gt; should log out a warning that the selector is unknown" time="0.00405619">
104
+ <system-out>
105
+ [10:54:01.295] [33mWARN[39m (2818): [36mpact-core@20.1.1: The consumer version selector &apos;unsupportedFlag&apos; is unknown but will be sent through to the validation. Allowed properties are tag, latest, consumer, deployedOrReleased, deployed, released, environment, fallbackTag, branch, mainBranch, matchingBranch)[39m
106
+
107
+
108
+ </system-out>
109
+ </testcase>
110
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and the tag of &quot;latest&quot; is specified &gt; should log out a warning that using this selector is not recommended" time="0.003084462">
111
+ <system-out>
112
+ [10:54:01.297] [33mWARN[39m (2818): [36mpact-core@20.1.1: Using the tag &apos;latest&apos; is not recommended and probably does not do what you intended.[39m
113
+
114
+ [10:54:01.298] [33mWARN[39m (2818): [36mpact-core@20.1.1: See https://docs.pact.io/pact_broker/tags/#latest-pacts[39m
115
+
116
+ [10:54:01.298] [33mWARN[39m (2818): [36mpact-core@20.1.1: If you need to specify latest, try:[39m
117
+
118
+ [10:54:01.298] [33mWARN[39m (2818): [36mpact-core@20.1.1: consumerVersionSelectors: [{ lastest: true }][39m
119
+
120
+
121
+ </system-out>
122
+ </testcase>
123
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;tag&quot;:&quot;a-tag&quot;}" time="0.00030451">
124
+ </testcase>
125
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;latest&quot;:true}" time="0.000143549">
126
+ </testcase>
127
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;consumer&quot;:&quot;the-consumer&quot;}" time="0.000130454">
128
+ </testcase>
129
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;deployedOrReleased&quot;:true}" time="0.000121246">
130
+ </testcase>
131
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;deployed&quot;:true}" time="0.000117369">
132
+ </testcase>
133
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;released&quot;:true}" time="0.000150242">
134
+ </testcase>
135
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;environment&quot;:&quot;an-environment&quot;}" time="0.000120516">
136
+ </testcase>
137
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;fallbackTag&quot;:&quot;a-fallback-tag&quot;}" time="0.000266449">
138
+ </testcase>
139
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;branch&quot;:&quot;the-branch&quot;}" time="0.000180137">
140
+ </testcase>
141
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;mainBranch&quot;:false}" time="0.000127188">
142
+ </testcase>
143
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;matchingBranch&quot;:true}" time="0.000118773">
144
+ </testcase>
145
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given customProviderHeaders &gt; using the object notation &gt; should pass through to the Pact Verifier" time="0.000420197">
146
+ </testcase>
147
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given customProviderHeaders &gt; using the legacy array notation &gt; should pass through to the Pact Verifier" time="0.000224119">
148
+ </testcase>
149
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given customProviderHeaders &gt; using the legacy array notation &gt; and the format is incorrect &gt; should throw an error" time="0.000218128">
150
+ </testcase>
151
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given providerBranch &gt; should not throw an error" time="0.000222707">
152
+ </testcase>
153
+ <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given unknown properties &gt; should ignore them and not throw an error" time="0.000189976">
154
+ </testcase>
155
+ </testsuite>
156
+ <testsuite name="test/consumer.integration.spec.ts" timestamp="2026-09-16T10:54:03.871Z" hostname="runnervmlun5p" tests="12" failures="0" errors="0" skipped="1" time="0.784979506">
157
+ <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with matching rules &gt; generates a pact with success" time="0.055023618">
158
+ <system-out>
159
+ [10:54:01.472] [32mINFO[39m (2817): [36m0.5.8: pact native library successfully found, and the correct version[39m
23
160
 
24
161
 
25
162
  []
26
163
 
27
164
  </system-out>
28
165
  </testcase>
29
- <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with JSON data &gt; generates a pact with success" time="0.006945796">
166
+ <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with JSON data &gt; generates a pact with success" time="0.008734083">
30
167
  </testcase>
31
- <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with JSON data &gt; generates a pact with failure" time="0.007397104">
168
+ <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with JSON data &gt; generates a pact with failure" time="0.008100287">
32
169
  </testcase>
33
170
  <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with a TLS mock server &gt; serves requests over TLS using the exposed CA certificate" time="0">
34
171
  <skipped/>
35
172
  </testcase>
36
- <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with an interaction key &gt; writes the interaction key to the pact file" time="0.004052083">
173
+ <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with an interaction key &gt; writes the interaction key to the pact file" time="0.004111606">
37
174
  </testcase>
38
- <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with a pending interaction &gt; writes pending state to the pact file" time="0.004177506">
175
+ <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with a pending interaction &gt; writes pending state to the pact file" time="0.003568928">
39
176
  </testcase>
40
- <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with interaction comments and test name &gt; writes comments and interaction test name to the pact file" time="0.00288705">
177
+ <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with interaction comments and test name &gt; writes comments and interaction test name to the pact file" time="0.003349307">
41
178
  </testcase>
42
- <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with binary data &gt; generates a pact with success" time="0.00911848">
179
+ <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with binary data &gt; generates a pact with success" time="0.006386872">
43
180
  </testcase>
44
- <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; using a plugin (protobufs) &gt; generates a pact with success" time="0.699678919">
181
+ <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; using a plugin (protobufs) &gt; generates a pact with success" time="0.622552259">
45
182
  </testcase>
46
- <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; when setting plugin interaction contents fails &gt; throws when the contents are not valid JSON" time="0.002853578">
183
+ <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; when setting plugin interaction contents fails &gt; throws when the contents are not valid JSON" time="0.00296075">
47
184
  <system-out>
48
- [06:17:16.088] [31mERROR[39m (2852): [36mFailed to set plugin interaction contents for content type &apos;application/json&apos;: the contents are not valid JSON: Contents is not a valid JSON - expected ident at line 1 column 2[39m
185
+ [10:54:02.180] [31mERROR[39m (2817): [36mFailed to set plugin interaction contents for content type &apos;application/json&apos;: the contents are not valid JSON: Contents is not a valid JSON - expected ident at line 1 column 2[39m
49
186
 
50
187
 
51
188
  </system-out>
52
189
  </testcase>
53
- <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; when setting plugin interaction contents fails &gt; throws when the content type is not valid" time="0.001677525">
190
+ <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; when setting plugin interaction contents fails &gt; throws when the content type is not valid" time="0.001278923">
54
191
  <system-out>
55
- [06:17:16.090] [31mERROR[39m (2852): [36mFailed to set plugin interaction contents for content type &apos;not a content type&apos;: the content type is not valid: &apos;not a content type&apos; is not a valid content type - Failed to parse &apos;not a content type&apos; as a content type: mime parse error: an invalid token was encountered, 20 at position 3[39m
192
+ [10:54:02.181] [31mERROR[39m (2817): [36mFailed to set plugin interaction contents for content type &apos;not a content type&apos;: the content type is not valid: &apos;not a content type&apos; is not a valid content type - Failed to parse &apos;not a content type&apos; as a content type: mime parse error: an invalid token was encountered, 20 at position 3[39m
56
193
 
57
194
 
58
195
  </system-out>
59
196
  </testcase>
60
- <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with multipart data &gt; generates a pact with success" time="0.054947403">
197
+ <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with multipart data &gt; generates a pact with success" time="0.064807383">
61
198
  <system-out>
62
199
  []
63
200
 
64
201
  </system-out>
65
202
  </testcase>
66
203
  </testsuite>
67
- <testsuite name="test/matt.consumer.integration.spec.ts" timestamp="2026-09-07T06:17:17.744Z" hostname="runnervmejwal" tests="2" failures="0" errors="0" skipped="0" time="1.123117425">
68
- <testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test &gt; HTTP test &gt; returns a valid MATT message over HTTP" time="0.585032384">
204
+ <testsuite name="test/matt.consumer.integration.spec.ts" timestamp="2026-09-16T10:54:03.876Z" hostname="runnervmlun5p" tests="2" failures="0" errors="0" skipped="0" time="1.13921148">
205
+ <testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test &gt; HTTP test &gt; returns a valid MATT message over HTTP" time="0.598619843">
69
206
  <system-out>
70
- [06:17:16.465] [32mINFO[39m (2987): [36m0.5.7: pact native library successfully found, and the correct version[39m
207
+ [10:54:02.613] [32mINFO[39m (2968): [36m0.5.8: pact native library successfully found, and the correct version[39m
71
208
 
72
209
 
73
210
  </system-out>
74
211
  </testcase>
75
- <testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test &gt; TCP Messages &gt; with MATT protocol &gt; generates a pact with success" time="0.535754698">
212
+ <testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test &gt; TCP Messages &gt; with MATT protocol &gt; generates a pact with success" time="0.537534826">
76
213
  </testcase>
77
214
  </testsuite>
78
- <testsuite name="test/matt.provider.integration.spec.ts" timestamp="2026-09-07T06:17:17.745Z" hostname="runnervmejwal" tests="1" failures="0" errors="0" skipped="0" time="0.133656674">
79
- <testcase classname="test/matt.provider.integration.spec.ts" name="MATT protocol test &gt; HTTP and TCP Provider &gt; returns a valid MATT message over HTTP and TCP" time="0.131431682">
215
+ <testsuite name="test/matt.provider.integration.spec.ts" timestamp="2026-09-16T10:54:03.877Z" hostname="runnervmlun5p" tests="1" failures="0" errors="0" skipped="0" time="0.140860576">
216
+ <testcase classname="test/matt.provider.integration.spec.ts" name="MATT protocol test &gt; HTTP and TCP Provider &gt; returns a valid MATT message over HTTP and TCP" time="0.138717444">
80
217
  <system-out>
81
- [06:17:17.182] [32mINFO[39m (3111): [36mpact-core@20.1.0: Verifying Pact Files[39m
218
+ [10:54:03.261] [32mINFO[39m (3084): [36mpact-core@20.1.1: Verifying Pact Files[39m
82
219
 
83
- [06:17:17.189] [32mINFO[39m (3111): [36m0.5.7: pact native library successfully found, and the correct version[39m
220
+ [10:54:03.268] [32mINFO[39m (3084): [36m0.5.8: pact native library successfully found, and the correct version[39m
84
221
 
85
222
 
86
- [06:17:17.300] [32mINFO[39m (3111): [36mpact-core@20.1.0: Verification successful[39m
223
+ [10:54:03.386] [32mINFO[39m (3084): [36mpact-core@20.1.1: Verification successful[39m
87
224
 
88
225
 
89
226
  </system-out>
90
227
  </testcase>
91
228
  </testsuite>
92
- <testsuite name="test/message.integration.spec.ts" timestamp="2026-09-07T06:17:17.745Z" hostname="runnervmejwal" tests="8" failures="0" errors="0" skipped="0" time="0.69929154">
93
- <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with JSON data &gt; generates a pact with success" time="0.007255702">
229
+ <testsuite name="test/message.integration.spec.ts" timestamp="2026-09-16T10:54:03.877Z" hostname="runnervmlun5p" tests="8" failures="0" errors="0" skipped="0" time="0.737865186">
230
+ <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with JSON data &gt; generates a pact with success" time="0.010428724">
94
231
  </testcase>
95
- <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with JSON data &gt; writes pending state to the pact file" time="0.001279025">
232
+ <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with JSON data &gt; writes pending state to the pact file" time="0.001644417">
96
233
  </testcase>
97
- <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with JSON data &gt; writes comments and interaction test name for async message" time="0.001466513">
234
+ <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with JSON data &gt; writes comments and interaction test name for async message" time="0.001856214">
98
235
  </testcase>
99
- <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with binary data &gt; generates a pact with success" time="0.00115242">
236
+ <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with binary data &gt; generates a pact with success" time="0.001280005">
100
237
  </testcase>
101
- <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with JSON data &gt; generates a pact with success" time="0.007210577">
238
+ <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with JSON data &gt; generates a pact with success" time="0.008730637">
102
239
  </testcase>
103
- <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with JSON data &gt; writes pending state to the pact file" time="0.001073643">
240
+ <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with JSON data &gt; writes pending state to the pact file" time="0.001299051">
104
241
  </testcase>
105
- <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with JSON data &gt; writes comments and interaction test name for sync message" time="0.001573221">
242
+ <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with JSON data &gt; writes comments and interaction test name for sync message" time="0.002257744">
106
243
  </testcase>
107
- <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with plugin contents (gRPC) &gt; generates a pact with success" time="0.666093302">
244
+ <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with plugin contents (gRPC) &gt; generates a pact with success" time="0.695800985">
108
245
  </testcase>
109
246
  </testsuite>
110
- <testsuite name="test/plugin-verifier.integration.spec.ts" timestamp="2026-09-07T06:17:17.747Z" hostname="runnervmejwal" tests="2" failures="0" errors="0" skipped="0" time="0.215317589">
111
- <testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec &gt; plugin tests &gt; grpc interaction &gt; should verify the gRPC interactions" time="0.158222891">
247
+ <testsuite name="test/plugin-verifier.integration.spec.ts" timestamp="2026-09-16T10:54:03.879Z" hostname="runnervmlun5p" tests="2" failures="0" errors="0" skipped="0" time="0.235910579">
248
+ <testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec &gt; plugin tests &gt; grpc interaction &gt; should verify the gRPC interactions" time="0.17665662">
112
249
  <system-out>
113
- [06:17:16.650] [32mINFO[39m (3005): [36mpact-core@20.1.0: Verifying Pact Files[39m
250
+ [10:54:02.727] [32mINFO[39m (2976): [36mpact-core@20.1.1: Verifying Pact Files[39m
114
251
 
115
- [06:17:16.654] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: binding path #0: : attempting to load native module from:
252
+ [10:54:02.731] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: binding path #0: : attempting to load native module from:
116
253
 
117
254
  - /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64
118
255
  source: pact-js-core binding lookup
@@ -120,7 +257,7 @@
120
257
  - You can override via PACT_PREBUILD_LOCATION
121
258
  [39m
122
259
 
123
- [06:17:16.655] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: binding path #1: : attempting to load native module from:
260
+ [10:54:02.732] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: binding path #1: : attempting to load native module from:
124
261
 
125
262
  - /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64
126
263
  source: pact-js-core binding lookup
@@ -128,55 +265,55 @@
128
265
  - You can override via PACT_PREBUILD_LOCATION
129
266
  [39m
130
267
 
131
- [06:17:16.657] [32mINFO[39m (3005): [36m0.5.7: pact native library successfully found, and the correct version[39m
268
+ [10:54:02.734] [32mINFO[39m (2976): [36m0.5.8: pact native library successfully found, and the correct version[39m
132
269
 
133
- [06:17:16.657] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: Initialising native core at log level &apos;debug&apos;[39m
270
+ [10:54:02.734] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: Initialising native core at log level &apos;debug&apos;[39m
134
271
 
135
- [06:17:16.658] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetFilterInfo&apos; was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
272
+ [10:54:02.735] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetFilterInfo&apos; was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
136
273
 
137
- [06:17:16.658] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetProviderState&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
274
+ [10:54:02.735] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetProviderState&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
138
275
 
139
- [06:17:16.659] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetPublishOptions&apos; was not executed as it had non-fatal validation errors: No publishVerificationResult option / PACT_BROKER_PUBLISH_VERIFICATION_RESULTS set, or no providerVersion option[39m
276
+ [10:54:02.735] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetPublishOptions&apos; was not executed as it had non-fatal validation errors: No publishVerificationResult option / PACT_BROKER_PUBLISH_VERIFICATION_RESULTS set, or no providerVersion option[39m
140
277
 
141
- [06:17:16.659] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetConsumerFilters&apos; was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
278
+ [10:54:02.736] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetConsumerFilters&apos; was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
142
279
 
143
- [06:17:16.661] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetFailIfNoPactsFound&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
280
+ [10:54:02.736] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetFailIfNoPactsFound&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
144
281
 
145
- [06:17:16.662] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetFollowRedirects&apos; was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
282
+ [10:54:02.736] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetFollowRedirects&apos; was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
146
283
 
147
- [06:17:16.662] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierAddCustomHeader&apos; was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
284
+ [10:54:02.736] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierAddCustomHeader&apos; was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
148
285
 
149
- [06:17:16.662] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json[39m
286
+ [10:54:02.737] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json[39m
150
287
 
151
- [06:17:16.663] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json as File source[39m
288
+ [10:54:02.737] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json as File source[39m
152
289
 
153
- [06:17:16.663] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierBrokerSourceWithSelectors&apos; was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
290
+ [10:54:02.737] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierBrokerSourceWithSelectors&apos; was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
154
291
 
155
292
 
156
293
  Server running at http://127.0.0.1:50052
157
294
 
158
- [06:17:16.805] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: shutting down verifier with handle 0[39m
295
+ [10:54:02.900] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: shutting down verifier with handle 0[39m
159
296
 
160
- [06:17:16.805] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: response from verifier: null, 0[39m
297
+ [10:54:02.900] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: response from verifier: null, 0[39m
161
298
 
162
- [06:17:16.805] [32mINFO[39m (3005): [36mpact-core@20.1.0: Verification successful[39m
299
+ [10:54:02.901] [32mINFO[39m (2976): [36mpact-core@20.1.1: Verification successful[39m
163
300
 
164
301
 
165
302
  </system-out>
166
303
  </testcase>
167
- <testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec &gt; plugin tests &gt; grpc interaction &gt; runs the grpc client" time="0.025540881">
304
+ <testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec &gt; plugin tests &gt; grpc interaction &gt; runs the grpc client" time="0.024779519">
168
305
  <system-out>
169
306
  { name: [32m&apos;A place&apos;[39m }
170
307
 
171
308
  </system-out>
172
309
  </testcase>
173
310
  </testsuite>
174
- <testsuite name="test/verifier.integration.spec.ts" timestamp="2026-09-07T06:17:17.748Z" hostname="runnervmejwal" tests="17" failures="0" errors="0" skipped="0" time="1.30469951">
175
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with spaces in the file path &gt; should return a successful promise" time="0.082337249">
311
+ <testsuite name="test/verifier.integration.spec.ts" timestamp="2026-09-16T10:54:03.880Z" hostname="runnervmlun5p" tests="18" failures="0" errors="0" skipped="0" time="1.349052332">
312
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with spaces in the file path &gt; should return a successful promise" time="0.084046699">
176
313
  <system-out>
177
- [06:17:15.510] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
314
+ [10:54:01.660] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
178
315
 
179
- [06:17:15.513] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: binding path #0: : attempting to load native module from:
316
+ [10:54:01.663] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: binding path #0: : attempting to load native module from:
180
317
 
181
318
  - /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64
182
319
  source: pact-js-core binding lookup
@@ -184,7 +321,7 @@ Server running at http://127.0.0.1:50052
184
321
  - You can override via PACT_PREBUILD_LOCATION
185
322
  [39m
186
323
 
187
- [06:17:15.514] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: binding path #1: : attempting to load native module from:
324
+ [10:54:01.664] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: binding path #1: : attempting to load native module from:
188
325
 
189
326
  - /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64
190
327
  source: pact-js-core binding lookup
@@ -192,364 +329,237 @@ Server running at http://127.0.0.1:50052
192
329
  - You can override via PACT_PREBUILD_LOCATION
193
330
  [39m
194
331
 
195
- [06:17:15.517] [32mINFO[39m (2875): [36m0.5.7: pact native library successfully found, and the correct version[39m
332
+ [10:54:01.666] [32mINFO[39m (2844): [36m0.5.8: pact native library successfully found, and the correct version[39m
196
333
 
197
- [06:17:15.517] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: Initialising native core at log level &apos;debug&apos;[39m
334
+ [10:54:01.666] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: Initialising native core at log level &apos;debug&apos;[39m
198
335
 
199
- [06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetFilterInfo&apos; was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
336
+ [10:54:01.667] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetFilterInfo&apos; was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
200
337
 
201
- [06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetProviderState&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
338
+ [10:54:01.667] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetProviderState&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
202
339
 
203
- [06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetPublishOptions&apos; was not executed as it had non-fatal validation errors: No publishVerificationResult option / PACT_BROKER_PUBLISH_VERIFICATION_RESULTS set, or no providerVersion option[39m
340
+ [10:54:01.667] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetPublishOptions&apos; was not executed as it had non-fatal validation errors: No publishVerificationResult option / PACT_BROKER_PUBLISH_VERIFICATION_RESULTS set, or no providerVersion option[39m
204
341
 
205
- [06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetConsumerFilters&apos; was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
342
+ [10:54:01.668] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetConsumerFilters&apos; was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
206
343
 
207
- [06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetFailIfNoPactsFound&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
344
+ [10:54:01.668] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetFailIfNoPactsFound&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
208
345
 
209
- [06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetFollowRedirects&apos; was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
346
+ [10:54:01.668] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetFollowRedirects&apos; was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
210
347
 
211
- [06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierAddCustomHeader&apos; was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
348
+ [10:54:01.668] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierAddCustomHeader&apos; was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
212
349
 
213
- [06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json[39m
350
+ [10:54:01.669] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json[39m
214
351
 
215
- [06:17:15.520] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
352
+ [10:54:01.669] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
216
353
 
217
- [06:17:15.520] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierBrokerSourceWithSelectors&apos; was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
354
+ [10:54:01.669] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierBrokerSourceWithSelectors&apos; was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
218
355
 
219
- [06:17:15.520] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierAddProviderTransport&apos; was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
356
+ [10:54:01.669] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierAddProviderTransport&apos; was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
220
357
 
221
358
 
222
- [06:17:15.589] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: shutting down verifier with handle 0[39m
359
+ [10:54:01.741] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: shutting down verifier with handle 0[39m
223
360
 
224
- [06:17:15.589] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: response from verifier: null, 0[39m
361
+ [10:54:01.741] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: response from verifier: null, 0[39m
225
362
 
226
- [06:17:15.589] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
363
+ [10:54:01.741] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
227
364
 
228
365
 
229
366
  </system-out>
230
367
  </testcase>
231
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with spaces in the file path &gt; with some broker args but no broker URL &gt; should return a successful promise" time="0.059887934">
368
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with spaces in the file path &gt; with some broker args but no broker URL &gt; should return a successful promise" time="0.058109908">
232
369
  <system-out>
233
- [06:17:15.591] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
370
+ [10:54:01.743] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
234
371
 
235
- [06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetFilterInfo&apos; was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
372
+ [10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetFilterInfo&apos; was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
236
373
 
237
- [06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetProviderState&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
374
+ [10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetProviderState&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
238
375
 
239
- [06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetConsumerFilters&apos; was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
376
+ [10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetConsumerFilters&apos; was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
240
377
 
241
- [06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetFailIfNoPactsFound&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
378
+ [10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetFailIfNoPactsFound&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
242
379
 
243
- [06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierSetFollowRedirects&apos; was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
380
+ [10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierSetFollowRedirects&apos; was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
244
381
 
245
- [06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierAddCustomHeader&apos; was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
382
+ [10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierAddCustomHeader&apos; was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
246
383
 
247
- [06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json[39m
384
+ [10:54:01.745] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json[39m
248
385
 
249
- [06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
386
+ [10:54:01.745] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
250
387
 
251
- [06:17:15.593] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierBrokerSourceWithSelectors&apos; was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
388
+ [10:54:01.745] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierBrokerSourceWithSelectors&apos; was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
252
389
 
253
- [06:17:15.593] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function &apos;pactffiVerifierAddProviderTransport&apos; was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
390
+ [10:54:01.745] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function &apos;pactffiVerifierAddProviderTransport&apos; was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
254
391
 
255
392
 
256
- [06:17:15.649] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: shutting down verifier with handle 1[39m
393
+ [10:54:01.800] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: shutting down verifier with handle 1[39m
257
394
 
258
- [06:17:15.650] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: response from verifier: null, 0[39m
395
+ [10:54:01.800] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: response from verifier: null, 0[39m
259
396
 
260
- [06:17:15.650] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
397
+ [10:54:01.800] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
261
398
 
262
399
 
263
400
  </system-out>
264
401
  </testcase>
265
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; without provider states &gt; should return a successful promise with detailed JSON results" time="0.057720239">
402
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; without provider states &gt; should return a successful promise with detailed JSON results" time="0.053803044">
266
403
  <system-out>
267
- [06:17:15.651] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
404
+ [10:54:01.801] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
268
405
 
269
406
 
270
- [06:17:15.706] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
407
+ [10:54:01.852] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
271
408
 
272
409
 
273
410
  </system-out>
274
411
  </testcase>
275
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with Provider States &gt; should return a successful promise with detailed JSON results" time="0.072758123">
412
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with Provider States &gt; should return a successful promise with detailed JSON results" time="0.071450328">
276
413
  <system-out>
277
- [06:17:15.709] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
414
+ [10:54:01.855] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
278
415
 
279
416
 
280
- [06:17:15.780] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
417
+ [10:54:01.923] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
281
418
 
282
419
 
283
420
  </system-out>
284
421
  </testcase>
285
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with POST data &gt; should return a successful promise" time="0.052709843">
422
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with POST data &gt; should return a successful promise" time="0.053748182">
286
423
  <system-out>
287
- [06:17:15.782] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
424
+ [10:54:01.926] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
288
425
 
289
426
 
290
- [06:17:15.834] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
427
+ [10:54:01.980] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
291
428
 
292
429
 
293
430
  </system-out>
294
431
  </testcase>
295
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with POST data and regex validation &gt; should return a successful promise" time="0.055863097">
432
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with POST data and regex validation &gt; should return a successful promise" time="0.052334813">
296
433
  <system-out>
297
- [06:17:15.834] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
434
+ [10:54:01.980] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
298
435
 
299
436
 
300
- [06:17:15.890] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
437
+ [10:54:02.032] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
301
438
 
302
439
 
303
440
  </system-out>
304
441
  </testcase>
305
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with monkeypatch file specified &gt; should return a successful promise" time="0.05969185">
442
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with monkeypatch file specified &gt; should return a successful promise" time="0.057058887">
306
443
  <system-out>
307
- [06:17:15.891] [33mWARN[39m (2875): [36mpact-core@20.1.0: monkeypatch is deprecated and no longer has any effect[39m
444
+ [10:54:02.033] [33mWARN[39m (2844): [36mpact-core@20.1.1: monkeypatch is deprecated and no longer has any effect[39m
308
445
 
309
- [06:17:15.891] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
446
+ [10:54:02.033] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
310
447
 
311
448
 
312
- [06:17:15.949] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
449
+ [10:54:02.089] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
313
450
 
314
451
 
315
452
  </system-out>
316
453
  </testcase>
317
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a failing contract &gt; should return a rejected promise with detailed JSON results in the error message" time="0.080397277">
454
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a failing contract &gt; should return a rejected promise with detailed JSON results in the error message" time="0.064629294">
318
455
  <system-out>
319
- [06:17:15.950] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
456
+ [10:54:02.090] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
320
457
 
321
458
 
322
- [06:17:16.030] [31mERROR[39m (2875): [36mpact-core@20.1.0: Verification unsuccessful[39m
459
+ [10:54:02.152] [31mERROR[39m (2844): [36mpact-core@20.1.1: Verification unsuccessful[39m
323
460
 
324
461
 
325
462
  </system-out>
326
463
  </testcase>
327
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple successful API calls in a contract &gt; should return a successful promise" time="0.091846364">
464
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple successful API calls in a contract &gt; should return a successful promise" time="0.080455328">
328
465
  <system-out>
329
- [06:17:16.031] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
466
+ [10:54:02.155] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
330
467
 
331
468
 
332
- [06:17:16.122] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
469
+ [10:54:02.235] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
333
470
 
334
471
 
335
472
  </system-out>
336
473
  </testcase>
337
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a local file &gt; should return a successful promise" time="0.107291142">
474
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a local file &gt; should return a successful promise" time="0.102732455">
338
475
  <system-out>
339
- [06:17:16.123] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
476
+ [10:54:02.235] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
340
477
 
341
478
 
342
- [06:17:16.229] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
479
+ [10:54:02.337] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
343
480
 
344
481
 
345
482
  </system-out>
346
483
  </testcase>
347
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; without authentication &gt; should return a successful promise" time="0.118044539">
484
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a local file &gt; should attribute every interaction result to its pact" time="0.110350789">
348
485
  <system-out>
349
- [06:17:16.230] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
486
+ [10:54:02.338] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
350
487
 
351
488
 
352
- [06:17:16.347] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
489
+ [10:54:02.445] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
353
490
 
354
491
 
355
492
  </system-out>
356
493
  </testcase>
357
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; with authentication &gt; and a valid user/password &gt; should return a successful promise" time="0.125648896">
494
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; without authentication &gt; should return a successful promise" time="0.116667045">
358
495
  <system-out>
359
- [06:17:16.349] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
496
+ [10:54:02.449] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
360
497
 
361
498
 
362
- [06:17:16.473] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
499
+ [10:54:02.565] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
363
500
 
364
501
 
365
502
  </system-out>
366
503
  </testcase>
367
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; with authentication &gt; and an invalid user/password &gt; should return a rejected promise" time="0.074201616">
504
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; with authentication &gt; and a valid user/password &gt; should return a successful promise" time="0.126796015">
368
505
  <system-out>
369
- [06:17:16.474] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
506
+ [10:54:02.566] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
370
507
 
371
508
 
372
- [06:17:16.547] [31mERROR[39m (2875): [36mpact-core@20.1.0: Verification unsuccessful[39m
509
+ [10:54:02.692] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
373
510
 
374
511
 
375
512
  </system-out>
376
513
  </testcase>
377
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; with authentication &gt; and an invalid user/password &gt; should return the verifier error output in the returned promise" time="0.063112961">
514
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; with authentication &gt; and an invalid user/password &gt; should return a rejected promise" time="0.059709271">
378
515
  <system-out>
379
- [06:17:16.548] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
516
+ [10:54:02.692] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
380
517
 
381
518
 
382
- [06:17:16.611] [31mERROR[39m (2875): [36mpact-core@20.1.0: Verification unsuccessful[39m
519
+ [10:54:02.751] [31mERROR[39m (2844): [36mpact-core@20.1.1: Verification unsuccessful[39m
383
520
 
384
521
 
385
522
  </system-out>
386
523
  </testcase>
387
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when publishing verification results to a Pact Broker &gt; and there is a valid Pact file with spaces in the path &gt; should return a successful promise" time="0.064217276">
524
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; with authentication &gt; and an invalid user/password &gt; should return the verifier error output in the returned promise" time="0.066984417">
388
525
  <system-out>
389
- [06:17:16.612] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
526
+ [10:54:02.752] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
390
527
 
391
528
 
392
- [06:17:16.675] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
529
+ [10:54:02.818] [31mERROR[39m (2844): [36mpact-core@20.1.1: Verification unsuccessful[39m
393
530
 
394
531
 
395
532
  </system-out>
396
533
  </testcase>
397
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when publishing verification results to a Pact Broker &gt; and there is a valid verification HAL link in the Pact file &gt; should return a successful promise" time="0.063258229">
534
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when publishing verification results to a Pact Broker &gt; and there is a valid Pact file with spaces in the path &gt; should return a successful promise" time="0.055728681">
398
535
  <system-out>
399
- [06:17:16.676] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
536
+ [10:54:02.819] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
400
537
 
401
538
 
402
- [06:17:16.739] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
539
+ [10:54:02.874] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
403
540
 
404
541
 
405
542
  </system-out>
406
543
  </testcase>
407
- <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when publishing verification results to a Pact Broker &gt; and there is an invalid verification HAL link in the Pact file &gt; should fail with an error" time="0.060170217">
544
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when publishing verification results to a Pact Broker &gt; and there is a valid verification HAL link in the Pact file &gt; should return a successful promise" time="0.060504372">
408
545
  <system-out>
409
- [06:17:16.739] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
410
-
411
-
412
- [06:17:16.799] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
546
+ [10:54:02.875] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
413
547
 
414
548
 
415
- </system-out>
416
- </testcase>
417
- </testsuite>
418
- <testsuite name="src/consumer/checkErrors.spec.ts" timestamp="2026-09-07T06:17:17.756Z" hostname="runnervmejwal" tests="2" failures="0" errors="0" skipped="0" time="0.005058051">
419
- <testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors &gt; treats numeric status code 0 as success" time="0.002683532">
420
- </testcase>
421
- <testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors &gt; treats non-zero numeric status as failure" time="0.000337997">
422
- </testcase>
423
- </testsuite>
424
- <testsuite name="src/verifier/validateOptions.spec.ts" timestamp="2026-09-07T06:17:17.757Z" hostname="runnervmejwal" tests="42" failures="0" errors="0" skipped="0" time="0.050621456">
425
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when automatically finding pacts from a broker &gt; when not given --pact-urls and only --pact-broker-url &gt; should fail with an error because provider is missing" time="0.013223301">
426
- <system-out>
427
- [06:17:15.057] [31mERROR[39m (2853): [36mpactBrokerUrl requires the following properties: provider[39m
428
-
429
-
430
- </system-out>
431
- </testcase>
432
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when automatically finding pacts from a broker &gt; when given valid arguments &gt; should return a Verifier object" time="0.001629555">
433
- </testcase>
434
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when automatically finding pacts from a broker &gt; when given an unknown array argument &gt; should return a Verifier object" time="0.000475783">
435
- </testcase>
436
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when not given --pact-urls or --provider-base-url &gt; should fail with an error" time="0.000741486">
437
- </testcase>
438
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given an invalid timeout &gt; should fail with an error" time="0.000546966">
439
- </testcase>
440
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given remote Pact URLs that don&apos;t exist &gt; should pass through to the Pact Verifier regardless" time="0.000410523">
441
- </testcase>
442
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given local Pact URLs that do exist &gt; should not fail" time="0.00047942">
443
- </testcase>
444
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when requested to publish verification results to a Pact Broker &gt; and specifies a provider version &gt; should pass through to the Pact Verifier" time="0.000461446">
445
- </testcase>
446
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when requested to publish verification results to a Pact Broker &gt; and does not specify provider version &gt; should fail with an error" time="0.001720144">
447
- <system-out>
448
- [06:17:15.070] [31mERROR[39m (2853): [36mpublishVerificationResult requires the following properties: providerVersion[39m
549
+ [10:54:02.935] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
449
550
 
450
551
 
451
552
  </system-out>
452
553
  </testcase>
453
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given the correct arguments &gt; should return a Verifier object" time="0.000316688">
454
- </testcase>
455
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using includeWipPactsSince &gt; should accept a non-empty string" time="0.000299036">
456
- </testcase>
457
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using includeWipPactsSince &gt; should not accept an empty string" time="0.000352314">
458
- </testcase>
459
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using followRedirects &gt; should accept a boolean" time="0.000868021">
460
- </testcase>
461
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using followRedirects &gt; should not accept a non-boolean" time="0.000476665">
462
- </testcase>
463
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when an using format option &gt; should work with either &apos;json&apos; or &apos;xml&apos;" time="0.001946564">
554
+ <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when publishing verification results to a Pact Broker &gt; and there is an invalid verification HAL link in the Pact file &gt; should fail with an error" time="0.061265252">
464
555
  <system-out>
465
- [06:17:15.075] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
556
+ [10:54:02.936] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
466
557
 
467
- [06:17:15.075] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
468
558
 
469
- [06:17:15.076] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
559
+ [10:54:02.996] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
470
560
 
471
561
 
472
562
  </system-out>
473
563
  </testcase>
474
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when an using format option &gt; should work with a case insensitive string" time="0.000567263">
475
- <system-out>
476
- [06:17:15.076] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
477
-
478
-
479
- </system-out>
480
- </testcase>
481
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when pactBrokerUrl is not provided &gt; should not fail" time="0.000576681">
482
- </testcase>
483
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when pactBrokerUrl is provided &gt; should not fail" time="0.000397187">
484
- </testcase>
485
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when consumerVersionTags is not provided &gt; should not fail" time="0.000296351">
486
- </testcase>
487
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when consumerVersionTags is provided as an array &gt; should not fail" time="0.000602509">
488
- </testcase>
489
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when providerVersionTags is not provided &gt; should not fail" time="0.000297051">
490
- </testcase>
491
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when providerVersionTags is provided as an array &gt; should not fail" time="0.000283647">
492
- </testcase>
493
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using a bearer token &gt; and specifies a username or password &gt; should fail with an error" time="0.000999827">
494
- <system-out>
495
- [06:17:15.080] [31mERROR[39m (2853): [36mpactBrokerToken is incompatible with the following properties: pactBrokerUsername,pactBrokerPassword[39m
496
-
497
-
498
- </system-out>
499
- </testcase>
500
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using a bearer token &gt; should not fail" time="0.000298243">
501
- </testcase>
502
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when providing consumerVersionSelectors &gt; and an unsupported selector is specified &gt; should log out a warning that the selector is unknown" time="0.003956326">
503
- <system-out>
504
- [06:17:15.084] [33mWARN[39m (2853): [36mpact-core@20.1.0: The consumer version selector &apos;unsupportedFlag&apos; is unknown but will be sent through to the validation. Allowed properties are tag, latest, consumer, deployedOrReleased, deployed, released, environment, fallbackTag, branch, mainBranch, matchingBranch)[39m
505
-
506
-
507
- </system-out>
508
- </testcase>
509
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and the tag of &quot;latest&quot; is specified &gt; should log out a warning that using this selector is not recommended" time="0.002831617">
510
- <system-out>
511
- [06:17:15.086] [33mWARN[39m (2853): [36mpact-core@20.1.0: Using the tag &apos;latest&apos; is not recommended and probably does not do what you intended.[39m
512
-
513
- [06:17:15.086] [33mWARN[39m (2853): [36mpact-core@20.1.0: See https://docs.pact.io/pact_broker/tags/#latest-pacts[39m
514
-
515
- [06:17:15.087] [33mWARN[39m (2853): [36mpact-core@20.1.0: If you need to specify latest, try:[39m
516
-
517
- [06:17:15.087] [33mWARN[39m (2853): [36mpact-core@20.1.0: consumerVersionSelectors: [{ lastest: true }][39m
518
-
519
-
520
- </system-out>
521
- </testcase>
522
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;tag&quot;:&quot;a-tag&quot;}" time="0.000480092">
523
- </testcase>
524
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;latest&quot;:true}" time="0.000223254">
525
- </testcase>
526
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;consumer&quot;:&quot;the-consumer&quot;}" time="0.000262477">
527
- </testcase>
528
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;deployedOrReleased&quot;:true}" time="0.000242971">
529
- </testcase>
530
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;deployed&quot;:true}" time="0.00021561">
531
- </testcase>
532
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;released&quot;:true}" time="0.000217533">
533
- </testcase>
534
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;environment&quot;:&quot;an-environment&quot;}" time="0.000272266">
535
- </testcase>
536
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;fallbackTag&quot;:&quot;a-fallback-tag&quot;}" time="0.004253958">
537
- </testcase>
538
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;branch&quot;:&quot;the-branch&quot;}" time="0.000314834">
539
- </testcase>
540
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;mainBranch&quot;:false}" time="0.000254081">
541
- </testcase>
542
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;matchingBranch&quot;:true}" time="0.000218075">
543
- </testcase>
544
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given customProviderHeaders &gt; using the object notation &gt; should pass through to the Pact Verifier" time="0.00071134">
545
- </testcase>
546
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given customProviderHeaders &gt; using the legacy array notation &gt; should pass through to the Pact Verifier" time="0.000372131">
547
- </testcase>
548
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given customProviderHeaders &gt; using the legacy array notation &gt; and the format is incorrect &gt; should throw an error" time="0.000371149">
549
- </testcase>
550
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given providerBranch &gt; should not throw an error" time="0.001162959">
551
- </testcase>
552
- <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given unknown properties &gt; should ignore them and not throw an error" time="0.00032841">
553
- </testcase>
554
564
  </testsuite>
555
565
  </testsuites>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pact-foundation/pact-core",
3
- "version": "20.1.1",
3
+ "version": "20.2.0",
4
4
  "description": "Core of @pact-foundation/pact. You almost certainly don't want to depend on this directly.",
5
5
  "main": "dist/index.js",
6
6
  "homepage": "https://github.com/pact-foundation/pact-js-core#readme",
@@ -51,7 +51,7 @@
51
51
  "underscore": "1.13.8"
52
52
  },
53
53
  "devDependencies": {
54
- "@biomejs/biome": "2.5.12",
54
+ "@biomejs/biome": "2.5.13",
55
55
  "@grpc/grpc-js": "1.14.4",
56
56
  "@grpc/proto-loader": "0.8.1",
57
57
  "@tsconfig/node22": "22.0.6",
@@ -61,18 +61,18 @@
61
61
  "@types/decompress": "4.2.7",
62
62
  "@types/express": "5.0.6",
63
63
  "@types/needle": "3.3.0",
64
- "@types/node": "24.13.3",
64
+ "@types/node": "24.13.4",
65
65
  "@types/rimraf": "3.0.2",
66
66
  "@types/sinon": "22.0.0",
67
67
  "@types/tar": "7.0.87",
68
68
  "@types/underscore": "1.13.0",
69
69
  "@types/unixify": "1.0.2",
70
70
  "@types/url-join": "5.0.0",
71
- "@vitest/coverage-v8": "4.1.11",
71
+ "@vitest/coverage-v8": "5.0.0",
72
72
  "axios": "1.20.0",
73
73
  "basic-auth": "2.0.1",
74
74
  "body-parser": "2.3.0",
75
- "commit-and-tag-version": "13.1.2",
75
+ "commit-and-tag-version": "13.2.0",
76
76
  "cors": "2.8.6",
77
77
  "decamelize": "6.0.1",
78
78
  "express": "5.2.1",
@@ -84,7 +84,7 @@
84
84
  "rimraf": "6.1.3",
85
85
  "sinon": "22.1.0",
86
86
  "typescript": "7.0.2",
87
- "vitest": "4.1.11"
87
+ "vitest": "5.0.0"
88
88
  },
89
89
  "overrides": {
90
90
  "semver": "7.8.5"
@@ -144,12 +144,12 @@
144
144
  ]
145
145
  },
146
146
  "optionalDependencies": {
147
- "@pact-foundation/pact-core-darwin-arm64": "20.1.1",
148
- "@pact-foundation/pact-core-darwin-x64": "20.1.1",
149
- "@pact-foundation/pact-core-linux-arm64-glibc": "20.1.1",
150
- "@pact-foundation/pact-core-linux-arm64-musl": "20.1.1",
151
- "@pact-foundation/pact-core-linux-x64-glibc": "20.1.1",
152
- "@pact-foundation/pact-core-linux-x64-musl": "20.1.1",
153
- "@pact-foundation/pact-core-windows-x64": "20.1.1"
147
+ "@pact-foundation/pact-core-darwin-arm64": "20.2.0",
148
+ "@pact-foundation/pact-core-darwin-x64": "20.2.0",
149
+ "@pact-foundation/pact-core-linux-arm64-glibc": "20.2.0",
150
+ "@pact-foundation/pact-core-linux-arm64-musl": "20.2.0",
151
+ "@pact-foundation/pact-core-linux-x64-glibc": "20.2.0",
152
+ "@pact-foundation/pact-core-linux-x64-musl": "20.2.0",
153
+ "@pact-foundation/pact-core-windows-x64": "20.2.0"
154
154
  }
155
155
  }