Commit d0836e6
docs: fix migration guide signatures and cookie JSDoc
MIGRATION.md:
- noContent(event) → noContent() — event arg removed in v2
- redirect(event, location, code) → redirect(location, code)
- iterable(event, value) → iterable(value)
- getRequestPath → event.url.pathname (not deprecated event.path)
- getMethod → event.req.method (not deprecated event.method)
- Add deprecation note for event.path, event.method, event.headers, event.node
src/utils/cookie.ts:
- getChunkedCookie JSDoc example used wrong function name getCookie
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 10bc7ce commit d0836e6
2 files changed
+14
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
141 | 149 | | |
142 | 150 | | |
143 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments