bdy 1.8.7-dev → 1.8.11-dev
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/distTs/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bdy",
|
|
3
3
|
"preferGlobal": false,
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.11-dev",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"lint": "eslint \"*/**\"",
|
|
9
9
|
"lint:types": "tsc --skipLibCheck --noEmit --project tsconfig.json",
|
|
10
|
-
"watch": "tsc --watch --project tsconfig.json",
|
|
11
|
-
"buildTs": "tsc --project tsconfig.json"
|
|
10
|
+
"watch": "tsc --watch --project tsconfig.json & tsc --watch --project src/visualTest/utils/tsconfig.json",
|
|
11
|
+
"buildTs": "tsc --project tsconfig.json & tsc --project src/visualTest/utils/tsconfig.json"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"distTs"
|
|
@@ -58,7 +58,7 @@ class TunnelIdentification extends events_1.default {
|
|
|
58
58
|
else {
|
|
59
59
|
socket.write('GET / HTTP/1.1\r\nHost: example.com\r\n\r\n');
|
|
60
60
|
socket.on('data', (d) => {
|
|
61
|
-
if (/HTTP\/1
|
|
61
|
+
if (/HTTP\/1/.test(d.toString('utf8'))) {
|
|
62
62
|
this.type = utils_1.TUNNEL_IDENTIFIED_HTTP1;
|
|
63
63
|
this.emit(utils_1.EVENT_TUNNEL_IDENTIFIED, utils_1.TUNNEL_IDENTIFIED_HTTP1);
|
|
64
64
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bdy",
|
|
3
3
|
"preferGlobal": false,
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.11-dev",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"lint": "eslint \"*/**\"",
|
|
9
9
|
"lint:types": "tsc --skipLibCheck --noEmit --project tsconfig.json",
|
|
10
|
-
"watch": "tsc --watch --project tsconfig.json",
|
|
11
|
-
"buildTs": "tsc --project tsconfig.json"
|
|
10
|
+
"watch": "tsc --watch --project tsconfig.json & tsc --watch --project src/visualTest/utils/tsconfig.json",
|
|
11
|
+
"buildTs": "tsc --project tsconfig.json & tsc --project src/visualTest/utils/tsconfig.json"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"distTs"
|