@orpc/node 2.0.0-beta.36 → 2.0.0-beta.38
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/README.md +5 -5
- package/dist/index.mjs +5 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -38,11 +38,11 @@ You can read the documentation [here](https://orpc.dev).
|
|
|
38
38
|
|
|
39
39
|
**Schema validation**
|
|
40
40
|
|
|
41
|
-
| Package | Purpose
|
|
42
|
-
| ------------------------------------------------------------ |
|
|
43
|
-
| [@orpc/zod](https://www.npmjs.com/package/@orpc/zod) |
|
|
44
|
-
| [@orpc/valibot](https://www.npmjs.com/package/@orpc/valibot) |
|
|
45
|
-
| [@orpc/arktype](https://www.npmjs.com/package/@orpc/arktype) |
|
|
41
|
+
| Package | Purpose | Docs |
|
|
42
|
+
| ------------------------------------------------------------ | ---------------------------------------------------------- | ----------------------------------------------------- |
|
|
43
|
+
| [@orpc/zod](https://www.npmjs.com/package/@orpc/zod) | JSON Schema converter for [Zod](https://zod.dev/). | [Zod](https://orpc.dev/docs/integrations/zod) |
|
|
44
|
+
| [@orpc/valibot](https://www.npmjs.com/package/@orpc/valibot) | JSON Schema converter for [Valibot](https://valibot.dev/). | [Valibot](https://orpc.dev/docs/integrations/valibot) |
|
|
45
|
+
| [@orpc/arktype](https://www.npmjs.com/package/@orpc/arktype) | JSON Schema converter for [ArkType](https://arktype.io/). | [ArkType](https://orpc.dev/docs/integrations/arktype) |
|
|
46
46
|
|
|
47
47
|
**Built-in features**
|
|
48
48
|
|
package/dist/index.mjs
CHANGED
|
@@ -658,7 +658,11 @@ class TmpFileUploadHandlerPlugin {
|
|
|
658
658
|
matched: true,
|
|
659
659
|
response: {
|
|
660
660
|
...result.response,
|
|
661
|
-
|
|
661
|
+
/**
|
|
662
|
+
* @warning
|
|
663
|
+
* Remember use `override` for ReadableStream to remain other special properties
|
|
664
|
+
*/
|
|
665
|
+
body: override(body, wrapReadableStream(body, { onFinish: () => tmpFiles.cleanup() }))
|
|
662
666
|
}
|
|
663
667
|
};
|
|
664
668
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orpc/node",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.38",
|
|
5
5
|
"description": "Node.js plugins for oRPC: static file serving, temporary file uploads, and batch response compression",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": [
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@orpc/server": "2.0.0-beta.
|
|
40
|
-
"@orpc/shared": "2.0.0-beta.
|
|
41
|
-
"@standard-server/core": "~0.9.
|
|
42
|
-
"@standard-server/fetch": "~0.9.
|
|
43
|
-
"@standard-server/node": "~0.9.
|
|
39
|
+
"@orpc/server": "2.0.0-beta.38",
|
|
40
|
+
"@orpc/shared": "2.0.0-beta.38",
|
|
41
|
+
"@standard-server/core": "~0.9.2",
|
|
42
|
+
"@standard-server/fetch": "~0.9.2",
|
|
43
|
+
"@standard-server/node": "~0.9.2",
|
|
44
44
|
"mime": "^4.1.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@orpc/client": "2.0.0-beta.
|
|
47
|
+
"@orpc/client": "2.0.0-beta.38",
|
|
48
48
|
"supertest": "^7.2.2"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|