@orpc/standard-server-node 0.0.0-next.d888fab → 0.0.0-next.d9485b0
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/index.mjs +0 -4
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -94,10 +94,6 @@ function toEventStream(iterator, options = {}) {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
async function toStandardBody(req) {
|
|
97
|
-
const method = req.method ?? "GET";
|
|
98
|
-
if (method === "GET" || method === "HEAD") {
|
|
99
|
-
return void 0;
|
|
100
|
-
}
|
|
101
97
|
const contentDisposition = req.headers["content-disposition"];
|
|
102
98
|
const contentType = req.headers["content-type"];
|
|
103
99
|
if (typeof contentDisposition === "string") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orpc/standard-server-node",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.0-next.
|
|
4
|
+
"version": "0.0.0-next.d9485b0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
|
7
7
|
"repository": {
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@orpc/shared": "0.0.0-next.
|
|
27
|
-
"@orpc/standard-server": "0.0.0-next.
|
|
26
|
+
"@orpc/shared": "0.0.0-next.d9485b0",
|
|
27
|
+
"@orpc/standard-server": "0.0.0-next.d9485b0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@types/node": "^22.
|
|
30
|
+
"@types/node": "^22.15.17",
|
|
31
31
|
"@types/supertest": "^6.0.3",
|
|
32
32
|
"supertest": "^7.1.0"
|
|
33
33
|
},
|