node-red-contrib-web-worldmap 2.31.0 → 2.31.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.
Files changed (57) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +2 -1
  3. package/node_modules/accepts/package.json +15 -55
  4. package/node_modules/body-parser/HISTORY.md +6 -0
  5. package/node_modules/body-parser/README.md +1 -1
  6. package/node_modules/body-parser/index.js +8 -9
  7. package/node_modules/body-parser/node_modules/bytes/package.json +20 -62
  8. package/node_modules/body-parser/package.json +18 -57
  9. package/node_modules/bufferjs/package.json +17 -65
  10. package/node_modules/bufferlist/package.json +15 -51
  11. package/node_modules/{compression/node_modules/bytes → bytes}/History.md +0 -0
  12. package/node_modules/{compression/node_modules/bytes → bytes}/LICENSE +0 -0
  13. package/node_modules/{compression/node_modules/bytes → bytes}/Readme.md +0 -0
  14. package/node_modules/{compression/node_modules/bytes → bytes}/index.js +0 -0
  15. package/node_modules/bytes/package.json +39 -0
  16. package/node_modules/cgi/package.json +10 -46
  17. package/node_modules/compressible/package.json +15 -58
  18. package/node_modules/express/History.md +9 -0
  19. package/node_modules/express/Readme.md +2 -2
  20. package/node_modules/express/lib/router/route.js +8 -8
  21. package/node_modules/express/package.json +33 -88
  22. package/node_modules/get-intrinsic/package.json +89 -118
  23. package/node_modules/header-stack/package.json +14 -48
  24. package/node_modules/{websocket-driver/node_modules/http-parser-js → http-parser-js}/LICENSE.md +0 -0
  25. package/node_modules/http-parser-js/README.md +43 -0
  26. package/node_modules/http-parser-js/http-parser.d.ts +175 -0
  27. package/node_modules/{websocket-driver/node_modules/http-parser-js → http-parser-js}/http-parser.js +12 -7
  28. package/node_modules/http-parser-js/package.json +30 -0
  29. package/node_modules/mime-db/HISTORY.md +8 -0
  30. package/node_modules/mime-db/LICENSE +19 -18
  31. package/node_modules/mime-db/README.md +1 -1
  32. package/node_modules/mime-db/db.json +54 -6
  33. package/node_modules/mime-db/index.js +1 -0
  34. package/node_modules/mime-db/package.json +24 -67
  35. package/node_modules/mime-types/HISTORY.md +9 -0
  36. package/node_modules/mime-types/README.md +1 -1
  37. package/node_modules/mime-types/package.json +19 -63
  38. package/node_modules/ms/package.json +19 -54
  39. package/node_modules/negotiator/package.json +19 -61
  40. package/node_modules/qs/.editorconfig +3 -0
  41. package/node_modules/qs/.eslintrc +5 -5
  42. package/node_modules/qs/CHANGELOG.md +158 -0
  43. package/node_modules/qs/README.md +3 -1
  44. package/node_modules/qs/dist/qs.js +19 -9
  45. package/node_modules/qs/lib/stringify.js +12 -3
  46. package/node_modules/qs/package.json +73 -98
  47. package/node_modules/qs/test/parse.js +14 -0
  48. package/node_modules/qs/test/stringify.js +54 -10
  49. package/node_modules/raw-body/node_modules/bytes/package.json +20 -62
  50. package/node_modules/stream-stack/package.json +11 -43
  51. package/node_modules/vary/package.json +13 -52
  52. package/package.json +1 -1
  53. package/worldmap/worldmap.js +11 -2
  54. package/node_modules/compression/node_modules/bytes/package.json +0 -84
  55. package/node_modules/websocket-driver/node_modules/http-parser-js/CHANGELOG.md +0 -14
  56. package/node_modules/websocket-driver/node_modules/http-parser-js/README.md +0 -31
  57. package/node_modules/websocket-driver/node_modules/http-parser-js/package.json +0 -75
