@quilted/quilt 0.5.47 → 0.5.51
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/build/cjs/App.cjs +7 -2
- package/build/cjs/index.cjs +19 -0
- package/build/cjs/server/http-handler.cjs +3 -22
- package/build/esm/App.mjs +7 -2
- package/build/esm/index.mjs +1 -0
- package/build/esm/server/http-handler.mjs +3 -22
- package/build/esnext/App.esnext +7 -2
- package/build/esnext/index.esnext +1 -0
- package/build/esnext/server/http-handler.esnext +3 -22
- package/build/tsconfig.tsbuildinfo +170 -34
- package/build/typescript/App.d.ts +3 -1
- package/build/typescript/App.d.ts.map +1 -1
- package/build/typescript/index.d.ts +2 -0
- package/build/typescript/index.d.ts.map +1 -1
- package/build/typescript/server/http-handler.d.ts.map +1 -1
- package/package.json +17 -16
- package/src/App.tsx +8 -2
- package/src/index.ts +10 -0
- package/src/server/http-handler.tsx +4 -16
- package/tsconfig.json +1 -0
package/build/cjs/App.cjs
CHANGED
|
@@ -3,15 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var reactRouter = require('@quilted/react-router');
|
|
6
|
-
var reactGraphql = require('@quilted/react-graphql');
|
|
7
6
|
var reactHttp = require('@quilted/react-http');
|
|
7
|
+
var reactGraphql = require('@quilted/react-graphql');
|
|
8
8
|
var reactHtml = require('@quilted/react-html');
|
|
9
|
+
var reactPerformance = require('@quilted/react-performance');
|
|
9
10
|
var react = require('./utilities/react.cjs');
|
|
10
11
|
var jsxRuntime = require('react/jsx-runtime');
|
|
11
12
|
|
|
12
13
|
function App({
|
|
13
14
|
children,
|
|
14
15
|
graphql,
|
|
16
|
+
performance,
|
|
15
17
|
routerState,
|
|
16
18
|
routerPrefix,
|
|
17
19
|
urlIsExternal
|
|
@@ -24,7 +26,10 @@ function App({
|
|
|
24
26
|
state: routerState,
|
|
25
27
|
prefix: routerPrefix,
|
|
26
28
|
isExternal: urlIsExternal,
|
|
27
|
-
children:
|
|
29
|
+
children: /*#__PURE__*/jsxRuntime.jsx(reactPerformance.PerformanceContext, {
|
|
30
|
+
performance: performance,
|
|
31
|
+
children: children
|
|
32
|
+
})
|
|
28
33
|
}))
|
|
29
34
|
});
|
|
30
35
|
}
|
package/build/cjs/index.cjs
CHANGED
|
@@ -7,6 +7,7 @@ var reactAsync = require('@quilted/react-async');
|
|
|
7
7
|
var reactGraphql = require('@quilted/react-graphql');
|
|
8
8
|
var reactIdle = require('@quilted/react-idle');
|
|
9
9
|
var reactServerRender = require('@quilted/react-server-render');
|
|
10
|
+
var reactPerformance = require('@quilted/react-performance');
|
|
10
11
|
var reactRouter = require('@quilted/react-router');
|
|
11
12
|
var reactWorkers = require('@quilted/react-workers');
|
|
12
13
|
var reactHttp = require('@quilted/react-http');
|
|
@@ -98,6 +99,24 @@ Object.defineProperty(exports, 'useServerAction', {
|
|
|
98
99
|
return reactServerRender.useServerAction;
|
|
99
100
|
}
|
|
100
101
|
});
|
|
102
|
+
Object.defineProperty(exports, 'PerformanceContext', {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () {
|
|
105
|
+
return reactPerformance.PerformanceContext;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, 'usePerformance', {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () {
|
|
111
|
+
return reactPerformance.usePerformance;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, 'usePerformanceNavigation', {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () {
|
|
117
|
+
return reactPerformance.usePerformanceNavigation;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
101
120
|
Object.defineProperty(exports, 'Link', {
|
|
102
121
|
enumerable: true,
|
|
103
122
|
get: function () {
|
|
@@ -22,25 +22,15 @@ function createServerRenderingRequestHandler(App, {
|
|
|
22
22
|
});
|
|
23
23
|
const {
|
|
24
24
|
headers,
|
|
25
|
-
cookies,
|
|
26
25
|
statusCode = 200,
|
|
27
26
|
redirectUrl
|
|
28
27
|
} = http.state;
|
|
29
28
|
|
|
30
29
|
if (redirectUrl) {
|
|
31
|
-
|
|
30
|
+
return httpHandlers.redirect(redirectUrl, {
|
|
32
31
|
status: statusCode,
|
|
33
32
|
headers
|
|
34
33
|
});
|
|
35
|
-
|
|
36
|
-
for (const [name, {
|
|
37
|
-
value,
|
|
38
|
-
...options
|
|
39
|
-
}] of cookies.records()) {
|
|
40
|
-
response.cookies.set(name, value, options);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
return response;
|
|
44
34
|
}
|
|
45
35
|
|
|
46
36
|
const usedAssets = asyncAssets.used({
|
|
@@ -60,25 +50,16 @@ function createServerRenderingRequestHandler(App, {
|
|
|
60
50
|
}), {
|
|
61
51
|
options: assetOptions
|
|
62
52
|
})]);
|
|
63
|
-
|
|
53
|
+
return httpHandlers.html(server.render( /*#__PURE__*/jsxRuntime.jsx(server.Html, {
|
|
64
54
|
manager: htmlManager,
|
|
65
55
|
styles: styles,
|
|
66
56
|
scripts: scripts,
|
|
67
57
|
preloadAssets: preload,
|
|
68
58
|
children: markup
|
|
69
59
|
})), {
|
|
70
|
-
headers
|
|
60
|
+
headers,
|
|
71
61
|
status: statusCode
|
|
72
62
|
});
|
|
73
|
-
|
|
74
|
-
for (const [name, {
|
|
75
|
-
value,
|
|
76
|
-
...options
|
|
77
|
-
}] of cookies.records()) {
|
|
78
|
-
response.cookies.set(name, value, options);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
return response;
|
|
82
63
|
};
|
|
83
64
|
}
|
|
84
65
|
function createServerRenderingHttpHandler(App, {
|
package/build/esm/App.mjs
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { useInitialUrl, Router } from '@quilted/react-router';
|
|
2
|
-
import { GraphQLContext } from '@quilted/react-graphql';
|
|
3
2
|
import { HttpContext } from '@quilted/react-http';
|
|
3
|
+
import { GraphQLContext } from '@quilted/react-graphql';
|
|
4
4
|
import { useHtmlUpdater } from '@quilted/react-html';
|
|
5
|
+
import { PerformanceContext } from '@quilted/react-performance';
|
|
5
6
|
import { maybeWrapContext } from './utilities/react.mjs';
|
|
6
7
|
import { jsx } from 'react/jsx-runtime';
|
|
7
8
|
|
|
8
9
|
function App({
|
|
9
10
|
children,
|
|
10
11
|
graphql,
|
|
12
|
+
performance,
|
|
11
13
|
routerState,
|
|
12
14
|
routerPrefix,
|
|
13
15
|
urlIsExternal
|
|
@@ -20,7 +22,10 @@ function App({
|
|
|
20
22
|
state: routerState,
|
|
21
23
|
prefix: routerPrefix,
|
|
22
24
|
isExternal: urlIsExternal,
|
|
23
|
-
children:
|
|
25
|
+
children: /*#__PURE__*/jsx(PerformanceContext, {
|
|
26
|
+
performance: performance,
|
|
27
|
+
children: children
|
|
28
|
+
})
|
|
24
29
|
}))
|
|
25
30
|
});
|
|
26
31
|
}
|
package/build/esm/index.mjs
CHANGED
|
@@ -3,6 +3,7 @@ export { createAsyncComponent, useAsync, useAsyncAsset, usePreload } from '@quil
|
|
|
3
3
|
export { GraphQLContext, createGraphQL, createHttpFetch, useGraphQL, useMutation, useQuery } from '@quilted/react-graphql';
|
|
4
4
|
export { useIdleCallback } from '@quilted/react-idle';
|
|
5
5
|
export { ServerAction, useServerAction } from '@quilted/react-server-render';
|
|
6
|
+
export { PerformanceContext, usePerformance, usePerformanceNavigation } from '@quilted/react-performance';
|
|
6
7
|
export { Link, NavigationBlock, Preloader, Redirect, Router, useCurrentUrl, useInitialUrl, useMatch, useNavigate, useNavigationBlock, useRedirect, useRouteChangeFocusRef, useRouter, useRoutes, useScrollRestoration } from '@quilted/react-router';
|
|
7
8
|
export { createCallableWorker, createWorker, useWorker } from '@quilted/react-workers';
|
|
8
9
|
export { useCookie, useCookies } from '@quilted/react-http';
|
|
@@ -18,25 +18,15 @@ function createServerRenderingRequestHandler(App, {
|
|
|
18
18
|
});
|
|
19
19
|
const {
|
|
20
20
|
headers,
|
|
21
|
-
cookies,
|
|
22
21
|
statusCode = 200,
|
|
23
22
|
redirectUrl
|
|
24
23
|
} = http.state;
|
|
25
24
|
|
|
26
25
|
if (redirectUrl) {
|
|
27
|
-
|
|
26
|
+
return redirect(redirectUrl, {
|
|
28
27
|
status: statusCode,
|
|
29
28
|
headers
|
|
30
29
|
});
|
|
31
|
-
|
|
32
|
-
for (const [name, {
|
|
33
|
-
value,
|
|
34
|
-
...options
|
|
35
|
-
}] of cookies.records()) {
|
|
36
|
-
response.cookies.set(name, value, options);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
return response;
|
|
40
30
|
}
|
|
41
31
|
|
|
42
32
|
const usedAssets = asyncAssets.used({
|
|
@@ -56,25 +46,16 @@ function createServerRenderingRequestHandler(App, {
|
|
|
56
46
|
}), {
|
|
57
47
|
options: assetOptions
|
|
58
48
|
})]);
|
|
59
|
-
|
|
49
|
+
return html(render( /*#__PURE__*/jsx(Html, {
|
|
60
50
|
manager: htmlManager,
|
|
61
51
|
styles: styles,
|
|
62
52
|
scripts: scripts,
|
|
63
53
|
preloadAssets: preload,
|
|
64
54
|
children: markup
|
|
65
55
|
})), {
|
|
66
|
-
headers
|
|
56
|
+
headers,
|
|
67
57
|
status: statusCode
|
|
68
58
|
});
|
|
69
|
-
|
|
70
|
-
for (const [name, {
|
|
71
|
-
value,
|
|
72
|
-
...options
|
|
73
|
-
}] of cookies.records()) {
|
|
74
|
-
response.cookies.set(name, value, options);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return response;
|
|
78
59
|
};
|
|
79
60
|
}
|
|
80
61
|
function createServerRenderingHttpHandler(App, {
|
package/build/esnext/App.esnext
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { useInitialUrl, Router } from '@quilted/react-router';
|
|
2
|
-
import { GraphQLContext } from '@quilted/react-graphql';
|
|
3
2
|
import { HttpContext } from '@quilted/react-http';
|
|
3
|
+
import { GraphQLContext } from '@quilted/react-graphql';
|
|
4
4
|
import { useHtmlUpdater } from '@quilted/react-html';
|
|
5
|
+
import { PerformanceContext } from '@quilted/react-performance';
|
|
5
6
|
import { maybeWrapContext } from './utilities/react.esnext';
|
|
6
7
|
import { jsx } from 'react/jsx-runtime';
|
|
7
8
|
|
|
8
9
|
function App({
|
|
9
10
|
children,
|
|
10
11
|
graphql,
|
|
12
|
+
performance,
|
|
11
13
|
routerState,
|
|
12
14
|
routerPrefix,
|
|
13
15
|
urlIsExternal
|
|
@@ -20,7 +22,10 @@ function App({
|
|
|
20
22
|
state: routerState,
|
|
21
23
|
prefix: routerPrefix,
|
|
22
24
|
isExternal: urlIsExternal,
|
|
23
|
-
children:
|
|
25
|
+
children: /*#__PURE__*/jsx(PerformanceContext, {
|
|
26
|
+
performance: performance,
|
|
27
|
+
children: children
|
|
28
|
+
})
|
|
24
29
|
}))
|
|
25
30
|
});
|
|
26
31
|
}
|
|
@@ -3,6 +3,7 @@ export { createAsyncComponent, useAsync, useAsyncAsset, usePreload } from '@quil
|
|
|
3
3
|
export { GraphQLContext, createGraphQL, createHttpFetch, useGraphQL, useMutation, useQuery } from '@quilted/react-graphql';
|
|
4
4
|
export { useIdleCallback } from '@quilted/react-idle';
|
|
5
5
|
export { ServerAction, useServerAction } from '@quilted/react-server-render';
|
|
6
|
+
export { PerformanceContext, usePerformance, usePerformanceNavigation } from '@quilted/react-performance';
|
|
6
7
|
export { Link, NavigationBlock, Preloader, Redirect, Router, useCurrentUrl, useInitialUrl, useMatch, useNavigate, useNavigationBlock, useRedirect, useRouteChangeFocusRef, useRouter, useRoutes, useScrollRestoration } from '@quilted/react-router';
|
|
7
8
|
export { createCallableWorker, createWorker, useWorker } from '@quilted/react-workers';
|
|
8
9
|
export { useCookie, useCookies } from '@quilted/react-http';
|
|
@@ -18,25 +18,15 @@ function createServerRenderingRequestHandler(App, {
|
|
|
18
18
|
});
|
|
19
19
|
const {
|
|
20
20
|
headers,
|
|
21
|
-
cookies,
|
|
22
21
|
statusCode = 200,
|
|
23
22
|
redirectUrl
|
|
24
23
|
} = http.state;
|
|
25
24
|
|
|
26
25
|
if (redirectUrl) {
|
|
27
|
-
|
|
26
|
+
return redirect(redirectUrl, {
|
|
28
27
|
status: statusCode,
|
|
29
28
|
headers
|
|
30
29
|
});
|
|
31
|
-
|
|
32
|
-
for (const [name, {
|
|
33
|
-
value,
|
|
34
|
-
...options
|
|
35
|
-
}] of cookies.records()) {
|
|
36
|
-
response.cookies.set(name, value, options);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
return response;
|
|
40
30
|
}
|
|
41
31
|
|
|
42
32
|
const usedAssets = asyncAssets.used({
|
|
@@ -56,25 +46,16 @@ function createServerRenderingRequestHandler(App, {
|
|
|
56
46
|
}), {
|
|
57
47
|
options: assetOptions
|
|
58
48
|
})]);
|
|
59
|
-
|
|
49
|
+
return html(render( /*#__PURE__*/jsx(Html, {
|
|
60
50
|
manager: htmlManager,
|
|
61
51
|
styles: styles,
|
|
62
52
|
scripts: scripts,
|
|
63
53
|
preloadAssets: preload,
|
|
64
54
|
children: markup
|
|
65
55
|
})), {
|
|
66
|
-
headers
|
|
56
|
+
headers,
|
|
67
57
|
status: statusCode
|
|
68
58
|
});
|
|
69
|
-
|
|
70
|
-
for (const [name, {
|
|
71
|
-
value,
|
|
72
|
-
...options
|
|
73
|
-
}] of cookies.records()) {
|
|
74
|
-
response.cookies.set(name, value, options);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return response;
|
|
78
59
|
};
|
|
79
60
|
}
|
|
80
61
|
function createServerRenderingHttpHandler(App, {
|
|
@@ -306,9 +306,14 @@
|
|
|
306
306
|
"signature": "1b38963302e00e5699e1f60ef8831893061669f200d533af9a204418bf10fb85",
|
|
307
307
|
"affectsGlobalScope": false
|
|
308
308
|
},
|
|
309
|
+
"../../http/build/typescript/cookies.d.ts": {
|
|
310
|
+
"version": "9758a93eb2e04be6326fbd5c8e9669980baf592a2e3a3de30447e6a6a7628510",
|
|
311
|
+
"signature": "9758a93eb2e04be6326fbd5c8e9669980baf592a2e3a3de30447e6a6a7628510",
|
|
312
|
+
"affectsGlobalScope": false
|
|
313
|
+
},
|
|
309
314
|
"../../http/build/typescript/headers.d.ts": {
|
|
310
|
-
"version": "
|
|
311
|
-
"signature": "
|
|
315
|
+
"version": "e767fbad42c49239078520097c0c412b70f6d0ca6f6802ba1f18d04745ef2773",
|
|
316
|
+
"signature": "e767fbad42c49239078520097c0c412b70f6d0ca6f6802ba1f18d04745ef2773",
|
|
312
317
|
"affectsGlobalScope": false
|
|
313
318
|
},
|
|
314
319
|
"../../http/build/typescript/method.d.ts": {
|
|
@@ -326,11 +331,6 @@
|
|
|
326
331
|
"signature": "4af1d9c3ef1d7c9299e58b87f441e284a2b30a433a334329b4e849e94f0d8405",
|
|
327
332
|
"affectsGlobalScope": false
|
|
328
333
|
},
|
|
329
|
-
"../../http/build/typescript/cookies.d.ts": {
|
|
330
|
-
"version": "66cc945734779a8fa587ec43160dc08fd4c7a0f695bd397ded1aa083dc010975",
|
|
331
|
-
"signature": "66cc945734779a8fa587ec43160dc08fd4c7a0f695bd397ded1aa083dc010975",
|
|
332
|
-
"affectsGlobalScope": false
|
|
333
|
-
},
|
|
334
334
|
"../../http/build/typescript/content-security-policy.d.ts": {
|
|
335
335
|
"version": "b1bee01e36203cb9d5c35f345bfaed736defc3b1393271350b77ae131b555aef",
|
|
336
336
|
"signature": "b1bee01e36203cb9d5c35f345bfaed736defc3b1393271350b77ae131b555aef",
|
|
@@ -342,13 +342,18 @@
|
|
|
342
342
|
"affectsGlobalScope": false
|
|
343
343
|
},
|
|
344
344
|
"../../http/build/typescript/index.d.ts": {
|
|
345
|
-
"version": "
|
|
346
|
-
"signature": "
|
|
345
|
+
"version": "aaf91e5ed62f772837f6fade2bf1d3b302a94e5f4968c2dd2da0e4d878eb7789",
|
|
346
|
+
"signature": "aaf91e5ed62f772837f6fade2bf1d3b302a94e5f4968c2dd2da0e4d878eb7789",
|
|
347
|
+
"affectsGlobalScope": false
|
|
348
|
+
},
|
|
349
|
+
"../../react-http/build/typescript/types.d.ts": {
|
|
350
|
+
"version": "c8b390dd6656b2440ce2ed32f0f7575aaad09f4dc81811256cfca2efd7c147bf",
|
|
351
|
+
"signature": "c8b390dd6656b2440ce2ed32f0f7575aaad09f4dc81811256cfca2efd7c147bf",
|
|
347
352
|
"affectsGlobalScope": false
|
|
348
353
|
},
|
|
349
354
|
"../../react-http/build/typescript/hooks/cookie.d.ts": {
|
|
350
|
-
"version": "
|
|
351
|
-
"signature": "
|
|
355
|
+
"version": "6799c0c57904cc60e0b0c97a11c50fccff34de72bea3f4bf8c349ad570ecb909",
|
|
356
|
+
"signature": "6799c0c57904cc60e0b0c97a11c50fccff34de72bea3f4bf8c349ad570ecb909",
|
|
352
357
|
"affectsGlobalScope": false
|
|
353
358
|
},
|
|
354
359
|
"../../react-http/build/typescript/hooks/cache-control.d.ts": {
|
|
@@ -412,8 +417,8 @@
|
|
|
412
417
|
"affectsGlobalScope": false
|
|
413
418
|
},
|
|
414
419
|
"../../react-http/build/typescript/manager.d.ts": {
|
|
415
|
-
"version": "
|
|
416
|
-
"signature": "
|
|
420
|
+
"version": "0697ef11e00f65672588344f73774b6c01d9f4d0f2c74a46bebc46f7c6d1edbe",
|
|
421
|
+
"signature": "0697ef11e00f65672588344f73774b6c01d9f4d0f2c74a46bebc46f7c6d1edbe",
|
|
417
422
|
"affectsGlobalScope": false
|
|
418
423
|
},
|
|
419
424
|
"../../react-http/build/typescript/hooks/http-action.d.ts": {
|
|
@@ -1386,14 +1391,39 @@
|
|
|
1386
1391
|
"signature": "b399b06684a2a236942417d5a9141813176f4a0480a624ffdfb2d3613b060c8f",
|
|
1387
1392
|
"affectsGlobalScope": false
|
|
1388
1393
|
},
|
|
1394
|
+
"../../performance/build/typescript/performance.d.ts": {
|
|
1395
|
+
"version": "54fad834333c7a6b4ce870fa499299ac74494599325eed6a4db2be9b0925920c",
|
|
1396
|
+
"signature": "54fad834333c7a6b4ce870fa499299ac74494599325eed6a4db2be9b0925920c",
|
|
1397
|
+
"affectsGlobalScope": false
|
|
1398
|
+
},
|
|
1399
|
+
"../../performance/build/typescript/index.d.ts": {
|
|
1400
|
+
"version": "c8f61fd0854b226ec18f9efa87ec7f0c8843882cf193ad57e8e820a447c5ffb7",
|
|
1401
|
+
"signature": "c8f61fd0854b226ec18f9efa87ec7f0c8843882cf193ad57e8e820a447c5ffb7",
|
|
1402
|
+
"affectsGlobalScope": false
|
|
1403
|
+
},
|
|
1404
|
+
"../../react-performance/build/typescript/hooks.d.ts": {
|
|
1405
|
+
"version": "bc3f221e9d96b0df37273f45c147eca36d9d19922bd5f333a4a1f82959042d92",
|
|
1406
|
+
"signature": "bc3f221e9d96b0df37273f45c147eca36d9d19922bd5f333a4a1f82959042d92",
|
|
1407
|
+
"affectsGlobalScope": false
|
|
1408
|
+
},
|
|
1409
|
+
"../../react-performance/build/typescript/PerformanceContext.d.ts": {
|
|
1410
|
+
"version": "e63f0a1b32d47ef70e82163c80937fe40d8f66e0aa1adfb51c5ed5dc386de91d",
|
|
1411
|
+
"signature": "e63f0a1b32d47ef70e82163c80937fe40d8f66e0aa1adfb51c5ed5dc386de91d",
|
|
1412
|
+
"affectsGlobalScope": false
|
|
1413
|
+
},
|
|
1414
|
+
"../../react-performance/build/typescript/index.d.ts": {
|
|
1415
|
+
"version": "f0f59a7eef9e81869df039d1ab51b11077458460fd2e6aabd8da455f9f7e2765",
|
|
1416
|
+
"signature": "f0f59a7eef9e81869df039d1ab51b11077458460fd2e6aabd8da455f9f7e2765",
|
|
1417
|
+
"affectsGlobalScope": false
|
|
1418
|
+
},
|
|
1389
1419
|
"../src/utilities/react.tsx": {
|
|
1390
1420
|
"version": "97116b2ef6ebc0bf2867fc20c50decaffa31fee8868c29c5138364492c10fc78",
|
|
1391
1421
|
"signature": "5130d403a2284ab721f368a2f06df2104eaf7fa31f27b35175fece4f442a4956",
|
|
1392
1422
|
"affectsGlobalScope": false
|
|
1393
1423
|
},
|
|
1394
1424
|
"../src/App.tsx": {
|
|
1395
|
-
"version": "
|
|
1396
|
-
"signature": "
|
|
1425
|
+
"version": "08136a3616839f861dcea8352e616deb4e17cf9e35af6a1526653500de278063",
|
|
1426
|
+
"signature": "d39ab316200681024d289eec9f464face98107848b1109a1ac196d0f31846d33",
|
|
1397
1427
|
"affectsGlobalScope": false
|
|
1398
1428
|
},
|
|
1399
1429
|
"../../react-email/build/typescript/types.d.ts": {
|
|
@@ -1587,8 +1617,8 @@
|
|
|
1587
1617
|
"affectsGlobalScope": false
|
|
1588
1618
|
},
|
|
1589
1619
|
"../src/index.ts": {
|
|
1590
|
-
"version": "
|
|
1591
|
-
"signature": "
|
|
1620
|
+
"version": "4e6071b1cc3da38b9043f6ca05e21d0611963a331904fa588e474091ccacf6fe",
|
|
1621
|
+
"signature": "512d70e3e11e66c67acdee3c40bb8e7d0387fe6e97bf5c998e8e3419bed120e1",
|
|
1592
1622
|
"affectsGlobalScope": false
|
|
1593
1623
|
},
|
|
1594
1624
|
"../../react-testing/build/typescript/types.d.ts": {
|
|
@@ -1727,8 +1757,8 @@
|
|
|
1727
1757
|
"affectsGlobalScope": false
|
|
1728
1758
|
},
|
|
1729
1759
|
"../../react-http/build/typescript/context.d.ts": {
|
|
1730
|
-
"version": "
|
|
1731
|
-
"signature": "
|
|
1760
|
+
"version": "f899eb7c30f7b237aeb1a0ff8ac75ba5ba96033b6c465400b9002513bed5fd86",
|
|
1761
|
+
"signature": "f899eb7c30f7b237aeb1a0ff8ac75ba5ba96033b6c465400b9002513bed5fd86",
|
|
1732
1762
|
"affectsGlobalScope": false
|
|
1733
1763
|
},
|
|
1734
1764
|
"../../react-http/build/typescript/server.d.ts": {
|
|
@@ -1752,8 +1782,8 @@
|
|
|
1752
1782
|
"affectsGlobalScope": false
|
|
1753
1783
|
},
|
|
1754
1784
|
"../../http-handlers/build/typescript/types.d.ts": {
|
|
1755
|
-
"version": "
|
|
1756
|
-
"signature": "
|
|
1785
|
+
"version": "8c0ce0cee0db52ef79c2b1e7fecc74d3b9f0b0ba310f5765ebd0e877b5bc4a07",
|
|
1786
|
+
"signature": "8c0ce0cee0db52ef79c2b1e7fecc74d3b9f0b0ba310f5765ebd0e877b5bc4a07",
|
|
1757
1787
|
"affectsGlobalScope": false
|
|
1758
1788
|
},
|
|
1759
1789
|
"../../http-handlers/build/typescript/http-handler.d.ts": {
|
|
@@ -1762,8 +1792,8 @@
|
|
|
1762
1792
|
"affectsGlobalScope": false
|
|
1763
1793
|
},
|
|
1764
1794
|
"../../http-handlers/build/typescript/response.d.ts": {
|
|
1765
|
-
"version": "
|
|
1766
|
-
"signature": "
|
|
1795
|
+
"version": "b70f0e0411b6bb7ca3d6e3d9ba165ea2adfc86004878eb021885dcbfa6378bea",
|
|
1796
|
+
"signature": "b70f0e0411b6bb7ca3d6e3d9ba165ea2adfc86004878eb021885dcbfa6378bea",
|
|
1767
1797
|
"affectsGlobalScope": false
|
|
1768
1798
|
},
|
|
1769
1799
|
"../../http-handlers/build/typescript/fetch.d.ts": {
|
|
@@ -1771,9 +1801,14 @@
|
|
|
1771
1801
|
"signature": "d646d08c0599484911468e44cf3bb72107fefde75266f224dfcc7d4ea9095309",
|
|
1772
1802
|
"affectsGlobalScope": false
|
|
1773
1803
|
},
|
|
1804
|
+
"../../http-handlers/build/typescript/cookies.d.ts": {
|
|
1805
|
+
"version": "7a72c3a32e728f2b46c4673557b8fb9fea63ed72ae25d3ee7fd96d116d6d0764",
|
|
1806
|
+
"signature": "7a72c3a32e728f2b46c4673557b8fb9fea63ed72ae25d3ee7fd96d116d6d0764",
|
|
1807
|
+
"affectsGlobalScope": false
|
|
1808
|
+
},
|
|
1774
1809
|
"../../http-handlers/build/typescript/index.d.ts": {
|
|
1775
|
-
"version": "
|
|
1776
|
-
"signature": "
|
|
1810
|
+
"version": "3fb0576bd3c432a84a90e176b20d3c2cae5b05ba47d3e35b1831846b16780ecd",
|
|
1811
|
+
"signature": "3fb0576bd3c432a84a90e176b20d3c2cae5b05ba47d3e35b1831846b16780ecd",
|
|
1777
1812
|
"affectsGlobalScope": false
|
|
1778
1813
|
},
|
|
1779
1814
|
"../../react-server-render/build/typescript/manager.d.ts": {
|
|
@@ -1797,7 +1832,7 @@
|
|
|
1797
1832
|
"affectsGlobalScope": false
|
|
1798
1833
|
},
|
|
1799
1834
|
"../src/server/http-handler.tsx": {
|
|
1800
|
-
"version": "
|
|
1835
|
+
"version": "b7139111dafaa7fcc7853b41981c821c97d6a81f4129ef298be8fc36cf57ea8c",
|
|
1801
1836
|
"signature": "dc5c88d8037a2a5a5f369f71f96ccd9d8fcdcddb3a10df8b942991d478b59d41",
|
|
1802
1837
|
"affectsGlobalScope": false
|
|
1803
1838
|
},
|
|
@@ -2372,13 +2407,13 @@
|
|
|
2372
2407
|
"affectsGlobalScope": false
|
|
2373
2408
|
},
|
|
2374
2409
|
"../../../node_modules/@types/estree/index.d.ts": {
|
|
2375
|
-
"version": "
|
|
2376
|
-
"signature": "
|
|
2410
|
+
"version": "89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b",
|
|
2411
|
+
"signature": "89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b",
|
|
2377
2412
|
"affectsGlobalScope": false
|
|
2378
2413
|
},
|
|
2379
2414
|
"../../../node_modules/@types/fs-extra/index.d.ts": {
|
|
2380
|
-
"version": "
|
|
2381
|
-
"signature": "
|
|
2415
|
+
"version": "ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae",
|
|
2416
|
+
"signature": "ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae",
|
|
2382
2417
|
"affectsGlobalScope": false
|
|
2383
2418
|
},
|
|
2384
2419
|
"../../../node_modules/@types/minimatch/index.d.ts": {
|
|
@@ -2721,6 +2756,16 @@
|
|
|
2721
2756
|
"signature": "03d2e70c34640b553ed580286eb234835695ea1e473d837a4ced672648d453cd",
|
|
2722
2757
|
"affectsGlobalScope": false
|
|
2723
2758
|
},
|
|
2759
|
+
"../../../node_modules/@types/send/node_modules/@types/mime/index.d.ts": {
|
|
2760
|
+
"version": "84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86",
|
|
2761
|
+
"signature": "84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86",
|
|
2762
|
+
"affectsGlobalScope": false
|
|
2763
|
+
},
|
|
2764
|
+
"../../../node_modules/@types/send/index.d.ts": {
|
|
2765
|
+
"version": "aad5ffa61406b8e19524738fcf0e6fda8b3485bba98626268fdf252d1b2b630a",
|
|
2766
|
+
"signature": "aad5ffa61406b8e19524738fcf0e6fda8b3485bba98626268fdf252d1b2b630a",
|
|
2767
|
+
"affectsGlobalScope": false
|
|
2768
|
+
},
|
|
2724
2769
|
"../../../node_modules/@types/stack-utils/index.d.ts": {
|
|
2725
2770
|
"version": "c6c4fea9acc55d5e38ff2b70d57ab0b5cdbd08f8bc5d7a226e322cea128c5b57",
|
|
2726
2771
|
"signature": "c6c4fea9acc55d5e38ff2b70d57ab0b5cdbd08f8bc5d7a226e322cea128c5b57",
|
|
@@ -2740,6 +2785,11 @@
|
|
|
2740
2785
|
"version": "1db6491f25ced62f23f06d1f3700a790df0971726acb33669bbf4a8de2f769a9",
|
|
2741
2786
|
"signature": "1db6491f25ced62f23f06d1f3700a790df0971726acb33669bbf4a8de2f769a9",
|
|
2742
2787
|
"affectsGlobalScope": false
|
|
2788
|
+
},
|
|
2789
|
+
"../../../node_modules/@types/yauzl/index.d.ts": {
|
|
2790
|
+
"version": "b2d70a269840a9528db473ac7565442434333a05c1f66801a7a672e82beb903e",
|
|
2791
|
+
"signature": "b2d70a269840a9528db473ac7565442434333a05c1f66801a7a672e82beb903e",
|
|
2792
|
+
"affectsGlobalScope": false
|
|
2743
2793
|
}
|
|
2744
2794
|
},
|
|
2745
2795
|
"options": {
|
|
@@ -3479,6 +3529,12 @@
|
|
|
3479
3529
|
"../../../node_modules/@types/semver/classes/range.d.ts",
|
|
3480
3530
|
"../../../node_modules/@types/semver/index.d.ts"
|
|
3481
3531
|
],
|
|
3532
|
+
"../../../node_modules/@types/send/index.d.ts": [
|
|
3533
|
+
"../../../node_modules/@types/node/fs.d.ts",
|
|
3534
|
+
"../../../node_modules/@types/node/index.d.ts",
|
|
3535
|
+
"../../../node_modules/@types/node/stream.d.ts",
|
|
3536
|
+
"../../../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
3537
|
+
],
|
|
3482
3538
|
"../../../node_modules/@types/websocket/index.d.ts": [
|
|
3483
3539
|
"../../../node_modules/@types/node/events.d.ts",
|
|
3484
3540
|
"../../../node_modules/@types/node/http.d.ts",
|
|
@@ -3490,6 +3546,11 @@
|
|
|
3490
3546
|
"../../../node_modules/@types/yargs/index.d.ts": [
|
|
3491
3547
|
"../../../node_modules/@types/yargs-parser/index.d.ts"
|
|
3492
3548
|
],
|
|
3549
|
+
"../../../node_modules/@types/yauzl/index.d.ts": [
|
|
3550
|
+
"../../../node_modules/@types/node/events.d.ts",
|
|
3551
|
+
"../../../node_modules/@types/node/index.d.ts",
|
|
3552
|
+
"../../../node_modules/@types/node/stream.d.ts"
|
|
3553
|
+
],
|
|
3493
3554
|
"../../../node_modules/form-data/index.d.ts": [
|
|
3494
3555
|
"../../../node_modules/@types/node/http.d.ts",
|
|
3495
3556
|
"../../../node_modules/@types/node/index.d.ts",
|
|
@@ -4026,6 +4087,10 @@
|
|
|
4026
4087
|
"../../graphql/build/typescript/utilities/cache.d.ts": [
|
|
4027
4088
|
"../../graphql/build/typescript/types.d.ts"
|
|
4028
4089
|
],
|
|
4090
|
+
"../../http-handlers/build/typescript/cookies.d.ts": [
|
|
4091
|
+
"../../http-handlers/build/typescript/types.d.ts",
|
|
4092
|
+
"../../http/build/typescript/index.d.ts"
|
|
4093
|
+
],
|
|
4029
4094
|
"../../http-handlers/build/typescript/fetch.d.ts": [
|
|
4030
4095
|
"../../routing/build/typescript/index.d.ts"
|
|
4031
4096
|
],
|
|
@@ -4034,6 +4099,7 @@
|
|
|
4034
4099
|
"../../routing/build/typescript/index.d.ts"
|
|
4035
4100
|
],
|
|
4036
4101
|
"../../http-handlers/build/typescript/index.d.ts": [
|
|
4102
|
+
"../../http-handlers/build/typescript/cookies.d.ts",
|
|
4037
4103
|
"../../http-handlers/build/typescript/fetch.d.ts",
|
|
4038
4104
|
"../../http-handlers/build/typescript/http-handler.d.ts",
|
|
4039
4105
|
"../../http-handlers/build/typescript/response.d.ts",
|
|
@@ -4057,11 +4123,15 @@
|
|
|
4057
4123
|
"../../http/build/typescript/response-type.d.ts",
|
|
4058
4124
|
"../../http/build/typescript/status-code.d.ts"
|
|
4059
4125
|
],
|
|
4126
|
+
"../../performance/build/typescript/index.d.ts": [
|
|
4127
|
+
"../../performance/build/typescript/performance.d.ts"
|
|
4128
|
+
],
|
|
4060
4129
|
"../src/App.tsx": [
|
|
4061
4130
|
"../../../node_modules/@types/react/index.d.ts",
|
|
4062
4131
|
"../../react-graphql/build/typescript/index.d.ts",
|
|
4063
4132
|
"../../react-html/build/typescript/index.d.ts",
|
|
4064
4133
|
"../../react-http/build/typescript/index.d.ts",
|
|
4134
|
+
"../../react-performance/build/typescript/index.d.ts",
|
|
4065
4135
|
"../../react-router/build/typescript/index.d.ts",
|
|
4066
4136
|
"../src/utilities/react.tsx"
|
|
4067
4137
|
],
|
|
@@ -4083,6 +4153,7 @@
|
|
|
4083
4153
|
"../../react-graphql/build/typescript/index.d.ts",
|
|
4084
4154
|
"../../react-http/build/typescript/index.d.ts",
|
|
4085
4155
|
"../../react-idle/build/typescript/index.d.ts",
|
|
4156
|
+
"../../react-performance/build/typescript/index.d.ts",
|
|
4086
4157
|
"../../react-router/build/typescript/index.d.ts",
|
|
4087
4158
|
"../../react-server-render/build/typescript/index.d.ts",
|
|
4088
4159
|
"../../react-workers/build/typescript/index.d.ts",
|
|
@@ -4437,13 +4508,14 @@
|
|
|
4437
4508
|
"../../react-http/build/typescript/context.d.ts": [
|
|
4438
4509
|
"../../../node_modules/@types/react/index.d.ts",
|
|
4439
4510
|
"../../http/build/typescript/index.d.ts",
|
|
4440
|
-
"../../react-http/build/typescript/manager.d.ts"
|
|
4511
|
+
"../../react-http/build/typescript/manager.d.ts",
|
|
4512
|
+
"../../react-http/build/typescript/types.d.ts"
|
|
4441
4513
|
],
|
|
4442
4514
|
"../../react-http/build/typescript/hooks/content-security-policy.d.ts": [
|
|
4443
4515
|
"../../http/build/typescript/index.d.ts"
|
|
4444
4516
|
],
|
|
4445
4517
|
"../../react-http/build/typescript/hooks/cookie.d.ts": [
|
|
4446
|
-
"../../http/build/typescript/
|
|
4518
|
+
"../../react-http/build/typescript/types.d.ts"
|
|
4447
4519
|
],
|
|
4448
4520
|
"../../react-http/build/typescript/hooks/http-action.d.ts": [
|
|
4449
4521
|
"../../react-http/build/typescript/manager.d.ts"
|
|
@@ -4480,6 +4552,7 @@
|
|
|
4480
4552
|
],
|
|
4481
4553
|
"../../react-http/build/typescript/manager.d.ts": [
|
|
4482
4554
|
"../../http/build/typescript/index.d.ts",
|
|
4555
|
+
"../../react-http/build/typescript/types.d.ts",
|
|
4483
4556
|
"../../react-server-render/build/typescript/index.d.ts"
|
|
4484
4557
|
],
|
|
4485
4558
|
"../../react-http/build/typescript/server.d.ts": [
|
|
@@ -4487,9 +4560,24 @@
|
|
|
4487
4560
|
"../../react-http/build/typescript/context.d.ts",
|
|
4488
4561
|
"../../react-http/build/typescript/manager.d.ts"
|
|
4489
4562
|
],
|
|
4563
|
+
"../../react-http/build/typescript/types.d.ts": [
|
|
4564
|
+
"../../http/build/typescript/index.d.ts"
|
|
4565
|
+
],
|
|
4490
4566
|
"../../react-idle/build/typescript/index.d.ts": [
|
|
4491
4567
|
"../../react-idle/build/typescript/hooks.d.ts"
|
|
4492
4568
|
],
|
|
4569
|
+
"../../react-performance/build/typescript/PerformanceContext.d.ts": [
|
|
4570
|
+
"../../../node_modules/@types/react/index.d.ts",
|
|
4571
|
+
"../../performance/build/typescript/index.d.ts"
|
|
4572
|
+
],
|
|
4573
|
+
"../../react-performance/build/typescript/hooks.d.ts": [
|
|
4574
|
+
"../../performance/build/typescript/index.d.ts"
|
|
4575
|
+
],
|
|
4576
|
+
"../../react-performance/build/typescript/index.d.ts": [
|
|
4577
|
+
"../../performance/build/typescript/index.d.ts",
|
|
4578
|
+
"../../react-performance/build/typescript/PerformanceContext.d.ts",
|
|
4579
|
+
"../../react-performance/build/typescript/hooks.d.ts"
|
|
4580
|
+
],
|
|
4493
4581
|
"../../react-router/build/typescript/components/FocusContext/FocusContext.d.ts": [
|
|
4494
4582
|
"../../../node_modules/@types/react/index.d.ts"
|
|
4495
4583
|
],
|
|
@@ -5415,6 +5503,12 @@
|
|
|
5415
5503
|
"../../../node_modules/@types/semver/classes/range.d.ts",
|
|
5416
5504
|
"../../../node_modules/@types/semver/index.d.ts"
|
|
5417
5505
|
],
|
|
5506
|
+
"../../../node_modules/@types/send/index.d.ts": [
|
|
5507
|
+
"../../../node_modules/@types/node/fs.d.ts",
|
|
5508
|
+
"../../../node_modules/@types/node/index.d.ts",
|
|
5509
|
+
"../../../node_modules/@types/node/stream.d.ts",
|
|
5510
|
+
"../../../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
5511
|
+
],
|
|
5418
5512
|
"../../../node_modules/@types/websocket/index.d.ts": [
|
|
5419
5513
|
"../../../node_modules/@types/node/events.d.ts",
|
|
5420
5514
|
"../../../node_modules/@types/node/http.d.ts",
|
|
@@ -5426,6 +5520,11 @@
|
|
|
5426
5520
|
"../../../node_modules/@types/yargs/index.d.ts": [
|
|
5427
5521
|
"../../../node_modules/@types/yargs-parser/index.d.ts"
|
|
5428
5522
|
],
|
|
5523
|
+
"../../../node_modules/@types/yauzl/index.d.ts": [
|
|
5524
|
+
"../../../node_modules/@types/node/events.d.ts",
|
|
5525
|
+
"../../../node_modules/@types/node/index.d.ts",
|
|
5526
|
+
"../../../node_modules/@types/node/stream.d.ts"
|
|
5527
|
+
],
|
|
5429
5528
|
"../../../node_modules/form-data/index.d.ts": [
|
|
5430
5529
|
"../../../node_modules/@types/node/http.d.ts",
|
|
5431
5530
|
"../../../node_modules/@types/node/index.d.ts",
|
|
@@ -5962,6 +6061,10 @@
|
|
|
5962
6061
|
"../../graphql/build/typescript/utilities/cache.d.ts": [
|
|
5963
6062
|
"../../graphql/build/typescript/types.d.ts"
|
|
5964
6063
|
],
|
|
6064
|
+
"../../http-handlers/build/typescript/cookies.d.ts": [
|
|
6065
|
+
"../../http-handlers/build/typescript/types.d.ts",
|
|
6066
|
+
"../../http/build/typescript/index.d.ts"
|
|
6067
|
+
],
|
|
5965
6068
|
"../../http-handlers/build/typescript/fetch.d.ts": [
|
|
5966
6069
|
"../../routing/build/typescript/index.d.ts"
|
|
5967
6070
|
],
|
|
@@ -5970,6 +6073,7 @@
|
|
|
5970
6073
|
"../../routing/build/typescript/index.d.ts"
|
|
5971
6074
|
],
|
|
5972
6075
|
"../../http-handlers/build/typescript/index.d.ts": [
|
|
6076
|
+
"../../http-handlers/build/typescript/cookies.d.ts",
|
|
5973
6077
|
"../../http-handlers/build/typescript/fetch.d.ts",
|
|
5974
6078
|
"../../http-handlers/build/typescript/http-handler.d.ts",
|
|
5975
6079
|
"../../http-handlers/build/typescript/response.d.ts",
|
|
@@ -5993,9 +6097,13 @@
|
|
|
5993
6097
|
"../../http/build/typescript/response-type.d.ts",
|
|
5994
6098
|
"../../http/build/typescript/status-code.d.ts"
|
|
5995
6099
|
],
|
|
6100
|
+
"../../performance/build/typescript/index.d.ts": [
|
|
6101
|
+
"../../performance/build/typescript/performance.d.ts"
|
|
6102
|
+
],
|
|
5996
6103
|
"../src/App.tsx": [
|
|
5997
6104
|
"../../../node_modules/@types/react/index.d.ts",
|
|
5998
6105
|
"../../react-graphql/build/typescript/index.d.ts",
|
|
6106
|
+
"../../react-performance/build/typescript/index.d.ts",
|
|
5999
6107
|
"../../react-router/build/typescript/index.d.ts"
|
|
6000
6108
|
],
|
|
6001
6109
|
"../src/email.ts": [
|
|
@@ -6013,6 +6121,7 @@
|
|
|
6013
6121
|
"../../react-graphql/build/typescript/index.d.ts",
|
|
6014
6122
|
"../../react-http/build/typescript/index.d.ts",
|
|
6015
6123
|
"../../react-idle/build/typescript/index.d.ts",
|
|
6124
|
+
"../../react-performance/build/typescript/index.d.ts",
|
|
6016
6125
|
"../../react-router/build/typescript/index.d.ts",
|
|
6017
6126
|
"../../react-server-render/build/typescript/index.d.ts",
|
|
6018
6127
|
"../../react-workers/build/typescript/index.d.ts",
|
|
@@ -6354,13 +6463,14 @@
|
|
|
6354
6463
|
"../../react-http/build/typescript/context.d.ts": [
|
|
6355
6464
|
"../../../node_modules/@types/react/index.d.ts",
|
|
6356
6465
|
"../../http/build/typescript/index.d.ts",
|
|
6357
|
-
"../../react-http/build/typescript/manager.d.ts"
|
|
6466
|
+
"../../react-http/build/typescript/manager.d.ts",
|
|
6467
|
+
"../../react-http/build/typescript/types.d.ts"
|
|
6358
6468
|
],
|
|
6359
6469
|
"../../react-http/build/typescript/hooks/content-security-policy.d.ts": [
|
|
6360
6470
|
"../../http/build/typescript/index.d.ts"
|
|
6361
6471
|
],
|
|
6362
6472
|
"../../react-http/build/typescript/hooks/cookie.d.ts": [
|
|
6363
|
-
"../../http/build/typescript/
|
|
6473
|
+
"../../react-http/build/typescript/types.d.ts"
|
|
6364
6474
|
],
|
|
6365
6475
|
"../../react-http/build/typescript/hooks/http-action.d.ts": [
|
|
6366
6476
|
"../../react-http/build/typescript/manager.d.ts"
|
|
@@ -6397,6 +6507,7 @@
|
|
|
6397
6507
|
],
|
|
6398
6508
|
"../../react-http/build/typescript/manager.d.ts": [
|
|
6399
6509
|
"../../http/build/typescript/index.d.ts",
|
|
6510
|
+
"../../react-http/build/typescript/types.d.ts",
|
|
6400
6511
|
"../../react-server-render/build/typescript/index.d.ts"
|
|
6401
6512
|
],
|
|
6402
6513
|
"../../react-http/build/typescript/server.d.ts": [
|
|
@@ -6404,9 +6515,24 @@
|
|
|
6404
6515
|
"../../react-http/build/typescript/context.d.ts",
|
|
6405
6516
|
"../../react-http/build/typescript/manager.d.ts"
|
|
6406
6517
|
],
|
|
6518
|
+
"../../react-http/build/typescript/types.d.ts": [
|
|
6519
|
+
"../../http/build/typescript/index.d.ts"
|
|
6520
|
+
],
|
|
6407
6521
|
"../../react-idle/build/typescript/index.d.ts": [
|
|
6408
6522
|
"../../react-idle/build/typescript/hooks.d.ts"
|
|
6409
6523
|
],
|
|
6524
|
+
"../../react-performance/build/typescript/PerformanceContext.d.ts": [
|
|
6525
|
+
"../../../node_modules/@types/react/index.d.ts",
|
|
6526
|
+
"../../performance/build/typescript/index.d.ts"
|
|
6527
|
+
],
|
|
6528
|
+
"../../react-performance/build/typescript/hooks.d.ts": [
|
|
6529
|
+
"../../performance/build/typescript/index.d.ts"
|
|
6530
|
+
],
|
|
6531
|
+
"../../react-performance/build/typescript/index.d.ts": [
|
|
6532
|
+
"../../performance/build/typescript/index.d.ts",
|
|
6533
|
+
"../../react-performance/build/typescript/PerformanceContext.d.ts",
|
|
6534
|
+
"../../react-performance/build/typescript/hooks.d.ts"
|
|
6535
|
+
],
|
|
6410
6536
|
"../../react-router/build/typescript/components/FocusContext/FocusContext.d.ts": [
|
|
6411
6537
|
"../../../node_modules/@types/react/index.d.ts"
|
|
6412
6538
|
],
|
|
@@ -6815,10 +6941,13 @@
|
|
|
6815
6941
|
"../../../node_modules/@types/semver/ranges/subset.d.ts",
|
|
6816
6942
|
"../../../node_modules/@types/semver/ranges/to-comparators.d.ts",
|
|
6817
6943
|
"../../../node_modules/@types/semver/ranges/valid.d.ts",
|
|
6944
|
+
"../../../node_modules/@types/send/index.d.ts",
|
|
6945
|
+
"../../../node_modules/@types/send/node_modules/@types/mime/index.d.ts",
|
|
6818
6946
|
"../../../node_modules/@types/stack-utils/index.d.ts",
|
|
6819
6947
|
"../../../node_modules/@types/websocket/index.d.ts",
|
|
6820
6948
|
"../../../node_modules/@types/yargs-parser/index.d.ts",
|
|
6821
6949
|
"../../../node_modules/@types/yargs/index.d.ts",
|
|
6950
|
+
"../../../node_modules/@types/yauzl/index.d.ts",
|
|
6822
6951
|
"../../../node_modules/csstype/index.d.ts",
|
|
6823
6952
|
"../../../node_modules/form-data/index.d.ts",
|
|
6824
6953
|
"../../../node_modules/graphql/error/GraphQLError.d.ts",
|
|
@@ -6983,6 +7112,7 @@
|
|
|
6983
7112
|
"../../graphql/build/typescript/matchers/index.d.ts",
|
|
6984
7113
|
"../../graphql/build/typescript/types.d.ts",
|
|
6985
7114
|
"../../graphql/build/typescript/utilities/cache.d.ts",
|
|
7115
|
+
"../../http-handlers/build/typescript/cookies.d.ts",
|
|
6986
7116
|
"../../http-handlers/build/typescript/fetch.d.ts",
|
|
6987
7117
|
"../../http-handlers/build/typescript/http-handler.d.ts",
|
|
6988
7118
|
"../../http-handlers/build/typescript/index.d.ts",
|
|
@@ -6996,6 +7126,8 @@
|
|
|
6996
7126
|
"../../http/build/typescript/permissions-policy.d.ts",
|
|
6997
7127
|
"../../http/build/typescript/response-type.d.ts",
|
|
6998
7128
|
"../../http/build/typescript/status-code.d.ts",
|
|
7129
|
+
"../../performance/build/typescript/index.d.ts",
|
|
7130
|
+
"../../performance/build/typescript/performance.d.ts",
|
|
6999
7131
|
"../src/App.tsx",
|
|
7000
7132
|
"../src/email.ts",
|
|
7001
7133
|
"../src/global.ts",
|
|
@@ -7111,8 +7243,12 @@
|
|
|
7111
7243
|
"../../react-http/build/typescript/index.d.ts",
|
|
7112
7244
|
"../../react-http/build/typescript/manager.d.ts",
|
|
7113
7245
|
"../../react-http/build/typescript/server.d.ts",
|
|
7246
|
+
"../../react-http/build/typescript/types.d.ts",
|
|
7114
7247
|
"../../react-idle/build/typescript/hooks.d.ts",
|
|
7115
7248
|
"../../react-idle/build/typescript/index.d.ts",
|
|
7249
|
+
"../../react-performance/build/typescript/PerformanceContext.d.ts",
|
|
7250
|
+
"../../react-performance/build/typescript/hooks.d.ts",
|
|
7251
|
+
"../../react-performance/build/typescript/index.d.ts",
|
|
7116
7252
|
"../../react-router/build/typescript/components/FocusContext/FocusContext.d.ts",
|
|
7117
7253
|
"../../react-router/build/typescript/components/FocusContext/index.d.ts",
|
|
7118
7254
|
"../../react-router/build/typescript/components/Link/Link.d.ts",
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import type { PropsWithChildren, ComponentProps } from 'react';
|
|
2
2
|
import { Router } from '@quilted/react-router';
|
|
3
3
|
import type { GraphQL } from '@quilted/react-graphql';
|
|
4
|
+
import type { Performance } from '@quilted/react-performance';
|
|
4
5
|
declare type RouterProps = ComponentProps<typeof Router>;
|
|
5
6
|
interface Props {
|
|
6
7
|
graphql?: GraphQL;
|
|
8
|
+
performance?: Performance;
|
|
7
9
|
routerState?: RouterProps['state'];
|
|
8
10
|
routerPrefix?: RouterProps['prefix'];
|
|
9
11
|
urlIsExternal?: RouterProps['isExternal'];
|
|
10
12
|
}
|
|
11
|
-
export declare function App({ children, graphql, routerState, routerPrefix, urlIsExternal, }: PropsWithChildren<Props>): JSX.Element;
|
|
13
|
+
export declare function App({ children, graphql, performance, routerState, routerPrefix, urlIsExternal, }: PropsWithChildren<Props>): JSX.Element;
|
|
12
14
|
export {};
|
|
13
15
|
//# sourceMappingURL=App.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAC,MAAM,EAAgB,MAAM,uBAAuB,CAAC;AAG5D,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAC,MAAM,EAAgB,MAAM,uBAAuB,CAAC;AAG5D,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,wBAAwB,CAAC;AAGpD,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAI5D,aAAK,WAAW,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAEjD,UAAU,KAAK;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACnC,YAAY,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IACrC,aAAa,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;CAC3C;AAED,wBAAgB,GAAG,CAAC,EAClB,QAAQ,EACR,OAAO,EACP,WAAW,EACX,WAAW,EACX,YAAY,EACZ,aAAa,GACd,EAAE,iBAAiB,CAAC,KAAK,CAAC,eAuB1B"}
|
|
@@ -5,6 +5,8 @@ export { GraphQLContext, createGraphQL, createHttpFetch, useQuery, useGraphQL, u
|
|
|
5
5
|
export type { GraphQLData, GraphQLVariables, GraphQLRequest, GraphQLRequestContext, GraphQLOperation, GraphQLOperationType, GraphQLDeepPartialData, HttpFetchContext, HttpFetchOptions, PickGraphQLType, VariableOptions, QueryOptions, MutationOptions, IfAllVariablesOptional, } from '@quilted/react-graphql';
|
|
6
6
|
export { useIdleCallback } from '@quilted/react-idle';
|
|
7
7
|
export { ServerAction, useServerAction } from '@quilted/react-server-render';
|
|
8
|
+
export { PerformanceContext, usePerformance, usePerformanceNavigation, } from '@quilted/react-performance';
|
|
9
|
+
export type { Performance, PerformanceNavigation, PerformanceInflightNavigation, } from '@quilted/react-performance';
|
|
8
10
|
export { Link, Redirect, Router, Preloader, NavigationBlock, useCurrentUrl, useInitialUrl, useRouter, useRoutes, useMatch, useNavigate, useRedirect, useNavigationBlock, useScrollRestoration, useRouteChangeFocusRef, } from '@quilted/react-router';
|
|
9
11
|
export type { NavigateTo, RouteDefinition } from '@quilted/react-router';
|
|
10
12
|
export { useWorker, createWorker, createCallableWorker, } from '@quilted/react-workers';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AACjD,YAAY,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,aAAa,EACb,eAAe,EACf,QAAQ,EACR,UAAU,EACV,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,eAAe,EACf,sBAAsB,GACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,YAAY,EAAE,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,SAAS,EACT,eAAe,EACf,aAAa,EACb,aAAa,EACb,SAAS,EACT,SAAS,EACT,QAAQ,EACR,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAC,UAAU,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AACvE,OAAO,EACL,SAAS,EACT,YAAY,EACZ,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AACjD,YAAY,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,aAAa,EACb,eAAe,EACf,QAAQ,EACR,UAAU,EACV,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,eAAe,EACf,sBAAsB,GACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,YAAY,EAAE,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,WAAW,EACX,qBAAqB,EACrB,6BAA6B,GAC9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,SAAS,EACT,eAAe,EACf,aAAa,EACb,aAAa,EACb,SAAS,EACT,SAAS,EACT,QAAQ,EACR,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAC,UAAU,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AACvE,OAAO,EACL,SAAS,EACT,YAAY,EACZ,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-handler.d.ts","sourceRoot":"","sources":["../../../src/server/http-handler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAIvD,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACd,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAIhC,MAAM,WAAW,OAAQ,SAAQ,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC;IACjE,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,wBAAgB,mCAAmC,CACjD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,EACvB,EAAC,MAAM,EAAC,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,GAChC,cAAc,
|
|
1
|
+
{"version":3,"file":"http-handler.d.ts","sourceRoot":"","sources":["../../../src/server/http-handler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAIvD,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACd,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAIhC,MAAM,WAAW,OAAQ,SAAQ,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC;IACjE,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,wBAAgB,mCAAmC,CACjD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,EACvB,EAAC,MAAM,EAAC,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,GAChC,cAAc,CAiDhB;AAED,wBAAgB,gCAAgC,CAC9C,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,EACvB,EAAC,MAAM,EAAE,MAAM,EAAE,OAAqC,EAAC,EAAE,OAAO,eAIjE"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quilted/quilt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.51",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/lemonmade/quilt.git",
|
|
@@ -105,20 +105,21 @@
|
|
|
105
105
|
],
|
|
106
106
|
"dependencies": {
|
|
107
107
|
"@quilted/async": "^0.3.12",
|
|
108
|
-
"@quilted/graphql": "^0.4.
|
|
109
|
-
"@quilted/http-handlers": "^0.2.
|
|
110
|
-
"@quilted/polyfills": "^0.2.
|
|
111
|
-
"@quilted/preact-mini-compat": "^0.2.
|
|
112
|
-
"@quilted/react-async": "^0.3.
|
|
113
|
-
"@quilted/react-email": "^0.2.
|
|
114
|
-
"@quilted/react-graphql": "^0.4.
|
|
115
|
-
"@quilted/react-html": "^0.3.
|
|
116
|
-
"@quilted/react-http": "^0.3.
|
|
117
|
-
"@quilted/react-idle": "^0.3.
|
|
118
|
-
"@quilted/react-
|
|
119
|
-
"@quilted/react-
|
|
120
|
-
"@quilted/react-
|
|
121
|
-
"@quilted/react-
|
|
108
|
+
"@quilted/graphql": "^0.4.11",
|
|
109
|
+
"@quilted/http-handlers": "^0.2.17",
|
|
110
|
+
"@quilted/polyfills": "^0.2.12",
|
|
111
|
+
"@quilted/preact-mini-compat": "^0.2.7",
|
|
112
|
+
"@quilted/react-async": "^0.3.22",
|
|
113
|
+
"@quilted/react-email": "^0.2.18",
|
|
114
|
+
"@quilted/react-graphql": "^0.4.27",
|
|
115
|
+
"@quilted/react-html": "^0.3.18",
|
|
116
|
+
"@quilted/react-http": "^0.3.7",
|
|
117
|
+
"@quilted/react-idle": "^0.3.6",
|
|
118
|
+
"@quilted/react-performance": "^0.1.0",
|
|
119
|
+
"@quilted/react-router": "^0.3.27",
|
|
120
|
+
"@quilted/react-server-render": "^0.3.7",
|
|
121
|
+
"@quilted/react-testing": "^0.5.1",
|
|
122
|
+
"@quilted/react-workers": "^0.2.12",
|
|
122
123
|
"@types/react": "^17.0.0",
|
|
123
124
|
"@types/react-dom": "^17.0.0",
|
|
124
125
|
"preact": "^10.0.0",
|
|
@@ -153,5 +154,5 @@
|
|
|
153
154
|
"@quilted/eslint-config/package"
|
|
154
155
|
]
|
|
155
156
|
},
|
|
156
|
-
"gitHead": "
|
|
157
|
+
"gitHead": "6aa14a9da4f201c6e8d5209f7da02ca482291dfa"
|
|
157
158
|
}
|
package/src/App.tsx
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type {PropsWithChildren, ComponentProps} from 'react';
|
|
2
2
|
|
|
3
3
|
import {Router, useInitialUrl} from '@quilted/react-router';
|
|
4
|
-
import {GraphQLContext} from '@quilted/react-graphql';
|
|
5
4
|
import {HttpContext} from '@quilted/react-http';
|
|
5
|
+
import {GraphQLContext} from '@quilted/react-graphql';
|
|
6
6
|
import type {GraphQL} from '@quilted/react-graphql';
|
|
7
7
|
import {useHtmlUpdater} from '@quilted/react-html';
|
|
8
|
+
import {PerformanceContext} from '@quilted/react-performance';
|
|
9
|
+
import type {Performance} from '@quilted/react-performance';
|
|
8
10
|
|
|
9
11
|
import {maybeWrapContext} from './utilities/react';
|
|
10
12
|
|
|
@@ -12,6 +14,7 @@ type RouterProps = ComponentProps<typeof Router>;
|
|
|
12
14
|
|
|
13
15
|
interface Props {
|
|
14
16
|
graphql?: GraphQL;
|
|
17
|
+
performance?: Performance;
|
|
15
18
|
routerState?: RouterProps['state'];
|
|
16
19
|
routerPrefix?: RouterProps['prefix'];
|
|
17
20
|
urlIsExternal?: RouterProps['isExternal'];
|
|
@@ -20,6 +23,7 @@ interface Props {
|
|
|
20
23
|
export function App({
|
|
21
24
|
children,
|
|
22
25
|
graphql,
|
|
26
|
+
performance,
|
|
23
27
|
routerState,
|
|
24
28
|
routerPrefix,
|
|
25
29
|
urlIsExternal,
|
|
@@ -39,7 +43,9 @@ export function App({
|
|
|
39
43
|
prefix={routerPrefix}
|
|
40
44
|
isExternal={urlIsExternal}
|
|
41
45
|
>
|
|
42
|
-
{
|
|
46
|
+
<PerformanceContext performance={performance}>
|
|
47
|
+
{children}
|
|
48
|
+
</PerformanceContext>
|
|
43
49
|
</Router>,
|
|
44
50
|
)}
|
|
45
51
|
</HttpContext>
|
package/src/index.ts
CHANGED
|
@@ -32,6 +32,16 @@ export type {
|
|
|
32
32
|
} from '@quilted/react-graphql';
|
|
33
33
|
export {useIdleCallback} from '@quilted/react-idle';
|
|
34
34
|
export {ServerAction, useServerAction} from '@quilted/react-server-render';
|
|
35
|
+
export {
|
|
36
|
+
PerformanceContext,
|
|
37
|
+
usePerformance,
|
|
38
|
+
usePerformanceNavigation,
|
|
39
|
+
} from '@quilted/react-performance';
|
|
40
|
+
export type {
|
|
41
|
+
Performance,
|
|
42
|
+
PerformanceNavigation,
|
|
43
|
+
PerformanceInflightNavigation,
|
|
44
|
+
} from '@quilted/react-performance';
|
|
35
45
|
export {
|
|
36
46
|
Link,
|
|
37
47
|
Redirect,
|
|
@@ -32,19 +32,13 @@ export function createServerRenderingRequestHandler(
|
|
|
32
32
|
headers: request.headers,
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
const {headers,
|
|
35
|
+
const {headers, statusCode = 200, redirectUrl} = http.state;
|
|
36
36
|
|
|
37
37
|
if (redirectUrl) {
|
|
38
|
-
|
|
38
|
+
return redirect(redirectUrl, {
|
|
39
39
|
status: statusCode as 301,
|
|
40
40
|
headers,
|
|
41
41
|
});
|
|
42
|
-
|
|
43
|
-
for (const [name, {value, ...options}] of cookies.records()) {
|
|
44
|
-
response.cookies.set(name, value, options);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
return response;
|
|
48
42
|
}
|
|
49
43
|
|
|
50
44
|
const usedAssets = asyncAssets.used({timing: 'load'});
|
|
@@ -58,7 +52,7 @@ export function createServerRenderingRequestHandler(
|
|
|
58
52
|
}),
|
|
59
53
|
]);
|
|
60
54
|
|
|
61
|
-
|
|
55
|
+
return html(
|
|
62
56
|
render(
|
|
63
57
|
<Html
|
|
64
58
|
manager={htmlManager}
|
|
@@ -70,16 +64,10 @@ export function createServerRenderingRequestHandler(
|
|
|
70
64
|
</Html>,
|
|
71
65
|
),
|
|
72
66
|
{
|
|
73
|
-
headers
|
|
67
|
+
headers,
|
|
74
68
|
status: statusCode,
|
|
75
69
|
},
|
|
76
70
|
);
|
|
77
|
-
|
|
78
|
-
for (const [name, {value, ...options}] of cookies.records()) {
|
|
79
|
-
response.cookies.set(name, value, options);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
return response;
|
|
83
71
|
};
|
|
84
72
|
}
|
|
85
73
|
|