diff --git a/apis/mercury/package.json b/apis/mercury/package.json index b3db1c701..c67c2f199 100644 --- a/apis/mercury/package.json +++ b/apis/mercury/package.json @@ -10,7 +10,7 @@ "fastify-cors": "^6.0.1", "graphql": "^15.5.0", "graphql-tools": "^7.0.5", - "mercurius": "^7.9.1", + "mercurius": "^8.13.2", "nodemon": "^2.0.7", "pg": "^8.6.0", "policy-engine": "workspace:*", @@ -24,7 +24,7 @@ "graphql-scalars": "^1.10.0", "graphql-tools": "^7.0.5", "jest": "^29.3.1", - "mercurius": "^7.9.1", + "mercurius": "^8.13.2", "nodemon": "^2.0.7", "pg": "^8.6.0", "policy-engine": "workspace:*", diff --git a/yarn.lock b/yarn.lock index aac8670ab..a5cc2eb9c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1964,6 +1964,31 @@ __metadata: languageName: node linkType: hard +"@fastify/static@npm:^5.0.0": + version: 5.0.2 + resolution: "@fastify/static@npm:5.0.2" + dependencies: + content-disposition: ^0.5.3 + encoding-negotiator: ^2.0.1 + fastify-plugin: ^3.0.0 + glob: ^7.1.4 + p-limit: ^3.1.0 + readable-stream: ^3.4.0 + send: ^0.17.1 + checksum: f66193a64fa0e160a1aebdeda0579aa19b7990da1a17721e2f91092b0a1d1caaeebff12dad1da2f83a435c387b45d6e9e7aa635579798805a60c6cc66230b3d2 + languageName: node + linkType: hard + +"@fastify/websocket@npm:^5.0.0": + version: 5.0.1 + resolution: "@fastify/websocket@npm:5.0.1" + dependencies: + fastify-plugin: ^3.0.0 + ws: ^8.0.0 + checksum: 72c25a7c3a9ded0c5ae23c4f89bc1d43e34800b0366a5eeff2c5ad6aaac32cf15b7458a51585d92dd3b23a7d6317a042a83f360d7192e4fcfaca4da61c3409d5 + languageName: node + linkType: hard + "@floating-ui/core@npm:^1.2.0": version: 1.2.0 resolution: "@floating-ui/core@npm:1.2.0" @@ -9916,7 +9941,7 @@ __metadata: languageName: node linkType: hard -"end-of-stream@npm:^1.0.0, end-of-stream@npm:^1.1.0, end-of-stream@npm:^1.4.4": +"end-of-stream@npm:^1.0.0, end-of-stream@npm:^1.1.0": version: 1.4.4 resolution: "end-of-stream@npm:1.4.4" dependencies: @@ -10783,7 +10808,7 @@ __metadata: languageName: node linkType: hard -"fast-json-stringify@npm:^1.13.0": +"fast-json-stringify@npm:^1.21.0": version: 1.21.0 resolution: "fast-json-stringify@npm:1.21.0" dependencies: @@ -10854,13 +10879,6 @@ __metadata: languageName: node linkType: hard -"fastify-error@npm:^0.3.0": - version: 0.3.1 - resolution: "fastify-error@npm:0.3.1" - checksum: fd6a0f6f87b5e4ab59a4d3d66124bd13830a1cf85cf1987259dfb1175fc6a4bcae68b076ad78f6bb06654f72af133b44813090e9ce5502d2ef56ddcb2b0fa867 - languageName: node - linkType: hard - "fastify-plugin@npm:^3.0.0": version: 3.0.1 resolution: "fastify-plugin@npm:3.0.1" @@ -10868,41 +10886,6 @@ __metadata: languageName: node linkType: hard -"fastify-static-deprecated@npm:fastify-static@4.6.1": - version: 4.6.1 - resolution: "fastify-static@npm:4.6.1" - dependencies: - content-disposition: ^0.5.3 - encoding-negotiator: ^2.0.1 - fastify-plugin: ^3.0.0 - glob: ^7.1.4 - p-limit: ^3.1.0 - readable-stream: ^3.4.0 - send: ^0.17.1 - checksum: f2276167bac8176cd943a67b5a4f4dbd683c27e06313d8d53ed48f405cbfae3a1bb5b95bc3a7cf0ce1f553e5ea0a434f292be4edc9779f4380cf5bd7477eef42 - languageName: node - linkType: hard - -"fastify-static@npm:^4.0.1": - version: 4.7.0 - resolution: "fastify-static@npm:4.7.0" - dependencies: - fastify-static-deprecated: "npm:fastify-static@4.6.1" - process-warning: ^1.0.0 - checksum: 68e06472ab8e11bffa50697d1ecede4f368f8593e0d72b367ba0faff1b009c56db60c382b683307c4bbc016d1092d70c2c3a62c35ebc2f49d83757b52422bc98 - languageName: node - linkType: hard - -"fastify-websocket@npm:^3.0.0": - version: 3.2.2 - resolution: "fastify-websocket@npm:3.2.2" - dependencies: - fastify-plugin: ^3.0.0 - ws: ^7.5.4 - checksum: 4724e825a431e3ffe2ea039f167bb27d91ca8ceac18da05e8a57e01c625018a872fafaddf0e765ca4b453111feaa4c5b2068e2614c3aeb856f4e5385f3ceea6e - languageName: node - linkType: hard - "fastify@npm:^3.18.0": version: 3.29.5 resolution: "fastify@npm:3.29.5" @@ -11840,19 +11823,20 @@ __metadata: languageName: node linkType: hard -"graphql-jit@npm:^0.5.0": - version: 0.5.2 - resolution: "graphql-jit@npm:0.5.2" +"graphql-jit@npm:^0.7.0": + version: 0.7.4 + resolution: "graphql-jit@npm:0.7.4" dependencies: - fast-json-stringify: ^1.13.0 + "@graphql-typed-document-node/core": ^3.1.1 + fast-json-stringify: ^1.21.0 generate-function: ^2.3.1 - json-schema: ^0.2.3 + json-schema: ^0.4.0 lodash.memoize: ^4.1.2 lodash.merge: 4.6.2 lodash.mergewith: 4.6.2 peerDependencies: graphql: ">=15" - checksum: 5ed4b71199c9eab1eda3707ea38819534364611a870bd62ac6547baf3308c05b26fa7f2b3f49b47e0964fa5ef7f3619f2d967e57c65792e964a1b0a812dbee09 + checksum: e772d6c072e741085977ffc37d434d5abf278597b3c6a079e8d53f07d10e67b79455edbe0b8d94ec9c684f6af4fa870e920f03ad2150dc66d9e72ddb9e87d726 languageName: node linkType: hard @@ -11926,7 +11910,7 @@ __metadata: languageName: node linkType: hard -"graphql@npm:^15.4.0, graphql@npm:^15.5.0, graphql@npm:^15.5.1": +"graphql@npm:^15.5.0, graphql@npm:^15.5.1": version: 15.8.0 resolution: "graphql@npm:15.8.0" checksum: 423325271db8858428641b9aca01699283d1fe5b40ef6d4ac622569ecca927019fce8196208b91dd1d8eb8114f00263fe661d241d0eb40c10e5bfd650f86ec5e @@ -14488,10 +14472,10 @@ __metadata: languageName: node linkType: hard -"json-schema@npm:^0.2.3": - version: 0.2.5 - resolution: "json-schema@npm:0.2.5" - checksum: 54871525a19997c824d98916fbbef3cb190638c62e5945412785f3c6d90faae7bfff5a1935355a51b979497a7e059a2013eab4a6de144097b9fa80a5be920fb3 +"json-schema@npm:^0.4.0": + version: 0.4.0 + resolution: "json-schema@npm:0.4.0" + checksum: 66389434c3469e698da0df2e7ac5a3281bcff75e797a5c127db7c5b56270e01ae13d9afa3c03344f76e32e81678337a8c912bdbb75101c62e487dc3778461d72 languageName: node linkType: hard @@ -15677,29 +15661,31 @@ __metadata: languageName: node linkType: hard -"mercurius@npm:^7.9.1": - version: 7.9.1 - resolution: "mercurius@npm:7.9.1" +"mercurius@npm:^8.13.2": + version: 8.13.2 + resolution: "mercurius@npm:8.13.2" dependencies: + "@fastify/error": ^2.0.0 + "@fastify/static": ^5.0.0 + "@fastify/websocket": ^5.0.0 "@types/isomorphic-form-data": ^2.0.0 - end-of-stream: ^1.4.4 events.on: ^1.0.1 - fastify-error: ^0.3.0 fastify-plugin: ^3.0.0 - fastify-static: ^4.0.1 - fastify-websocket: ^3.0.0 - graphql: ^15.4.0 - graphql-jit: ^0.5.0 - mqemitter: ^4.0.0 + graphql: ^15.5.1 + graphql-jit: ^0.7.0 + mqemitter: ^4.4.1 p-map: ^4.0.0 - promise.allsettled: ^1.0.2 - readable-stream: ^3.5.0 - secure-json-parse: ^2.2.0 - single-user-cache: ^0.4.0 - tiny-lru: ^7.0.2 - undici: ^3.0.0 - ws: ^7.4.2 - checksum: ea1c9a9e7aaff194d7c2e879c710c253f3b9a51fe1c89e9e23ff9b9a365a4238ab8c84fe77809f2f7bce1220af781caeb4829a47ed6fb3b91140e727bf920982 + promise.allsettled: ^1.0.4 + readable-stream: ^3.6.0 + safe-stable-stringify: ^2.3.0 + secure-json-parse: ^2.4.0 + single-user-cache: ^0.6.0 + tiny-lru: ^7.0.6 + undici: ^4.8.0 + ws: ^8.2.2 + peerDependencies: + graphql: ^15.5.1 + checksum: 8e4b9879af7f5b868abbecfd07b5a9ba978bf0d270d9c77bde70fee07ba7f0be9dc2497066c6362b31aed71ed93456c1a3b5742ec5911a0dda1a20017733c5cf languageName: node linkType: hard @@ -15714,7 +15700,7 @@ __metadata: graphql-scalars: ^1.10.0 graphql-tools: ^7.0.5 jest: ^29.3.1 - mercurius: ^7.9.1 + mercurius: ^8.13.2 nodemon: ^2.0.7 pg: ^8.6.0 policy-engine: "workspace:*" @@ -16471,7 +16457,7 @@ __metadata: languageName: node linkType: hard -"mqemitter@npm:^4.0.0": +"mqemitter@npm:^4.4.1": version: 4.5.0 resolution: "mqemitter@npm:4.5.0" dependencies: @@ -18628,7 +18614,7 @@ __metadata: languageName: node linkType: hard -"promise.allsettled@npm:^1.0.0, promise.allsettled@npm:^1.0.2": +"promise.allsettled@npm:^1.0.0, promise.allsettled@npm:^1.0.4": version: 1.0.6 resolution: "promise.allsettled@npm:1.0.6" dependencies: @@ -19409,7 +19395,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^3.0.6, readable-stream@npm:^3.4.0, readable-stream@npm:^3.5.0, readable-stream@npm:^3.6.0": +"readable-stream@npm:^3.0.6, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.0": version: 3.6.0 resolution: "readable-stream@npm:3.6.0" dependencies: @@ -20210,10 +20196,10 @@ __metadata: languageName: node linkType: hard -"safe-stable-stringify@npm:^1.1.0": - version: 1.1.1 - resolution: "safe-stable-stringify@npm:1.1.1" - checksum: e32a30720e8a2e3043b8b96733f015c1aa7a21a5a328074ce917b8afe4d26b4308c186c74fa92131e5f794b1efc63caa32defafceaa2981accaaedbc8b2c861c +"safe-stable-stringify@npm:^2.0.0, safe-stable-stringify@npm:^2.3.0": + version: 2.4.2 + resolution: "safe-stable-stringify@npm:2.4.2" + checksum: 0324ba2e40f78cae63e31a02b1c9bdf1b786621f9e8760845608eb9e81aef401944ac2078e5c9c1533cf516aea34d08fa8052ca853637ced84b791caaf1e394e languageName: node linkType: hard @@ -20364,7 +20350,7 @@ __metadata: languageName: node linkType: hard -"secure-json-parse@npm:^2.0.0, secure-json-parse@npm:^2.2.0": +"secure-json-parse@npm:^2.0.0, secure-json-parse@npm:^2.4.0": version: 2.7.0 resolution: "secure-json-parse@npm:2.7.0" checksum: d9d7d5a01fc6db6115744ba23cf9e67ecfe8c524d771537c062ee05ad5c11b64c730bc58c7f33f60bd6877f96b86f0ceb9ea29644e4040cb757f6912d4dd6737 @@ -20776,12 +20762,12 @@ __metadata: languageName: node linkType: hard -"single-user-cache@npm:^0.4.0": - version: 0.4.0 - resolution: "single-user-cache@npm:0.4.0" +"single-user-cache@npm:^0.6.0": + version: 0.6.0 + resolution: "single-user-cache@npm:0.6.0" dependencies: - safe-stable-stringify: ^1.1.0 - checksum: f481b30ae238f5dc4e08f617081557ec0af1854a7b9178bfdb7af4afb3e8cd30ce9f3e982dc2a9b31a844a03e552376ecfc905fc14921a03b0ebeec375e73736 + safe-stable-stringify: ^2.0.0 + checksum: 591585fecf76436d261587d2780f32f24494298c856806b13f777d6b3140d96e9cf53423dc70fe94e0b3bb71bead8085e54aa6cf75804cfccbbf12aff0a8fd2b languageName: node linkType: hard @@ -21960,7 +21946,7 @@ __metadata: languageName: node linkType: hard -"tiny-lru@npm:^7.0.2": +"tiny-lru@npm:^7.0.6": version: 7.0.6 resolution: "tiny-lru@npm:7.0.6" checksum: 36a786a9111a3a358a698c9404783ad3f5396f6ed891672ffa4cd7dec4617abb8dfed6af7611bbaf8a3942a9475534c8b80f9bd58d7efa9aa594f395c9805f09 @@ -22386,10 +22372,10 @@ __metadata: languageName: node linkType: hard -"undici@npm:^3.0.0": - version: 3.3.6 - resolution: "undici@npm:3.3.6" - checksum: 899e4e33a9662e5296cb161137fc69262f454701c4d07bf17808da9a91a98e09066e5170af694346d8396848be4c91260a96c7ad3a96c3a9a5d86ed3d0c12363 +"undici@npm:^4.8.0": + version: 4.16.0 + resolution: "undici@npm:4.16.0" + checksum: 5e88c2b3381085e25ed1d1a308610ac7ee985f478ac705af7a8e03213536e10f73ef8dd8d85e6ed38948d1883fa0ae935e04357c317b0f5d3d3c0211d0c8c393 languageName: node linkType: hard @@ -23908,7 +23894,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^5.2.0 || ^6.0.0 || ^7.0.0, ws@npm:^7.4.2, ws@npm:^7.5.4": +"ws@npm:^5.2.0 || ^6.0.0 || ^7.0.0": version: 7.5.9 resolution: "ws@npm:7.5.9" peerDependencies: @@ -23923,6 +23909,21 @@ __metadata: languageName: node linkType: hard +"ws@npm:^8.0.0, ws@npm:^8.2.2": + version: 8.12.1 + resolution: "ws@npm:8.12.1" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ">=5.0.2" + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 97301c1c4d838fc81bd413f370f75c12aabe44527b31323b761eab3043a9ecb7e32ffd668548382c9a6a5ad3a1c3a9249608e8338e6b939f2f9540f1e21970b5 + languageName: node + linkType: hard + "ws@npm:^8.11.0, ws@npm:^8.2.3, ws@npm:^8.4.2": version: 8.12.0 resolution: "ws@npm:8.12.0"