From 64349c72fe081b33118f4529051461e8259bd913 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Wed, 5 Jun 2024 10:43:28 -0400 Subject: [PATCH 1/2] Update turbo-stream to latest --- .changeset/strange-chefs-think.md | 6 ++++++ packages/remix-react/package.json | 2 +- packages/remix-server-runtime/package.json | 2 +- pnpm-lock.yaml | 12 ++++++------ 4 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 .changeset/strange-chefs-think.md diff --git a/.changeset/strange-chefs-think.md b/.changeset/strange-chefs-think.md new file mode 100644 index 00000000000..201d8f4eec0 --- /dev/null +++ b/.changeset/strange-chefs-think.md @@ -0,0 +1,6 @@ +--- +"@remix-run/react": patch +"@remix-run/server-runtime": patch +--- + +Update to `turbo-stream@2.2.0` for single fetch diff --git a/packages/remix-react/package.json b/packages/remix-react/package.json index f207dcf4489..f6d134743fb 100644 --- a/packages/remix-react/package.json +++ b/packages/remix-react/package.json @@ -23,7 +23,7 @@ "@remix-run/server-runtime": "workspace:*", "react-router": "6.23.1", "react-router-dom": "6.23.1", - "turbo-stream": "^2.0.0" + "turbo-stream": "^2.2.0" }, "devDependencies": { "@remix-run/node": "workspace:*", diff --git a/packages/remix-server-runtime/package.json b/packages/remix-server-runtime/package.json index 580bd00ef07..7ef1e16ba3b 100644 --- a/packages/remix-server-runtime/package.json +++ b/packages/remix-server-runtime/package.json @@ -25,7 +25,7 @@ "cookie": "^0.6.0", "set-cookie-parser": "^2.4.8", "source-map": "^0.7.3", - "turbo-stream": "^2.0.0" + "turbo-stream": "^2.2.0" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 143c3d8debc..f8f408d4736 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1226,8 +1226,8 @@ importers: specifier: 6.23.1 version: 6.23.1(react-dom@18.2.0)(react@18.2.0) turbo-stream: - specifier: ^2.0.0 - version: 2.0.0 + specifier: ^2.2.0 + version: 2.2.0 devDependencies: '@remix-run/node': specifier: workspace:* @@ -1318,8 +1318,8 @@ importers: specifier: ^0.7.3 version: 0.7.3 turbo-stream: - specifier: ^2.0.0 - version: 2.0.0 + specifier: ^2.2.0 + version: 2.2.0 devDependencies: '@types/set-cookie-parser': specifier: ^2.4.1 @@ -14308,8 +14308,8 @@ packages: safe-buffer: 5.2.1 dev: false - /turbo-stream@2.0.0: - resolution: {integrity: sha512-h0dfgRJAoiEh2hdFCoEuOSApsUfnw87gmNuziVS/mYycuBSCTeqpdanypMlHci6CvZibF7b9kvSpbeC7/r2/KA==} + /turbo-stream@2.2.0: + resolution: {integrity: sha512-FKFg7A0To1VU4CH9YmSMON5QphK0BXjSoiC7D9yMh+mEEbXLUP9qJ4hEt1qcjKtzncs1OpcnjZO8NgrlVbZH+g==} dev: false /tweetnacl@0.14.5: From 72169dd1783bb2a712fbf3a7271f749c82d8dfc8 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Thu, 13 Jun 2024 15:42:53 -0400 Subject: [PATCH 2/2] Pin turbo stream version --- packages/remix-react/package.json | 2 +- packages/remix-server-runtime/package.json | 2 +- pnpm-lock.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/remix-react/package.json b/packages/remix-react/package.json index f6d134743fb..b3a66870687 100644 --- a/packages/remix-react/package.json +++ b/packages/remix-react/package.json @@ -23,7 +23,7 @@ "@remix-run/server-runtime": "workspace:*", "react-router": "6.23.1", "react-router-dom": "6.23.1", - "turbo-stream": "^2.2.0" + "turbo-stream": "2.2.0" }, "devDependencies": { "@remix-run/node": "workspace:*", diff --git a/packages/remix-server-runtime/package.json b/packages/remix-server-runtime/package.json index 7ef1e16ba3b..0b99a3709a3 100644 --- a/packages/remix-server-runtime/package.json +++ b/packages/remix-server-runtime/package.json @@ -25,7 +25,7 @@ "cookie": "^0.6.0", "set-cookie-parser": "^2.4.8", "source-map": "^0.7.3", - "turbo-stream": "^2.2.0" + "turbo-stream": "2.2.0" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f8f408d4736..e7dbd55b34b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1226,7 +1226,7 @@ importers: specifier: 6.23.1 version: 6.23.1(react-dom@18.2.0)(react@18.2.0) turbo-stream: - specifier: ^2.2.0 + specifier: 2.2.0 version: 2.2.0 devDependencies: '@remix-run/node': @@ -1318,7 +1318,7 @@ importers: specifier: ^0.7.3 version: 0.7.3 turbo-stream: - specifier: ^2.2.0 + specifier: 2.2.0 version: 2.2.0 devDependencies: '@types/set-cookie-parser':