diff --git a/packages/core/package.json b/packages/core/package.json index 4ce53cf639d..055cb6f233b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -235,7 +235,7 @@ "dependencies": { "@apollo/cache-control-types": "^1.0.3", "@apollo/client": "^4.1.6", - "@apollo/server": "^4.10.0", + "@apollo/server": "^5.0.0", "@babel/runtime": "^7.24.7", "@graphql-ts/extend": "^2.0.0", "@graphql-ts/schema": "^1.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cc9ba4bcbf3..69cc5b13a5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1875,8 +1875,8 @@ importers: specifier: ^4.1.6 version: 4.1.9(graphql-ws@6.0.8(graphql@16.13.2)(ws@8.20.0))(graphql@16.13.2)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(rxjs@7.8.2) '@apollo/server': - specifier: ^4.10.0 - version: 4.13.0(graphql@16.13.2) + specifier: ^5.0.0 + version: 5.5.1(graphql@16.13.2) '@babel/runtime': specifier: ^7.24.7 version: 7.29.2 @@ -2588,25 +2588,23 @@ packages: resolution: {integrity: sha512-Lahx5zntHPZia35myYDBRuF58tlwPskwHc5CWBZC/4bMKB6siTBWwtMrkqXcsNwQiFSzSx5hKdRPUmemrEp3Gg==} hasBin: true - '@apollo/server-gateway-interface@1.1.1': - resolution: {integrity: sha512-pGwCl/po6+rxRmDMFgozKQo2pbsSwE91TpsDBAOgf74CRDPXHHtM88wbwjab0wMMZh95QfR45GGyDIdhY24bkQ==} - deprecated: '@apollo/server-gateway-interface v1 is part of Apollo Server v4, which is deprecated and will transition to end-of-life on January 26, 2026. As long as you are already using a non-EOL version of Node.js, upgrading to v2 should take only a few minutes. See https://www.apollographql.com/docs/apollo-server/previous-versions for details.' + '@apollo/server-gateway-interface@2.0.0': + resolution: {integrity: sha512-3HEMD6fSantG2My3jWkb9dvfkF9vJ4BDLRjMgsnD790VINtuPaEp+h3Hg9HOHiWkML6QsOhnaRqZ+gvhp3y8Nw==} peerDependencies: graphql: 14.x || 15.x || 16.x - '@apollo/server@4.13.0': - resolution: {integrity: sha512-t4GzaRiYIcPwYy40db6QjZzgvTr9ztDKBddykUXmBb2SVjswMKXbkaJ5nPeHqmT3awr9PAaZdCZdZhRj55I/8A==} - engines: {node: '>=14.16.0'} - deprecated: Apollo Server v4 is end-of-life since January 26, 2026. As long as you are already using a non-EOL version of Node.js, upgrading to v5 should take only a few minutes. See https://www.apollographql.com/docs/apollo-server/previous-versions for details. + '@apollo/server@5.5.1': + resolution: {integrity: sha512-Rn3g5TJQsMSUY23CWZTghWdBWyjX7dP1eaEBPkvmM2RHi82cDcpgTIkSCbGvtTUEGjwopLv1AAooU/n7iIZ20A==} + engines: {node: '>=20'} peerDependencies: - graphql: ^16.6.0 + graphql: ^16.11.0 '@apollo/usage-reporting-protobuf@4.1.1': resolution: {integrity: sha512-u40dIUePHaSKVshcedO7Wp+mPiZsaU6xjv9J+VyxpoU/zL6Jle+9zWeG98tr/+SZ0nZ4OXhrbb8SNr0rAPpIDA==} - '@apollo/utils.createhash@2.0.2': - resolution: {integrity: sha512-UkS3xqnVFLZ3JFpEmU/2cM2iKJotQXMoSTgxXsfQgXLC5gR1WaepoXagmYnPSA7Q/2cmnyTYK5OgAgoC4RULPg==} - engines: {node: '>=14'} + '@apollo/utils.createhash@3.0.1': + resolution: {integrity: sha512-CKrlySj4eQYftBE5MJ8IzKwIibQnftDT7yGfsJy5KSEEnLlPASX0UTpbKqkjlVEwPPd4mEwI7WOM7XNxEuO05A==} + engines: {node: '>=16'} '@apollo/utils.dropunuseddefinitions@2.0.1': resolution: {integrity: sha512-EsPIBqsSt2BwDsv8Wu76LK5R1KtsVkNoO4b0M5aK0hx+dGg9xJXuqlr7Fo34Dl+y83jmzn+UvEW+t1/GP2melA==} @@ -2614,21 +2612,21 @@ packages: peerDependencies: graphql: 14.x || 15.x || 16.x - '@apollo/utils.fetcher@2.0.1': - resolution: {integrity: sha512-jvvon885hEyWXd4H6zpWeN3tl88QcWnHp5gWF5OPF34uhvoR+DFqcNxs9vrRaBBSY3qda3Qe0bdud7tz2zGx1A==} - engines: {node: '>=14'} + '@apollo/utils.fetcher@3.1.0': + resolution: {integrity: sha512-Z3QAyrsQkvrdTuHAFwWDNd+0l50guwoQUoaDQssLOjkmnmVuvXlJykqlEJolio+4rFwBnWdoY1ByFdKaQEcm7A==} + engines: {node: '>=16'} - '@apollo/utils.isnodelike@2.0.1': - resolution: {integrity: sha512-w41XyepR+jBEuVpoRM715N2ZD0xMD413UiJx8w5xnAZD2ZkSJnMJBoIzauK83kJpSgNuR6ywbV29jG9NmxjK0Q==} - engines: {node: '>=14'} + '@apollo/utils.isnodelike@3.0.0': + resolution: {integrity: sha512-xrjyjfkzunZ0DeF6xkHaK5IKR8F1FBq6qV+uZ+h9worIF/2YSzA0uoBxGv6tbTeo9QoIQnRW4PVFzGix5E7n/g==} + engines: {node: '>=16'} - '@apollo/utils.keyvaluecache@2.1.1': - resolution: {integrity: sha512-qVo5PvUUMD8oB9oYvq4ViCjYAMWnZ5zZwEjNF37L2m1u528x5mueMlU+Cr1UinupCgdB78g+egA1G98rbJ03Vw==} - engines: {node: '>=14'} + '@apollo/utils.keyvaluecache@4.0.0': + resolution: {integrity: sha512-mKw1myRUkQsGPNB+9bglAuhviodJ2L2MRYLTafCMw5BIo7nbvCPNCkLnIHjZ1NOzH7SnMAr5c9LmXiqsgYqLZw==} + engines: {node: '>=20'} - '@apollo/utils.logger@2.0.1': - resolution: {integrity: sha512-YuplwLHaHf1oviidB7MxnCXAdHp3IqYV8n0momZ3JfLniae92eYqMIx+j5qJFX6WKJPs6q7bczmV4lXIsTu5Pg==} - engines: {node: '>=14'} + '@apollo/utils.logger@3.0.0': + resolution: {integrity: sha512-M8V8JOTH0F2qEi+ktPfw4RL7MvUycDfKp7aEap2eWXfL5SqWHN6jTLbj5f5fj1cceHpyaUSOZlvlaaryaxZAmg==} + engines: {node: '>=16'} '@apollo/utils.printwithreducedwhitespace@2.0.1': resolution: {integrity: sha512-9M4LUXV/fQBh8vZWlLvb/HyyhjJ77/I5ZKu+NBWV/BmYGyRmoEP9EVAy7LCVoY3t8BDcyCAGfxJaLFCSuQkPUg==} @@ -2660,9 +2658,9 @@ packages: peerDependencies: graphql: 14.x || 15.x || 16.x - '@apollo/utils.withrequired@2.0.1': - resolution: {integrity: sha512-YBDiuAX9i1lLc6GeTy1m7DGLFn/gMnvXqlalOIMjM7DeOgIacEjjfwPqb0M1CQ2v11HhR15d1NmxJoRCfrNqcA==} - engines: {node: '>=14'} + '@apollo/utils.withrequired@3.0.0': + resolution: {integrity: sha512-aaxeavfJ+RHboh7c2ofO5HHtQobGX4AgUujXP4CXpREHp9fQ9jPi6K9T1jrAKe7HIipoP0OJ1gd6JamSkFIpvA==} + engines: {node: '>=16'} '@ardatan/relay-compiler@13.0.1': resolution: {integrity: sha512-afG3YPwuSA0E5foouZusz5GlXKs74dObv4cuWyLyfKsYFj2r7oGRNB28v18HvwuLSQtQFCi+DpIe0TZkgQDYyg==} @@ -9012,6 +9010,10 @@ packages: resolution: {integrity: sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==} engines: {node: '>= 0.8'} + finalhandler@2.1.1: + resolution: {integrity: sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==} + engines: {node: '>= 18.0.0'} + find-pkg-json-field-up@1.0.1: resolution: {integrity: sha512-Wh073ogc5cXp3rbU9/qxPpu1s5+yDoCGaJ7nISoHvomQUtrSxulaJdd5klyiVBCBISOMDzJnRKJpTWmyNmSqqg==} @@ -10389,6 +10391,10 @@ packages: lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + lru-cache@11.4.0: + resolution: {integrity: sha512-W+R+kFL4HgVxONq2bhXPi3bGpzGe/yEhVOp233qw9wCRtgncJ15P3bC+e4zZMu4Cq7d+WAJjXGW0uUkifhcatA==} + engines: {node: 20 || >=22} + lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} @@ -10992,6 +10998,10 @@ packages: resolution: {integrity: sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==} engines: {node: '>= 0.6'} + negotiator@1.0.0: + resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==} + engines: {node: '>= 0.6'} + neotraverse@0.6.18: resolution: {integrity: sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA==} engines: {node: '>= 10'} @@ -11059,9 +11069,6 @@ packages: no-case@3.0.4: resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} - node-abort-controller@3.1.1: - resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==} - node-addon-api@1.7.2: resolution: {integrity: sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==} @@ -13675,69 +13682,63 @@ snapshots: '@types/long': 4.0.2 long: 4.0.0 - '@apollo/server-gateway-interface@1.1.1(graphql@16.13.2)': + '@apollo/server-gateway-interface@2.0.0(graphql@16.13.2)': dependencies: '@apollo/usage-reporting-protobuf': 4.1.1 - '@apollo/utils.fetcher': 2.0.1 - '@apollo/utils.keyvaluecache': 2.1.1 - '@apollo/utils.logger': 2.0.1 + '@apollo/utils.fetcher': 3.1.0 + '@apollo/utils.keyvaluecache': 4.0.0 + '@apollo/utils.logger': 3.0.0 graphql: 16.13.2 - '@apollo/server@4.13.0(graphql@16.13.2)': + '@apollo/server@5.5.1(graphql@16.13.2)': dependencies: '@apollo/cache-control-types': 1.0.3(graphql@16.13.2) - '@apollo/server-gateway-interface': 1.1.1(graphql@16.13.2) + '@apollo/server-gateway-interface': 2.0.0(graphql@16.13.2) '@apollo/usage-reporting-protobuf': 4.1.1 - '@apollo/utils.createhash': 2.0.2 - '@apollo/utils.fetcher': 2.0.1 - '@apollo/utils.isnodelike': 2.0.1 - '@apollo/utils.keyvaluecache': 2.1.1 - '@apollo/utils.logger': 2.0.1 + '@apollo/utils.createhash': 3.0.1 + '@apollo/utils.fetcher': 3.1.0 + '@apollo/utils.isnodelike': 3.0.0 + '@apollo/utils.keyvaluecache': 4.0.0 + '@apollo/utils.logger': 3.0.0 '@apollo/utils.usagereporting': 2.1.0(graphql@16.13.2) - '@apollo/utils.withrequired': 2.0.1 - '@graphql-tools/schema': 9.0.19(graphql@16.13.2) - '@types/express': 4.17.25 - '@types/express-serve-static-core': 4.19.8 - '@types/node-fetch': 2.6.13 + '@apollo/utils.withrequired': 3.0.0 + '@graphql-tools/schema': 10.0.33(graphql@16.13.2) async-retry: 1.3.3 + body-parser: 2.2.2 content-type: 1.0.5 cors: 2.8.6 - express: 4.22.1 + finalhandler: 2.1.1 graphql: 16.13.2 loglevel: 1.9.2 - lru-cache: 7.18.3 - negotiator: 0.6.4 - node-abort-controller: 3.1.1 - node-fetch: 2.7.0 - uuid: 9.0.1 - whatwg-mimetype: 3.0.0 + lru-cache: 11.4.0 + negotiator: 1.0.0 + whatwg-mimetype: 4.0.0 transitivePeerDependencies: - - encoding - supports-color '@apollo/usage-reporting-protobuf@4.1.1': dependencies: '@apollo/protobufjs': 1.2.7 - '@apollo/utils.createhash@2.0.2': + '@apollo/utils.createhash@3.0.1': dependencies: - '@apollo/utils.isnodelike': 2.0.1 + '@apollo/utils.isnodelike': 3.0.0 sha.js: 2.4.12 '@apollo/utils.dropunuseddefinitions@2.0.1(graphql@16.13.2)': dependencies: graphql: 16.13.2 - '@apollo/utils.fetcher@2.0.1': {} + '@apollo/utils.fetcher@3.1.0': {} - '@apollo/utils.isnodelike@2.0.1': {} + '@apollo/utils.isnodelike@3.0.0': {} - '@apollo/utils.keyvaluecache@2.1.1': + '@apollo/utils.keyvaluecache@4.0.0': dependencies: - '@apollo/utils.logger': 2.0.1 - lru-cache: 7.18.3 + '@apollo/utils.logger': 3.0.0 + lru-cache: 11.4.0 - '@apollo/utils.logger@2.0.1': {} + '@apollo/utils.logger@3.0.0': {} '@apollo/utils.printwithreducedwhitespace@2.0.1(graphql@16.13.2)': dependencies: @@ -13766,7 +13767,7 @@ snapshots: '@apollo/utils.stripsensitiveliterals': 2.0.1(graphql@16.13.2) graphql: 16.13.2 - '@apollo/utils.withrequired@2.0.1': {} + '@apollo/utils.withrequired@3.0.0': {} '@ardatan/relay-compiler@13.0.1(graphql@16.13.2)': dependencies: @@ -21852,6 +21853,17 @@ snapshots: transitivePeerDependencies: - supports-color + finalhandler@2.1.1: + dependencies: + debug: 4.4.3 + encodeurl: 2.0.0 + escape-html: 1.0.3 + on-finished: 2.4.1 + parseurl: 1.3.3 + statuses: 2.0.2 + transitivePeerDependencies: + - supports-color + find-pkg-json-field-up@1.0.1: dependencies: '@babel/core': 7.29.0 @@ -23547,6 +23559,8 @@ snapshots: lru-cache@10.4.3: {} + lru-cache@11.4.0: {} + lru-cache@5.1.1: dependencies: yallist: 3.1.1 @@ -24623,6 +24637,8 @@ snapshots: negotiator@0.6.4: {} + negotiator@1.0.0: {} + neotraverse@0.6.18: {} netmask@2.1.1: {} @@ -24693,8 +24709,6 @@ snapshots: lower-case: 2.0.2 tslib: 2.8.1 - node-abort-controller@3.1.1: {} - node-addon-api@1.7.2: optional: true