@sveltejs/kit 2.5.16 → 2.5.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/runtime/server/fetch.js +1 -2
- package/src/version.js +1 -1
package/package.json
CHANGED
|
@@ -123,7 +123,6 @@ export function create_fetch({ event, options, manifest, state, get_cookie_heade
|
|
|
123
123
|
);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
/** @type {Response} */
|
|
127
126
|
const response = await respond(request, options, manifest, {
|
|
128
127
|
...state,
|
|
129
128
|
depth: state.depth + 1
|
|
@@ -153,7 +152,7 @@ export function create_fetch({ event, options, manifest, state, get_cookie_heade
|
|
|
153
152
|
};
|
|
154
153
|
|
|
155
154
|
// Don't make this function `async`! Otherwise, the user has to `catch` promises they use for streaming responses or else
|
|
156
|
-
// it will be an unhandled rejection. Instead, we add a `.catch(() => {})` ourselves below to this from happening.
|
|
155
|
+
// it will be an unhandled rejection. Instead, we add a `.catch(() => {})` ourselves below to prevent this from happening.
|
|
157
156
|
return (input, init) => {
|
|
158
157
|
// See docs in fetch.js for why we need to do this
|
|
159
158
|
const response = server_fetch(input, init);
|
package/src/version.js
CHANGED