@trpc/server 11.0.0-alpha-tmp-app-router-example.388 → 11.0.0-alpha-tmp-issues-5851-take-two.451
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/dist/@trpc/server/http.d.ts +1 -2
- package/dist/@trpc/server/http.d.ts.map +1 -1
- package/dist/@trpc/server/index.d.ts +1 -1
- package/dist/@trpc/server/index.d.ts.map +1 -1
- package/dist/@trpc/server/rpc.d.ts +1 -1
- package/dist/@trpc/server/rpc.d.ts.map +1 -1
- package/dist/adapters/aws-lambda/getPlanner.d.ts.map +1 -1
- package/dist/adapters/aws-lambda/getPlanner.js +19 -2
- package/dist/adapters/aws-lambda/getPlanner.mjs +19 -2
- package/dist/adapters/next-app-dir/nextAppDirCaller.d.ts.map +1 -1
- package/dist/adapters/next-app-dir/nextAppDirCaller.js +1 -1
- package/dist/adapters/next-app-dir/nextAppDirCaller.mjs +1 -1
- package/dist/adapters/next-app-dir/redirect.d.ts.map +1 -1
- package/dist/adapters/next.js +1 -1
- package/dist/adapters/next.mjs +1 -1
- package/dist/adapters/node-http/incomingMessageToRequest.d.ts +0 -1
- package/dist/adapters/node-http/incomingMessageToRequest.d.ts.map +1 -1
- package/dist/adapters/node-http/incomingMessageToRequest.js +3 -1
- package/dist/adapters/node-http/incomingMessageToRequest.mjs +3 -1
- package/dist/adapters/node-http/nodeHTTPRequestHandler.d.ts.map +1 -1
- package/dist/adapters/node-http/nodeHTTPRequestHandler.js +30 -7
- package/dist/adapters/node-http/nodeHTTPRequestHandler.mjs +30 -7
- package/dist/adapters/node-http/types.d.ts +0 -1
- package/dist/adapters/node-http/types.d.ts.map +1 -1
- package/dist/adapters/standalone.d.ts +0 -1
- package/dist/adapters/standalone.d.ts.map +1 -1
- package/dist/adapters/ws.d.ts +3 -4
- package/dist/adapters/ws.d.ts.map +1 -1
- package/dist/adapters/ws.js +172 -114
- package/dist/adapters/ws.mjs +172 -114
- package/dist/bundle-analysis.json +235 -154
- package/dist/http.js +3 -0
- package/dist/http.mjs +1 -0
- package/dist/index.js +7 -5
- package/dist/index.mjs +3 -2
- package/dist/observable/observable.d.ts +1 -0
- package/dist/observable/observable.d.ts.map +1 -1
- package/dist/observable/observable.js +55 -0
- package/dist/observable/observable.mjs +55 -1
- package/dist/unstable-core-do-not-import/createProxy.d.ts +3 -3
- package/dist/unstable-core-do-not-import/createProxy.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/createProxy.js +15 -6
- package/dist/unstable-core-do-not-import/createProxy.mjs +15 -6
- package/dist/unstable-core-do-not-import/http/contentType.d.ts +7 -4
- package/dist/unstable-core-do-not-import/http/contentType.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/http/contentType.js +60 -17
- package/dist/unstable-core-do-not-import/http/contentType.mjs +61 -18
- package/dist/unstable-core-do-not-import/http/formDataToObject.d.ts.map +1 -0
- package/dist/unstable-core-do-not-import/http/formDataToObject.js +40 -0
- package/dist/unstable-core-do-not-import/http/formDataToObject.mjs +38 -0
- package/dist/unstable-core-do-not-import/http/getHTTPStatusCode.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/http/getHTTPStatusCode.js +4 -4
- package/dist/unstable-core-do-not-import/http/getHTTPStatusCode.mjs +4 -4
- package/dist/unstable-core-do-not-import/http/parseConnectionParams.d.ts +4 -0
- package/dist/unstable-core-do-not-import/http/parseConnectionParams.d.ts.map +1 -0
- package/dist/unstable-core-do-not-import/http/parseConnectionParams.js +42 -0
- package/dist/unstable-core-do-not-import/http/parseConnectionParams.mjs +39 -0
- package/dist/unstable-core-do-not-import/http/resolveResponse.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/http/resolveResponse.js +302 -149
- package/dist/unstable-core-do-not-import/http/resolveResponse.mjs +301 -148
- package/dist/unstable-core-do-not-import/http/types.d.ts +26 -2
- package/dist/unstable-core-do-not-import/http/types.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/initTRPC.d.ts +12 -12
- package/dist/unstable-core-do-not-import/initTRPC.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/middleware.d.ts +3 -3
- package/dist/unstable-core-do-not-import/middleware.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/procedureBuilder.d.ts +3 -1
- package/dist/unstable-core-do-not-import/procedureBuilder.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/rootConfig.d.ts +12 -0
- package/dist/unstable-core-do-not-import/rootConfig.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/router.d.ts +2 -2
- package/dist/unstable-core-do-not-import/router.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/router.js +7 -2
- package/dist/unstable-core-do-not-import/router.mjs +7 -2
- package/dist/unstable-core-do-not-import/rpc/envelopes.d.ts +7 -0
- package/dist/unstable-core-do-not-import/rpc/envelopes.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/rpc/index.d.ts +1 -1
- package/dist/unstable-core-do-not-import/rpc/index.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/stream/{stream.d.ts → jsonl.d.ts} +12 -8
- package/dist/unstable-core-do-not-import/stream/jsonl.d.ts.map +1 -0
- package/dist/unstable-core-do-not-import/stream/{stream.js → jsonl.js} +158 -119
- package/dist/unstable-core-do-not-import/stream/{stream.mjs → jsonl.mjs} +157 -118
- package/dist/unstable-core-do-not-import/stream/sse.d.ts +86 -0
- package/dist/unstable-core-do-not-import/stream/sse.d.ts.map +1 -0
- package/dist/unstable-core-do-not-import/stream/sse.js +178 -0
- package/dist/unstable-core-do-not-import/stream/sse.mjs +172 -0
- package/dist/unstable-core-do-not-import/stream/utils/createDeferred.d.ts +18 -0
- package/dist/unstable-core-do-not-import/stream/utils/createDeferred.d.ts.map +1 -0
- package/dist/unstable-core-do-not-import/stream/utils/createDeferred.js +46 -0
- package/dist/unstable-core-do-not-import/stream/utils/createDeferred.mjs +43 -0
- package/dist/unstable-core-do-not-import/stream/utils/createReadableStream.d.ts +10 -0
- package/dist/unstable-core-do-not-import/stream/utils/createReadableStream.d.ts.map +1 -0
- package/dist/unstable-core-do-not-import/stream/utils/createReadableStream.js +31 -0
- package/dist/unstable-core-do-not-import/stream/utils/createReadableStream.mjs +29 -0
- package/dist/unstable-core-do-not-import/stream/utils/createServer.d.ts +7 -0
- package/dist/unstable-core-do-not-import/stream/utils/createServer.d.ts.map +1 -0
- package/dist/unstable-core-do-not-import/transformer.d.ts +5 -5
- package/dist/unstable-core-do-not-import/utils.d.ts +4 -0
- package/dist/unstable-core-do-not-import/utils.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/utils.js +4 -0
- package/dist/unstable-core-do-not-import/utils.mjs +4 -1
- package/dist/unstable-core-do-not-import.d.ts +5 -2
- package/dist/unstable-core-do-not-import.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import.js +19 -7
- package/dist/unstable-core-do-not-import.mjs +6 -3
- package/package.json +6 -6
- package/src/@trpc/server/http.ts +7 -2
- package/src/@trpc/server/index.ts +1 -0
- package/src/@trpc/server/rpc.ts +1 -0
- package/src/adapters/aws-lambda/getPlanner.ts +21 -2
- package/src/adapters/next-app-dir/nextAppDirCaller.ts +2 -1
- package/src/adapters/node-http/incomingMessageToRequest.ts +3 -2
- package/src/adapters/node-http/nodeHTTPRequestHandler.ts +32 -7
- package/src/adapters/ws.ts +193 -107
- package/src/observable/observable.ts +63 -0
- package/src/unstable-core-do-not-import/createProxy.ts +23 -8
- package/src/unstable-core-do-not-import/http/contentType.ts +83 -21
- package/src/{adapters/next-app-dir → unstable-core-do-not-import/http}/formDataToObject.ts +18 -10
- package/src/unstable-core-do-not-import/http/getHTTPStatusCode.ts +4 -7
- package/src/unstable-core-do-not-import/http/parseConnectionParams.ts +49 -0
- package/src/unstable-core-do-not-import/http/resolveResponse.ts +333 -164
- package/src/unstable-core-do-not-import/http/types.ts +31 -2
- package/src/unstable-core-do-not-import/procedureBuilder.ts +8 -1
- package/src/unstable-core-do-not-import/rootConfig.ts +12 -0
- package/src/unstable-core-do-not-import/router.ts +47 -35
- package/src/unstable-core-do-not-import/rpc/envelopes.ts +9 -0
- package/src/unstable-core-do-not-import/rpc/index.ts +1 -0
- package/src/unstable-core-do-not-import/stream/{stream.ts → jsonl.ts} +186 -127
- package/src/unstable-core-do-not-import/stream/sse.ts +288 -0
- package/src/unstable-core-do-not-import/stream/utils/createDeferred.ts +48 -0
- package/src/unstable-core-do-not-import/stream/utils/createReadableStream.ts +31 -0
- package/src/unstable-core-do-not-import/stream/utils/createServer.ts +44 -0
- package/src/unstable-core-do-not-import/utils.ts +5 -0
- package/src/unstable-core-do-not-import.ts +5 -2
- package/dist/adapters/next-app-dir/formDataToObject.d.ts.map +0 -1
- package/dist/adapters/next-app-dir/formDataToObject.js +0 -34
- package/dist/adapters/next-app-dir/formDataToObject.mjs +0 -32
- package/dist/unstable-core-do-not-import/stream/stream.d.ts.map +0 -1
- /package/dist/{adapters/next-app-dir → unstable-core-do-not-import/http}/formDataToObject.d.ts +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"bundleSize":
|
|
3
|
-
"bundleOrigSize":
|
|
4
|
-
"bundleReduction":
|
|
2
|
+
"bundleSize": 131734,
|
|
3
|
+
"bundleOrigSize": 181107,
|
|
4
|
+
"bundleReduction": 27.26,
|
|
5
5
|
"modules": [
|
|
6
6
|
{
|
|
7
|
-
"id": "/src/unstable-core-do-not-import/stream/
|
|
8
|
-
"size":
|
|
9
|
-
"origSize":
|
|
7
|
+
"id": "/src/unstable-core-do-not-import/stream/jsonl.ts",
|
|
8
|
+
"size": 17622,
|
|
9
|
+
"origSize": 18419,
|
|
10
10
|
"renderedExports": [
|
|
11
11
|
"isPromise",
|
|
12
12
|
"jsonlStreamProducer",
|
|
@@ -17,57 +17,57 @@
|
|
|
17
17
|
"/src/unstable-core-do-not-import.ts",
|
|
18
18
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
19
19
|
],
|
|
20
|
-
"percent":
|
|
21
|
-
"reduction":
|
|
20
|
+
"percent": 13.38,
|
|
21
|
+
"reduction": 4.33
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"id": "/src/
|
|
25
|
-
"size":
|
|
26
|
-
"origSize":
|
|
24
|
+
"id": "/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
25
|
+
"size": 17074,
|
|
26
|
+
"origSize": 16227,
|
|
27
27
|
"renderedExports": [
|
|
28
|
-
"
|
|
29
|
-
"applyWSSHandler"
|
|
28
|
+
"resolveResponse"
|
|
30
29
|
],
|
|
31
30
|
"removedExports": [],
|
|
32
31
|
"dependents": [
|
|
33
|
-
"/src/
|
|
32
|
+
"/src/unstable-core-do-not-import.ts"
|
|
34
33
|
],
|
|
35
|
-
"percent":
|
|
34
|
+
"percent": 12.96,
|
|
36
35
|
"reduction": 0
|
|
37
36
|
},
|
|
38
37
|
{
|
|
39
|
-
"id": "/src/
|
|
40
|
-
"size":
|
|
41
|
-
"origSize":
|
|
38
|
+
"id": "/src/adapters/ws.ts",
|
|
39
|
+
"size": 14274,
|
|
40
|
+
"origSize": 13514,
|
|
42
41
|
"renderedExports": [
|
|
43
|
-
"
|
|
42
|
+
"getWSConnectionHandler",
|
|
43
|
+
"applyWSSHandler"
|
|
44
44
|
],
|
|
45
45
|
"removedExports": [],
|
|
46
46
|
"dependents": [
|
|
47
|
-
"/src/
|
|
47
|
+
"/src/adapters/fastify/fastifyTRPCPlugin.ts"
|
|
48
48
|
],
|
|
49
|
-
"percent": 10.
|
|
50
|
-
"reduction":
|
|
49
|
+
"percent": 10.84,
|
|
50
|
+
"reduction": 0
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
"id": "/src/unstable-core-do-not-import/
|
|
54
|
-
"size":
|
|
55
|
-
"origSize":
|
|
53
|
+
"id": "/src/unstable-core-do-not-import/http/contentType.ts",
|
|
54
|
+
"size": 7592,
|
|
55
|
+
"origSize": 7530,
|
|
56
56
|
"renderedExports": [
|
|
57
|
-
"
|
|
57
|
+
"getRequestInfo"
|
|
58
58
|
],
|
|
59
59
|
"removedExports": [],
|
|
60
60
|
"dependents": [
|
|
61
61
|
"/src/unstable-core-do-not-import.ts",
|
|
62
|
-
"/src/unstable-core-do-not-import/
|
|
62
|
+
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
63
63
|
],
|
|
64
|
-
"percent": 5.
|
|
65
|
-
"reduction":
|
|
64
|
+
"percent": 5.76,
|
|
65
|
+
"reduction": 0
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"id": "/src/unstable-core-do-not-import/router.ts",
|
|
69
|
-
"size":
|
|
70
|
-
"origSize":
|
|
69
|
+
"size": 6381,
|
|
70
|
+
"origSize": 10595,
|
|
71
71
|
"renderedExports": [
|
|
72
72
|
"createRouterFactory",
|
|
73
73
|
"callProcedure",
|
|
@@ -77,71 +77,92 @@
|
|
|
77
77
|
"removedExports": [],
|
|
78
78
|
"dependents": [
|
|
79
79
|
"/src/unstable-core-do-not-import.ts",
|
|
80
|
-
"/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
81
80
|
"/src/unstable-core-do-not-import/initTRPC.ts"
|
|
82
81
|
],
|
|
83
|
-
"percent":
|
|
84
|
-
"reduction":
|
|
82
|
+
"percent": 4.84,
|
|
83
|
+
"reduction": 39.77
|
|
85
84
|
},
|
|
86
85
|
{
|
|
87
|
-
"id": "/src/unstable-core-do-not-import/
|
|
88
|
-
"size":
|
|
89
|
-
"origSize":
|
|
86
|
+
"id": "/src/unstable-core-do-not-import/procedureBuilder.ts",
|
|
87
|
+
"size": 6326,
|
|
88
|
+
"origSize": 15837,
|
|
90
89
|
"renderedExports": [
|
|
91
|
-
"
|
|
90
|
+
"createBuilder"
|
|
92
91
|
],
|
|
93
92
|
"removedExports": [],
|
|
94
93
|
"dependents": [
|
|
95
94
|
"/src/unstable-core-do-not-import.ts",
|
|
96
|
-
"/src/unstable-core-do-not-import/
|
|
95
|
+
"/src/unstable-core-do-not-import/initTRPC.ts"
|
|
97
96
|
],
|
|
98
|
-
"percent":
|
|
99
|
-
"reduction":
|
|
97
|
+
"percent": 4.8,
|
|
98
|
+
"reduction": 60.06
|
|
100
99
|
},
|
|
101
100
|
{
|
|
102
|
-
"id": "/src/
|
|
103
|
-
"size":
|
|
104
|
-
"origSize":
|
|
101
|
+
"id": "/src/unstable-core-do-not-import/stream/sse.ts",
|
|
102
|
+
"size": 5637,
|
|
103
|
+
"origSize": 7464,
|
|
105
104
|
"renderedExports": [
|
|
106
|
-
"
|
|
105
|
+
"sse",
|
|
106
|
+
"isSSEMessageEnvelope",
|
|
107
|
+
"sseStreamProducer",
|
|
108
|
+
"sseStreamConsumer",
|
|
109
|
+
"sseHeaders"
|
|
107
110
|
],
|
|
108
111
|
"removedExports": [],
|
|
109
112
|
"dependents": [
|
|
110
|
-
"/src/
|
|
113
|
+
"/src/unstable-core-do-not-import.ts",
|
|
114
|
+
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
111
115
|
],
|
|
112
|
-
"percent": 4.
|
|
113
|
-
"reduction":
|
|
116
|
+
"percent": 4.28,
|
|
117
|
+
"reduction": 24.48
|
|
114
118
|
},
|
|
115
119
|
{
|
|
116
|
-
"id": "/src/adapters/
|
|
117
|
-
"size":
|
|
118
|
-
"origSize":
|
|
120
|
+
"id": "/src/adapters/aws-lambda/getPlanner.ts",
|
|
121
|
+
"size": 5418,
|
|
122
|
+
"origSize": 6114,
|
|
119
123
|
"renderedExports": [
|
|
120
|
-
"
|
|
124
|
+
"getPlanner"
|
|
121
125
|
],
|
|
122
126
|
"removedExports": [],
|
|
123
127
|
"dependents": [
|
|
124
|
-
"/src/adapters/
|
|
128
|
+
"/src/adapters/aws-lambda/index.ts"
|
|
125
129
|
],
|
|
126
|
-
"percent":
|
|
127
|
-
"reduction":
|
|
130
|
+
"percent": 4.11,
|
|
131
|
+
"reduction": 11.38
|
|
128
132
|
},
|
|
129
133
|
{
|
|
130
134
|
"id": "/src/observable/observable.ts",
|
|
131
|
-
"size":
|
|
132
|
-
"origSize":
|
|
135
|
+
"size": 4483,
|
|
136
|
+
"origSize": 4440,
|
|
133
137
|
"renderedExports": [
|
|
134
138
|
"isObservable",
|
|
135
139
|
"observable",
|
|
136
|
-
"observableToPromise"
|
|
140
|
+
"observableToPromise",
|
|
141
|
+
"observableToAsyncIterable"
|
|
137
142
|
],
|
|
138
143
|
"removedExports": [],
|
|
139
144
|
"dependents": [
|
|
145
|
+
"/src/adapters/ws.ts",
|
|
140
146
|
"/src/observable/index.ts",
|
|
147
|
+
"/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
141
148
|
"/src/observable/operators.ts"
|
|
142
149
|
],
|
|
143
|
-
"percent":
|
|
144
|
-
"reduction": 0
|
|
150
|
+
"percent": 3.4,
|
|
151
|
+
"reduction": 0
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"id": "/src/adapters/next-app-dir/nextAppDirCaller.ts",
|
|
155
|
+
"size": 3135,
|
|
156
|
+
"origSize": 4098,
|
|
157
|
+
"renderedExports": [
|
|
158
|
+
"nextAppDirCaller"
|
|
159
|
+
],
|
|
160
|
+
"removedExports": [],
|
|
161
|
+
"dependents": [
|
|
162
|
+
"/src/adapters/next-app-dir.ts"
|
|
163
|
+
],
|
|
164
|
+
"percent": 2.38,
|
|
165
|
+
"reduction": 23.5
|
|
145
166
|
},
|
|
146
167
|
{
|
|
147
168
|
"id": "/src/observable/operators.ts",
|
|
@@ -156,7 +177,7 @@
|
|
|
156
177
|
"dependents": [
|
|
157
178
|
"/src/observable/index.ts"
|
|
158
179
|
],
|
|
159
|
-
"percent": 2.
|
|
180
|
+
"percent": 2.09,
|
|
160
181
|
"reduction": 0
|
|
161
182
|
},
|
|
162
183
|
{
|
|
@@ -173,10 +194,10 @@
|
|
|
173
194
|
"dependents": [
|
|
174
195
|
"/src/unstable-core-do-not-import.ts",
|
|
175
196
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
176
|
-
"/src/unstable-core-do-not-import/
|
|
177
|
-
"/src/unstable-core-do-not-import/
|
|
197
|
+
"/src/unstable-core-do-not-import/initTRPC.ts",
|
|
198
|
+
"/src/unstable-core-do-not-import/router.ts"
|
|
178
199
|
],
|
|
179
|
-
"percent": 2.
|
|
200
|
+
"percent": 2.08,
|
|
180
201
|
"reduction": 45.94
|
|
181
202
|
},
|
|
182
203
|
{
|
|
@@ -190,9 +211,23 @@
|
|
|
190
211
|
"dependents": [
|
|
191
212
|
"/src/unstable-core-do-not-import.ts"
|
|
192
213
|
],
|
|
193
|
-
"percent": 2.
|
|
214
|
+
"percent": 2.05,
|
|
194
215
|
"reduction": 40.91
|
|
195
216
|
},
|
|
217
|
+
{
|
|
218
|
+
"id": "/src/adapters/node-http/nodeHTTPRequestHandler.ts",
|
|
219
|
+
"size": 2688,
|
|
220
|
+
"origSize": 2900,
|
|
221
|
+
"renderedExports": [
|
|
222
|
+
"nodeHTTPRequestHandler"
|
|
223
|
+
],
|
|
224
|
+
"removedExports": [],
|
|
225
|
+
"dependents": [
|
|
226
|
+
"/src/adapters/node-http/index.ts"
|
|
227
|
+
],
|
|
228
|
+
"percent": 2.04,
|
|
229
|
+
"reduction": 7.31
|
|
230
|
+
},
|
|
196
231
|
{
|
|
197
232
|
"id": "/src/unstable-core-do-not-import/middleware.ts",
|
|
198
233
|
"size": 2627,
|
|
@@ -210,9 +245,25 @@
|
|
|
210
245
|
"/src/unstable-core-do-not-import/initTRPC.ts",
|
|
211
246
|
"/src/unstable-core-do-not-import/procedureBuilder.ts"
|
|
212
247
|
],
|
|
213
|
-
"percent":
|
|
248
|
+
"percent": 1.99,
|
|
214
249
|
"reduction": 55.5
|
|
215
250
|
},
|
|
251
|
+
{
|
|
252
|
+
"id": "/src/unstable-core-do-not-import/createProxy.ts",
|
|
253
|
+
"size": 2329,
|
|
254
|
+
"origSize": 2262,
|
|
255
|
+
"renderedExports": [
|
|
256
|
+
"createRecursiveProxy",
|
|
257
|
+
"createFlatProxy"
|
|
258
|
+
],
|
|
259
|
+
"removedExports": [],
|
|
260
|
+
"dependents": [
|
|
261
|
+
"/src/unstable-core-do-not-import.ts",
|
|
262
|
+
"/src/unstable-core-do-not-import/router.ts"
|
|
263
|
+
],
|
|
264
|
+
"percent": 1.77,
|
|
265
|
+
"reduction": 0
|
|
266
|
+
},
|
|
216
267
|
{
|
|
217
268
|
"id": "/src/adapters/fetch/fetchRequestHandler.ts",
|
|
218
269
|
"size": 2255,
|
|
@@ -224,13 +275,13 @@
|
|
|
224
275
|
"dependents": [
|
|
225
276
|
"/src/adapters/fetch/index.ts"
|
|
226
277
|
],
|
|
227
|
-
"percent":
|
|
278
|
+
"percent": 1.71,
|
|
228
279
|
"reduction": 2.17
|
|
229
280
|
},
|
|
230
281
|
{
|
|
231
282
|
"id": "/src/adapters/node-http/incomingMessageToRequest.ts",
|
|
232
|
-
"size":
|
|
233
|
-
"origSize":
|
|
283
|
+
"size": 2194,
|
|
284
|
+
"origSize": 2545,
|
|
234
285
|
"renderedExports": [
|
|
235
286
|
"incomingMessageToRequest"
|
|
236
287
|
],
|
|
@@ -239,8 +290,8 @@
|
|
|
239
290
|
"/src/adapters/node-http/index.ts",
|
|
240
291
|
"/src/adapters/node-http/nodeHTTPRequestHandler.ts"
|
|
241
292
|
],
|
|
242
|
-
"percent":
|
|
243
|
-
"reduction":
|
|
293
|
+
"percent": 1.67,
|
|
294
|
+
"reduction": 13.79
|
|
244
295
|
},
|
|
245
296
|
{
|
|
246
297
|
"id": "/src/adapters/next-app-dir/rethrowNextErrors.ts",
|
|
@@ -253,25 +304,9 @@
|
|
|
253
304
|
"dependents": [
|
|
254
305
|
"/src/adapters/next-app-dir/nextAppDirCaller.ts"
|
|
255
306
|
],
|
|
256
|
-
"percent": 1.
|
|
307
|
+
"percent": 1.56,
|
|
257
308
|
"reduction": 5.79
|
|
258
309
|
},
|
|
259
|
-
{
|
|
260
|
-
"id": "/src/unstable-core-do-not-import/createProxy.ts",
|
|
261
|
-
"size": 2000,
|
|
262
|
-
"origSize": 1919,
|
|
263
|
-
"renderedExports": [
|
|
264
|
-
"createRecursiveProxy",
|
|
265
|
-
"createFlatProxy"
|
|
266
|
-
],
|
|
267
|
-
"removedExports": [],
|
|
268
|
-
"dependents": [
|
|
269
|
-
"/src/unstable-core-do-not-import.ts",
|
|
270
|
-
"/src/unstable-core-do-not-import/router.ts"
|
|
271
|
-
],
|
|
272
|
-
"percent": 1.89,
|
|
273
|
-
"reduction": 0
|
|
274
|
-
},
|
|
275
310
|
{
|
|
276
311
|
"id": "/src/unstable-core-do-not-import/error/TRPCError.ts",
|
|
277
312
|
"size": 1733,
|
|
@@ -284,29 +319,18 @@
|
|
|
284
319
|
"removedExports": [],
|
|
285
320
|
"dependents": [
|
|
286
321
|
"/src/unstable-core-do-not-import.ts",
|
|
322
|
+
"/src/unstable-core-do-not-import/http/parseConnectionParams.ts",
|
|
287
323
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
288
|
-
"/src/unstable-core-do-not-import/
|
|
324
|
+
"/src/unstable-core-do-not-import/stream/sse.ts",
|
|
289
325
|
"/src/unstable-core-do-not-import/middleware.ts",
|
|
326
|
+
"/src/unstable-core-do-not-import/router.ts",
|
|
290
327
|
"/src/unstable-core-do-not-import/http/contentType.ts",
|
|
291
|
-
"/src/unstable-core-do-not-import/procedureBuilder.ts"
|
|
328
|
+
"/src/unstable-core-do-not-import/procedureBuilder.ts",
|
|
329
|
+
"/src/unstable-core-do-not-import/stream/jsonl.ts"
|
|
292
330
|
],
|
|
293
|
-
"percent": 1.
|
|
331
|
+
"percent": 1.32,
|
|
294
332
|
"reduction": 19.47
|
|
295
333
|
},
|
|
296
|
-
{
|
|
297
|
-
"id": "/src/adapters/node-http/nodeHTTPRequestHandler.ts",
|
|
298
|
-
"size": 1721,
|
|
299
|
-
"origSize": 2152,
|
|
300
|
-
"renderedExports": [
|
|
301
|
-
"nodeHTTPRequestHandler"
|
|
302
|
-
],
|
|
303
|
-
"removedExports": [],
|
|
304
|
-
"dependents": [
|
|
305
|
-
"/src/adapters/node-http/index.ts"
|
|
306
|
-
],
|
|
307
|
-
"percent": 1.63,
|
|
308
|
-
"reduction": 20.03
|
|
309
|
-
},
|
|
310
334
|
{
|
|
311
335
|
"id": "/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts",
|
|
312
336
|
"size": 1580,
|
|
@@ -316,7 +340,7 @@
|
|
|
316
340
|
],
|
|
317
341
|
"removedExports": [],
|
|
318
342
|
"dependents": [],
|
|
319
|
-
"percent": 1.
|
|
343
|
+
"percent": 1.2,
|
|
320
344
|
"reduction": 21.04
|
|
321
345
|
},
|
|
322
346
|
{
|
|
@@ -328,7 +352,7 @@
|
|
|
328
352
|
],
|
|
329
353
|
"removedExports": [],
|
|
330
354
|
"dependents": [],
|
|
331
|
-
"percent": 1.
|
|
355
|
+
"percent": 1.17,
|
|
332
356
|
"reduction": 26.94
|
|
333
357
|
},
|
|
334
358
|
{
|
|
@@ -341,7 +365,7 @@
|
|
|
341
365
|
],
|
|
342
366
|
"removedExports": [],
|
|
343
367
|
"dependents": [],
|
|
344
|
-
"percent": 1.
|
|
368
|
+
"percent": 1.16,
|
|
345
369
|
"reduction": 27.6
|
|
346
370
|
},
|
|
347
371
|
{
|
|
@@ -355,13 +379,13 @@
|
|
|
355
379
|
"dependents": [
|
|
356
380
|
"/src/adapters/fastify/index.ts"
|
|
357
381
|
],
|
|
358
|
-
"percent": 1.
|
|
382
|
+
"percent": 1.14,
|
|
359
383
|
"reduction": 34.7
|
|
360
384
|
},
|
|
361
385
|
{
|
|
362
386
|
"id": "/src/unstable-core-do-not-import/http/getHTTPStatusCode.ts",
|
|
363
|
-
"size":
|
|
364
|
-
"origSize":
|
|
387
|
+
"size": 1287,
|
|
388
|
+
"origSize": 1583,
|
|
365
389
|
"renderedExports": [
|
|
366
390
|
"getHTTPStatusCode",
|
|
367
391
|
"getHTTPStatusCodeFromError"
|
|
@@ -372,36 +396,40 @@
|
|
|
372
396
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
373
397
|
"/src/unstable-core-do-not-import/error/getErrorShape.ts"
|
|
374
398
|
],
|
|
375
|
-
"percent":
|
|
376
|
-
"reduction":
|
|
399
|
+
"percent": 0.98,
|
|
400
|
+
"reduction": 18.7
|
|
377
401
|
},
|
|
378
402
|
{
|
|
379
403
|
"id": "/src/unstable-core-do-not-import/utils.ts",
|
|
380
|
-
"size":
|
|
381
|
-
"origSize":
|
|
404
|
+
"size": 1199,
|
|
405
|
+
"origSize": 1668,
|
|
382
406
|
"renderedExports": [
|
|
383
407
|
"unsetMarker",
|
|
384
408
|
"mergeWithoutOverrides",
|
|
385
409
|
"isObject",
|
|
386
410
|
"isFunction",
|
|
387
411
|
"omitPrototype",
|
|
388
|
-
"isAsyncIterable"
|
|
412
|
+
"isAsyncIterable",
|
|
413
|
+
"run"
|
|
389
414
|
],
|
|
390
415
|
"removedExports": [],
|
|
391
416
|
"dependents": [
|
|
392
417
|
"/src/unstable-core-do-not-import.ts",
|
|
418
|
+
"/src/unstable-core-do-not-import/http/getHTTPStatusCode.ts",
|
|
419
|
+
"/src/unstable-core-do-not-import/http/parseConnectionParams.ts",
|
|
393
420
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
394
421
|
"/src/unstable-core-do-not-import/error/TRPCError.ts",
|
|
395
|
-
"/src/unstable-core-do-not-import/
|
|
422
|
+
"/src/unstable-core-do-not-import/stream/sse.ts",
|
|
396
423
|
"/src/unstable-core-do-not-import/transformer.ts",
|
|
397
424
|
"/src/unstable-core-do-not-import/middleware.ts",
|
|
425
|
+
"/src/unstable-core-do-not-import/router.ts",
|
|
398
426
|
"/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts",
|
|
399
427
|
"/src/unstable-core-do-not-import/http/contentType.ts",
|
|
400
428
|
"/src/unstable-core-do-not-import/procedureBuilder.ts",
|
|
401
|
-
"/src/unstable-core-do-not-import/stream/
|
|
429
|
+
"/src/unstable-core-do-not-import/stream/jsonl.ts"
|
|
402
430
|
],
|
|
403
|
-
"percent":
|
|
404
|
-
"reduction":
|
|
431
|
+
"percent": 0.91,
|
|
432
|
+
"reduction": 28.12
|
|
405
433
|
},
|
|
406
434
|
{
|
|
407
435
|
"id": "/src/adapters/fastify/fastifyRequestHandler.ts",
|
|
@@ -415,9 +443,39 @@
|
|
|
415
443
|
"/src/adapters/fastify/index.ts",
|
|
416
444
|
"/src/adapters/fastify/fastifyTRPCPlugin.ts"
|
|
417
445
|
],
|
|
418
|
-
"percent":
|
|
446
|
+
"percent": 0.86,
|
|
419
447
|
"reduction": 47.59
|
|
420
448
|
},
|
|
449
|
+
{
|
|
450
|
+
"id": "/src/unstable-core-do-not-import/http/parseConnectionParams.ts",
|
|
451
|
+
"size": 1104,
|
|
452
|
+
"origSize": 1300,
|
|
453
|
+
"renderedExports": [
|
|
454
|
+
"parseConnectionParamsFromUnknown",
|
|
455
|
+
"parseConnectionParamsFromString"
|
|
456
|
+
],
|
|
457
|
+
"removedExports": [],
|
|
458
|
+
"dependents": [
|
|
459
|
+
"/src/unstable-core-do-not-import.ts",
|
|
460
|
+
"/src/unstable-core-do-not-import/http/contentType.ts"
|
|
461
|
+
],
|
|
462
|
+
"percent": 0.84,
|
|
463
|
+
"reduction": 15.08
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"id": "/src/unstable-core-do-not-import/http/formDataToObject.ts",
|
|
467
|
+
"size": 1060,
|
|
468
|
+
"origSize": 1047,
|
|
469
|
+
"renderedExports": [
|
|
470
|
+
"formDataToObject"
|
|
471
|
+
],
|
|
472
|
+
"removedExports": [],
|
|
473
|
+
"dependents": [
|
|
474
|
+
"/src/unstable-core-do-not-import.ts"
|
|
475
|
+
],
|
|
476
|
+
"percent": 0.8,
|
|
477
|
+
"reduction": 0
|
|
478
|
+
},
|
|
421
479
|
{
|
|
422
480
|
"id": "/src/unstable-core-do-not-import/parser.ts",
|
|
423
481
|
"size": 1034,
|
|
@@ -430,7 +488,7 @@
|
|
|
430
488
|
"/src/unstable-core-do-not-import.ts",
|
|
431
489
|
"/src/unstable-core-do-not-import/procedureBuilder.ts"
|
|
432
490
|
],
|
|
433
|
-
"percent": 0.
|
|
491
|
+
"percent": 0.78,
|
|
434
492
|
"reduction": 58.57
|
|
435
493
|
},
|
|
436
494
|
{
|
|
@@ -447,22 +505,25 @@
|
|
|
447
505
|
"/src/adapters/next-app-dir/nextAppDirCaller.ts",
|
|
448
506
|
"/src/adapters/next-app-dir/rethrowNextErrors.ts"
|
|
449
507
|
],
|
|
450
|
-
"percent": 0.
|
|
508
|
+
"percent": 0.75,
|
|
451
509
|
"reduction": 13.65
|
|
452
510
|
},
|
|
453
511
|
{
|
|
454
|
-
"id": "/src/
|
|
455
|
-
"size":
|
|
456
|
-
"origSize":
|
|
512
|
+
"id": "/src/unstable-core-do-not-import/stream/utils/createDeferred.ts",
|
|
513
|
+
"size": 983,
|
|
514
|
+
"origSize": 1166,
|
|
457
515
|
"renderedExports": [
|
|
458
|
-
"
|
|
516
|
+
"createDeferred",
|
|
517
|
+
"createTimeoutPromise"
|
|
459
518
|
],
|
|
460
519
|
"removedExports": [],
|
|
461
520
|
"dependents": [
|
|
462
|
-
"/src/
|
|
521
|
+
"/src/unstable-core-do-not-import/stream/sse.ts",
|
|
522
|
+
"/src/unstable-core-do-not-import/stream/jsonl.ts",
|
|
523
|
+
"/src/unstable-core-do-not-import/stream/utils/createReadableStream.ts"
|
|
463
524
|
],
|
|
464
|
-
"percent": 0.
|
|
465
|
-
"reduction":
|
|
525
|
+
"percent": 0.75,
|
|
526
|
+
"reduction": 15.69
|
|
466
527
|
},
|
|
467
528
|
{
|
|
468
529
|
"id": "/src/adapters/aws-lambda/index.ts",
|
|
@@ -473,7 +534,7 @@
|
|
|
473
534
|
],
|
|
474
535
|
"removedExports": [],
|
|
475
536
|
"dependents": [],
|
|
476
|
-
"percent": 0.
|
|
537
|
+
"percent": 0.58,
|
|
477
538
|
"reduction": 66.9
|
|
478
539
|
},
|
|
479
540
|
{
|
|
@@ -487,7 +548,7 @@
|
|
|
487
548
|
"dependents": [
|
|
488
549
|
"/src/unstable-core-do-not-import.ts"
|
|
489
550
|
],
|
|
490
|
-
"percent": 0.
|
|
551
|
+
"percent": 0.51,
|
|
491
552
|
"reduction": 0.6
|
|
492
553
|
},
|
|
493
554
|
{
|
|
@@ -502,9 +563,24 @@
|
|
|
502
563
|
"/src/unstable-core-do-not-import.ts",
|
|
503
564
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
504
565
|
],
|
|
505
|
-
"percent": 0.
|
|
566
|
+
"percent": 0.47,
|
|
506
567
|
"reduction": 43.49
|
|
507
568
|
},
|
|
569
|
+
{
|
|
570
|
+
"id": "/src/unstable-core-do-not-import/stream/utils/createReadableStream.ts",
|
|
571
|
+
"size": 575,
|
|
572
|
+
"origSize": 694,
|
|
573
|
+
"renderedExports": [
|
|
574
|
+
"createReadableStream"
|
|
575
|
+
],
|
|
576
|
+
"removedExports": [],
|
|
577
|
+
"dependents": [
|
|
578
|
+
"/src/unstable-core-do-not-import/stream/sse.ts",
|
|
579
|
+
"/src/unstable-core-do-not-import/stream/jsonl.ts"
|
|
580
|
+
],
|
|
581
|
+
"percent": 0.44,
|
|
582
|
+
"reduction": 17.15
|
|
583
|
+
},
|
|
508
584
|
{
|
|
509
585
|
"id": "/src/adapters/standalone.ts",
|
|
510
586
|
"size": 520,
|
|
@@ -515,13 +591,13 @@
|
|
|
515
591
|
],
|
|
516
592
|
"removedExports": [],
|
|
517
593
|
"dependents": [],
|
|
518
|
-
"percent": 0.
|
|
594
|
+
"percent": 0.39,
|
|
519
595
|
"reduction": 67.09
|
|
520
596
|
},
|
|
521
597
|
{
|
|
522
598
|
"id": "/src/unstable-core-do-not-import/rootConfig.ts",
|
|
523
599
|
"size": 343,
|
|
524
|
-
"origSize":
|
|
600
|
+
"origSize": 3234,
|
|
525
601
|
"renderedExports": [
|
|
526
602
|
"isServerDefault"
|
|
527
603
|
],
|
|
@@ -530,8 +606,8 @@
|
|
|
530
606
|
"/src/unstable-core-do-not-import.ts",
|
|
531
607
|
"/src/unstable-core-do-not-import/initTRPC.ts"
|
|
532
608
|
],
|
|
533
|
-
"percent": 0.
|
|
534
|
-
"reduction":
|
|
609
|
+
"percent": 0.26,
|
|
610
|
+
"reduction": 89.39
|
|
535
611
|
},
|
|
536
612
|
{
|
|
537
613
|
"id": "/src/adapters/express.ts",
|
|
@@ -542,7 +618,7 @@
|
|
|
542
618
|
],
|
|
543
619
|
"removedExports": [],
|
|
544
620
|
"dependents": [],
|
|
545
|
-
"percent": 0.
|
|
621
|
+
"percent": 0.21,
|
|
546
622
|
"reduction": 72.92
|
|
547
623
|
},
|
|
548
624
|
{
|
|
@@ -556,7 +632,7 @@
|
|
|
556
632
|
"dependents": [
|
|
557
633
|
"/src/unstable-core-do-not-import.ts"
|
|
558
634
|
],
|
|
559
|
-
"percent": 0.
|
|
635
|
+
"percent": 0.21,
|
|
560
636
|
"reduction": 68.45
|
|
561
637
|
},
|
|
562
638
|
{
|
|
@@ -570,7 +646,7 @@
|
|
|
570
646
|
"dependents": [
|
|
571
647
|
"/src/unstable-core-do-not-import.ts"
|
|
572
648
|
],
|
|
573
|
-
"percent": 0.
|
|
649
|
+
"percent": 0.17,
|
|
574
650
|
"reduction": 94.55
|
|
575
651
|
},
|
|
576
652
|
{
|
|
@@ -584,7 +660,7 @@
|
|
|
584
660
|
"dependents": [
|
|
585
661
|
"/src/adapters/next-app-dir.ts"
|
|
586
662
|
],
|
|
587
|
-
"percent": 0.
|
|
663
|
+
"percent": 0.17,
|
|
588
664
|
"reduction": 36.26
|
|
589
665
|
},
|
|
590
666
|
{
|
|
@@ -598,7 +674,7 @@
|
|
|
598
674
|
"dependents": [
|
|
599
675
|
"/src/unstable-core-do-not-import.ts"
|
|
600
676
|
],
|
|
601
|
-
"percent": 0.
|
|
677
|
+
"percent": 0.12,
|
|
602
678
|
"reduction": 14.13
|
|
603
679
|
},
|
|
604
680
|
{
|
|
@@ -613,7 +689,7 @@
|
|
|
613
689
|
"/src/unstable-core-do-not-import.ts",
|
|
614
690
|
"/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts"
|
|
615
691
|
],
|
|
616
|
-
"percent": 0.
|
|
692
|
+
"percent": 0.06,
|
|
617
693
|
"reduction": 96.87
|
|
618
694
|
},
|
|
619
695
|
{
|
|
@@ -626,10 +702,10 @@
|
|
|
626
702
|
"removedExports": [],
|
|
627
703
|
"dependents": [
|
|
628
704
|
"/src/unstable-core-do-not-import.ts",
|
|
629
|
-
"/src/unstable-core-do-not-import/
|
|
630
|
-
"/src/unstable-core-do-not-import/
|
|
705
|
+
"/src/unstable-core-do-not-import/initTRPC.ts",
|
|
706
|
+
"/src/unstable-core-do-not-import/router.ts"
|
|
631
707
|
],
|
|
632
|
-
"percent": 0.
|
|
708
|
+
"percent": 0.05,
|
|
633
709
|
"reduction": 93.8
|
|
634
710
|
},
|
|
635
711
|
{
|
|
@@ -638,7 +714,9 @@
|
|
|
638
714
|
"origSize": 37,
|
|
639
715
|
"renderedExports": [],
|
|
640
716
|
"removedExports": [],
|
|
641
|
-
"dependents": [
|
|
717
|
+
"dependents": [
|
|
718
|
+
"/src/adapters/ws.ts"
|
|
719
|
+
],
|
|
642
720
|
"percent": 0,
|
|
643
721
|
"reduction": 100
|
|
644
722
|
},
|
|
@@ -663,19 +741,22 @@
|
|
|
663
741
|
"reduction": 100
|
|
664
742
|
},
|
|
665
743
|
{
|
|
666
|
-
"id": "/src/
|
|
744
|
+
"id": "/src/unstable-core-do-not-import.ts",
|
|
667
745
|
"size": 0,
|
|
668
|
-
"origSize":
|
|
746
|
+
"origSize": 2169,
|
|
669
747
|
"renderedExports": [],
|
|
670
748
|
"removedExports": [],
|
|
671
|
-
"dependents": [
|
|
749
|
+
"dependents": [
|
|
750
|
+
"/src/adapters/ws.ts",
|
|
751
|
+
"/src/adapters/next-app-dir/nextAppDirCaller.ts"
|
|
752
|
+
],
|
|
672
753
|
"percent": 0,
|
|
673
754
|
"reduction": 100
|
|
674
755
|
},
|
|
675
756
|
{
|
|
676
|
-
"id": "/src/
|
|
757
|
+
"id": "/src/shared.ts",
|
|
677
758
|
"size": 0,
|
|
678
|
-
"origSize":
|
|
759
|
+
"origSize": 653,
|
|
679
760
|
"renderedExports": [],
|
|
680
761
|
"removedExports": [],
|
|
681
762
|
"dependents": [],
|
|
@@ -732,13 +813,13 @@
|
|
|
732
813
|
"removedExports": [],
|
|
733
814
|
"dependents": [
|
|
734
815
|
"/src/adapters/express.ts",
|
|
735
|
-
"/src/adapters/next.ts",
|
|
736
816
|
"/src/adapters/standalone.ts",
|
|
817
|
+
"/src/adapters/next.ts",
|
|
737
818
|
"/src/adapters/fastify/fastifyRequestHandler.ts"
|
|
738
819
|
],
|
|
739
820
|
"percent": 0,
|
|
740
821
|
"reduction": 100
|
|
741
822
|
}
|
|
742
823
|
],
|
|
743
|
-
"moduleCount":
|
|
824
|
+
"moduleCount": 55
|
|
744
825
|
}
|