@opra/http 1.24.0 → 1.24.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.
|
@@ -138,7 +138,7 @@ export class HttpOutgoingHost {
|
|
|
138
138
|
this.setHeader('Content-Type', setCharset(ctype || 'txt', encoding));
|
|
139
139
|
}
|
|
140
140
|
// populate Content-Length
|
|
141
|
-
let len
|
|
141
|
+
let len;
|
|
142
142
|
if (chunk !== undefined) {
|
|
143
143
|
if (Buffer.isBuffer(chunk)) {
|
|
144
144
|
// get length of Buffer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/http",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.3",
|
|
4
4
|
"description": "Opra Http Server Adapter",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"fresh": "^0.5.2",
|
|
24
24
|
"iconv-lite": "^0.7.2",
|
|
25
25
|
"mime-types": "^3.0.2",
|
|
26
|
-
"node-events-async": "^1.5.
|
|
27
|
-
"power-tasks": "^1.
|
|
26
|
+
"node-events-async": "^1.5.2",
|
|
27
|
+
"power-tasks": "^1.14.1",
|
|
28
28
|
"putil-varhelpers": "^1.7.0",
|
|
29
29
|
"range-parser": "^1.2.1",
|
|
30
30
|
"raw-body": "^3.0.2",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"tslib": "^2.8.1",
|
|
35
35
|
"valgen": "^5.19.5",
|
|
36
36
|
"vary": "^1.1.2",
|
|
37
|
-
"yaml": "^2.8.
|
|
37
|
+
"yaml": "^2.8.3"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@opra/common": "^1.24.
|
|
41
|
-
"@opra/core": "^1.24.
|
|
40
|
+
"@opra/common": "^1.24.3",
|
|
41
|
+
"@opra/core": "^1.24.3"
|
|
42
42
|
},
|
|
43
43
|
"optionalDependencies": {
|
|
44
44
|
"express": "^4.0.0 || ^5.0.0",
|