From f4228e88509b4cd2f50cf10bc6376d48488e03c1 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Thu, 2 Jan 2025 16:49:59 -0800 Subject: [PATCH] Upgrade `@apollo/utils.createhash` (#8010) For compatibility with Next.js Turbopack. Fixes #8004. --- .changeset/khaki-socks-obey.md | 7 +++++++ cspell-dict.txt | 1 + package-lock.json | 12 ++++++------ packages/integration-testsuite/package.json | 2 +- packages/plugin-response-cache/package.json | 2 +- packages/server/package.json | 2 +- 6 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .changeset/khaki-socks-obey.md diff --git a/.changeset/khaki-socks-obey.md b/.changeset/khaki-socks-obey.md new file mode 100644 index 00000000000..ea964a07143 --- /dev/null +++ b/.changeset/khaki-socks-obey.md @@ -0,0 +1,7 @@ +--- +'@apollo/server-integration-testsuite': patch +'@apollo/server-plugin-response-cache': patch +'@apollo/server': patch +--- + +Compatibility with Next.js Turbopack. Fixes #8004. diff --git a/cspell-dict.txt b/cspell-dict.txt index cde7791f02a..312dbf1da1a 100644 --- a/cspell-dict.txt +++ b/cspell-dict.txt @@ -190,6 +190,7 @@ triaging tsbuildinfo tsconfig tsconfigs +Turbopack typecheck typeis typenames diff --git a/package-lock.json b/package-lock.json index 9ed7d7347f1..63e7e5aec5d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14227,7 +14227,7 @@ "@apollo/client": "^3.6.9", "@apollo/server": "4.11.2", "@apollo/usage-reporting-protobuf": "^4.1.1", - "@apollo/utils.createhash": "^2.0.0", + "@apollo/utils.createhash": "^2.0.2", "@apollo/utils.keyvaluecache": "^2.1.0", "express": "^4.21.1", "graphql-http": "1.22.3", @@ -14294,7 +14294,7 @@ "version": "4.1.3", "license": "MIT", "dependencies": { - "@apollo/utils.createhash": "^2.0.0", + "@apollo/utils.createhash": "^2.0.2", "@apollo/utils.keyvaluecache": "^2.1.0" }, "engines": { @@ -14313,7 +14313,7 @@ "@apollo/cache-control-types": "^1.0.3", "@apollo/server-gateway-interface": "^1.1.1", "@apollo/usage-reporting-protobuf": "^4.1.1", - "@apollo/utils.createhash": "^2.0.0", + "@apollo/utils.createhash": "^2.0.2", "@apollo/utils.fetcher": "^2.0.0", "@apollo/utils.isnodelike": "^2.0.0", "@apollo/utils.keyvaluecache": "^2.1.0", @@ -14548,7 +14548,7 @@ "@apollo/cache-control-types": "^1.0.3", "@apollo/server-gateway-interface": "^1.1.1", "@apollo/usage-reporting-protobuf": "^4.1.1", - "@apollo/utils.createhash": "^2.0.0", + "@apollo/utils.createhash": "^2.0.2", "@apollo/utils.fetcher": "^2.0.0", "@apollo/utils.isnodelike": "^2.0.0", "@apollo/utils.keyvaluecache": "^2.1.0", @@ -14599,7 +14599,7 @@ "@apollo/client": "^3.6.9", "@apollo/server": "4.11.2", "@apollo/usage-reporting-protobuf": "^4.1.1", - "@apollo/utils.createhash": "^2.0.0", + "@apollo/utils.createhash": "^2.0.2", "@apollo/utils.keyvaluecache": "^2.1.0", "express": "^4.21.1", "graphql-http": "1.22.3", @@ -14646,7 +14646,7 @@ "@apollo/server-plugin-response-cache": { "version": "file:packages/plugin-response-cache", "requires": { - "@apollo/utils.createhash": "^2.0.0", + "@apollo/utils.createhash": "^2.0.2", "@apollo/utils.keyvaluecache": "^2.1.0" } }, diff --git a/packages/integration-testsuite/package.json b/packages/integration-testsuite/package.json index d61b7abb6a1..ecb3a3dfbbc 100644 --- a/packages/integration-testsuite/package.json +++ b/packages/integration-testsuite/package.json @@ -30,7 +30,7 @@ "@apollo/client": "^3.6.9", "@apollo/server": "4.11.2", "@apollo/usage-reporting-protobuf": "^4.1.1", - "@apollo/utils.createhash": "^2.0.0", + "@apollo/utils.createhash": "^2.0.2", "@apollo/utils.keyvaluecache": "^2.1.0", "express": "^4.21.1", "graphql-http": "1.22.3", diff --git a/packages/plugin-response-cache/package.json b/packages/plugin-response-cache/package.json index f8cb62d5eda..c875c7097fe 100644 --- a/packages/plugin-response-cache/package.json +++ b/packages/plugin-response-cache/package.json @@ -32,7 +32,7 @@ "node": ">=14.16.0" }, "dependencies": { - "@apollo/utils.createhash": "^2.0.0", + "@apollo/utils.createhash": "^2.0.2", "@apollo/utils.keyvaluecache": "^2.1.0" }, "peerDependencies": { diff --git a/packages/server/package.json b/packages/server/package.json index a9ff46705e1..c8a29a7bd76 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -136,7 +136,7 @@ "@apollo/cache-control-types": "^1.0.3", "@apollo/server-gateway-interface": "^1.1.1", "@apollo/usage-reporting-protobuf": "^4.1.1", - "@apollo/utils.createhash": "^2.0.0", + "@apollo/utils.createhash": "^2.0.2", "@apollo/utils.fetcher": "^2.0.0", "@apollo/utils.isnodelike": "^2.0.0", "@apollo/utils.keyvaluecache": "^2.1.0",