node-red-contrib-web-worldmap 2.27.0 → 2.27.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +2 -1
  2. package/README.md +2 -1
  3. package/node_modules/accepts/HISTORY.md +7 -0
  4. package/node_modules/accepts/README.md +3 -5
  5. package/node_modules/accepts/package.json +31 -34
  6. package/node_modules/body-parser/HISTORY.md +9 -0
  7. package/node_modules/body-parser/node_modules/bytes/History.md +5 -0
  8. package/node_modules/body-parser/node_modules/bytes/index.js +4 -0
  9. package/node_modules/body-parser/node_modules/bytes/package.json +11 -11
  10. package/node_modules/body-parser/package.json +16 -16
  11. package/node_modules/compressible/HISTORY.md +7 -0
  12. package/node_modules/compressible/package.json +26 -29
  13. package/node_modules/cookie/HISTORY.md +6 -0
  14. package/node_modules/cookie/README.md +49 -20
  15. package/node_modules/cookie/index.js +11 -11
  16. package/node_modules/cookie/package.json +18 -16
  17. package/node_modules/express/History.md +15 -0
  18. package/node_modules/express/lib/response.js +1 -1
  19. package/node_modules/express/lib/utils.js +2 -1
  20. package/node_modules/express/package.json +16 -15
  21. package/node_modules/mime-db/HISTORY.md +82 -0
  22. package/node_modules/mime-db/README.md +15 -9
  23. package/node_modules/mime-db/db.json +689 -52
  24. package/node_modules/mime-db/package.json +29 -31
  25. package/node_modules/mime-types/HISTORY.md +82 -2
  26. package/node_modules/mime-types/README.md +8 -8
  27. package/node_modules/mime-types/package.json +29 -31
  28. package/node_modules/negotiator/HISTORY.md +5 -0
  29. package/node_modules/negotiator/README.md +3 -3
  30. package/node_modules/negotiator/index.js +4 -46
  31. package/node_modules/negotiator/lib/language.js +3 -3
  32. package/node_modules/negotiator/package.json +22 -25
  33. package/node_modules/qs/.editorconfig +1 -0
  34. package/node_modules/qs/.eslintrc +6 -3
  35. package/node_modules/qs/CHANGELOG.md +12 -0
  36. package/node_modules/qs/README.md +31 -19
  37. package/node_modules/qs/dist/qs.js +16 -6
  38. package/node_modules/qs/lib/parse.js +1 -1
  39. package/node_modules/qs/lib/stringify.js +14 -5
  40. package/node_modules/qs/lib/utils.js +1 -0
  41. package/node_modules/qs/package.json +22 -21
  42. package/node_modules/qs/test/parse.js +60 -0
  43. package/node_modules/qs/test/stringify.js +23 -12
  44. package/node_modules/raw-body/HISTORY.md +5 -0
  45. package/node_modules/raw-body/README.md +5 -3
  46. package/node_modules/raw-body/node_modules/bytes/History.md +5 -0
  47. package/node_modules/raw-body/node_modules/bytes/index.js +4 -0
  48. package/node_modules/raw-body/node_modules/bytes/package.json +11 -11
  49. package/node_modules/raw-body/package.json +14 -14
  50. package/package.json +1 -1
  51. package/worldmap/index.html +1 -0
  52. package/worldmap/index3d.html +2 -2
  53. package/worldmap/leaflet/leaflet.antimeridian-src.js +254 -0
  54. package/worldmap/worldmap.js +7 -5
  55. package/worldmap.js +1 -14
  56. package/node_modules/qs/.eslintignore +0 -2
@@ -1,26 +1,26 @@
1
1
  {
2
- "_from": "cookie@0.4.1",
3
- "_id": "cookie@0.4.1",
2
+ "_from": "cookie@0.4.2",
3
+ "_id": "cookie@0.4.2",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==",
5
+ "_integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==",
6
6
  "_location": "/node-red-contrib-web-worldmap/cookie",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
9
9
  "type": "version",
10
10
  "registry": true,
11
- "raw": "cookie@0.4.1",
11
+ "raw": "cookie@0.4.2",
12
12
  "name": "cookie",
13
13
  "escapedName": "cookie",
14
- "rawSpec": "0.4.1",
14
+ "rawSpec": "0.4.2",
15
15
  "saveSpec": null,
16
- "fetchSpec": "0.4.1"
16
+ "fetchSpec": "0.4.2"
17
17
  },
18
18
  "_requiredBy": [
19
19
  "/node-red-contrib-web-worldmap/express"
20
20
  ],
