@sveltejs/kit 1.0.0-next.344 → 1.0.0-next.347

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": "1.0.0-next.344",
3
+ "version": "1.0.0-next.347",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -10,27 +10,42 @@
10
10
  "homepage": "https://kit.svelte.dev",
11
11
  "type": "module",
12
12
  "dependencies": {
13
- "@sveltejs/vite-plugin-svelte": "^1.0.0-next.44",
13
+ "@sveltejs/vite-plugin-svelte": "^1.0.0-next.46",
14
14
  "chokidar": "^3.5.3",
15
- "sade": "^1.7.4",
15
+ "sade": "^1.8.1",
16
16
  "vite": "^2.9.9"
17
17
  },
18
18
  "devDependencies": {
19
+ "@playwright/test": "^1.22.2",
20
+ "@rollup/plugin-replace": "^4.0.0",
19
21
  "@types/connect": "^3.4.35",
20
- "@types/cookie": "^0.5.0",
21
- "@types/marked": "^4.0.1",
22
+ "@types/cookie": "^0.5.1",
23
+ "@types/marked": "^4.0.3",
22
24
  "@types/mime": "^2.0.3",
23
- "@types/sade": "^1.7.3",
25
+ "@types/node": "^16.11.36",
26
+ "@types/sade": "^1.7.4",
24
27
  "@types/set-cookie-parser": "^2.4.2",
25
28
  "cookie": "^0.5.0",
29
+ "cross-env": "^7.0.3",
26
30
  "devalue": "^2.0.1",
31
+ "eslint": "^8.16.0",
27
32
  "kleur": "^4.1.4",
28
33
  "locate-character": "^2.0.5",
34
+ "marked": "^4.0.16",
29
35
  "mime": "^3.0.0",
30
- "node-fetch": "^3.1.0",
31
- "selfsigned": "^2.0.0",
36
+ "node-fetch": "^3.2.4",
37
+ "port-authority": "^1.2.0",
38
+ "rollup": "^2.75.3",
39
+ "selfsigned": "^2.0.1",
32
40
  "set-cookie-parser": "^2.4.8",
33
- "svelte": "^3.48.0"
41
+ "sirv": "^2.0.2",
42
+ "svelte": "^3.48.0",
43
+ "svelte-check": "^2.7.1",
44
+ "svelte-preprocess": "^4.10.6",
45
+ "svelte2tsx": "~0.5.10",
46
+ "tiny-glob": "^0.2.9",
47
+ "typescript": "^4.7.2",
48
+ "uvu": "^0.5.3"
34
49
  },
35
50
  "peerDependencies": {
36
51
  "svelte": "^3.44.0"
@@ -226,6 +226,8 @@ export interface SSREndpoint {
226
226
 
227
227
  export interface SSRNode {
228
228
  module: SSRComponent;
229
+ /** index into the `components` array in client-manifest.js */
230
+ index: number;
229
231
  /** client-side module URL for this component */
230
232
  entry: string;
231
233
  /** external CSS files */
@@ -27,8 +27,8 @@ export interface AdapterEntry {
27
27
  }
28
28
 
29
29
  export type BodyValidator<T> = {
30
- [P in keyof T]: T[P] extends { [k: string]: infer V }
31
- ? BodyValidator<V> // recurse when T[P] is an object
30
+ [P in keyof T]: T[P] extends { [k: string]: unknown }
31
+ ? BodyValidator<T[P]> // recurse when T[P] is an object
32
32
  : T[P] extends BigInt | Function | Symbol
33
33
  ? never
34
34
  : T[P];