@sveltejs/kit 1.0.0-next.381 → 1.0.0-next.384
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/assets/app/env.js +2 -17
- package/dist/chunks/index2.js +3 -4
- package/dist/chunks/multipart-parser.js +16 -3
- package/dist/cli.js +1 -1
- package/dist/node/polyfills.js +5571 -34
- package/dist/node.js +2 -5541
- package/dist/vite.js +18 -17
- package/package.json +2 -2
- package/types/ambient.d.ts +2 -19
- package/types/internal.d.ts +1 -0
- package/dist/chunks/_commonjsHelpers.js +0 -3
package/assets/app/env.js
CHANGED
|
@@ -5,24 +5,9 @@ export { prerendering } from '../env.js';
|
|
|
5
5
|
*/
|
|
6
6
|
const browser = !import.meta.env.SSR;
|
|
7
7
|
|
|
8
|
-
/**
|
|
9
|
-
* @type {import('$app/env').server}
|
|
10
|
-
*/
|
|
11
|
-
const server = !!import.meta.env.SSR;
|
|
12
|
-
|
|
13
8
|
/**
|
|
14
9
|
* @type {import('$app/env').dev}
|
|
15
10
|
*/
|
|
16
|
-
const dev =
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @type {import('$app/env').prod}
|
|
20
|
-
*/
|
|
21
|
-
const prod = !import.meta.env.DEV;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @type {import('$app/env').mode}
|
|
25
|
-
*/
|
|
26
|
-
const mode = import.meta.env.MODE;
|
|
11
|
+
const dev = __SVELTEKIT_DEV__;
|
|
27
12
|
|
|
28
|
-
export { browser, dev
|
|
13
|
+
export { browser, dev };
|
package/dist/chunks/index2.js
CHANGED
|
@@ -19,13 +19,9 @@ import 'perf_hooks';
|
|
|
19
19
|
import 'util/types';
|
|
20
20
|
import 'events';
|
|
21
21
|
import 'tls';
|
|
22
|
-
import './_commonjsHelpers.js';
|
|
23
22
|
import 'async_hooks';
|
|
24
23
|
import 'console';
|
|
25
24
|
import 'zlib';
|
|
26
|
-
import 'crypto';
|
|
27
|
-
import 'querystring';
|
|
28
|
-
import '../node.js';
|
|
29
25
|
import 'node:http';
|
|
30
26
|
import 'node:https';
|
|
31
27
|
import 'node:zlib';
|
|
@@ -36,6 +32,9 @@ import 'node:url';
|
|
|
36
32
|
import 'node:net';
|
|
37
33
|
import 'node:fs';
|
|
38
34
|
import 'node:path';
|
|
35
|
+
import 'crypto';
|
|
36
|
+
import 'querystring';
|
|
37
|
+
import '../node.js';
|
|
39
38
|
|
|
40
39
|
/**
|
|
41
40
|
* Creates the Builder which is passed to adapters for building the application.
|
|
@@ -1,16 +1,29 @@
|
|
|
1
1
|
import 'node:fs';
|
|
2
2
|
import 'node:path';
|
|
3
|
-
import { F as FormData, a as File } from '../node.js';
|
|
3
|
+
import { F as FormData, a as File } from '../node/polyfills.js';
|
|
4
|
+
import 'assert';
|
|
5
|
+
import 'net';
|
|
6
|
+
import 'http';
|
|
7
|
+
import 'stream';
|
|
8
|
+
import 'buffer';
|
|
9
|
+
import 'util';
|
|
10
|
+
import 'stream/web';
|
|
11
|
+
import 'perf_hooks';
|
|
12
|
+
import 'util/types';
|
|
13
|
+
import 'events';
|
|
14
|
+
import 'tls';
|
|
15
|
+
import 'async_hooks';
|
|
16
|
+
import 'console';
|
|
17
|
+
import 'zlib';
|
|
4
18
|
import 'node:http';
|
|
5
19
|
import 'node:https';
|
|
6
20
|
import 'node:zlib';
|
|
7
21
|
import 'node:stream';
|
|
8
22
|
import 'node:buffer';
|
|
9
23
|
import 'node:util';
|
|
10
|
-
import './_commonjsHelpers.js';
|
|
11
24
|
import 'node:url';
|
|
12
25
|
import 'node:net';
|
|
13
|
-
import '
|
|
26
|
+
import 'crypto';
|
|
14
27
|
|
|
15
28
|
let s = 0;
|
|
16
29
|
const S = {
|