From 6fd09c7d83ae32665580870e7931e53d2f935ff2 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Thu, 26 Dec 2024 23:51:51 +0800 Subject: [PATCH] allow mercurius@16 (#26) --- package.json | 4 ++-- pnpm-lock.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 46 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6e7b45b..b9b7847 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "graphql": "^16.6.0", "graphql-tag": "^2.12.6", "husky": "^8.0.3", - "mercurius": "^15.0.0", + "mercurius": "^16.0.0", "mqemitter": "^5.0.0", "prettier": "^2.8.4", "pretty-quick": "^3.1.3", @@ -61,7 +61,7 @@ "@mercuriusjs/gateway": "^1.2.0", "fastify": "^4.0.0 || ^5.0.0", "graphql": "*", - "mercurius": "^12 || ^13 || ^14 || ^15" + "mercurius": "^12 || ^13 || ^14 || ^15 || ^16" }, "peerDependenciesMeta": { "@mercuriusjs/federation": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e5fd7d3..3e52187 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -58,8 +58,8 @@ importers: specifier: ^8.0.3 version: 8.0.3 mercurius: - specifier: ^15.0.0 - version: 15.0.0(graphql@16.6.0) + specifier: ^16.0.0 + version: 16.0.0(graphql@16.6.0) mqemitter: specifier: ^5.0.0 version: 5.0.0 @@ -739,6 +739,11 @@ packages: peerDependencies: graphql: '>=15' + graphql-jit@0.8.7: + resolution: {integrity: sha512-KGzCrsxQPfEiXOUIJCexWKiWF6ycjO89kAO6SdO8OWRGwYXbG0hsLuTnbFfMq0gj7d7/ib/Gh7jtst7FHZEEjw==} + peerDependencies: + graphql: '>=15' + graphql-tag@2.12.6: resolution: {integrity: sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==} engines: {node: '>=10'} @@ -948,6 +953,12 @@ packages: peerDependencies: graphql: ^16.0.0 + mercurius@16.0.0: + resolution: {integrity: sha512-kuxpvYmIYFGwNkdKjWQorHpKRN9rFx4b55BP2H0NImaKdHc3rmv+8MHQOrTsksk/mwm72Rl74itCAUzdBwjUAQ==} + engines: {node: ^20.9.0 || >=22.0.0} + peerDependencies: + graphql: ^16.0.0 + merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} @@ -2280,6 +2291,16 @@ snapshots: lodash.merge: 4.6.2 lodash.mergewith: 4.6.2 + graphql-jit@0.8.7(graphql@16.6.0): + dependencies: + '@graphql-typed-document-node/core': 3.2.0(graphql@16.6.0) + fast-json-stringify: 5.16.1 + generate-function: 2.3.1 + graphql: 16.6.0 + lodash.memoize: 4.1.2 + lodash.merge: 4.6.2 + lodash.mergewith: 4.6.2 + graphql-tag@2.12.6(graphql@16.6.0): dependencies: graphql: 16.6.0 @@ -2493,6 +2514,27 @@ snapshots: - bufferutil - utf-8-validate + mercurius@16.0.0(graphql@16.6.0): + dependencies: + '@fastify/error': 4.0.0 + '@fastify/static': 8.0.0 + '@fastify/websocket': 11.0.0 + fastify-plugin: 5.0.0 + graphql: 16.6.0 + graphql-jit: 0.8.7(graphql@16.6.0) + mqemitter: 6.0.2 + p-map: 4.0.0 + quick-lru: 7.0.0 + readable-stream: 4.5.2 + safe-stable-stringify: 2.5.0 + secure-json-parse: 3.0.0 + single-user-cache: 1.0.1 + tiny-lru: 11.2.11 + ws: 8.18.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + merge-stream@2.0.0: {} mime@3.0.0: {}