Skip to content
Source
Sign inSign up
TanStack/router

fix(start-server-core): update to h3 v2.0.1-rc.2 #6159

Mergedbirkskyum(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/6159/headmerged by birkskyum(GitHub profile, opens in a new tab)

Showing 3 changed files with 3 additions and 2 deletions.

x
0 of 3 viewed, 3 left
2 additions and 1 deletionpackages/start-server-core/src/request-response.tsModified
View file
@@ -327,7 +327,8 @@
// not public API
export function getResponse() {
const event = getH3Event()
- return event._res
+ // @ts-expect-error accessing internal symbol
+ return event[Symbol.for('h3.internal.event.res')]
​
// not public API (yet)
1 addition and 1 deletionpackages/start-server-core/package.jsonModified
View file
@@ -79,7 +79,7 @@
"@tanstack/router-core": "workspace:*",
"@tanstack/start-client-core": "workspace:*",
"@tanstack/start-storage-context": "workspace:*",
- "h3-v2": "npm:h3@2.0.0-beta.5",
+ "h3-v2": "npm:h3@2.0.1-rc.2",
"seroval": "^1.4.1",
"tiny-invariant": "^1.3.3"
},