@pactflow/openapi-pact-comparator 1.12.1 → 1.13.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/dist/cli.cjs CHANGED
@@ -4321,7 +4321,7 @@ const {
4321
4321
  Help,
4322
4322
  } = commander;
4323
4323
 
4324
- var version = "1.12.1";
4324
+ var version = "1.13.0";
4325
4325
  var packageJson = {
4326
4326
  version: version};
4327
4327
 
@@ -27845,7 +27845,7 @@ const interactionV4 = (i) => ({
27845
27845
  const ajv = new Ajv$1();
27846
27846
  const validate = ajv.compile(Pact);
27847
27847
  const parse = (pact) => {
27848
- const { metadata, interactions } = pact;
27848
+ const { metadata, interactions = [] } = pact;
27849
27849
  const isValid = validate({
27850
27850
  metadata,
27851
27851
  interactions: interactions.filter(supportedInteractions),