@trpc/server 11.0.0-next-beta.204 → 11.0.0-next-beta.206
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.
|
@@ -29,7 +29,7 @@ function createHTTPHandler(opts) {
|
|
|
29
29
|
}
|
|
30
30
|
function createHTTPServer(opts) {
|
|
31
31
|
const handler = createHTTPHandler(opts);
|
|
32
|
-
return http__default["default"].createServer(
|
|
32
|
+
return http__default["default"].createServer(handler);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
exports.createHTTPHandler = createHTTPHandler;
|
|
@@ -21,7 +21,7 @@ function createHTTPHandler(opts) {
|
|
|
21
21
|
}
|
|
22
22
|
function createHTTPServer(opts) {
|
|
23
23
|
const handler = createHTTPHandler(opts);
|
|
24
|
-
return http.createServer(
|
|
24
|
+
return http.createServer(handler);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export { createHTTPHandler, createHTTPServer };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"bundleSize":
|
|
3
|
-
"bundleOrigSize":
|
|
2
|
+
"bundleSize": 54468,
|
|
3
|
+
"bundleOrigSize": 76085,
|
|
4
4
|
"bundleReduction": 28.41,
|
|
5
5
|
"modules": [
|
|
6
6
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dependents": [
|
|
15
15
|
"/src/adapters/fastify/fastifyTRPCPlugin.ts"
|
|
16
16
|
],
|
|
17
|
-
"percent": 17.
|
|
17
|
+
"percent": 17.88,
|
|
18
18
|
"reduction": 0
|
|
19
19
|
},
|
|
20
20
|
{
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependents": [
|
|
31
31
|
"/src/adapters/node-http/content-type/form-data/index.ts"
|
|
32
32
|
],
|
|
33
|
-
"percent": 10.
|
|
33
|
+
"percent": 10.8,
|
|
34
34
|
"reduction": 7.43
|
|
35
35
|
},
|
|
36
36
|
{
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dependents": [
|
|
47
47
|
"/src/adapters/node-http/content-type/form-data/index.ts"
|
|
48
48
|
],
|
|
49
|
-
"percent": 9.
|
|
49
|
+
"percent": 9.07,
|
|
50
50
|
"reduction": 37.25
|
|
51
51
|
},
|
|
52
52
|
{
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"dependents": [
|
|
71
71
|
"/home/runner/work/trpc/trpc/node_modules/.pnpm/@web3-storage+multipart-parser@1.0.0/node_modules/@web3-storage/multipart-parser/esm/src/index.js"
|
|
72
72
|
],
|
|
73
|
-
"percent": 8.
|
|
73
|
+
"percent": 8.18,
|
|
74
74
|
"reduction": 35.63
|
|
75
75
|
},
|
|
76
76
|
{
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"dependents": [
|
|
132
132
|
"/src/adapters/aws-lambda/index.ts"
|
|
133
133
|
],
|
|
134
|
-
"percent": 6.
|
|
134
|
+
"percent": 6.13,
|
|
135
135
|
"reduction": 36.24
|
|
136
136
|
},
|
|
137
137
|
{
|
|
@@ -269,16 +269,16 @@
|
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
271
|
"id": "/src/adapters/standalone.ts",
|
|
272
|
-
"size":
|
|
273
|
-
"origSize":
|
|
272
|
+
"size": 636,
|
|
273
|
+
"origSize": 1704,
|
|
274
274
|
"renderedExports": [
|
|
275
275
|
"createHTTPHandler",
|
|
276
276
|
"createHTTPServer"
|
|
277
277
|
],
|
|
278
278
|
"removedExports": [],
|
|
279
279
|
"dependents": [],
|
|
280
|
-
"percent": 1.
|
|
281
|
-
"reduction":
|
|
280
|
+
"percent": 1.17,
|
|
281
|
+
"reduction": 62.68
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
"id": "/src/adapters/express.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trpc/server",
|
|
3
|
-
"version": "11.0.0-next-beta.
|
|
3
|
+
"version": "11.0.0-next-beta.206+255803252",
|
|
4
4
|
"description": "The tRPC server library",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"access": "public"
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@trpc/core": "11.0.0-next-beta.
|
|
118
|
+
"@trpc/core": "11.0.0-next-beta.206+255803252"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
121
|
"@fastify/websocket": "^7.1.2",
|
|
@@ -154,5 +154,5 @@
|
|
|
154
154
|
"funding": [
|
|
155
155
|
"https://trpc.io/sponsor"
|
|
156
156
|
],
|
|
157
|
-
"gitHead": "
|
|
157
|
+
"gitHead": "2558032520acb8dc9ffe9dfe30ba94bab3f06e36"
|
|
158
158
|
}
|