21
- "_resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz",
22
- "_shasum": "afd713fe26ebd21ba95ceb61f9a8116e50a537d1",
23
- "_spec": "cookie@0.4.1",
21
+ "_resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz",
22
+ "_shasum": "0e41f24de5ecf317947c82fc789e06a884824432",
23
+ "_spec": "cookie@0.4.2",
24
24
  "_where": "/Users/conway/Projects/worldmap/node_modules/express",
25
25
  "author": {
26
26
  "name": "Roman Shtylman",
@@ -41,10 +41,11 @@
41
41
  "devDependencies": {
42
42
  "beautify-benchmark": "0.2.4",
43
43
  "benchmark": "2.1.4",
44
- "eslint": "6.8.0",
45
- "eslint-plugin-markdown": "1.0.2",
46
- "mocha": "7.1.1",
47
- "nyc": "15.0.1"
44
+ "eslint": "7.32.0",
45
+ "eslint-plugin-markdown": "2.2.1",
46
+ "mocha": "9.2.0",
47
+ "nyc": "15.1.0",
48
+ "top-sites": "1.1.85"
48
49
  },
49
50
  "engines": {
50
51
  "node": ">= 0.6"
@@ -68,11 +69,12 @@
68
69
  },
69
70
  "scripts": {
70
71
  "bench": "node benchmark/index.js",
71
- "lint": "eslint --plugin markdown --ext js,md .",
72
+ "lint": "eslint .",
72
73
  "test": "mocha --reporter spec --bail --check-leaks --ui qunit test/",
73
- "test-ci": "nyc --reporter=text npm test",
74
+ "test-ci": "nyc --reporter=lcov --reporter=text npm test",
74
75
  "test-cov": "nyc --reporter=html --reporter=text npm test",
76
+ "update-bench": "node scripts/update-benchmark.js",
75
77
  "version": "node scripts/version-history.js && git add HISTORY.md"
76
78
  },
77
- "version": "0.4.1"
79
+ "version": "0.4.2"
78
80
  }
@@ -1,3 +1,18 @@
1
+ 4.17.3 / 2022-02-16
2
+ ===================
3
+
4
+ * deps: accepts@~1.3.8
5
+ - deps: mime-types@~2.1.34
6
+ - deps: negotiator@0.6.3
7
+ * deps: body-parser@1.19.2
8
+ - deps: bytes@3.1.2
9
+ - deps: qs@6.9.7
10
+ - deps: raw-body@2.4.3
11
+ * deps: cookie@0.4.2
12
+ * deps: qs@6.9.7
13
+ * Fix handling of `__proto__` keys
14
+ * pref: remove unnecessary regexp for trust proxy
15
+
1
16
  4.17.2 / 2021-12-16
2
17
  ===================
3
18
 
