@sveltejs/kit 2.43.3 → 2.43.4
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 +1 -1
- package/src/runtime/server/index.js +3 -3
- package/src/version.js +1 -1
package/package.json
CHANGED
|
@@ -13,6 +13,9 @@ import { set_app } from './app.js';
|
|
|
13
13
|
/** @type {Promise<any>} */
|
|
14
14
|
let init_promise;
|
|
15
15
|
|
|
16
|
+
/** @type {Promise<void> | null} */
|
|
17
|
+
let current = null;
|
|
18
|
+
|
|
16
19
|
export class Server {
|
|
17
20
|
/** @type {import('types').SSROptions} */
|
|
18
21
|
#options;
|
|
@@ -31,9 +34,6 @@ export class Server {
|
|
|
31
34
|
if (IN_WEBCONTAINER) {
|
|
32
35
|
const respond = this.respond.bind(this);
|
|
33
36
|
|
|
34
|
-
/** @type {Promise<void> | null} */
|
|
35
|
-
let current = null;
|
|
36
|
-
|
|
37
37
|
/** @type {typeof respond} */
|
|
38
38
|
this.respond = async (...args) => {
|
|
39
39
|
const { promise, resolve } = /** @type {PromiseWithResolvers<void>} */ (with_resolvers());
|
package/src/version.js
CHANGED