From 05790296674c15b1ab05c7853a5b7e57d869ec76 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Thu, 14 Nov 2024 16:44:35 +0000 Subject: [PATCH] chore: dont pass provider name if pact broker env vars set and using dir source --- .github/workflows/build-and-test.yml | 2 +- examples/e2e/package-lock.json | 14 ++--- examples/graphql/package-lock.json | 8 +-- examples/jest/package-lock.json | 14 ++--- examples/messages/package-lock.json | 14 ++--- examples/mocha/package-lock.json | 14 ++--- examples/serverless/package-lock.json | 14 ++--- examples/typescript/package-lock.json | 14 ++--- examples/v3/e2e/package-lock.json | 14 ++--- .../provider-state-injected/package-lock.json | 14 ++--- .../provider/account-service.test.js | 8 ++- .../package-lock.json | 14 ++--- .../test/provider.spec.js | 11 ++-- examples/v3/todo-consumer/package-lock.json | 52 +++++++++++-------- .../v3/todo-consumer/test/provider.spec.js | 2 +- examples/v3/typescript/package-lock.json | 14 ++--- examples/v4/matchers/package-lock.json | 8 +-- examples/v4/plugins/package-lock.json | 14 ++--- 18 files changed, 131 insertions(+), 114 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1792cead0..385508cac 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: node-version: [16, 18, 20, 22] - os: [macos-14, macos-12, ubuntu-latest, windows-latest] + os: [macos-14, macos-13, ubuntu-latest, windows-latest] docker: [false] alpine: [false] include: diff --git a/examples/e2e/package-lock.json b/examples/e2e/package-lock.json index f8e3467e8..bc561eabe 100644 --- a/examples/e2e/package-lock.json +++ b/examples/e2e/package-lock.json @@ -26,16 +26,16 @@ }, "../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", @@ -3126,8 +3126,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -3141,7 +3141,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/graphql/package-lock.json b/examples/graphql/package-lock.json index 841133a2a..a4b04f235 100644 --- a/examples/graphql/package-lock.json +++ b/examples/graphql/package-lock.json @@ -36,16 +36,16 @@ }, "../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/jest/package-lock.json b/examples/jest/package-lock.json index 7bff8caa7..dd8a28782 100644 --- a/examples/jest/package-lock.json +++ b/examples/jest/package-lock.json @@ -20,16 +20,16 @@ }, "../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", @@ -5886,8 +5886,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -5901,7 +5901,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/messages/package-lock.json b/examples/messages/package-lock.json index 8821536f8..6b88846ee 100644 --- a/examples/messages/package-lock.json +++ b/examples/messages/package-lock.json @@ -23,16 +23,16 @@ }, "../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", @@ -2312,8 +2312,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -2327,7 +2327,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/mocha/package-lock.json b/examples/mocha/package-lock.json index cadbc2fca..eebc36bb5 100644 --- a/examples/mocha/package-lock.json +++ b/examples/mocha/package-lock.json @@ -18,16 +18,16 @@ }, "../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", @@ -1299,8 +1299,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -1314,7 +1314,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/serverless/package-lock.json b/examples/serverless/package-lock.json index 21d2b9d1f..56d93d0c9 100644 --- a/examples/serverless/package-lock.json +++ b/examples/serverless/package-lock.json @@ -22,16 +22,16 @@ }, "../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", @@ -6702,8 +6702,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -6717,7 +6717,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/typescript/package-lock.json b/examples/typescript/package-lock.json index bca8a7893..dbdc9ddee 100644 --- a/examples/typescript/package-lock.json +++ b/examples/typescript/package-lock.json @@ -30,16 +30,16 @@ }, "../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", @@ -3650,8 +3650,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -3665,7 +3665,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/v3/e2e/package-lock.json b/examples/v3/e2e/package-lock.json index a14c56f2c..94eaa759b 100644 --- a/examples/v3/e2e/package-lock.json +++ b/examples/v3/e2e/package-lock.json @@ -34,16 +34,16 @@ }, "../../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", @@ -4632,8 +4632,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -4647,7 +4647,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/v3/provider-state-injected/package-lock.json b/examples/v3/provider-state-injected/package-lock.json index 707594b2e..31bd94624 100644 --- a/examples/v3/provider-state-injected/package-lock.json +++ b/examples/v3/provider-state-injected/package-lock.json @@ -21,16 +21,16 @@ }, "../../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", @@ -5341,8 +5341,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -5356,7 +5356,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/v3/provider-state-injected/provider/account-service.test.js b/examples/v3/provider-state-injected/provider/account-service.test.js index 90dcea857..b2493f85a 100644 --- a/examples/v3/provider-state-injected/provider/account-service.test.js +++ b/examples/v3/provider-state-injected/provider/account-service.test.js @@ -18,7 +18,13 @@ describe('Account Service', () => { it('validates the expectations of Transaction Service', () => { let opts = { - provider: 'Account Service', + // if the provider name is set, and we have PACT_BROKER_BASE_URL plus env var creds set + // it will automatically attempt to retrieve from a pact broker via the default consumer version selectors. + // if we are verifying a pact directory source, we do not need to add the provider name + // as it is inferred from the pact file. + // this doesn't feel like desirable behavior (we should only verify one source at a time!) + // see https://github.com/pact-foundation/pact-reference/issues/250 + // provider: 'Account Service', providerBaseUrl: 'http://localhost:8081', logLevel: LOG_LEVEL, stateHandlers: { diff --git a/examples/v3/run-specific-verifications/package-lock.json b/examples/v3/run-specific-verifications/package-lock.json index 128718814..41308a29f 100644 --- a/examples/v3/run-specific-verifications/package-lock.json +++ b/examples/v3/run-specific-verifications/package-lock.json @@ -33,16 +33,16 @@ }, "../../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", @@ -4269,8 +4269,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -4284,7 +4284,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/v3/run-specific-verifications/test/provider.spec.js b/examples/v3/run-specific-verifications/test/provider.spec.js index 574255cf9..fc32e9491 100644 --- a/examples/v3/run-specific-verifications/test/provider.spec.js +++ b/examples/v3/run-specific-verifications/test/provider.spec.js @@ -15,7 +15,7 @@ describe('Pact Verification', () => { it('filter by PACT_DESCRIPTION', () => { process.env.PACT_DESCRIPTION = 'a request to be used'; return new Verifier({ - provider: 'filter-provider', + // provider: 'filter-provider', providerBaseUrl: 'http://127.0.0.1:8081', pactUrls: [ path.resolve(process.cwd(), './filter-by-PACT_DESCRIPTION.json'), @@ -31,7 +31,12 @@ describe('Pact Verification', () => { it('filter by PACT_PROVIDER_STATE', () => { process.env.PACT_PROVIDER_STATE = 'a state to be used'; return new Verifier({ - provider: 'filter-provider', + // if the provider name is set, and we have PACT_BROKER_BASE_URL plus env var creds set + // it will automatically attempt to retrieve from a pact broker via the default consumer version selectors. + // if we are verifying a pact directory source, we do not need to add the provider name + // as it is inferred from the pact file. + + // provider: 'filter-provider', providerBaseUrl: 'http://127.0.0.1:8081', pactUrls: [ path.resolve(process.cwd(), './filter-by-PACT_PROVIDER_STATE.json'), @@ -46,7 +51,7 @@ describe('Pact Verification', () => { it('filter by PACT_PROVIDER_NO_STATE', () => { process.env.PACT_PROVIDER_NO_STATE = 'TRUE'; return new Verifier({ - provider: 'filter-provider', + // provider: 'filter-provider', providerBaseUrl: 'http://127.0.0.1:8081', pactUrls: [ path.resolve(process.cwd(), './filter-by-PACT_PROVIDER_NO_STATE.json'), diff --git a/examples/v3/todo-consumer/package-lock.json b/examples/v3/todo-consumer/package-lock.json index 3d707e606..faa4b5c3b 100644 --- a/examples/v3/todo-consumer/package-lock.json +++ b/examples/v3/todo-consumer/package-lock.json @@ -29,18 +29,38 @@ }, "../../../dist": { "name": "@pact-foundation/pact", - "version": "0.0.1", + "version": "13.1.4", "dev": true, + "license": "MIT", "dependencies": { + "@pact-foundation/pact-core": "^15.1.0", + "@types/express": "^4.17.11", + "axios": "^1.7.4", + "body-parser": "^1.20.3", + "cli-color": "^2.0.1", + "express": "^4.21.0", + "graphql": "^14.0.0", + "graphql-tag": "^2.9.1", + "http-proxy": "^1.18.1", + "https-proxy-agent": "^7.0.4", + "js-base64": "^3.6.1", + "lodash": "^4.17.21", + "lodash.isfunction": "3.0.8", + "lodash.isnil": "4.0.0", + "lodash.isundefined": "3.0.1", + "lodash.omit": "^4.5.0", + "pkginfo": "^0.4.1", + "ramda": "^0.30.0", + "randexp": "^0.5.3" + }, + "devDependencies": { "@babel/cli": "^7.18.6", "@babel/core": "^7.18.6", "@babel/preset-env": "^7.18.6", - "@pact-foundation/pact-core": "^15.1.0", "@pact-foundation/pact-js-prettier-config": "^1.0.0", "@types/chai": "^4.3.1", "@types/chai-as-promised": "^7.1.1", "@types/cli-color": "^0.3.29", - "@types/express": "^4.17.11", "@types/http-proxy": "^1.17.9", "@types/lodash": "^4.14.182", "@types/lodash.isnil": "^4.0.7", @@ -53,11 +73,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", - "cli-color": "^2.0.1", "commit-and-tag-version": "^10.1.0", "copyfiles": "^2.4.1", "eslint": "^8.19.0", @@ -68,28 +85,14 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", - "graphql": "^14.0.0", - "graphql-tag": "^2.9.1", - "http-proxy": "^1.18.1", - "https-proxy-agent": "^7.0.4", - "js-base64": "^3.6.1", - "lodash": "^4.17.21", "lodash.clone": "^4.5.0", - "lodash.isfunction": "3.0.8", - "lodash.isnil": "4.0.0", - "lodash.isundefined": "3.0.1", - "lodash.omit": "^4.5.0", "mocha": "^9.1.1", "mocha-lcov-reporter": "^1.3.0", "neon-cli": "^0.9.1", "nock": "^9.1.6", "nyc": "^15.1.0", - "pkginfo": "^0.4.1", "prettier": "^2.7.1", "proxyquire": "^2.0.1", - "ramda": "^0.30.0", - "randexp": "^0.5.3", "rimraf": "^2.7.1", "sinon": "^7.2.4", "sinon-chai": "^3.3.0", @@ -97,6 +100,9 @@ "ts-mock-imports": "^1.2.6", "ts-node": "^3.3.0", "typescript": "^4.7.4" + }, + "engines": { + "node": ">=16" } }, "node_modules/@cspotcode/source-map-support": { @@ -2668,8 +2674,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -2683,7 +2689,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/v3/todo-consumer/test/provider.spec.js b/examples/v3/todo-consumer/test/provider.spec.js index 7156c295f..10682b3ce 100644 --- a/examples/v3/todo-consumer/test/provider.spec.js +++ b/examples/v3/todo-consumer/test/provider.spec.js @@ -14,7 +14,7 @@ server.listen(8081, () => { describe('Pact XML Verification', () => { it('validates the expectations of Matching Service', () => { const opts = { - provider: 'XML Service', + // provider: 'XML Service', providerBaseUrl: 'http://localhost:8081', pactUrls: ['./pacts/TodoApp-TodoServiceV3.json'], stateHandlers: { diff --git a/examples/v3/typescript/package-lock.json b/examples/v3/typescript/package-lock.json index c7dab36fe..fc6076efc 100644 --- a/examples/v3/typescript/package-lock.json +++ b/examples/v3/typescript/package-lock.json @@ -31,16 +31,16 @@ }, "../../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", @@ -3732,8 +3732,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -3747,7 +3747,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/v4/matchers/package-lock.json b/examples/v4/matchers/package-lock.json index 731ba5959..31e9749ad 100644 --- a/examples/v4/matchers/package-lock.json +++ b/examples/v4/matchers/package-lock.json @@ -25,16 +25,16 @@ }, "../../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", diff --git a/examples/v4/plugins/package-lock.json b/examples/v4/plugins/package-lock.json index 5c9c8a497..9e071a22a 100644 --- a/examples/v4/plugins/package-lock.json +++ b/examples/v4/plugins/package-lock.json @@ -25,16 +25,16 @@ }, "../../../dist": { "name": "@pact-foundation/pact", - "version": "13.0.0", + "version": "13.1.4", "dev": true, "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^15.1.0", "@types/express": "^4.17.11", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "cli-color": "^2.0.1", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1", @@ -2561,8 +2561,8 @@ "@types/tough-cookie": "^2.3.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", - "axios": "^1.6.1", - "body-parser": "^1.20.0", + "axios": "^1.7.4", + "body-parser": "^1.20.3", "chai": "~4.1.2", "chai-as-promised": "^7.1.1", "cli-color": "^2.0.1", @@ -2576,7 +2576,7 @@ "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.5", - "express": "^4.19.2", + "express": "^4.21.0", "graphql": "^14.0.0", "graphql-tag": "^2.9.1", "http-proxy": "^1.18.1",