@@ -524,7 +524,7 @@ res.sendfile = deprecate.function(res.sendfile,
524
524
  * Optionally providing an alternate attachment `filename`,
525
525
  * and optional callback `callback(err)`. The callback is invoked
526
526
  * when the data transfer is complete, or when an error has
527
- * ocurred. Be sure to check `res.headersSent` if you plan to respond.
527
+ * occurred. Be sure to check `res.headersSent` if you plan to respond.
528
528
  *
529
529
  * Optionally providing an `options` object to use with `res.sendFile()`.
530
530
  * This function will set the `Content-Disposition` header, overriding
@@ -228,7 +228,8 @@ exports.compileTrust = function(val) {
228
228
 
229
229
  if (typeof val === 'string') {
230
230
  // Support comma-separated values
231
- val = val.split(/ *, */);
231
+ val = val.split(',')
232
+ .map(function (v) { return v.trim() })
232
233
  }
233
234
 
234
235
  return proxyaddr.compile(val || []);
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "express@^4.17.2",
3
- "_id": "express@4.17.2",
3
+ "_id": "express@4.17.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==",
5
+ "_integrity": "sha512-yuSQpz5I+Ch7gFrPCk4/c+dIBKlQUxtgwqzph132bsT6qhuzss6I8cLJQz7B3rFblzd6wtcI0ZbGltH/C4LjUg==",
6
6
  "_location": "/node-red-contrib-web-worldmap/express",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -18,8 +18,8 @@
18
18
  "_requiredBy": [
19
19
  "/node-red-contrib-web-worldmap"
20
20
  ],
21
- "_resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz",
22
- "_shasum": "c18369f265297319beed4e5558753cc8c1364cb3",
21
+ "_resolved": "https://registry.npmjs.org/express/-/express-4.17.3.tgz",
22
+ "_shasum": "f6c7302194a4fb54271b73a1fe7a06478c8f85a1",
23
23
  "_spec": "express@^4.17.2",
24
24
  "_where": "/Users/conway/Projects/worldmap",
25
25
  "author": {
@@ -61,12 +61,12 @@
61
61
  }
62
62
  ],
63
63
  "dependencies": {
64
- "accepts": "~1.3.7",
64
+ "accepts": "~1.3.8",
65
65
  "array-flatten": "1.1.1",
66
- "body-parser": "1.19.1",
66
+ "body-parser": "1.19.2",
67
67
  "content-disposition": "0.5.4",
68
68
  "content-type": "~1.0.4",
69
- "cookie": "0.4.1",
69
+ "cookie": "0.4.2",
70
70
  "cookie-signature": "1.0.6",
71
71
  "debug": "2.6.9",
72
72
  "depd": "~1.1.2",
@@ -81,7 +81,7 @@
81
81
  "parseurl": "~1.3.3",
82
82
  "path-to-regexp": "0.1.7",
83
83
  "proxy-addr": "~2.0.7",
84
- "qs": "6.9.6",
84
+ "qs": "6.9.7",
85
85
  "range-parser": "~1.2.1",
86
86
  "safe-buffer": "5.2.1",
87
87
  "send": "0.17.2",
@@ -103,15 +103,16 @@
103
103
  "eslint": "7.32.0",
104
104
  "express-session": "1.17.2",
105
105
  "hbs": "4.2.0",
106
- "istanbul": "0.4.5",
107
106
  "marked": "0.7.0",
108
107
  "method-override": "3.0.0",
109
- "mocha": "9.1.3",
108
+ "mocha": "9.2.0",
110
109
  "morgan": "1.10.0",
111
- "multiparty": "4.2.2",
110
+ "multiparty": "4.2.3",
111
+ "nyc": "15.1.0",
112
112
  "pbkdf2-password": "1.2.1",
113
+ "resolve-path": "1.4.0",
113
114
  "should": "13.2.3",
114
- "supertest": "6.1.6",
115
+ "supertest": "6.2.2",
115
116
  "vhost": "~3.0.2"
116
117
  },
117
118
  "engines": {
@@ -146,9 +147,9 @@
146
147
  "scripts": {
147
148
  "lint": "eslint .",
148
149
  "test": "mocha --require test/support/env --reporter spec --bail --check-leaks test/ test/acceptance/",
149
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks test/ test/acceptance/",
150
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks test/ test/acceptance/",
150
+ "test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
151
+ "test-cov": "nyc --reporter=html --reporter=text npm test",
151
152
  "test-tap": "mocha --require test/support/env --reporter tap --check-leaks test/ test/acceptance/"
152
153
  },
153
- "version": "4.17.2"
154
+ "version": "4.17.3"
154
155
  }
@@ -1,3 +1,85 @@
1
+ 1.51.0 / 2021-11-08
2
+ ===================
3
+
4
+ * Add new upstream MIME types
5
+ * Mark `image/vnd.microsoft.icon` as compressible
6
+ * Mark `image/vnd.ms-dds` as compressible
7
+
8
+ 1.50.0 / 2021-09-15
9
+ ===================
10
+
11
+ * Add deprecated iWorks mime types and extensions
12
+ * Add new upstream MIME types
13
+
14
+ 1.49.0 / 2021-07-26
15
+ ===================
16
+
17
+ * Add extension `.trig` to `application/trig`
18
+ * Add new upstream MIME types
19
+
20
+ 1.48.0 / 2021-05-30
21
+ ===================
22
+
23
+ * Add extension `.mvt` to `application/vnd.mapbox-vector-tile`
24
+ * Add new upstream MIME types
25
+ * Mark `text/yaml` as compressible
26
+
27
+ 1.47.0 / 2021-04-01
28
+ ===================
29
+
30
+ * Add new upstream MIME types
31
+ * Remove ambigious extensions from IANA for `application/*+xml` types
32
+ * Update primary extension to `.es` for `application/ecmascript`
33
+
34
+ 1.46.0 / 2021-02-13
35
+ ===================
36
+
37
+ * Add extension `.amr` to `audio/amr`
38
+ * Add extension `.m4s` to `video/iso.segment`
39
+ * Add extension `.opus` to `audio/ogg`
40
+ * Add new upstream MIME types
41
+
42
+ 1.45.0 / 2020-09-22
43
+ ===================
44
+
45
+ * Add `application/ubjson` with extension `.ubj`
46
+ * Add `image/avif` with extension `.avif`
47
+ * Add `image/ktx2` with extension `.ktx2`
48
+ * Add extension `.dbf` to `application/vnd.dbf`
49
+ * Add extension `.rar` to `application/vnd.rar`
50
+ * Add extension `.td` to `application/urc-targetdesc+xml`
51
+ * Add new upstream MIME types
52
+ * Fix extension of `application/vnd.apple.keynote` to be `.key`
53
+
54
+ 1.44.0 / 2020-04-22
55
+ ===================
56
+
57
+ * Add charsets from IANA
58
+ * Add extension `.cjs` to `application/node`
59
+ * Add new upstream MIME types
60
+
61
+ 1.43.0 / 2020-01-05
62
+ ===================
63
+
64
+ * Add `application/x-keepass2` with extension `.kdbx`
65
+ * Add extension `.mxmf` to `audio/mobile-xmf`
66
+ * Add extensions from IANA for `application/*+xml` types
67
+ * Add new upstream MIME types
68
+
69
+ 1.42.0 / 2019-09-25
70
+ ===================
71
+
72
+ * Add `image/vnd.ms-dds` with extension `.dds`
73
+ * Add new upstream MIME types
74
+ * Remove compressible from `multipart/mixed`
75
+
76
+ 1.41.0 / 2019-08-30
77
+ ===================
78
+
79
+ * Add new upstream MIME types
80
+ * Add `application/toml` with extension `.toml`
81
+ * Mark `font/ttf` as compressible
82
+
1
83
  1.40.0 / 2019-04-20
2
84
  ===================
3
85
 
@@ -3,7 +3,7 @@
3
3
  [![NPM Version][npm-version-image]][npm-url]
4
4
  [![NPM Downloads][npm-downloads-image]][npm-url]
5
5
  [![Node.js Version][node-image]][node-url]
6
- [![Build Status][travis-image]][travis-url]
6
+ [![Build Status][ci-image]][ci-url]
7
7
  [![Coverage Status][coveralls-image]][coveralls-url]
8
8
 
9
9
  This is a database of all mime types.
@@ -35,10 +35,10 @@ https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json
35
35
  ## Usage
36
36
 
37
37
  ```js
38
- var db = require('mime-db');
38
+ var db = require('mime-db')
39
39
 
40
40
  // grab data on .js files
41
- var data = db['application/javascript'];
41
+ var data = db['application/javascript']
42
42
  ```
43
43
 
44
44
  ## Data Structure
@@ -59,11 +59,11 @@ If unknown, every property could be `undefined`.
59
59
 
60
60
  ## Contributing
61
61
 
62
- To edit the database, only make PRs against `src/custom.json` or
62
+ To edit the database, only make PRs against `src/custom-types.json` or
63
63
  `src/custom-suffix.json`.
64
64
 
65
- The `src/custom.json` file is a JSON object with the MIME type as the keys
66
- and the values being an object with the following keys:
65
+ The `src/custom-types.json` file is a JSON object with the MIME type as the
66
+ keys and the values being an object with the following keys:
67
67
 
68
68
  - `compressible` - leave out if you don't know, otherwise `true`/`false` to
69
69
  indicate whether the data represented by the type is typically compressible.
@@ -76,13 +76,21 @@ and the values being an object with the following keys:
76
76
 
77
77
  To update the build, run `npm run build`.
78
78
 
79
- ## Adding Custom Media Types
79
+ ### Adding Custom Media Types
80
80
 
81
81
  The best way to get new media types included in this library is to register
82
82
  them with the IANA. The community registration procedure is outlined in
83
83
  [RFC 6838 section 5](http://tools.ietf.org/html/rfc6838#section-5). Types
84
84
  registered with the IANA are automatically pulled into this library.
85
85
 
86
+ If that is not possible / feasible, they can be added directly here as a
87
+ "custom" type. To do this, it is required to have a primary source that
88
+ definitively lists the media type. If an extension is going to be listed as
89
+ associateed with this media type, the source must definitively link the
90
+ media type and extension as well.
91
+
92
+ [ci-image]: https://badgen.net/github/checks/jshttp/mime-db/master?label=ci
93
+ [ci-url]: https://github.com/jshttp/mime-db/actions?query=workflow%3Aci
86
94
  [coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-db/master
87
95
  [coveralls-url]: https://coveralls.io/r/jshttp/mime-db?branch=master
88
96
  [node-image]: https://badgen.net/npm/node/mime-db
@@ -90,5 +98,3 @@ registered with the IANA are automatically pulled into this library.
90
98
  [npm-downloads-image]: https://badgen.net/npm/dm/mime-db
91
99
  [npm-url]: https://npmjs.org/package/mime-db
92
100
  [npm-version-image]: https://badgen.net/npm/v/mime-db
93
- [travis-image]: https://badgen.net/travis/jshttp/mime-db/master
94
- [travis-url]: https://travis-ci.org/jshttp/mime-db