node-red-contrib-web-worldmap 2.34.0 → 2.35.0

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.
Files changed (127) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/README.md +2 -0
  3. package/node_modules/@turf/bezier-spline/package.json +70 -39
  4. package/node_modules/@turf/helpers/package.json +82 -38
  5. package/node_modules/@turf/invariant/package.json +73 -36
  6. package/node_modules/accepts/package.json +55 -15
  7. package/node_modules/array-flatten/package.json +47 -22
  8. package/node_modules/body-parser/HISTORY.md +0 -6
  9. package/node_modules/body-parser/README.md +1 -1
  10. package/node_modules/body-parser/index.js +9 -8
  11. package/node_modules/body-parser/node_modules/bytes/package.json +62 -20
  12. package/node_modules/body-parser/package.json +57 -18
  13. package/node_modules/bufferjs/package.json +65 -17
  14. package/node_modules/bufferlist/package.json +51 -15
  15. package/node_modules/call-bind/package.json +106 -78
  16. package/node_modules/cgi/package.json +46 -10
  17. package/node_modules/compressible/package.json +58 -15
  18. package/node_modules/compression/node_modules/bytes/package.json +84 -0
  19. package/node_modules/compression/package.json +52 -10
  20. package/node_modules/content-disposition/node_modules/safe-buffer/package.json +43 -18
  21. package/node_modules/content-disposition/package.json +49 -14
  22. package/node_modules/content-type/package.json +54 -15
  23. package/node_modules/cookie/package.json +52 -14
  24. package/node_modules/cookie-signature/package.json +47 -8
  25. package/node_modules/debug/package.json +68 -21
  26. package/node_modules/depd/package.json +51 -13
  27. package/node_modules/destroy/package.json +50 -15
  28. package/node_modules/ee-first/package.json +43 -9
  29. package/node_modules/encodeurl/package.json +52 -14
  30. package/node_modules/escape-html/package.json +47 -12
  31. package/node_modules/etag/package.json +54 -15
  32. package/node_modules/express/History.md +0 -9
  33. package/node_modules/express/Readme.md +2 -2
  34. package/node_modules/express/lib/router/route.js +8 -8
  35. package/node_modules/express/node_modules/safe-buffer/package.json +43 -18
  36. package/node_modules/express/package.json +88 -33
  37. package/node_modules/extend/package.json +78 -42
  38. package/node_modules/faye-websocket/package.json +64 -33
  39. package/node_modules/finalhandler/package.json +44 -9
  40. package/node_modules/forwarded/package.json +49 -14
  41. package/node_modules/fresh/package.json +61 -17
  42. package/node_modules/function-bind/package.json +56 -23
  43. package/node_modules/get-intrinsic/package.json +118 -89
  44. package/node_modules/has/package.json +46 -21
  45. package/node_modules/has-symbols/package.json +124 -99
  46. package/node_modules/header-stack/package.json +48 -14
  47. package/node_modules/http-errors/package.json +63 -18
  48. package/node_modules/iconv-lite/package.json +77 -43
  49. package/node_modules/inherits/package.json +44 -12
  50. package/node_modules/ipaddr.js/package.json +48 -13
  51. package/node_modules/media-typer/package.json +43 -8
  52. package/node_modules/merge-descriptors/package.json +47 -10
  53. package/node_modules/methods/package.json +60 -17
  54. package/node_modules/mime/package.json +45 -13
  55. package/node_modules/mime-db/HISTORY.md +0 -8
  56. package/node_modules/mime-db/LICENSE +18 -19
  57. package/node_modules/mime-db/README.md +1 -1
  58. package/node_modules/mime-db/db.json +6 -54
  59. package/node_modules/mime-db/index.js +0 -1
  60. package/node_modules/mime-db/package.json +67 -24
  61. package/node_modules/mime-types/HISTORY.md +0 -9
  62. package/node_modules/mime-types/README.md +1 -1
  63. package/node_modules/mime-types/package.json +63 -19
  64. package/node_modules/ms/package.json +54 -19
  65. package/node_modules/negotiator/package.json +61 -19
  66. package/node_modules/object-inspect/package.json +76 -48
  67. package/node_modules/on-finished/package.json +50 -8
  68. package/node_modules/on-headers/package.json +52 -14
  69. package/node_modules/parseurl/package.json +54 -10
  70. package/node_modules/path-to-regexp/package.json +44 -15
  71. package/node_modules/proxy-addr/package.json +49 -14
  72. package/node_modules/qs/.editorconfig +0 -3
  73. package/node_modules/qs/.eslintrc +5 -5
  74. package/node_modules/qs/CHANGELOG.md +0 -158
  75. package/node_modules/qs/README.md +1 -3
  76. package/node_modules/qs/dist/qs.js +9 -19
  77. package/node_modules/qs/lib/stringify.js +3 -12
  78. package/node_modules/qs/package.json +98 -73
  79. package/node_modules/qs/test/parse.js +0 -14
  80. package/node_modules/qs/test/stringify.js +10 -54
  81. package/node_modules/range-parser/package.json +68 -18
  82. package/node_modules/raw-body/node_modules/bytes/package.json +62 -20
  83. package/node_modules/raw-body/package.json +51 -9
  84. package/node_modules/safe-buffer/package.json +36 -5
  85. package/node_modules/safer-buffer/package.json +42 -13
  86. package/node_modules/send/node_modules/ms/package.json +52 -20
  87. package/node_modules/send/package.json +62 -17
  88. package/node_modules/serve-static/package.json +44 -9
  89. package/node_modules/setprototypeof/package.json +55 -27
  90. package/node_modules/side-channel/package.json +93 -65
  91. package/node_modules/sockjs/package.json +70 -43
  92. package/node_modules/statuses/package.json +61 -19
  93. package/node_modules/stream-stack/package.json +43 -11
  94. package/node_modules/toidentifier/package.json +51 -9
  95. package/node_modules/type-is/package.json +55 -12
  96. package/node_modules/unpipe/package.json +45 -8
  97. package/node_modules/utils-merge/package.json +45 -19
  98. package/node_modules/uuid/package.json +99 -70
  99. package/node_modules/vary/package.json +52 -13
  100. package/node_modules/websocket-driver/node_modules/http-parser-js/README.md +31 -0
  101. package/node_modules/{http-parser-js → websocket-driver/node_modules/http-parser-js}/http-parser.js +7 -12
  102. package/node_modules/websocket-driver/node_modules/http-parser-js/package.json +75 -0
  103. package/node_modules/websocket-driver/package.json +68 -33
  104. package/node_modules/websocket-extensions/package.json +61 -27
  105. package/package.json +1 -1
  106. package/worldmap/worldmap.js +5 -4
  107. package/node_modules/bytes/package.json +0 -39
  108. package/node_modules/faye-websocket/CHANGELOG.md +0 -139
  109. package/node_modules/header-stack/headers.js +0 -33
  110. package/node_modules/header-stack/index.js +0 -2
  111. package/node_modules/header-stack/parser.js +0 -131
  112. package/node_modules/header-stack/tests/dumps/multipart-folded-headers.eml +0 -27
  113. package/node_modules/header-stack/tests/dumps/simple-curl-get.dump +0 -5
  114. package/node_modules/header-stack/tests/test-empty.js +0 -15
  115. package/node_modules/header-stack/tests/test-multipart-folded-headers.js +0 -21
  116. package/node_modules/header-stack/tests/test-simple-curl-get.js +0 -32
  117. package/node_modules/http-parser-js/README.md +0 -43
  118. package/node_modules/http-parser-js/http-parser.d.ts +0 -175
  119. package/node_modules/http-parser-js/package.json +0 -30
  120. package/node_modules/path-to-regexp/History.md +0 -36
  121. package/node_modules/websocket-driver/CHANGELOG.md +0 -142
  122. package/node_modules/websocket-extensions/CHANGELOG.md +0 -28
  123. /package/node_modules/{bytes → compression/node_modules/bytes}/History.md +0 -0
  124. /package/node_modules/{bytes → compression/node_modules/bytes}/LICENSE +0 -0
  125. /package/node_modules/{bytes → compression/node_modules/bytes}/Readme.md +0 -0
  126. /package/node_modules/{bytes → compression/node_modules/bytes}/index.js +0 -0
  127. /package/node_modules/{http-parser-js → websocket-driver/node_modules/http-parser-js}/LICENSE.md +0 -0
