@trpc/server 11.0.0-rc.643 → 11.0.0-rc.648
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/adapters/aws-lambda/index.js +1 -1
- package/dist/adapters/aws-lambda/index.mjs +1 -1
- package/dist/adapters/express.js +1 -1
- package/dist/adapters/express.mjs +1 -1
- package/dist/adapters/fastify/fastifyRequestHandler.js +1 -1
- package/dist/adapters/fastify/fastifyRequestHandler.mjs +1 -1
- package/dist/adapters/fetch/fetchRequestHandler.js +1 -1
- package/dist/adapters/fetch/fetchRequestHandler.mjs +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/notFound.js +1 -1
- package/dist/adapters/next-app-dir/notFound.mjs +1 -1
- package/dist/adapters/next-app-dir/redirect.js +15 -3
- package/dist/adapters/next-app-dir/redirect.mjs +14 -2
- package/dist/adapters/next.js +1 -1
- package/dist/adapters/next.mjs +1 -1
- package/dist/adapters/node-http/incomingMessageToRequest.js +1 -1
- package/dist/adapters/node-http/incomingMessageToRequest.mjs +1 -1
- package/dist/adapters/node-http/nodeHTTPRequestHandler.js +1 -1
- package/dist/adapters/node-http/nodeHTTPRequestHandler.mjs +1 -1
- package/dist/adapters/node-http/writeResponse.d.ts.map +1 -1
- package/dist/adapters/node-http/writeResponse.js +3 -1
- package/dist/adapters/node-http/writeResponse.mjs +3 -1
- package/dist/adapters/standalone.js +1 -1
- package/dist/adapters/standalone.mjs +1 -1
- package/dist/adapters/ws.d.ts.map +1 -1
- package/dist/adapters/ws.js +145 -66
- package/dist/adapters/ws.mjs +145 -66
- package/dist/bundle-analysis.json +194 -201
- package/dist/http.js +1 -1
- package/dist/http.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.1_rollup@4.27.4_tslib@2.8.1_typescript@5.6.2/node_modules/tslib/tslib.es6.js +73 -0
- package/dist/observable/observable.d.ts +1 -1
- package/dist/observable/observable.d.ts.map +1 -1
- package/dist/observable/observable.js +16 -4
- package/dist/observable/observable.mjs +16 -4
- package/dist/rpc.js +1 -1
- package/dist/rpc.mjs +1 -1
- package/dist/shared.js +1 -1
- package/dist/shared.mjs +1 -1
- package/dist/unstable-core-do-not-import/error/TRPCError.d.ts +1 -1
- package/dist/unstable-core-do-not-import/error/TRPCError.js +14 -2
- package/dist/unstable-core-do-not-import/error/TRPCError.mjs +13 -1
- package/dist/unstable-core-do-not-import/http/resolveResponse.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/http/resolveResponse.js +7 -18
- package/dist/unstable-core-do-not-import/http/resolveResponse.mjs +8 -19
- package/dist/unstable-core-do-not-import/stream/jsonl.d.ts +15 -4
- package/dist/unstable-core-do-not-import/stream/jsonl.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/stream/jsonl.js +430 -291
- package/dist/unstable-core-do-not-import/stream/jsonl.mjs +428 -289
- package/dist/unstable-core-do-not-import/stream/sse.d.ts +1 -1
- package/dist/unstable-core-do-not-import/stream/sse.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/stream/sse.js +183 -122
- package/dist/unstable-core-do-not-import/stream/sse.mjs +183 -122
- package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.d.ts +1 -0
- package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.js +103 -10
- package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.mjs +104 -12
- package/dist/unstable-core-do-not-import/stream/utils/disposable.d.ts +17 -0
- package/dist/unstable-core-do-not-import/stream/utils/disposable.d.ts.map +1 -0
- package/dist/unstable-core-do-not-import/stream/utils/disposable.js +44 -0
- package/dist/unstable-core-do-not-import/stream/utils/disposable.mjs +41 -0
- package/dist/unstable-core-do-not-import/stream/utils/readableStreamFrom.d.ts +8 -0
- package/dist/unstable-core-do-not-import/stream/utils/readableStreamFrom.d.ts.map +1 -0
- package/dist/unstable-core-do-not-import/stream/utils/readableStreamFrom.js +25 -0
- package/dist/unstable-core-do-not-import/stream/utils/readableStreamFrom.mjs +23 -0
- package/dist/unstable-core-do-not-import/stream/utils/timerResource.d.ts +1 -2
- package/dist/unstable-core-do-not-import/stream/utils/timerResource.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/stream/utils/timerResource.js +8 -10
- package/dist/unstable-core-do-not-import/stream/utils/timerResource.mjs +8 -10
- package/dist/unstable-core-do-not-import/stream/utils/withPing.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import/stream/utils/withPing.js +113 -24
- package/dist/unstable-core-do-not-import/stream/utils/withPing.mjs +114 -25
- package/dist/unstable-core-do-not-import/transformer.d.ts +1 -1
- package/dist/unstable-core-do-not-import.d.ts +1 -0
- package/dist/unstable-core-do-not-import.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import.js +3 -0
- package/dist/unstable-core-do-not-import.mjs +1 -0
- package/dist/vendor/unpromise/unpromise.js +17 -6
- package/dist/vendor/unpromise/unpromise.mjs +13 -2
- package/package.json +2 -3
- package/src/adapters/node-http/writeResponse.ts +3 -0
- package/src/adapters/ws.ts +8 -9
- package/src/observable/observable.ts +17 -2
- package/src/unstable-core-do-not-import/http/resolveResponse.ts +8 -21
- package/src/unstable-core-do-not-import/stream/jsonl.ts +236 -216
- package/src/unstable-core-do-not-import/stream/sse.ts +112 -132
- package/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts +50 -48
- package/src/unstable-core-do-not-import/stream/utils/disposable.ts +52 -0
- package/src/unstable-core-do-not-import/stream/utils/readableStreamFrom.ts +28 -0
- package/src/unstable-core-do-not-import/stream/utils/timerResource.ts +17 -15
- package/src/unstable-core-do-not-import/stream/utils/withPing.ts +18 -19
- package/src/unstable-core-do-not-import.ts +1 -0
- package/dist/node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_define_property.js +0 -11
- package/dist/node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_define_property.mjs +0 -9
- package/dist/unstable-core-do-not-import/stream/utils/createReadableStream.d.ts +0 -9
- package/dist/unstable-core-do-not-import/stream/utils/createReadableStream.d.ts.map +0 -1
- package/dist/unstable-core-do-not-import/stream/utils/createReadableStream.js +0 -25
- package/dist/unstable-core-do-not-import/stream/utils/createReadableStream.mjs +0 -23
- package/dist/unstable-core-do-not-import/stream/utils/withRefCount.d.ts +0 -17
- package/dist/unstable-core-do-not-import/stream/utils/withRefCount.d.ts.map +0 -1
- package/dist/unstable-core-do-not-import/stream/utils/withRefCount.js +0 -59
- package/dist/unstable-core-do-not-import/stream/utils/withRefCount.mjs +0 -57
- package/src/unstable-core-do-not-import/stream/utils/createReadableStream.ts +0 -25
- package/src/unstable-core-do-not-import/stream/utils/withRefCount.ts +0 -93
|
@@ -1,12 +1,29 @@
|
|
|
1
1
|
{
|
|
2
|
-
"bundleSize":
|
|
3
|
-
"bundleOrigSize":
|
|
4
|
-
"bundleReduction":
|
|
2
|
+
"bundleSize": 186969,
|
|
3
|
+
"bundleOrigSize": 219149,
|
|
4
|
+
"bundleReduction": 14.68,
|
|
5
5
|
"modules": [
|
|
6
|
+
{
|
|
7
|
+
"id": "/src/unstable-core-do-not-import/stream/jsonl.ts",
|
|
8
|
+
"size": 21918,
|
|
9
|
+
"origSize": 17714,
|
|
10
|
+
"renderedExports": [
|
|
11
|
+
"isPromise",
|
|
12
|
+
"jsonlStreamProducer",
|
|
13
|
+
"jsonlStreamConsumer"
|
|
14
|
+
],
|
|
15
|
+
"removedExports": [],
|
|
16
|
+
"dependents": [
|
|
17
|
+
"/src/unstable-core-do-not-import.ts",
|
|
18
|
+
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
19
|
+
],
|
|
20
|
+
"percent": 11.72,
|
|
21
|
+
"reduction": 0
|
|
22
|
+
},
|
|
6
23
|
{
|
|
7
24
|
"id": "/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
8
|
-
"size":
|
|
9
|
-
"origSize":
|
|
25
|
+
"size": 21130,
|
|
26
|
+
"origSize": 19508,
|
|
10
27
|
"renderedExports": [
|
|
11
28
|
"resolveResponse"
|
|
12
29
|
],
|
|
@@ -14,13 +31,13 @@
|
|
|
14
31
|
"dependents": [
|
|
15
32
|
"/src/unstable-core-do-not-import.ts"
|
|
16
33
|
],
|
|
17
|
-
"percent":
|
|
34
|
+
"percent": 11.3,
|
|
18
35
|
"reduction": 0
|
|
19
36
|
},
|
|
20
37
|
{
|
|
21
38
|
"id": "/src/adapters/ws.ts",
|
|
22
|
-
"size":
|
|
23
|
-
"origSize":
|
|
39
|
+
"size": 20133,
|
|
40
|
+
"origSize": 15932,
|
|
24
41
|
"renderedExports": [
|
|
25
42
|
"getWSConnectionHandler",
|
|
26
43
|
"handleKeepAlive",
|
|
@@ -30,29 +47,29 @@
|
|
|
30
47
|
"dependents": [
|
|
31
48
|
"/src/adapters/fastify/fastifyTRPCPlugin.ts"
|
|
32
49
|
],
|
|
33
|
-
"percent":
|
|
50
|
+
"percent": 10.77,
|
|
34
51
|
"reduction": 0
|
|
35
52
|
},
|
|
36
53
|
{
|
|
37
|
-
"id": "/src/unstable-core-do-not-import/stream/
|
|
38
|
-
"size":
|
|
39
|
-
"origSize":
|
|
54
|
+
"id": "/src/unstable-core-do-not-import/stream/sse.ts",
|
|
55
|
+
"size": 12425,
|
|
56
|
+
"origSize": 12246,
|
|
40
57
|
"renderedExports": [
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
58
|
+
"sseStreamProducer",
|
|
59
|
+
"sseStreamConsumer",
|
|
60
|
+
"sseHeaders"
|
|
44
61
|
],
|
|
45
62
|
"removedExports": [],
|
|
46
63
|
"dependents": [
|
|
47
64
|
"/src/unstable-core-do-not-import.ts",
|
|
48
65
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
49
66
|
],
|
|
50
|
-
"percent":
|
|
51
|
-
"reduction":
|
|
67
|
+
"percent": 6.65,
|
|
68
|
+
"reduction": 0
|
|
52
69
|
},
|
|
53
70
|
{
|
|
54
71
|
"id": "/src/vendor/unpromise/unpromise.ts",
|
|
55
|
-
"size":
|
|
72
|
+
"size": 12153,
|
|
56
73
|
"origSize": 13751,
|
|
57
74
|
"renderedExports": [
|
|
58
75
|
"Unpromise",
|
|
@@ -60,25 +77,8 @@
|
|
|
60
77
|
],
|
|
61
78
|
"removedExports": [],
|
|
62
79
|
"dependents": [],
|
|
63
|
-
"percent":
|
|
64
|
-
"reduction":
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"id": "/src/unstable-core-do-not-import/stream/sse.ts",
|
|
68
|
-
"size": 10408,
|
|
69
|
-
"origSize": 12991,
|
|
70
|
-
"renderedExports": [
|
|
71
|
-
"sseStreamProducer",
|
|
72
|
-
"sseStreamConsumer",
|
|
73
|
-
"sseHeaders"
|
|
74
|
-
],
|
|
75
|
-
"removedExports": [],
|
|
76
|
-
"dependents": [
|
|
77
|
-
"/src/unstable-core-do-not-import.ts",
|
|
78
|
-
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
79
|
-
],
|
|
80
|
-
"percent": 6.17,
|
|
81
|
-
"reduction": 19.88
|
|
80
|
+
"percent": 6.5,
|
|
81
|
+
"reduction": 11.62
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
"id": "/src/unstable-core-do-not-import/http/contentType.ts",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"/src/unstable-core-do-not-import.ts",
|
|
93
93
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
94
94
|
],
|
|
95
|
-
"percent": 4.
|
|
95
|
+
"percent": 4.11,
|
|
96
96
|
"reduction": 0
|
|
97
97
|
},
|
|
98
98
|
{
|
|
@@ -110,9 +110,28 @@
|
|
|
110
110
|
"/src/unstable-core-do-not-import.ts",
|
|
111
111
|
"/src/unstable-core-do-not-import/initTRPC.ts"
|
|
112
112
|
],
|
|
113
|
-
"percent": 3.
|
|
113
|
+
"percent": 3.43,
|
|
114
114
|
"reduction": 39.89
|
|
115
115
|
},
|
|
116
|
+
{
|
|
117
|
+
"id": "/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts",
|
|
118
|
+
"size": 5828,
|
|
119
|
+
"origSize": 2704,
|
|
120
|
+
"renderedExports": [
|
|
121
|
+
"iteratorResource",
|
|
122
|
+
"withMaxDuration",
|
|
123
|
+
"takeWithGrace"
|
|
124
|
+
],
|
|
125
|
+
"removedExports": [],
|
|
126
|
+
"dependents": [
|
|
127
|
+
"/src/adapters/ws.ts",
|
|
128
|
+
"/src/unstable-core-do-not-import/stream/jsonl.ts",
|
|
129
|
+
"/src/unstable-core-do-not-import/stream/sse.ts",
|
|
130
|
+
"/src/unstable-core-do-not-import/stream/utils/withPing.ts"
|
|
131
|
+
],
|
|
132
|
+
"percent": 3.12,
|
|
133
|
+
"reduction": 0
|
|
134
|
+
},
|
|
116
135
|
{
|
|
117
136
|
"id": "/src/unstable-core-do-not-import/procedureBuilder.ts",
|
|
118
137
|
"size": 5793,
|
|
@@ -125,7 +144,7 @@
|
|
|
125
144
|
"/src/unstable-core-do-not-import.ts",
|
|
126
145
|
"/src/unstable-core-do-not-import/initTRPC.ts"
|
|
127
146
|
],
|
|
128
|
-
"percent": 3.
|
|
147
|
+
"percent": 3.1,
|
|
129
148
|
"reduction": 65.01
|
|
130
149
|
},
|
|
131
150
|
{
|
|
@@ -139,13 +158,13 @@
|
|
|
139
158
|
"dependents": [
|
|
140
159
|
"/src/adapters/aws-lambda/index.ts"
|
|
141
160
|
],
|
|
142
|
-
"percent":
|
|
161
|
+
"percent": 2.9,
|
|
143
162
|
"reduction": 11.51
|
|
144
163
|
},
|
|
145
164
|
{
|
|
146
165
|
"id": "/src/observable/observable.ts",
|
|
147
|
-
"size":
|
|
148
|
-
"origSize":
|
|
166
|
+
"size": 4836,
|
|
167
|
+
"origSize": 4660,
|
|
149
168
|
"renderedExports": [
|
|
150
169
|
"isObservable",
|
|
151
170
|
"observable",
|
|
@@ -159,7 +178,22 @@
|
|
|
159
178
|
"/src/observable/operators.ts",
|
|
160
179
|
"/src/observable/behaviorSubject.ts"
|
|
161
180
|
],
|
|
162
|
-
"percent": 2.
|
|
181
|
+
"percent": 2.59,
|
|
182
|
+
"reduction": 0
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"id": "/src/unstable-core-do-not-import/stream/utils/withPing.ts",
|
|
186
|
+
"size": 4441,
|
|
187
|
+
"origSize": 1252,
|
|
188
|
+
"renderedExports": [
|
|
189
|
+
"PING_SYM",
|
|
190
|
+
"withPing"
|
|
191
|
+
],
|
|
192
|
+
"removedExports": [],
|
|
193
|
+
"dependents": [
|
|
194
|
+
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
195
|
+
],
|
|
196
|
+
"percent": 2.38,
|
|
163
197
|
"reduction": 0
|
|
164
198
|
},
|
|
165
199
|
{
|
|
@@ -177,7 +211,7 @@
|
|
|
177
211
|
"dependents": [
|
|
178
212
|
"/src/observable/index.ts"
|
|
179
213
|
],
|
|
180
|
-
"percent": 2.
|
|
214
|
+
"percent": 2.09,
|
|
181
215
|
"reduction": 1.66
|
|
182
216
|
},
|
|
183
217
|
{
|
|
@@ -193,7 +227,7 @@
|
|
|
193
227
|
"/src/adapters/node-http/index.ts",
|
|
194
228
|
"/src/adapters/node-http/nodeHTTPRequestHandler.ts"
|
|
195
229
|
],
|
|
196
|
-
"percent": 2.
|
|
230
|
+
"percent": 2.05,
|
|
197
231
|
"reduction": 11.87
|
|
198
232
|
},
|
|
199
233
|
{
|
|
@@ -207,7 +241,7 @@
|
|
|
207
241
|
"dependents": [
|
|
208
242
|
"/src/adapters/next-app-dir.ts"
|
|
209
243
|
],
|
|
210
|
-
"percent": 1.
|
|
244
|
+
"percent": 1.74,
|
|
211
245
|
"reduction": 22.52
|
|
212
246
|
},
|
|
213
247
|
{
|
|
@@ -222,7 +256,7 @@
|
|
|
222
256
|
"dependents": [
|
|
223
257
|
"/src/adapters/node-http/index.ts"
|
|
224
258
|
],
|
|
225
|
-
"percent": 1.
|
|
259
|
+
"percent": 1.47,
|
|
226
260
|
"reduction": 16.3
|
|
227
261
|
},
|
|
228
262
|
{
|
|
@@ -242,7 +276,7 @@
|
|
|
242
276
|
"/src/unstable-core-do-not-import/initTRPC.ts",
|
|
243
277
|
"/src/unstable-core-do-not-import/router.ts"
|
|
244
278
|
],
|
|
245
|
-
"percent": 1.
|
|
279
|
+
"percent": 1.46,
|
|
246
280
|
"reduction": 45.98
|
|
247
281
|
},
|
|
248
282
|
{
|
|
@@ -256,7 +290,7 @@
|
|
|
256
290
|
"dependents": [
|
|
257
291
|
"/src/unstable-core-do-not-import.ts"
|
|
258
292
|
],
|
|
259
|
-
"percent": 1.
|
|
293
|
+
"percent": 1.42,
|
|
260
294
|
"reduction": 40.81
|
|
261
295
|
},
|
|
262
296
|
{
|
|
@@ -276,24 +310,9 @@
|
|
|
276
310
|
"/src/unstable-core-do-not-import/initTRPC.ts",
|
|
277
311
|
"/src/unstable-core-do-not-import/procedureBuilder.ts"
|
|
278
312
|
],
|
|
279
|
-
"percent": 1.
|
|
313
|
+
"percent": 1.4,
|
|
280
314
|
"reduction": 55.79
|
|
281
315
|
},
|
|
282
|
-
{
|
|
283
|
-
"id": "/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts",
|
|
284
|
-
"size": 2535,
|
|
285
|
-
"origSize": 2611,
|
|
286
|
-
"renderedExports": [
|
|
287
|
-
"withMaxDuration",
|
|
288
|
-
"takeWithGrace"
|
|
289
|
-
],
|
|
290
|
-
"removedExports": [],
|
|
291
|
-
"dependents": [
|
|
292
|
-
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
293
|
-
],
|
|
294
|
-
"percent": 1.5,
|
|
295
|
-
"reduction": 2.91
|
|
296
|
-
},
|
|
297
316
|
{
|
|
298
317
|
"id": "/src/unstable-core-do-not-import/utils.ts",
|
|
299
318
|
"size": 2460,
|
|
@@ -329,9 +348,32 @@
|
|
|
329
348
|
"/src/unstable-core-do-not-import/stream/jsonl.ts",
|
|
330
349
|
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
331
350
|
],
|
|
332
|
-
"percent": 1.
|
|
351
|
+
"percent": 1.32,
|
|
333
352
|
"reduction": 17.51
|
|
334
353
|
},
|
|
354
|
+
{
|
|
355
|
+
"id": "/src/unstable-core-do-not-import/error/TRPCError.ts",
|
|
356
|
+
"size": 2356,
|
|
357
|
+
"origSize": 2152,
|
|
358
|
+
"renderedExports": [
|
|
359
|
+
"getCauseFromUnknown",
|
|
360
|
+
"getTRPCErrorFromUnknown",
|
|
361
|
+
"TRPCError"
|
|
362
|
+
],
|
|
363
|
+
"removedExports": [],
|
|
364
|
+
"dependents": [
|
|
365
|
+
"/src/unstable-core-do-not-import.ts",
|
|
366
|
+
"/src/unstable-core-do-not-import/http/parseConnectionParams.ts",
|
|
367
|
+
"/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
368
|
+
"/src/unstable-core-do-not-import/middleware.ts",
|
|
369
|
+
"/src/unstable-core-do-not-import/router.ts",
|
|
370
|
+
"/src/unstable-core-do-not-import/http/contentType.ts",
|
|
371
|
+
"/src/unstable-core-do-not-import/procedureBuilder.ts",
|
|
372
|
+
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
373
|
+
],
|
|
374
|
+
"percent": 1.26,
|
|
375
|
+
"reduction": 0
|
|
376
|
+
},
|
|
335
377
|
{
|
|
336
378
|
"id": "/src/unstable-core-do-not-import/createProxy.ts",
|
|
337
379
|
"size": 2333,
|
|
@@ -345,7 +387,7 @@
|
|
|
345
387
|
"/src/unstable-core-do-not-import.ts",
|
|
346
388
|
"/src/unstable-core-do-not-import/router.ts"
|
|
347
389
|
],
|
|
348
|
-
"percent": 1.
|
|
390
|
+
"percent": 1.25,
|
|
349
391
|
"reduction": 0
|
|
350
392
|
},
|
|
351
393
|
{
|
|
@@ -359,7 +401,7 @@
|
|
|
359
401
|
"dependents": [
|
|
360
402
|
"/src/adapters/fetch/index.ts"
|
|
361
403
|
],
|
|
362
|
-
"percent": 1.
|
|
404
|
+
"percent": 1.2,
|
|
363
405
|
"reduction": 2.48
|
|
364
406
|
},
|
|
365
407
|
{
|
|
@@ -373,7 +415,7 @@
|
|
|
373
415
|
"dependents": [
|
|
374
416
|
"/src/adapters/next-app-dir/nextAppDirCaller.ts"
|
|
375
417
|
],
|
|
376
|
-
"percent": 1.
|
|
418
|
+
"percent": 1.13,
|
|
377
419
|
"reduction": 5.4
|
|
378
420
|
},
|
|
379
421
|
{
|
|
@@ -394,36 +436,13 @@
|
|
|
394
436
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
395
437
|
"/src/unstable-core-do-not-import/error/getErrorShape.ts"
|
|
396
438
|
],
|
|
397
|
-
"percent": 1.
|
|
439
|
+
"percent": 1.12,
|
|
398
440
|
"reduction": 18.54
|
|
399
441
|
},
|
|
400
|
-
{
|
|
401
|
-
"id": "/src/unstable-core-do-not-import/error/TRPCError.ts",
|
|
402
|
-
"size": 2061,
|
|
403
|
-
"origSize": 2152,
|
|
404
|
-
"renderedExports": [
|
|
405
|
-
"getCauseFromUnknown",
|
|
406
|
-
"getTRPCErrorFromUnknown",
|
|
407
|
-
"TRPCError"
|
|
408
|
-
],
|
|
409
|
-
"removedExports": [],
|
|
410
|
-
"dependents": [
|
|
411
|
-
"/src/unstable-core-do-not-import.ts",
|
|
412
|
-
"/src/unstable-core-do-not-import/http/parseConnectionParams.ts",
|
|
413
|
-
"/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
414
|
-
"/src/unstable-core-do-not-import/middleware.ts",
|
|
415
|
-
"/src/unstable-core-do-not-import/router.ts",
|
|
416
|
-
"/src/unstable-core-do-not-import/http/contentType.ts",
|
|
417
|
-
"/src/unstable-core-do-not-import/procedureBuilder.ts",
|
|
418
|
-
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
419
|
-
],
|
|
420
|
-
"percent": 1.22,
|
|
421
|
-
"reduction": 4.23
|
|
422
|
-
},
|
|
423
442
|
{
|
|
424
443
|
"id": "/src/adapters/node-http/writeResponse.ts",
|
|
425
|
-
"size":
|
|
426
|
-
"origSize":
|
|
444
|
+
"size": 2027,
|
|
445
|
+
"origSize": 2105,
|
|
427
446
|
"renderedExports": [
|
|
428
447
|
"writeResponseBody",
|
|
429
448
|
"writeResponse"
|
|
@@ -432,36 +451,41 @@
|
|
|
432
451
|
"dependents": [
|
|
433
452
|
"/src/adapters/node-http/nodeHTTPRequestHandler.ts"
|
|
434
453
|
],
|
|
435
|
-
"percent": 1.
|
|
436
|
-
"reduction":
|
|
454
|
+
"percent": 1.08,
|
|
455
|
+
"reduction": 3.71
|
|
437
456
|
},
|
|
438
457
|
{
|
|
439
|
-
"id": "/src/
|
|
440
|
-
"size":
|
|
441
|
-
"origSize":
|
|
458
|
+
"id": "/src/adapters/fastify/fastifyTRPCPlugin.ts",
|
|
459
|
+
"size": 1777,
|
|
460
|
+
"origSize": 2546,
|
|
442
461
|
"renderedExports": [
|
|
443
|
-
"
|
|
462
|
+
"fastifyTRPCPlugin"
|
|
444
463
|
],
|
|
445
464
|
"removedExports": [],
|
|
446
465
|
"dependents": [
|
|
447
|
-
"/src/
|
|
466
|
+
"/src/adapters/fastify/index.ts"
|
|
448
467
|
],
|
|
449
|
-
"percent":
|
|
450
|
-
"reduction":
|
|
468
|
+
"percent": 0.95,
|
|
469
|
+
"reduction": 30.2
|
|
451
470
|
},
|
|
452
471
|
{
|
|
453
|
-
"id": "/src/
|
|
454
|
-
"size":
|
|
455
|
-
"origSize":
|
|
472
|
+
"id": "/src/unstable-core-do-not-import/stream/utils/disposable.ts",
|
|
473
|
+
"size": 1758,
|
|
474
|
+
"origSize": 1784,
|
|
456
475
|
"renderedExports": [
|
|
457
|
-
"
|
|
476
|
+
"makeResource",
|
|
477
|
+
"makeAsyncResource"
|
|
458
478
|
],
|
|
459
479
|
"removedExports": [],
|
|
460
480
|
"dependents": [
|
|
461
|
-
"/src/
|
|
481
|
+
"/src/unstable-core-do-not-import.ts",
|
|
482
|
+
"/src/unstable-core-do-not-import/stream/jsonl.ts",
|
|
483
|
+
"/src/unstable-core-do-not-import/stream/sse.ts",
|
|
484
|
+
"/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts",
|
|
485
|
+
"/src/unstable-core-do-not-import/stream/utils/timerResource.ts"
|
|
462
486
|
],
|
|
463
|
-
"percent":
|
|
464
|
-
"reduction":
|
|
487
|
+
"percent": 0.94,
|
|
488
|
+
"reduction": 1.46
|
|
465
489
|
},
|
|
466
490
|
{
|
|
467
491
|
"id": "/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts",
|
|
@@ -472,7 +496,7 @@
|
|
|
472
496
|
],
|
|
473
497
|
"removedExports": [],
|
|
474
498
|
"dependents": [],
|
|
475
|
-
"percent":
|
|
499
|
+
"percent": 0.9,
|
|
476
500
|
"reduction": 19.62
|
|
477
501
|
},
|
|
478
502
|
{
|
|
@@ -485,7 +509,7 @@
|
|
|
485
509
|
],
|
|
486
510
|
"removedExports": [],
|
|
487
511
|
"dependents": [],
|
|
488
|
-
"percent": 0.
|
|
512
|
+
"percent": 0.86,
|
|
489
513
|
"reduction": 17.81
|
|
490
514
|
},
|
|
491
515
|
{
|
|
@@ -497,38 +521,40 @@
|
|
|
497
521
|
],
|
|
498
522
|
"removedExports": [],
|
|
499
523
|
"dependents": [],
|
|
500
|
-
"percent": 0.
|
|
524
|
+
"percent": 0.71,
|
|
501
525
|
"reduction": 35.1
|
|
502
526
|
},
|
|
503
527
|
{
|
|
504
|
-
"id": "/src/
|
|
505
|
-
"size":
|
|
506
|
-
"origSize":
|
|
528
|
+
"id": "/src/adapters/next-app-dir/redirect.ts",
|
|
529
|
+
"size": 1326,
|
|
530
|
+
"origSize": 1143,
|
|
507
531
|
"renderedExports": [
|
|
508
|
-
"
|
|
532
|
+
"TRPCRedirectError",
|
|
533
|
+
"redirect"
|
|
509
534
|
],
|
|
510
535
|
"removedExports": [],
|
|
511
536
|
"dependents": [
|
|
512
|
-
"/src/
|
|
513
|
-
"/src/
|
|
537
|
+
"/src/adapters/next-app-dir.ts",
|
|
538
|
+
"/src/adapters/next-app-dir/nextAppDirCaller.ts",
|
|
539
|
+
"/src/adapters/next-app-dir/rethrowNextErrors.ts"
|
|
514
540
|
],
|
|
515
|
-
"percent": 0.
|
|
516
|
-
"reduction":
|
|
541
|
+
"percent": 0.71,
|
|
542
|
+
"reduction": 0
|
|
517
543
|
},
|
|
518
544
|
{
|
|
519
|
-
"id": "/src/unstable-core-do-not-import/
|
|
520
|
-
"size":
|
|
521
|
-
"origSize":
|
|
545
|
+
"id": "/src/unstable-core-do-not-import/parser.ts",
|
|
546
|
+
"size": 1297,
|
|
547
|
+
"origSize": 2906,
|
|
522
548
|
"renderedExports": [
|
|
523
|
-
"
|
|
524
|
-
"withPing"
|
|
549
|
+
"getParseFn"
|
|
525
550
|
],
|
|
526
551
|
"removedExports": [],
|
|
527
552
|
"dependents": [
|
|
528
|
-
"/src/unstable-core-do-not-import
|
|
553
|
+
"/src/unstable-core-do-not-import.ts",
|
|
554
|
+
"/src/unstable-core-do-not-import/procedureBuilder.ts"
|
|
529
555
|
],
|
|
530
556
|
"percent": 0.69,
|
|
531
|
-
"reduction":
|
|
557
|
+
"reduction": 55.37
|
|
532
558
|
},
|
|
533
559
|
{
|
|
534
560
|
"id": "/src/adapters/fastify/fastifyRequestHandler.ts",
|
|
@@ -542,7 +568,7 @@
|
|
|
542
568
|
"/src/adapters/fastify/index.ts",
|
|
543
569
|
"/src/adapters/fastify/fastifyTRPCPlugin.ts"
|
|
544
570
|
],
|
|
545
|
-
"percent": 0.
|
|
571
|
+
"percent": 0.61,
|
|
546
572
|
"reduction": 47.29
|
|
547
573
|
},
|
|
548
574
|
{
|
|
@@ -558,7 +584,7 @@
|
|
|
558
584
|
"/src/unstable-core-do-not-import.ts",
|
|
559
585
|
"/src/unstable-core-do-not-import/http/contentType.ts"
|
|
560
586
|
],
|
|
561
|
-
"percent": 0.
|
|
587
|
+
"percent": 0.59,
|
|
562
588
|
"reduction": 15.08
|
|
563
589
|
},
|
|
564
590
|
{
|
|
@@ -572,26 +598,9 @@
|
|
|
572
598
|
"dependents": [
|
|
573
599
|
"/src/unstable-core-do-not-import.ts"
|
|
574
600
|
],
|
|
575
|
-
"percent": 0.
|
|
601
|
+
"percent": 0.57,
|
|
576
602
|
"reduction": 0
|
|
577
603
|
},
|
|
578
|
-
{
|
|
579
|
-
"id": "/src/adapters/next-app-dir/redirect.ts",
|
|
580
|
-
"size": 1029,
|
|
581
|
-
"origSize": 1143,
|
|
582
|
-
"renderedExports": [
|
|
583
|
-
"TRPCRedirectError",
|
|
584
|
-
"redirect"
|
|
585
|
-
],
|
|
586
|
-
"removedExports": [],
|
|
587
|
-
"dependents": [
|
|
588
|
-
"/src/adapters/next-app-dir.ts",
|
|
589
|
-
"/src/adapters/next-app-dir/nextAppDirCaller.ts",
|
|
590
|
-
"/src/adapters/next-app-dir/rethrowNextErrors.ts"
|
|
591
|
-
],
|
|
592
|
-
"percent": 0.61,
|
|
593
|
-
"reduction": 9.97
|
|
594
|
-
},
|
|
595
604
|
{
|
|
596
605
|
"id": "/src/observable/behaviorSubject.ts",
|
|
597
606
|
"size": 967,
|
|
@@ -603,7 +612,7 @@
|
|
|
603
612
|
"dependents": [
|
|
604
613
|
"/src/observable/index.ts"
|
|
605
614
|
],
|
|
606
|
-
"percent": 0.
|
|
615
|
+
"percent": 0.52,
|
|
607
616
|
"reduction": 32.89
|
|
608
617
|
},
|
|
609
618
|
{
|
|
@@ -615,7 +624,7 @@
|
|
|
615
624
|
],
|
|
616
625
|
"removedExports": [],
|
|
617
626
|
"dependents": [],
|
|
618
|
-
"percent": 0.
|
|
627
|
+
"percent": 0.46,
|
|
619
628
|
"reduction": 34.73
|
|
620
629
|
},
|
|
621
630
|
{
|
|
@@ -632,7 +641,7 @@
|
|
|
632
641
|
"/src/unstable-core-do-not-import.ts",
|
|
633
642
|
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
634
643
|
],
|
|
635
|
-
"percent": 0.
|
|
644
|
+
"percent": 0.42,
|
|
636
645
|
"reduction": 44.13
|
|
637
646
|
},
|
|
638
647
|
{
|
|
@@ -645,7 +654,7 @@
|
|
|
645
654
|
],
|
|
646
655
|
"removedExports": [],
|
|
647
656
|
"dependents": [],
|
|
648
|
-
"percent": 0.
|
|
657
|
+
"percent": 0.41,
|
|
649
658
|
"reduction": 56.66
|
|
650
659
|
},
|
|
651
660
|
{
|
|
@@ -657,24 +666,23 @@
|
|
|
657
666
|
],
|
|
658
667
|
"removedExports": [],
|
|
659
668
|
"dependents": [],
|
|
660
|
-
"percent": 0.
|
|
669
|
+
"percent": 0.41,
|
|
661
670
|
"reduction": 66.61
|
|
662
671
|
},
|
|
663
672
|
{
|
|
664
|
-
"id": "/src/unstable-core-do-not-import/stream/utils/
|
|
665
|
-
"size":
|
|
666
|
-
"origSize":
|
|
673
|
+
"id": "/src/unstable-core-do-not-import/stream/utils/readableStreamFrom.ts",
|
|
674
|
+
"size": 651,
|
|
675
|
+
"origSize": 660,
|
|
667
676
|
"renderedExports": [
|
|
668
|
-
"
|
|
669
|
-
"timerResource"
|
|
677
|
+
"readableStreamFrom"
|
|
670
678
|
],
|
|
671
679
|
"removedExports": [],
|
|
672
680
|
"dependents": [
|
|
673
|
-
"/src/unstable-core-do-not-import/stream/
|
|
674
|
-
"/src/unstable-core-do-not-import/stream/
|
|
681
|
+
"/src/unstable-core-do-not-import/stream/jsonl.ts",
|
|
682
|
+
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
675
683
|
],
|
|
676
|
-
"percent": 0.
|
|
677
|
-
"reduction":
|
|
684
|
+
"percent": 0.35,
|
|
685
|
+
"reduction": 1.36
|
|
678
686
|
},
|
|
679
687
|
{
|
|
680
688
|
"id": "/src/unstable-core-do-not-import/error/getErrorShape.ts",
|
|
@@ -688,23 +696,25 @@
|
|
|
688
696
|
"/src/unstable-core-do-not-import.ts",
|
|
689
697
|
"/src/unstable-core-do-not-import/http/resolveResponse.ts"
|
|
690
698
|
],
|
|
691
|
-
"percent": 0.
|
|
699
|
+
"percent": 0.33,
|
|
692
700
|
"reduction": 43.85
|
|
693
701
|
},
|
|
694
702
|
{
|
|
695
|
-
"id": "/src/unstable-core-do-not-import/stream/utils/
|
|
696
|
-
"size":
|
|
697
|
-
"origSize":
|
|
703
|
+
"id": "/src/unstable-core-do-not-import/stream/utils/timerResource.ts",
|
|
704
|
+
"size": 527,
|
|
705
|
+
"origSize": 659,
|
|
698
706
|
"renderedExports": [
|
|
699
|
-
"
|
|
707
|
+
"disposablePromiseTimerResult",
|
|
708
|
+
"timerResource"
|
|
700
709
|
],
|
|
701
710
|
"removedExports": [],
|
|
702
711
|
"dependents": [
|
|
703
|
-
"/src/unstable-core-do-not-import/stream/
|
|
704
|
-
"/src/unstable-core-do-not-import/stream/
|
|
712
|
+
"/src/unstable-core-do-not-import/stream/sse.ts",
|
|
713
|
+
"/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts",
|
|
714
|
+
"/src/unstable-core-do-not-import/stream/utils/withPing.ts"
|
|
705
715
|
],
|
|
706
|
-
"percent": 0.
|
|
707
|
-
"reduction":
|
|
716
|
+
"percent": 0.28,
|
|
717
|
+
"reduction": 20.03
|
|
708
718
|
},
|
|
709
719
|
{
|
|
710
720
|
"id": "/src/unstable-core-do-not-import/rootConfig.ts",
|
|
@@ -718,7 +728,7 @@
|
|
|
718
728
|
"/src/unstable-core-do-not-import.ts",
|
|
719
729
|
"/src/unstable-core-do-not-import/initTRPC.ts"
|
|
720
730
|
],
|
|
721
|
-
"percent": 0.
|
|
731
|
+
"percent": 0.18,
|
|
722
732
|
"reduction": 89.56
|
|
723
733
|
},
|
|
724
734
|
{
|
|
@@ -733,7 +743,7 @@
|
|
|
733
743
|
"/src/unstable-core-do-not-import.ts",
|
|
734
744
|
"/src/unstable-core-do-not-import/stream/jsonl.ts"
|
|
735
745
|
],
|
|
736
|
-
"percent": 0.
|
|
746
|
+
"percent": 0.17,
|
|
737
747
|
"reduction": 25.9
|
|
738
748
|
},
|
|
739
749
|
{
|
|
@@ -747,26 +757,9 @@
|
|
|
747
757
|
"dependents": [
|
|
748
758
|
"/src/unstable-core-do-not-import.ts"
|
|
749
759
|
],
|
|
750
|
-
"percent": 0.
|
|
760
|
+
"percent": 0.15,
|
|
751
761
|
"reduction": 68.45
|
|
752
762
|
},
|
|
753
|
-
{
|
|
754
|
-
"id": "/home/runner/work/trpc/trpc/node_modules/.pnpm/@swc+helpers@0.5.13/node_modules/@swc/helpers/esm/_define_property.js",
|
|
755
|
-
"size": 227,
|
|
756
|
-
"origSize": 262,
|
|
757
|
-
"renderedExports": [
|
|
758
|
-
"_"
|
|
759
|
-
],
|
|
760
|
-
"removedExports": [],
|
|
761
|
-
"dependents": [
|
|
762
|
-
"/src/vendor/unpromise/unpromise.ts",
|
|
763
|
-
"/src/unstable-core-do-not-import/error/TRPCError.ts",
|
|
764
|
-
"/src/unstable-core-do-not-import/stream/jsonl.ts",
|
|
765
|
-
"/src/adapters/next-app-dir/redirect.ts"
|
|
766
|
-
],
|
|
767
|
-
"percent": 0.13,
|
|
768
|
-
"reduction": 13.36
|
|
769
|
-
},
|
|
770
763
|
{
|
|
771
764
|
"id": "/src/adapters/next-app-dir/notFound.ts",
|
|
772
765
|
"size": 218,
|
|
@@ -778,7 +771,7 @@
|
|
|
778
771
|
"dependents": [
|
|
779
772
|
"/src/adapters/next-app-dir.ts"
|
|
780
773
|
],
|
|
781
|
-
"percent": 0.
|
|
774
|
+
"percent": 0.12,
|
|
782
775
|
"reduction": 36.26
|
|
783
776
|
},
|
|
784
777
|
{
|
|
@@ -793,7 +786,7 @@
|
|
|
793
786
|
"/src/unstable-core-do-not-import.ts",
|
|
794
787
|
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
795
788
|
],
|
|
796
|
-
"percent": 0.
|
|
789
|
+
"percent": 0.05,
|
|
797
790
|
"reduction": 51.92
|
|
798
791
|
},
|
|
799
792
|
{
|
|
@@ -824,7 +817,7 @@
|
|
|
824
817
|
"/src/unstable-core-do-not-import/initTRPC.ts",
|
|
825
818
|
"/src/unstable-core-do-not-import/router.ts"
|
|
826
819
|
],
|
|
827
|
-
"percent": 0.
|
|
820
|
+
"percent": 0.03,
|
|
828
821
|
"reduction": 93.9
|
|
829
822
|
},
|
|
830
823
|
{
|
|
@@ -872,16 +865,16 @@
|
|
|
872
865
|
{
|
|
873
866
|
"id": "/src/unstable-core-do-not-import.ts",
|
|
874
867
|
"size": 0,
|
|
875
|
-
"origSize":
|
|
868
|
+
"origSize": 2375,
|
|
876
869
|
"renderedExports": [],
|
|
877
870
|
"removedExports": [],
|
|
878
871
|
"dependents": [
|
|
879
872
|
"/src/adapters/express.ts",
|
|
880
873
|
"/src/adapters/next.ts",
|
|
881
|
-
"/src/adapters/ws.ts",
|
|
882
874
|
"/src/adapters/standalone.ts",
|
|
883
|
-
"/src/adapters/
|
|
875
|
+
"/src/adapters/ws.ts",
|
|
884
876
|
"/src/adapters/next-app-dir/nextAppDirCaller.ts",
|
|
877
|
+
"/src/adapters/node-http/nodeHTTPRequestHandler.ts",
|
|
885
878
|
"/src/adapters/node-http/writeResponse.ts"
|
|
886
879
|
],
|
|
887
880
|
"percent": 0,
|
|
@@ -938,13 +931,13 @@
|
|
|
938
931
|
"dependents": [
|
|
939
932
|
"/src/adapters/express.ts",
|
|
940
933
|
"/src/adapters/next.ts",
|
|
941
|
-
"/src/adapters/ws.ts",
|
|
942
934
|
"/src/adapters/standalone.ts",
|
|
935
|
+
"/src/adapters/ws.ts",
|
|
943
936
|
"/src/adapters/fastify/fastifyRequestHandler.ts"
|
|
944
937
|
],
|
|
945
938
|
"percent": 0,
|
|
946
939
|
"reduction": 100
|
|
947
940
|
}
|
|
948
941
|
],
|
|
949
|
-
"moduleCount":
|
|
942
|
+
"moduleCount": 61
|
|
950
943
|
}
|