@opra/http 1.7.1 → 1.7.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/http",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "Opra Http Server Adapter",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"@browsery/http-parser": "^0.5.9-r1",
|
|
10
10
|
"@browsery/type-is": "^1.6.18-r5",
|
|
11
11
|
"@jsopen/objects": "^1.5.0",
|
|
12
|
-
"@opra/common": "^1.7.
|
|
13
|
-
"@opra/core": "^1.7.
|
|
12
|
+
"@opra/common": "^1.7.3",
|
|
13
|
+
"@opra/core": "^1.7.3",
|
|
14
14
|
"accepts": "^1.3.8",
|
|
15
15
|
"base64-stream": "^1.0.0",
|
|
16
16
|
"busboy": "^1.6.0",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"vary": "^1.1.2"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"express": "^4.
|
|
41
|
-
"fastify": "^4.
|
|
40
|
+
"express": "^4.0.0 || ^5.0.0",
|
|
41
|
+
"fastify": "^4.0.0 || ^5.0.0"
|
|
42
42
|
},
|
|
43
43
|
"type": "module",
|
|
44
44
|
"exports": {
|
|
@@ -2,7 +2,7 @@ import { type HTTPParserJS } from '@browsery/http-parser';
|
|
|
2
2
|
import type { IncomingHttpHeaders } from 'http';
|
|
3
3
|
import { Duplex, Readable } from 'stream';
|
|
4
4
|
import type { NodeIncomingMessage } from '../interfaces/node-incoming-message.interface.js';
|
|
5
|
-
export declare const CRLF: Buffer
|
|
5
|
+
export declare const CRLF: Buffer<ArrayBuffer>;
|
|
6
6
|
export declare const kHeaders: unique symbol;
|
|
7
7
|
export declare const kHeadersDistinct: unique symbol;
|
|
8
8
|
export declare const kTrailers: unique symbol;
|
|
@@ -27,7 +27,7 @@ export declare class BodyReader extends EventEmitter {
|
|
|
27
27
|
protected onData: Callback;
|
|
28
28
|
protected onEnd: Callback;
|
|
29
29
|
constructor(req: HttpIncoming, options?: BodyReader.Options);
|
|
30
|
-
read(): Promise<string | Buffer | undefined>;
|
|
30
|
+
read(): Promise<string | Buffer<ArrayBufferLike> | undefined>;
|
|
31
31
|
protected _onEnd(error: any): void;
|
|
32
32
|
protected _cleanup(): void;
|
|
33
33
|
protected _onAborted(): void;
|