@@ -1,175 +0,0 @@
1
- type ParserType =
2
- | 'REQUEST'
3
- | 'RESPONSE'
4
-
5
- type RequestMethod =
6
- | 'DELETE'
7
- | 'GET'
8
- | 'HEAD'
9
- | 'POST'
10
- | 'PUT'
11
- | 'CONNECT'
12
- | 'OPTIONS'
13
- | 'TRACE'
14
- | 'COPY'
15
- | 'LOCK'
16
- | 'MKCOL'
17
- | 'MOVE'
18
- | 'PROPFIND'
19
- | 'PROPPATCH'
20
- | 'SEARCH'
21
- | 'UNLOCK'
22
- | 'BIND'
23
- | 'REBIND'
24
- | 'UNBIND'
25
- | 'ACL'
26
- | 'REPORT'
27
- | 'MKACTIVITY'
28
- | 'CHECKOUT'
29
- | 'MERGE'
30
- | 'M-SEARCH'
31
- | 'NOTIFY'
32
- | 'SUBSCRIBE'
33
- | 'UNSUBSCRIBE'
34
- | 'PATCH'
35
- | 'PURGE'
36
- | 'MKCALENDAR'
37
- | 'LINK'
38
- | 'UNLINK'
39
- | string
40
-
41
- type StateHeaderKey =
42
- | 'REQUEST_LINE'
43
- | 'RESPONSE_LINE'
44
- | 'HEADER'
45
-
46
- type StateFinishAllowedKey =
47
- | 'REQUEST_LINE'
48
- | 'RESPONSE_LINE'
49
- | 'BODY_RAW'
50
-
51
- type HeaderObject = Array<string>
52
- type noop<T = void> = ()=> T
53
-
54
- type HeaderInfo<HEADER = HeaderObject> = {
55
- versionMajor: number
56
- versionMinor: number
57
- headers: HEADER
58
- method: number
59
- url: string
60
- statusCode: number
61
- statusMessage: string
62
- upgrade: boolean
63
- shouldKeepAlive: boolean
64
- }
65
- export type OnHeadersCompleteParser<HEADER = HeaderObject, Mode_0_12 extends boolean = true> = Mode_0_12 extends true
66
- ? (info: HeaderInfo<HEADER>)=> number | void
67
- : (
68
- versionMajor: number,
69
- versionMinor: number,
70
- headers: HEADER,
71
- method: number,
72
- url: string,
73
- statusCode: number,
74
- statusMessage: string,
75
- upgrade: boolean,
76
- shouldKeepAlive: boolean,
77
- )=> number | void
78
- export type OnBodyParser = (chunk: Buffer, offset: number, length: number)=> void
79
- // Only called in the slow case where slow means
80
- // that the request headers were either fragmented
81
- // across multiple TCP packets or too large to be
82
- // processed in a single run. This method is also
83
- // called to process trailing HTTP headers.
84
- export type OnHeadersParser = (headers: string[], url: string)=> void
85
-
86
- declare class HTTPParserJS {
87
- initialize(type: ParserType, async_resource?: unknown): void
88
-
89
- // Some handler stubs, needed for compatibility
90
- [HTTPParser.kOnHeaders]: OnHeadersParser
91
- [HTTPParser.kOnHeadersComplete]: OnHeadersCompleteParser
92
- [HTTPParser.kOnBody]: OnBodyParser
93
- [HTTPParser.kOnMessageComplete]: noop
94
-
95
- reinitialize: HTTPParserConstructor
96
- close: noop
97
- pause: noop
98
- resume: noop
99
- free: noop
100
- private _compatMode0_11: false | boolean
101
- getAsyncId: noop<0>
102
-
103
- execute(chunk: Buffer, start?: number, length?: number): number | Error
104
- finish(): void | Error
105
-
106
- // These three methods are used for an internal speed optimization, and it also
107
- // works if theses are noops. Basically consume() asks us to read the bytes
108
- // ourselves, but if we don't do it we get them through execute().
109
- consume: noop
110
- unconsume: noop
111
- getCurrentBuffer: noop
112
-
113
- /**
114
- * For correct error handling - see HTTPParser#execute
115
- * @example this.userCall()(userFunction('arg'));
116
- */
117
- userCall<T = unknown>(): (ret?: T)=> T
118
- private nextRequest: noop
119
- private consumeLine: noop<string|void>
120
- parseHeader(line: string, headers: string[]): void
121
- private REQUEST_LINE: noop
122
- private RESPONSE_LINE: noop
123
- shouldKeepAlive(): boolean
124
- /**
125
- * For older versions of node (v6.x and older?), that return `skipBody=1` or `skipBody=true`, need this `return true;` if it's an upgrade request.
126
- */
127
- private HEADER(): void | boolean
128
- private BODY_CHUNKHEAD(): void
129
- private BODY_CHUNK(): void
130
- private BODY_CHUNKEMPTYLINE(): void
131
- private BODY_CHUNKTRAILERS(): void
132
- private BODY_RAW(): void
133
- private BODY_SIZED(): void
134
-
135
- get onHeaders(): OnHeadersParser
136
- set onHeaders(to: OnHeadersParser)
137
-
138
- get onHeadersComplete(): OnHeadersCompleteParser
139
- set onHeadersComplete(to: OnHeadersCompleteParser)
140
-
141
- get onBody(): OnBodyParser
142
- set onBody(to: OnBodyParser)
143
-
144
- get onMessageComplete(): noop
145
- set onMessageComplete(to: noop)
146
- }
147
-
148
- interface HTTPParserConstructor extends Function {
149
- new(type?: ParserType): HTTPParserJS
150
- (type?: ParserType): void
151
-
152
- readonly prototype: HTTPParserJS
153
-
154
- readonly REQUEST: 'REQUEST'
155
- readonly RESPONSE: 'RESPONSE'
156
- readonly methods: RequestMethod[]
157
-
158
- encoding: 'ascii'|string
159
- /**
160
- * maxHeaderSize (in bytes) is configurable, but 80kb by default;
161
- * @default 80 * 1024 = 80kb
162
- */
163
- maxHeaderSize: 81920|number
164
-
165
- // Note: *not* starting with kOnHeaders=0 line the Node parser, because any
166
- // newly added constants (kOnTimeout in Node v12.19.0) will overwrite 0!
167
- readonly kOnHeaders: 1
168
- readonly kOnHeadersComplete: 2
169
- readonly kOnBody: 3
170
- readonly kOnMessageComplete: 4
171
-
172
- kOnExecute(): void
173
- }
174
- export const HTTPParser: HTTPParserConstructor
175
- export const methods: RequestMethod[]
@@ -1,30 +0,0 @@
1
- {
2
- "name": "http-parser-js",
3
- "version": "0.5.8",
4
- "description": "A pure JS HTTP parser for node.",
5
- "main": "http-parser.js",
6
- "types": "http-parser.d.ts",
7
- "scripts": {
8
- "test": "python tests/test.py && node tests/iojs/test-http-parser-durability.js",
9
- "testv12": "python tests/test.py --node-args=\"--http-parser=legacy\" && node --http-parser=legacy tests/iojs/test-http-parser-durability.js"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "git://github.com/creationix/http-parser-js.git"
14
- },
15
- "files": [
16
- "http-parser.js",
17
- "http-parser.d.ts"
18
- ],
19
- "keywords": [
20
- "http"
21
- ],
22
- "author": "Tim Caswell (https://github.com/creationix)",
23
- "contributors": [
24
- "Jimb Esser (https://github.com/Jimbly)",
25
- "Lawrence Rowe (https://github.com/lrowe)",
26
- "Jan Schär (https://github.com/jscissr)",
27
- "Paul Rütter (https://github.com/paulrutter)"
28
- ],
29
- "license": "MIT"
30
- }
@@ -1,36 +0,0 @@
1
- 0.1.7 / 2015-07-28
2
- ==================
3
-
4
- * Fixed regression with escaped round brackets and matching groups.
5
-
6
- 0.1.6 / 2015-06-19
7
- ==================
8
-
9
- * Replace `index` feature by outputting all parameters, unnamed and named.
10
-
11
- 0.1.5 / 2015-05-08
12
- ==================
13
-
14
- * Add an index property for position in match result.
15
-
16
- 0.1.4 / 2015-03-05
17
- ==================
18
-
19
- * Add license information
20
-
21
- 0.1.3 / 2014-07-06
22
- ==================
23
-
24
- * Better array support
25
- * Improved support for trailing slash in non-ending mode
26
-
27
- 0.1.0 / 2014-03-06
28
- ==================
29
-
30
- * add options.end
31
-
32
- 0.0.2 / 2013-02-10
33
- ==================
34
-
35
- * Update to match current express
36
- * add .license property to component.json
@@ -1,142 +0,0 @@
1
- ### 0.7.4 / 2020-05-22
2
-
3
- - Avoid crashing if `process.version` does not contain any digits
4
- - Emit `ping` and `pong` events from the `Server` driver
5
- - Require http-parser-js >=0.5.1 which fixes the bug we addressed in 0.7.3
6
-
7
- ### 0.7.3 / 2019-06-13
8
-
9
- - Cap version of http-parser-js below 0.4.11, which introduced a bug that
10
- prevents us from handling messages that are part of the same input buffer as
11
- the handshake response if chunked encoding is specified
12
-
13
- ### 0.7.2 / 2019-06-13
14
-
15
- (This version was pulled due to an error when publishing)
16
-
17
- ### 0.7.1 / 2019-06-10
18
-
19
- - Catch any exceptions produced while generating a handshake response and send a
20
- `400 Bad Request` response to the client
21
- - Pick the RFC-6455 protocol version if the request contains any of the headers
22
- used by that version
23
- - Use the `Buffer.alloc()` and `Buffer.from()` functions instead of the unsafe
24
- `Buffer()` constructor
25
- - Handle errors encountered while handling malformed draft-76 requests
26
- - Change license from MIT to Apache 2.0
27
-
28
- ### 0.7.0 / 2017-09-11
29
-
30
- - Add `ping` and `pong` to the set of events users can listen to
31
- - Replace the bindings to Node's HTTP parser with `http-parser-js`
32
-
33
- ### 0.6.5 / 2016-05-20
34
-
35
- - Don't mutate buffers passed in by the application when masking
36
-
37
- ### 0.6.4 / 2016-01-07
38
-
39
- - If a number is given as input for a frame payload, send it as a string
40
-
41
- ### 0.6.3 / 2015-11-06
42
-
43
- - Reject draft-76 handshakes if their Sec-WebSocket-Key headers are invalid
44
- - Throw a more helpful error if a client is created with an invalid URL
45
-
46
- ### 0.6.2 / 2015-07-18
47
-
48
- - When the peer sends a close frame with no error code, emit 1000
49
-
50
- ### 0.6.1 / 2015-07-13
51
-
52
- - Use the `buffer.{read,write}UInt{16,32}BE` methods for reading/writing numbers
53
- to buffers rather than including duplicate logic for this
54
-
55
- ### 0.6.0 / 2015-07-08
56
-
57
- - Allow the parser to recover cleanly if event listeners raise an error
58
- - Add a `pong` method for sending unsolicited pong frames
59
-
60
- ### 0.5.4 / 2015-03-29
61
-
62
- - Don't emit extra close frames if we receive a close frame after we already
63
- sent one
64
- - Fail the connection when the driver receives an invalid
65
- `Sec-WebSocket-Extensions` header
66
-
67
- ### 0.5.3 / 2015-02-22
68
-
69
- - Don't treat incoming data as WebSocket frames if a client driver is closed
70
- before receiving the server handshake
71
-
72
- ### 0.5.2 / 2015-02-19
73
-
74
- - Fix compatibility with the HTTP parser on io.js
75
- - Use `websocket-extensions` to make sure messages and close frames are kept in
76
- order
77
- - Don't emit multiple `error` events
78
-
79
- ### 0.5.1 / 2014-12-18
80
-
81
- - Don't allow drivers to be created with unrecognized options
82
-
83
- ### 0.5.0 / 2014-12-13
84
-
85
- - Support protocol extensions via the websocket-extensions module
86
-
87
- ### 0.4.0 / 2014-11-08
88
-
89
- - Support connection via HTTP proxies using `CONNECT`
90
-
91
- ### 0.3.6 / 2014-10-04
92
-
93
- - It is now possible to call `close()` before `start()` and close the driver
94
-
95
- ### 0.3.5 / 2014-07-06
96
-
97
- - Don't hold references to frame buffers after a message has been emitted
98
- - Make sure that `protocol` and `version` are exposed properly by the TCP driver
99
-
100
- ### 0.3.4 / 2014-05-08
101
-
102
- - Don't hold memory-leaking references to I/O buffers after they have been
103
- parsed
104
-
105
- ### 0.3.3 / 2014-04-24
106
-
107
- - Correct the draft-76 status line reason phrase
108
-
109
- ### 0.3.2 / 2013-12-29
110
-
111
- - Expand `maxLength` to cover sequences of continuation frames and
112
- `draft-{75,76}`
113
- - Decrease default maximum frame buffer size to 64MB
114
- - Stop parsing when the protocol enters a failure mode, to save CPU cycles
115
-
116
- ### 0.3.1 / 2013-12-03
117
-
118
- - Add a `maxLength` option to limit allowed frame size
119
- - Don't pre-allocate a message buffer until the whole frame has arrived
120
- - Fix compatibility with Node v0.11 `HTTPParser`
121
-
122
- ### 0.3.0 / 2013-09-09
123
-
124
- - Support client URLs with Basic Auth credentials
125
-
126
- ### 0.2.2 / 2013-07-05
127
-
128
- - No functional changes, just updates to package.json
129
-
130
- ### 0.2.1 / 2013-05-17
131
-
132
- - Export the isSecureRequest() method since faye-websocket relies on it
133
- - Queue sent messages in the client's initial state
134
-
135
- ### 0.2.0 / 2013-05-12
136
-
137
- - Add API for setting and reading headers
138
- - Add Driver.server() method for getting a driver for TCP servers
139
-
140
- ### 0.1.0 / 2013-05-04
141
-
142
- - First stable release
@@ -1,28 +0,0 @@
1
- ### 0.1.4 / 2020-06-02
2
-
3
- - Remove a ReDoS vulnerability in the header parser (CVE-2020-7662, reported by
4
- Robert McLaughlin)
5
- - Change license from MIT to Apache 2.0
6
-
7
- ### 0.1.3 / 2017-11-11
8
-
9
- - Accept extension names and parameters including uppercase letters
10
- - Handle extension names that clash with `Object.prototype` properties
11
-
12
- ### 0.1.2 / 2017-09-10
13
-
14
- - Catch synchronous exceptions thrown when calling an extension
15
- - Fix race condition caused when a message is pushed after a cell has stopped
16
- due to an error
17
- - Fix failure of `close()` to return if a message that's queued after one that
18
- produces an error never finishes being processed
19
-
20
- ### 0.1.1 / 2015-02-19
21
-
22
- - Prevent sessions being closed before they have finished processing messages
23
- - Add a callback to `Extensions.close()` so the caller can tell when it's safe
24
- to close the socket
25
-
26
- ### 0.1.0 / 2014-12-12
27
-
28
- - Initial release