@orpc/node 2.0.0-beta.33 → 2.0.0-beta.34
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 +3 -3
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Duplex } from 'node:stream';
|
|
2
2
|
import { constants, createGzip, createDeflate, createDeflateRaw } from 'node:zlib';
|
|
3
3
|
import { toArray, isNoTransformCacheControl, parseAcceptEncodingQualities, stringifyJSON, varyByAcceptEncoding, mergeHttpPath, tryDecodeURIComponent, matchesHttpPathPrefix, isCompressibleContentType, getOpenTelemetryConfig, value, isAsyncIteratorObject, override, wrapAsyncIterator, wrapReadableStream } from '@orpc/shared';
|
|
4
|
-
import { flattenStandardHeader, parseStandardUrl, resolveStandardBodyHint, getFilenameFromContentDisposition } from '@
|
|
4
|
+
import { flattenStandardHeader, parseStandardUrl, resolveStandardBodyHint, getFilenameFromContentDisposition } from '@standard-server/core';
|
|
5
5
|
import { createReadStream, openAsBlob } from 'node:fs';
|
|
6
6
|
import { realpath, stat, mkdtemp, appendFile, rm } from 'node:fs/promises';
|
|
7
7
|
import path from 'node:path';
|
|
8
|
-
import { toWebReadableStream } from '@
|
|
8
|
+
import { toWebReadableStream } from '@standard-server/node';
|
|
9
9
|
import mime from 'mime';
|
|
10
10
|
import { Buffer } from 'node:buffer';
|
|
11
11
|
import { tmpdir } from 'node:os';
|
|
12
12
|
import { ORPCError } from '@orpc/server';
|
|
13
|
-
import { toFetchHeaders, toStandardBody } from '@
|
|
13
|
+
import { toFetchHeaders, toStandardBody } from '@standard-server/fetch';
|
|
14
14
|
|
|
15
15
|
class BatchResponseCompressionHandlerPlugin {
|
|
16
16
|
name = "~batch-response-compression";
|
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.34",
|
|
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
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
39
|
+
"@orpc/server": "2.0.0-beta.34",
|
|
40
|
+
"@orpc/shared": "2.0.0-beta.34",
|
|
41
|
+
"@standard-server/core": "~0.9.0",
|
|
42
|
+
"@standard-server/fetch": "~0.9.0",
|
|
43
|
+
"@standard-server/node": "~0.9.0",
|
|
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.34",
|
|
48
48
|
"supertest": "^7.2.2"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|