diff --git a/package-lock.json b/package-lock.json index 7b1672eb63..f0ef8a91c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,7 +52,7 @@ }, "devDependencies": { "@edx/reactifex": "2.2.0", - "@pact-foundation/pact": "^13.0.0", + "@pact-foundation/pact": "^15.0.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@testing-library/user-event": "14.6.1", @@ -4714,29 +4714,23 @@ } }, "node_modules/@pact-foundation/pact": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@pact-foundation/pact/-/pact-13.2.0.tgz", - "integrity": "sha512-WT9EGwFygbiMZXF5RyTNJgH2ZsHwOVL9guvvY4wpoyjejaXtA5QrnKuOzl8QRoBom+vVTenUJSyI0cMdwZg71w==", + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/@pact-foundation/pact/-/pact-15.0.1.tgz", + "integrity": "sha512-9pv9mN/grXiXCPmyzQb9YYeyT8aHYO4uRNtfuR4IGLhNSHkHIhiS97ZUsegPruVkWiTcCv9tJahG+1OhL5BrTQ==", "dev": true, "license": "MIT", "dependencies": { - "@pact-foundation/pact-core": "^15.1.0", - "@types/express": "^4.17.11", - "axios": "^1.7.4", + "@pact-foundation/pact-core": "^16.0.0", + "axios": "^1.8.4", "body-parser": "^1.20.3", "chalk": "4.1.2", "express": "^4.21.1", - "graphql": "^14.0.0", + "graphql": "^16.10.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" }, @@ -4745,9 +4739,9 @@ } }, "node_modules/@pact-foundation/pact-core": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@pact-foundation/pact-core/-/pact-core-15.2.1.tgz", - "integrity": "sha512-IhWwc026bqffjHAVjOfVnDzmhRlr7FBVrLeg/pKjhrcIi0Z/bWahU0u3LEKKctnMkICSH4nAVTYZEg3kUNTxag==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@pact-foundation/pact-core/-/pact-core-16.1.0.tgz", + "integrity": "sha512-AaksFwpR2vLlu2/3zEFL0mErZ1Mmi9lndZBjW/S/etXhRAn1yr092ruvF105Lrk8wCm635h3W1EQD3E4rh0Jsg==", "cpu": [ "x64", "ia32", @@ -4761,14 +4755,132 @@ "win32" ], "dependencies": { - "check-types": "7.3.0", + "check-types": "7.4.0", + "detect-libc": "^2.0.3", "node-gyp-build": "^4.6.0", "pino": "^8.7.0", "pino-pretty": "^9.1.1", - "underscore": "1.12.1" + "underscore": "1.13.7" }, "engines": { "node": ">=16" + }, + "optionalDependencies": { + "@pact-foundation/pact-core-darwin-arm64": "16.1.0", + "@pact-foundation/pact-core-darwin-x64": "16.1.0", + "@pact-foundation/pact-core-linux-arm64-glibc": "16.1.0", + "@pact-foundation/pact-core-linux-arm64-musl": "16.1.0", + "@pact-foundation/pact-core-linux-x64-glibc": "16.1.0", + "@pact-foundation/pact-core-linux-x64-musl": "16.1.0", + "@pact-foundation/pact-core-windows-x64": "16.1.0" + } + }, + "node_modules/@pact-foundation/pact-core-darwin-arm64": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@pact-foundation/pact-core-darwin-arm64/-/pact-core-darwin-arm64-16.1.0.tgz", + "integrity": "sha512-6lrOVF3tdF/oKblvf3+cSzoy3KRJYXnO4fP48TrglITyZo9LNuN3HNsjFLQOJOT1KzCqn4gGBaoI37Ngpmz98w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@pact-foundation/pact-core-darwin-x64": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@pact-foundation/pact-core-darwin-x64/-/pact-core-darwin-x64-16.1.0.tgz", + "integrity": "sha512-TDW5sqwrVzeC2ZLM11PqhAQUBCc/FdOsoew2fXHS/mTU4yq03OLlIw5G5dOs/pDvVSx54QEwOTtztP7y0UrC2Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@pact-foundation/pact-core-linux-arm64-glibc": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@pact-foundation/pact-core-linux-arm64-glibc/-/pact-core-linux-arm64-glibc-16.1.0.tgz", + "integrity": "sha512-oluLNyIzzPcUD9usAX3+XIv+Tz4IpsuH+M6QjhFL3ppH1UgZzmd/Ima+KHQqFiWsbtyEDBOXxdZKa/0UgO4W5w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@pact-foundation/pact-core-linux-arm64-musl": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@pact-foundation/pact-core-linux-arm64-musl/-/pact-core-linux-arm64-musl-16.1.0.tgz", + "integrity": "sha512-QnOeVIIcp6OYhR/4TsOaEEpLrjjjPHYZ4RRoYMsOKy8krqWZTfUoRS1urLsYSwH1ASfOHaLeCwYLSiW9gC2a7g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@pact-foundation/pact-core-linux-x64-glibc": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@pact-foundation/pact-core-linux-x64-glibc/-/pact-core-linux-x64-glibc-16.1.0.tgz", + "integrity": "sha512-Xpo7sN0aPEZre2M7xSpIxUSshnvqfpXDck3BUDKMhABwxm3PxGmxGahhMzPa8/MbalY8fSwQ6zZMQW7khE3bDw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@pact-foundation/pact-core-linux-x64-musl": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@pact-foundation/pact-core-linux-x64-musl/-/pact-core-linux-x64-musl-16.1.0.tgz", + "integrity": "sha512-xcZTZRC0H3q3o7fUY4U0QNcjw+9eUWSubecUUNKHYMoj0HCXtZUNIgEqaC+VD8oNLuc1Rx/CvNIKkNPbRUyljw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@pact-foundation/pact-core-windows-x64": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@pact-foundation/pact-core-windows-x64/-/pact-core-windows-x64-16.1.0.tgz", + "integrity": "sha512-Tg2xwhwIBJ6o/Rp/VPqmCSHzdmAVNay5OAE2WBQVGQSCuJPoOFZK3ofQQR1FQva/Rs2SPv2BsTxT5mYrkMc++A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@pact-foundation/pact-core/node_modules/detect-libc": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz", + "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" } }, "node_modules/@paralleldrive/cuid2": { @@ -8394,9 +8506,9 @@ "license": "MIT" }, "node_modules/check-types": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/check-types/-/check-types-7.3.0.tgz", - "integrity": "sha512-bzDMlwEIZFtyK70RHwQhMCvXpPyJZgOCCKlvH9oAJz4quUQse8ZynYE5RQzKpY7b5PoL6G+jQMcZzUPD4p6tFg==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/check-types/-/check-types-7.4.0.tgz", + "integrity": "sha512-YbulWHdfP99UfZ73NcUDlNJhEIDgm9Doq9GhpyXbF+7Aegi3CVV7qqMCKTTqJxlvEvnQBp9IA+dxsGN6xK/nSg==", "dev": true, "license": "MIT" }, @@ -12604,16 +12716,13 @@ "license": "MIT" }, "node_modules/graphql": { - "version": "14.7.0", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-14.7.0.tgz", - "integrity": "sha512-l0xWZpoPKpppFzMfvVyFmp9vLN7w/ZZJPefUicMCepfJeQ8sMcztloGYY9DfjVPo6tIUDzU5Hw3MUbIjj9AVVA==", + "version": "16.11.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.11.0.tgz", + "integrity": "sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==", "dev": true, "license": "MIT", - "dependencies": { - "iterall": "^1.2.2" - }, "engines": { - "node": ">= 6.x" + "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" } }, "node_modules/graphql-tag": { @@ -14345,13 +14454,6 @@ "node": ">=8" } }, - "node_modules/iterall": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/iterall/-/iterall-1.3.0.tgz", - "integrity": "sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==", - "dev": true, - "license": "MIT" - }, "node_modules/iterator.prototype": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.5.tgz", @@ -15817,27 +15919,6 @@ "integrity": "sha512-aEXTF4d+m05rVOAUG3z4vZZ4xVexLKZGF0lIxuHZ1Hplpk/3B6Z1+/ICICYRLm7c41Z2xiejbkCkJoTlypoXhQ==", "license": "MIT" }, - "node_modules/lodash.isfunction": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.8.tgz", - "integrity": "sha512-WQj3vccQSW5IKeRl8F0bezPlZH5/LFXtNPICsbZLsv+HmVfWAfrzy2ZajGqmNLonIjPIcPOk3uXOGv5jgPgTyg==", - "dev": true, - "license": "MIT" - }, - "node_modules/lodash.isnil": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/lodash.isnil/-/lodash.isnil-4.0.0.tgz", - "integrity": "sha512-up2Mzq3545mwVnMhTDMdfoG1OurpA/s5t88JmQX809eH3C8491iu2sfKhTfhQtKY78oPNhiaHJUpT/dUDAAtng==", - "dev": true, - "license": "MIT" - }, - "node_modules/lodash.isundefined": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz", - "integrity": "sha512-MXB1is3s899/cD8jheYYE2V9qTHwKvt+npCwpD+1Sxm3Q3cECXCiYHjeHWXNwr6Q0SOBPrYUDxendrO6goVTEA==", - "dev": true, - "license": "MIT" - }, "node_modules/lodash.map": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", @@ -15856,14 +15937,6 @@ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "license": "MIT" }, - "node_modules/lodash.omit": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz", - "integrity": "sha512-XeqSp49hNGmlkj2EJlfrQFIzQ6lXdNro9sddtQzcJY8QaoC2GO0DT7xaIokHeyM+mIT0mPMlPvkYzg2xCuHdZg==", - "deprecated": "This package is deprecated. Use destructuring assignment syntax instead.", - "dev": true, - "license": "MIT" - }, "node_modules/lodash.pick": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", @@ -18057,16 +18130,6 @@ "node": ">=4" } }, - "node_modules/pkginfo": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/pkginfo/-/pkginfo-0.4.1.tgz", - "integrity": "sha512-8xCNE/aT/EXKenuMDZ+xTVwkT8gsoHN2z/Q29l80u0ppGEXVvsKRzNMbtKhg8LS8k1tJLAHHylf6p4VFmP6XUQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/popper.js": { "version": "1.16.1", "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", @@ -22974,9 +23037,9 @@ } }, "node_modules/underscore": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.1.tgz", - "integrity": "sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==", + "version": "1.13.7", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", + "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index d2e70c99de..ed61d6a9a0 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ }, "devDependencies": { "@edx/reactifex": "2.2.0", - "@pact-foundation/pact": "^13.0.0", + "@pact-foundation/pact": "^15.0.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@testing-library/user-event": "14.6.1",