@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "2.43.3",
3
+ "version": "2.43.4",
4
4
  "description": "SvelteKit is the fastest way to build Svelte apps",
5
5
  "keywords": [
6
6
  "framework",
@@ -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
@@ -1,4 +1,4 @@
1
1
  // generated during release, do not modify
2
2
 
3
3
  /** @type {string} */
4
- export const VERSION = '2.43.3';
4
+ export const VERSION = '2.43.4';