Skip to content

Commit 2ed721a

Browse files
authored
Merge pull request #939 from redwoodjs/pp-limit-request-info-to-server-only
Limit the requestInfo to server-only. #635
2 parents 2c29cf4 + 03afe42 commit 2ed721a

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

pnpm-lock.yaml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@
182182
"puppeteer-core": "~24.22.0",
183183
"react-is": "~19.1.0",
184184
"rsc-html-stream": "~0.0.6",
185+
"server-only": "^0.0.1",
185186
"tmp-promise": "~3.0.3",
186187
"ts-morph": "~27.0.0",
187188
"unique-names-generator": "~4.7.1",

sdk/src/runtime/entries/worker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import "server-only";
12
import "./types/worker";
23
export * from "../error";
34
export * from "../lib/types";

0 commit comments

Comments
 (0)