node-red-contrib-web-worldmap 2.31.3 → 2.32.2
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/CHANGELOG.md +6 -1
- package/README.md +7 -2
- package/node_modules/accepts/package.json +55 -15
- package/node_modules/body-parser/HISTORY.md +0 -6
- package/node_modules/body-parser/README.md +1 -1
- package/node_modules/body-parser/index.js +9 -8
- package/node_modules/body-parser/node_modules/bytes/package.json +62 -20
- package/node_modules/body-parser/package.json +57 -18
- package/node_modules/bufferjs/package.json +65 -17
- package/node_modules/bufferlist/package.json +51 -15
- package/node_modules/cgi/package.json +46 -10
- package/node_modules/compressible/package.json +58 -15
- package/node_modules/{bytes → compression/node_modules/bytes}/History.md +0 -0
- package/node_modules/{bytes → compression/node_modules/bytes}/LICENSE +0 -0
- package/node_modules/{bytes → compression/node_modules/bytes}/Readme.md +0 -0
- package/node_modules/{bytes → compression/node_modules/bytes}/index.js +0 -0
- package/node_modules/compression/node_modules/bytes/package.json +84 -0
- package/node_modules/express/History.md +0 -9
- package/node_modules/express/Readme.md +2 -2
- package/node_modules/express/lib/router/route.js +8 -8
- package/node_modules/express/package.json +88 -33
- package/node_modules/get-intrinsic/package.json +118 -89
- package/node_modules/header-stack/package.json +48 -14
- package/node_modules/mime-db/HISTORY.md +0 -8
- package/node_modules/mime-db/LICENSE +18 -19
- package/node_modules/mime-db/README.md +1 -1
- package/node_modules/mime-db/db.json +6 -54
- package/node_modules/mime-db/index.js +0 -1
- package/node_modules/mime-db/package.json +67 -24
- package/node_modules/mime-types/HISTORY.md +0 -9
- package/node_modules/mime-types/README.md +1 -1
- package/node_modules/mime-types/package.json +63 -19
- package/node_modules/ms/package.json +54 -19
- package/node_modules/negotiator/package.json +61 -19
- package/node_modules/qs/.editorconfig +0 -3
- package/node_modules/qs/.eslintrc +5 -5
- package/node_modules/qs/CHANGELOG.md +0 -158
- package/node_modules/qs/README.md +1 -3
- package/node_modules/qs/dist/qs.js +9 -19
- package/node_modules/qs/lib/stringify.js +3 -12
- package/node_modules/qs/package.json +98 -73
- package/node_modules/qs/test/parse.js +0 -14
- package/node_modules/qs/test/stringify.js +10 -54
- package/node_modules/raw-body/node_modules/bytes/package.json +62 -20
- package/node_modules/stream-stack/package.json +43 -11
- package/node_modules/vary/package.json +52 -13
- package/node_modules/websocket-driver/node_modules/http-parser-js/CHANGELOG.md +14 -0
- package/node_modules/{http-parser-js → websocket-driver/node_modules/http-parser-js}/LICENSE.md +0 -0
- package/node_modules/websocket-driver/node_modules/http-parser-js/README.md +31 -0
- package/node_modules/{http-parser-js → websocket-driver/node_modules/http-parser-js}/http-parser.js +7 -12
- package/node_modules/websocket-driver/node_modules/http-parser-js/package.json +75 -0
- package/package.json +1 -1
- package/worldmap/leaflet/leaflet-side-by-side.js +278 -275
- package/worldmap/worldmap.js +48 -40
- package/node_modules/bytes/package.json +0 -39
- package/node_modules/http-parser-js/README.md +0 -43
- package/node_modules/http-parser-js/http-parser.d.ts +0 -175
- package/node_modules/http-parser-js/package.json +0 -30
package/node_modules/{http-parser-js → websocket-driver/node_modules/http-parser-js}/http-parser.js
RENAMED
|
@@ -10,7 +10,6 @@ function HTTPParser(type) {
|
|
|
10
10
|
} else {
|
|
11
11
|
this.initialize(type);
|
|
12
12
|
}
|
|
13
|
-
this.maxHeaderSize=HTTPParser.maxHeaderSize
|
|
14
13
|
}
|
|
15
14
|
HTTPParser.prototype.initialize = function (type, async_resource) {
|
|
16
15
|
assert.ok(type === HTTPParser.REQUEST || type === HTTPParser.RESPONSE);
|
|
@@ -34,13 +33,10 @@ HTTPParser.encoding = 'ascii';
|
|
|
34
33
|
HTTPParser.maxHeaderSize = 80 * 1024; // maxHeaderSize (in bytes) is configurable, but 80kb by default;
|
|
35
34
|
HTTPParser.REQUEST = 'REQUEST';
|
|
36
35
|
HTTPParser.RESPONSE = 'RESPONSE';
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
var
|
|
41
|
-
var kOnHeadersComplete = HTTPParser.kOnHeadersComplete = 2;
|
|
42
|
-
var kOnBody = HTTPParser.kOnBody = 3;
|
|
43
|
-
var kOnMessageComplete = HTTPParser.kOnMessageComplete = 4;
|
|
36
|
+
var kOnHeaders = HTTPParser.kOnHeaders = 0;
|
|
37
|
+
var kOnHeadersComplete = HTTPParser.kOnHeadersComplete = 1;
|
|
38
|
+
var kOnBody = HTTPParser.kOnBody = 2;
|
|
39
|
+
var kOnMessageComplete = HTTPParser.kOnMessageComplete = 3;
|
|
44
40
|
|
|
45
41
|
// Some handler stubs, needed for compatibility
|
|
46
42
|
HTTPParser.prototype[kOnHeaders] =
|
|
@@ -53,7 +49,7 @@ Object.defineProperty(HTTPParser, 'kOnExecute', {
|
|
|
53
49
|
get: function () {
|
|
54
50
|
// hack for backward compatibility
|
|
55
51
|
compatMode0_12 = false;
|
|
56
|
-
return
|
|
52
|
+
return 4;
|
|
57
53
|
}
|
|
58
54
|
});
|
|
59
55
|
|
|
@@ -90,8 +86,7 @@ var methods = exports.methods = HTTPParser.methods = [
|
|
|
90
86
|
'PURGE',
|
|
91
87
|
'MKCALENDAR',
|
|
92
88
|
'LINK',
|
|
93
|
-
'UNLINK'
|
|
94
|
-
'SOURCE',
|
|
89
|
+
'UNLINK'
|
|
95
90
|
];
|
|
96
91
|
var method_connect = methods.indexOf('CONNECT');
|
|
97
92
|
HTTPParser.prototype.reinitialize = HTTPParser;
|
|
@@ -137,7 +132,7 @@ HTTPParser.prototype.execute = function (chunk, start, length) {
|
|
|
137
132
|
length = this.offset - start;
|
|
138
133
|
if (headerState[this.state]) {
|
|
139
134
|
this.headerSize += length;
|
|
140
|
-
if (this.headerSize >
|
|
135
|
+
if (this.headerSize > HTTPParser.maxHeaderSize) {
|
|
141
136
|
return new Error('max header size exceeded');
|
|
142
137
|
}
|
|
143
138
|
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_args": [
|
|
3
|
+
[
|
|
4
|
+
"http-parser-js@0.5.2",
|
|
5
|
+
"/Users/conway/.node-red"
|
|
6
|
+
]
|
|
7
|
+
],
|
|
8
|
+
"_from": "http-parser-js@0.5.2",
|
|
9
|
+
"_id": "http-parser-js@0.5.2",
|
|
10
|
+
"_inBundle": false,
|
|
11
|
+
"_integrity": "sha512-opCO9ASqg5Wy2FNo7A0sxy71yGbbkJJXLdgMK04Tcypw9jr2MgWbyubb0+WdmDmGnFflO7fRbqbaihh/ENDlRQ==",
|
|
12
|
+
"_location": "/node-red-contrib-web-worldmap/websocket-driver/http-parser-js",
|
|
13
|
+
"_phantomChildren": {},
|
|
14
|
+
"_requested": {
|
|
15
|
+
"type": "version",
|
|
16
|
+
"registry": true,
|
|
17
|
+
"raw": "http-parser-js@0.5.2",
|
|
18
|
+
"name": "http-parser-js",
|
|
19
|
+
"escapedName": "http-parser-js",
|
|
20
|
+
"rawSpec": "0.5.2",
|
|
21
|
+
"saveSpec": null,
|
|
22
|
+
"fetchSpec": "0.5.2"
|
|
23
|
+
},
|
|
24
|
+
"_requiredBy": [
|
|
25
|
+
"/node-red-contrib-web-worldmap/websocket-driver"
|
|
26
|
+
],
|
|
27
|
+
"_resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.2.tgz",
|
|
28
|
+
"_spec": "0.5.2",
|
|
29
|
+
"_where": "/Users/conway/.node-red",
|
|
30
|
+
"author": {
|
|
31
|
+
"name": "Tim Caswell",
|
|
32
|
+
"url": "https://github.com/creationix"
|
|
33
|
+
},
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/creationix/http-parser-js/issues"
|
|
36
|
+
},
|
|
37
|
+
"contributors": [
|
|
38
|
+
{
|
|
39
|
+
"name": "Jimb Esser",
|
|
40
|
+
"url": "https://github.com/Jimbly"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Lawrence Rowe",
|
|
44
|
+
"url": "https://github.com/lrowe"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "Jan Schär",
|
|
48
|
+
"url": "https://github.com/jscissr"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "Paul Rütter",
|
|
52
|
+
"url": "https://github.com/paulrutter"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"description": "A pure JS HTTP parser for node.",
|
|
56
|
+
"files": [
|
|
57
|
+
"http-parser.js"
|
|
58
|
+
],
|
|
59
|
+
"homepage": "https://github.com/creationix/http-parser-js#readme",
|
|
60
|
+
"keywords": [
|
|
61
|
+
"http"
|
|
62
|
+
],
|
|
63
|
+
"license": "MIT",
|
|
64
|
+
"main": "http-parser.js",
|
|
65
|
+
"name": "http-parser-js",
|
|
66
|
+
"repository": {
|
|
67
|
+
"type": "git",
|
|
68
|
+
"url": "git://github.com/creationix/http-parser-js.git"
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"test": "python tests/test.py && node tests/iojs/test-http-parser-durability.js",
|
|
72
|
+
"testv12": "python tests/test.py --node-args=\"--http-parser=legacy\" && node --http-parser=legacy tests/iojs/test-http-parser-durability.js"
|
|
73
|
+
},
|
|
74
|
+
"version": "0.5.2"
|
|
75
|
+
}
|
package/package.json
CHANGED