@@ -0,0 +1,43 @@
1
+ ![Node](https://github.com/creationix/http-parser-js/workflows/Node/badge.svg)
2
+ ![Node-v12](https://github.com/creationix/http-parser-js/workflows/Node-v12/badge.svg)
3
+
4
+ # HTTP Parser
5
+
6
+ This library parses HTTP protocol for requests and responses.
7
+ It was created to replace `http_parser.c` since calling C++ functions from JS is really slow in V8.
8
+ However, it is now primarily useful in having a more flexible/tolerant HTTP parser when dealing with legacy services that do not meet the strict HTTP parsing rules Node's parser follows.
9
+
10
+ This is packaged as a standalone npm module.
11
+ To use in node, monkeypatch HTTPParser.
12
+
13
+ ```js
14
+ // Monkey patch before you require http for the first time.
15
+ process.binding('http_parser').HTTPParser = require('http-parser-js').HTTPParser;
16
+
17
+ var http = require('http');
18
+ // ...
19
+ ```
20
+
21
+ ## Testing
22
+
23
+ Simply run `npm test`.
24
+ The tests are copied from node and mscedex/io.js, with some modifcations.
25
+
26
+ ## Status
27
+
28
+ This should now be usable in any node application, it now supports (nearly) everything `http_parser.c` does while still being tolerant with corrupted headers, and other kinds of malformed data.
29
+
30
+ ### Node versions
31
+
32
+ `http-parser-js` should work via monkey-patching on Node v6-v11, and v13-14.
33
+
34
+ Node v12.x renamed the internal http parser, and did not expose it for monkey-patching, so to be able to monkey-patch on Node v12, you must run `node --http-parser=legacy file.js` to opt in to the old, monkey-patchable http_parser binding.
35
+
36
+ ## Standalone usage
37
+
38
+ While this module is intended to be used as a replacement for the internal Node.js parser, it can be used as a standalone parser. The [`standalone-example.js`](standalone-example.js) demonstrates how to use the somewhat awkward API (coming from compatibility with the Node.js internals) to parse HTTP from raw Buffers.
39
+
40
+ ## License
41
+
42
+ MIT.
43
+ See [LICENSE.md](LICENSE.md)
@@ -0,0 +1,175 @@
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[]
@@ -10,6 +10,7 @@ function HTTPParser(type) {
10
10
  } else {
11
11
  this.initialize(type);
12
12
  }
13
+ this.maxHeaderSize=HTTPParser.maxHeaderSize
13
14
  }
14
15
  HTTPParser.prototype.initialize = function (type, async_resource) {
15
16
  assert.ok(type === HTTPParser.REQUEST || type === HTTPParser.RESPONSE);
@@ -33,10 +34,13 @@ HTTPParser.encoding = 'ascii';
33
34
  HTTPParser.maxHeaderSize = 80 * 1024; // maxHeaderSize (in bytes) is configurable, but 80kb by default;
34
35
  HTTPParser.REQUEST = 'REQUEST';
35
36
  HTTPParser.RESPONSE = 'RESPONSE';
36
- var kOnHeaders = HTTPParser.kOnHeaders = 0;
37
- var kOnHeadersComplete = HTTPParser.kOnHeadersComplete = 1;
38
- var kOnBody = HTTPParser.kOnBody = 2;
39
- var kOnMessageComplete = HTTPParser.kOnMessageComplete = 3;
37
+
38
+ // Note: *not* starting with kOnHeaders=0 line the Node parser, because any
39
+ // newly added constants (kOnTimeout in Node v12.19.0) will overwrite 0!
40
+ var kOnHeaders = HTTPParser.kOnHeaders = 1;
41
+ var kOnHeadersComplete = HTTPParser.kOnHeadersComplete = 2;
42
+ var kOnBody = HTTPParser.kOnBody = 3;
43
+ var kOnMessageComplete = HTTPParser.kOnMessageComplete = 4;
40
44
 
41
45
  // Some handler stubs, needed for compatibility
42
46
  HTTPParser.prototype[kOnHeaders] =
@@ -49,7 +53,7 @@ Object.defineProperty(HTTPParser, 'kOnExecute', {
49
53
  get: function () {
50
54
  // hack for backward compatibility
51
55
  compatMode0_12 = false;
52
- return 4;
56
+ return 99;
53
57
  }
54
58
  });
55
59
 
@@ -86,7 +90,8 @@ var methods = exports.methods = HTTPParser.methods = [
86
90
  'PURGE',
87
91
  'MKCALENDAR',
88
92
  'LINK',
89
- 'UNLINK'
93
+ 'UNLINK',
94
+ 'SOURCE',
90
95
  ];
91
96
  var method_connect = methods.indexOf('CONNECT');
92
97
  HTTPParser.prototype.reinitialize = HTTPParser;
@@ -132,7 +137,7 @@ HTTPParser.prototype.execute = function (chunk, start, length) {
132
137
  length = this.offset - start;
133
138
  if (headerState[this.state]) {
134
139
  this.headerSize += length;
135
- if (this.headerSize > HTTPParser.maxHeaderSize) {
140
+ if (this.headerSize > (this.maxHeaderSize||HTTPParser.maxHeaderSize)) {
136
141
  return new Error('max header size exceeded');
137
142
  }
138
143
  }
@@ -0,0 +1,30 @@
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,3 +1,11 @@
1
+ 1.52.0 / 2022-02-21
2
+ ===================
3
+
4
+ * Add extensions from IANA for more `image/*` types
5
+ * Add extension `.asc` to `application/pgp-keys`
6
+ * Add extensions to various XML types
7
+ * Add new upstream MIME types
8
+
1
9
  1.51.0 / 2021-11-08
2
10
  ===================
3
11
 
@@ -1,22 +1,23 @@
1
+ (The MIT License)
1
2
 
2
- The MIT License (MIT)
3
+ Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
4
+ Copyright (c) 2015-2022 Douglas Christopher Wilson <doug@somethingdoug.com>
3
5
 
4
- Copyright (c) 2014 Jonathan Ong me@jongleberry.com
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ 'Software'), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
5
13
 
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
12
16
 
13
- The above copyright notice and this permission notice shall be included in
14
- all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
- THE SOFTWARE.
17
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -6,7 +6,7 @@
6
6
  [![Build Status][ci-image]][ci-url]
7
7
  [![Coverage Status][coveralls-image]][coveralls-url]
8
8
 
9
- This is a database of all mime types.
9
+ This is a large database of mime types and information about them.
10
10
  It consists of a single, public JSON file and does not include any logic,
11
11
  allowing it to remain as un-opinionated as possible with an API.
12
12
  It aggregates data from the following sources:
@@ -250,6 +250,10 @@
250
250
  "application/cfw": {
251
251
  "source": "iana"
252
252
  },
253
+ "application/city+json": {
254
+ "source": "iana",
255
+ "compressible": true
256
+ },
253
257
  "application/clr": {
254
258
  "source": "iana"
255
259
  },
@@ -293,7 +297,8 @@
293
297
  },
294
298
  "application/cpl+xml": {
295
299
  "source": "iana",
296
- "compressible": true
300
+ "compressible": true,
301
+ "extensions": ["cpl"]
297
302
  },
298
303
  "application/csrattrs": {
299
304
  "source": "iana"
@@ -328,6 +333,11 @@
328
333
  "compressible": true,
329
334
  "extensions": ["mpd"]
330
335
  },
336
+ "application/dash-patch+xml": {
337
+ "source": "iana",
338
+ "compressible": true,
339
+ "extensions": ["mpp"]
340
+ },
331
341
  "application/dashdelta": {
332
342
  "source": "iana"
333
343
  },
@@ -868,7 +878,8 @@
868
878
  },
869
879
  "application/media-policy-dataset+xml": {
870
880
  "source": "iana",
871
- "compressible": true
881
+ "compressible": true,
882
+ "extensions": ["mpf"]
872
883
  },
873
884
  "application/media_control+xml": {
874
885
  "source": "iana",
@@ -1024,6 +1035,9 @@
1024
1035
  "application/oauth-authz-req+jwt": {
1025
1036
  "source": "iana"
1026
1037
  },
1038
+ "application/oblivious-dns-message": {
1039
+ "source": "iana"
1040
+ },
1027
1041
  "application/ocsp-request": {
1028
1042
  "source": "iana"
1029
1043
  },
@@ -1116,7 +1130,8 @@
1116
1130
  "extensions": ["pgp"]
1117
1131
  },
1118
1132
  "application/pgp-keys": {
1119
- "source": "iana"
1133
+ "source": "iana",
1134
+ "extensions": ["asc"]
1120
1135
  },
1121
1136
  "application/pgp-signature": {
1122
1137
  "source": "iana",
@@ -2647,6 +2662,10 @@
2647
2662
  "application/vnd.ecip.rlp": {
2648
2663
  "source": "iana"
2649
2664
  },
2665
+ "application/vnd.eclipse.ditto+json": {
2666
+ "source": "iana",
2667
+ "compressible": true
2668
+ },
2650
2669
  "application/vnd.ecowin.chart": {
2651
2670
  "source": "iana",
2652
2671
  "extensions": ["mag"]
@@ -2804,6 +2823,10 @@
2804
2823
  "application/vnd.etsi.tsl.der": {
2805
2824
  "source": "iana"
2806
2825
  },
2826
+ "application/vnd.eu.kasparian.car+json": {
2827
+ "source": "iana",
2828
+ "compressible": true
2829
+ },
2807
2830
  "application/vnd.eudora.data": {
2808
2831
  "source": "iana"
2809
2832
  },
@@ -2834,6 +2857,10 @@
2834
2857
  "application/vnd.f-secure.mobile": {
2835
2858
  "source": "iana"
2836
2859
  },
2860
+ "application/vnd.familysearch.gedcom+zip": {
2861
+ "source": "iana",
2862
+ "compressible": false
2863
+ },
2837
2864
  "application/vnd.fastcopy-disk-image": {
2838
2865
  "source": "iana"
2839
2866
  },
@@ -3124,6 +3151,16 @@
3124
3151
  "source": "iana",
3125
3152
  "extensions": ["les"]
3126
3153
  },
3154
+ "application/vnd.hl7cda+xml": {
3155
+ "source": "iana",
3156
+ "charset": "UTF-8",
3157
+ "compressible": true
3158
+ },
3159
+ "application/vnd.hl7v2+xml": {
3160
+ "source": "iana",
3161
+ "charset": "UTF-8",
3162
+ "compressible": true
3163
+ },
3127
3164
  "application/vnd.hp-hpgl": {
3128
3165
  "source": "iana",
3129
3166
  "extensions": ["hpgl"]
@@ -3537,6 +3574,10 @@
3537
3574
  "source": "iana",
3538
3575
  "compressible": true
3539
3576
  },
3577
+ "application/vnd.maxar.archive.3tz+zip": {
3578
+ "source": "iana",
3579
+ "compressible": false
3580
+ },
3540
3581
  "application/vnd.maxmind.maxmind-db": {
3541
3582
  "source": "iana"
3542
3583
  },
@@ -5157,6 +5198,10 @@
5157
5198
  "source": "iana",
5158
5199
  "compressible": true
5159
5200
  },
5201
+ "application/vnd.syft+json": {
5202
+ "source": "iana",
5203
+ "compressible": true
5204
+ },
5160
5205
  "application/vnd.symbian.install": {
5161
5206
  "source": "apache",
5162
5207
  "extensions": ["sis","sisx"]
@@ -5547,7 +5592,8 @@
5547
5592
  },
5548
5593
  "application/watcherinfo+xml": {
5549
5594
  "source": "iana",
5550
- "compressible": true
5595
+ "compressible": true,
5596
+ "extensions": ["wif"]
5551
5597
  },
5552
5598
  "application/webpush-options+json": {
5553
5599
  "source": "iana",
@@ -6967,10 +7013,12 @@
6967
7013
  "extensions": ["apng"]
6968
7014
  },
6969
7015
  "image/avci": {
6970
- "source": "iana"
7016
+ "source": "iana",
7017
+ "extensions": ["avci"]
6971
7018
  },
6972
7019
  "image/avcs": {
6973
- "source": "iana"
7020
+ "source": "iana",
7021
+ "extensions": ["avcs"]
6974
7022
  },
6975
7023
  "image/avif": {
6976
7024
  "source": "iana",
@@ -1,6 +1,7 @@
1
1
  /*!
2
2
  * mime-db
3
3
  * Copyright(c) 2014 Jonathan Ong
4
+ * Copyright(c) 2015-2022 Douglas Christopher Wilson
4
5
  * MIT Licensed
5
6
  */
6
7
 
@@ -1,50 +1,23 @@
1
1
  {
2
- "_from": "mime-db@1.51.0",
3
- "_id": "mime-db@1.51.0",
4
- "_inBundle": false,
5
- "_integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==",
6
- "_location": "/node-red-contrib-web-worldmap/mime-db",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "version",
10
- "registry": true,
11
- "raw": "mime-db@1.51.0",
12
- "name": "mime-db",
13
- "escapedName": "mime-db",
14
- "rawSpec": "1.51.0",
15
- "saveSpec": null,
16
- "fetchSpec": "1.51.0"
17
- },
18
- "_requiredBy": [
19
- "/node-red-contrib-web-worldmap/compressible",
20
- "/node-red-contrib-web-worldmap/mime-types"
21
- ],
22
- "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz",
23
- "_shasum": "d9ff62451859b18342d960850dc3cfb77e63fb0c",
24
- "_spec": "mime-db@1.51.0",
25
- "_where": "/Users/conway/Projects/worldmap/node_modules/mime-types",
26
- "bugs": {
27
- "url": "https://github.com/jshttp/mime-db/issues"
28
- },
29
- "bundleDependencies": false,
2
+ "name": "mime-db",
3
+ "description": "Media Type Database",
4
+ "version": "1.52.0",
30
5
  "contributors": [
31
- {
32
- "name": "Douglas Christopher Wilson",
33
- "email": "doug@somethingdoug.com"
34
- },
35
- {
36
- "name": "Jonathan Ong",
37
- "email": "me@jongleberry.com",
38
- "url": "http://jongleberry.com"
39
- },
40
- {
41
- "name": "Robert Kieffer",
42
- "email": "robert@broofa.com",
43
- "url": "http://github.com/broofa"
44
- }
6
+ "Douglas Christopher Wilson <doug@somethingdoug.com>",
7
+ "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)",
8
+ "Robert Kieffer <robert@broofa.com> (http://github.com/broofa)"
45
9
  ],
46
- "deprecated": false,
47
- "description": "Media Type Database",
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "mime",
13
+ "db",
14
+ "type",
15
+ "types",
16
+ "database",
17
+ "charset",
18
+ "charsets"
19
+ ],
20
+ "repository": "jshttp/mime-db",
48
21
  "devDependencies": {
49
22
  "bluebird": "3.7.2",
50
23
  "co": "4.6.0",
@@ -52,20 +25,18 @@
52
25
  "csv-parse": "4.16.3",
53
26
  "eslint": "7.32.0",
54
27
  "eslint-config-standard": "15.0.1",
55
- "eslint-plugin-import": "2.25.2",
28
+ "eslint-plugin-import": "2.25.4",
56
29
  "eslint-plugin-markdown": "2.2.1",
57
30
  "eslint-plugin-node": "11.1.0",
58
31
  "eslint-plugin-promise": "5.1.1",
59
32
  "eslint-plugin-standard": "4.1.0",
60
33
  "gnode": "0.1.2",
61
- "mocha": "9.1.3",
34
+ "media-typer": "1.1.0",
35
+ "mocha": "9.2.1",
62
36
  "nyc": "15.1.0",
63
- "raw-body": "2.4.1",
37
+ "raw-body": "2.5.0",
64
38
  "stream-to-array": "2.3.0"
65
39
  },
66
- "engines": {
67
- "node": ">= 0.6"
68
- },
69
40
  "files": [
70
41
  "HISTORY.md",
71
42
  "LICENSE",
@@ -73,21 +44,8 @@
73
44
  "db.json",
74
45
  "index.js"
75
46
  ],
76
- "homepage": "https://github.com/jshttp/mime-db#readme",
77
- "keywords": [
78
- "mime",
79
- "db",
80
- "type",
81
- "types",
82
- "database",
83
- "charset",
84
- "charsets"
85
- ],
86
- "license": "MIT",
87
- "name": "mime-db",
88
- "repository": {
89
- "type": "git",
90
- "url": "git+https://github.com/jshttp/mime-db.git"
47
+ "engines": {
48
+ "node": ">= 0.6"
91
49
  },
92
50
  "scripts": {
93
51
  "build": "node scripts/build",
@@ -98,6 +56,5 @@
98
56
  "test-cov": "nyc --reporter=html --reporter=text npm test",
99
57
  "update": "npm run fetch && npm run build",
100
58
  "version": "node scripts/version-history.js && git add HISTORY.md"
101
- },
102
- "version": "1.51.0"
59
+ }
103
60
  }
@@ -1,3 +1,12 @@
1
+ 2.1.35 / 2022-03-12
2
+ ===================
3
+
4
+ * deps: mime-db@1.52.0
5
+ - Add extensions from IANA for more `image/*` types
6
+ - Add extension `.asc` to `application/pgp-keys`
7
+ - Add extensions to various XML types
8
+ - Add new upstream MIME types
9
+
1
10
  2.1.34 / 2021-11-08
2
11
  ===================
3
12
 
@@ -103,7 +103,7 @@ A map of extensions by content-type.
103
103
  [MIT](LICENSE)
104
104
 
105
105
  [ci-image]: https://badgen.net/github/checks/jshttp/mime-types/master?label=ci
106
- [ci-url]: https://github.com/jshttp/mime-types/actions?query=workflow%3Aci
106
+ [ci-url]: https://github.com/jshttp/mime-types/actions/workflows/ci.yml
107
107
  [coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-types/master
108
108
  [coveralls-url]: https://coveralls.io/r/jshttp/mime-types?branch=master
109
109
  [node-version-image]: https://badgen.net/npm/node/mime-types