node-red-contrib-web-worldmap 4.9.0 → 5.0.1

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 (124) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +7 -3
  3. package/examples/{feedback.json → Feedback.json} +1 -9
  4. package/examples/MouseCoordinates.json +159 -0
  5. package/examples/sidcEdgeIcon.json +158 -0
  6. package/node_modules/@turf/bezier-spline/README.md +15 -21
  7. package/node_modules/@turf/bezier-spline/dist/cjs/index.cjs +165 -0
  8. package/node_modules/@turf/bezier-spline/dist/cjs/index.cjs.map +1 -0
  9. package/node_modules/@turf/bezier-spline/dist/{es/index.js → cjs/index.d.cts} +9 -30
  10. package/node_modules/@turf/bezier-spline/dist/{js → esm}/index.d.ts +5 -3
  11. package/node_modules/@turf/bezier-spline/dist/esm/index.js +165 -0
  12. package/node_modules/@turf/bezier-spline/dist/esm/index.js.map +1 -0
  13. package/node_modules/@turf/bezier-spline/package.json +33 -25
  14. package/node_modules/@turf/helpers/README.md +231 -219
  15. package/node_modules/@turf/helpers/dist/cjs/index.cjs +308 -0
  16. package/node_modules/@turf/helpers/dist/cjs/index.cjs.map +1 -0
  17. package/node_modules/@turf/helpers/dist/{es/index.js → cjs/index.d.cts} +103 -303
  18. package/node_modules/@turf/helpers/dist/{js → esm}/index.d.ts +67 -53
  19. package/node_modules/@turf/helpers/dist/esm/index.js +308 -0
  20. package/node_modules/@turf/helpers/dist/esm/index.js.map +1 -0
  21. package/node_modules/@turf/helpers/package.json +32 -22
  22. package/node_modules/@turf/invariant/README.md +47 -58
  23. package/node_modules/@turf/invariant/dist/cjs/index.cjs +127 -0
  24. package/node_modules/@turf/invariant/dist/cjs/index.cjs.map +1 -0
  25. package/node_modules/@turf/invariant/dist/cjs/index.d.cts +108 -0
  26. package/node_modules/@turf/invariant/dist/{js → esm}/index.d.ts +12 -9
  27. package/node_modules/@turf/invariant/dist/esm/index.js +127 -0
  28. package/node_modules/@turf/invariant/dist/esm/index.js.map +1 -0
  29. package/node_modules/@turf/invariant/package.json +31 -22
  30. package/node_modules/@types/geojson/LICENSE +21 -0
  31. package/node_modules/@types/geojson/README.md +15 -0
  32. package/node_modules/@types/geojson/index.d.ts +165 -0
  33. package/node_modules/@types/geojson/package.json +45 -0
  34. package/node_modules/body-parser/HISTORY.md +7 -0
  35. package/node_modules/body-parser/README.md +11 -0
  36. package/node_modules/body-parser/lib/types/urlencoded.js +30 -7
  37. package/node_modules/body-parser/package.json +2 -2
  38. package/node_modules/encodeurl/README.md +19 -38
  39. package/node_modules/encodeurl/index.js +1 -1
  40. package/node_modules/encodeurl/package.json +7 -7
  41. package/node_modules/express/History.md +27 -0
  42. package/node_modules/express/Readme.md +100 -6
  43. package/node_modules/express/lib/response.js +11 -10
  44. package/node_modules/express/package.json +11 -11
  45. package/node_modules/finalhandler/HISTORY.md +15 -0
  46. package/node_modules/finalhandler/README.md +2 -2
  47. package/node_modules/finalhandler/index.js +7 -2
  48. package/node_modules/finalhandler/package.json +8 -7
  49. package/node_modules/merge-descriptors/README.md +4 -3
  50. package/node_modules/merge-descriptors/index.js +3 -3
  51. package/node_modules/merge-descriptors/package.json +14 -7
  52. package/node_modules/mime-db/HISTORY.md +14 -0
  53. package/node_modules/mime-db/README.md +27 -24
  54. package/node_modules/mime-db/db.json +646 -62
  55. package/node_modules/mime-db/package.json +9 -13
  56. package/node_modules/mime-types/node_modules/mime-db/HISTORY.md +507 -0
  57. package/node_modules/mime-types/node_modules/mime-db/LICENSE +23 -0
  58. package/node_modules/mime-types/node_modules/mime-db/README.md +100 -0
  59. package/node_modules/mime-types/node_modules/mime-db/db.json +8519 -0
  60. package/node_modules/mime-types/node_modules/mime-db/index.js +12 -0
  61. package/node_modules/mime-types/node_modules/mime-db/package.json +60 -0
  62. package/node_modules/object-inspect/CHANGELOG.md +15 -0
  63. package/node_modules/object-inspect/index.js +4 -1
  64. package/node_modules/object-inspect/package.json +14 -9
  65. package/node_modules/object-inspect/readme.markdown +9 -11
  66. package/node_modules/path-to-regexp/index.js +57 -40
  67. package/node_modules/path-to-regexp/package.json +2 -2
  68. package/node_modules/qs/.editorconfig +3 -0
  69. package/node_modules/qs/.eslintrc +2 -2
  70. package/node_modules/qs/CHANGELOG.md +59 -5
  71. package/node_modules/qs/README.md +133 -49
  72. package/node_modules/qs/dist/qs.js +56 -2020
  73. package/node_modules/qs/lib/parse.js +46 -13
  74. package/node_modules/qs/lib/stringify.js +53 -28
  75. package/node_modules/qs/lib/utils.js +47 -34
  76. package/node_modules/qs/package.json +26 -12
  77. package/node_modules/qs/test/empty-keys-cases.js +267 -0
  78. package/node_modules/qs/test/parse.js +347 -32
  79. package/node_modules/qs/test/stringify.js +436 -47
  80. package/node_modules/send/HISTORY.md +5 -0
  81. package/node_modules/send/index.js +1 -2
  82. package/node_modules/send/node_modules/encodeurl/LICENSE +22 -0
  83. package/node_modules/send/node_modules/encodeurl/README.md +128 -0
  84. package/node_modules/send/node_modules/encodeurl/index.js +60 -0
  85. package/node_modules/send/node_modules/encodeurl/package.json +40 -0
  86. package/node_modules/send/package.json +1 -1
  87. package/node_modules/serve-static/HISTORY.md +16 -0
  88. package/node_modules/serve-static/index.js +1 -2
  89. package/node_modules/serve-static/package.json +3 -3
  90. package/node_modules/tslib/CopyrightNotice.txt +15 -0
  91. package/node_modules/tslib/LICENSE.txt +12 -0
  92. package/node_modules/tslib/README.md +164 -0
  93. package/node_modules/tslib/SECURITY.md +41 -0
  94. package/node_modules/tslib/modules/index.d.ts +37 -0
  95. package/node_modules/tslib/modules/index.js +68 -0
  96. package/node_modules/tslib/modules/package.json +3 -0
  97. package/node_modules/tslib/package.json +47 -0
  98. package/node_modules/tslib/tslib.d.ts +453 -0
  99. package/node_modules/tslib/tslib.es6.html +1 -0
  100. package/node_modules/tslib/tslib.es6.js +379 -0
  101. package/node_modules/tslib/tslib.es6.mjs +378 -0
  102. package/node_modules/tslib/tslib.html +1 -0
  103. package/node_modules/tslib/tslib.js +429 -0
  104. package/package.json +5 -5
  105. package/worldmap/index.html +1 -1
  106. package/worldmap/leaflet/leaflet.mousecoordinate.js +3 -3
  107. package/worldmap/worldmap.js +123 -36
  108. package/worldmap.html +1 -1
  109. package/worldmap.js +23 -4
  110. package/node_modules/@turf/bezier-spline/dist/es/lib/spline.js +0 -158
  111. package/node_modules/@turf/bezier-spline/dist/es/package.json +0 -1
  112. package/node_modules/@turf/bezier-spline/dist/js/index.js +0 -65
  113. package/node_modules/@turf/bezier-spline/dist/js/lib/spline.d.ts +0 -62
  114. package/node_modules/@turf/bezier-spline/dist/js/lib/spline.js +0 -160
  115. package/node_modules/@turf/helpers/dist/es/lib/geojson.js +0 -7
  116. package/node_modules/@turf/helpers/dist/es/package.json +0 -1
  117. package/node_modules/@turf/helpers/dist/js/index.js +0 -724
  118. package/node_modules/@turf/helpers/dist/js/lib/geojson.d.ts +0 -193
  119. package/node_modules/@turf/helpers/dist/js/lib/geojson.js +0 -9
  120. package/node_modules/@turf/invariant/dist/es/index.js +0 -223
  121. package/node_modules/@turf/invariant/dist/es/package.json +0 -1
  122. package/node_modules/@turf/invariant/dist/js/index.js +0 -233
  123. package/node_modules/path-to-regexp/History.md +0 -36
  124. /package/node_modules/{encodeurl → send/node_modules/encodeurl}/HISTORY.md +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "merge-descriptors",
3
3
  "description": "Merge objects using descriptors",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "author": {
6
6
  "name": "Jonathan Ong",
7
7
  "email": "me@jongleberry.com",
@@ -13,10 +13,17 @@
13
13
  "Mike Grabowski <grabbou@gmail.com>"
14
14
  ],
15
15
  "license": "MIT",
16
- "repository": "component/merge-descriptors",
16
+ "repository": "sindresorhus/merge-descriptors",
17
+ "funding": "https://github.com/sponsors/sindresorhus",
17
18
  "devDependencies": {
18
- "istanbul": "0.4.1",
19
- "mocha": "1.21.5"
19
+ "eslint": "5.9.0",
20
+ "eslint-config-standard": "12.0.0",
21
+ "eslint-plugin-import": "2.14.0",
22
+ "eslint-plugin-node": "7.0.1",
23
+ "eslint-plugin-promise": "4.0.1",
24
+ "eslint-plugin-standard": "4.0.0",
25
+ "mocha": "5.2.0",
26
+ "nyc": "13.1.0"
20
27
  },
21
28
  "files": [
22
29
  "HISTORY.md",
@@ -25,8 +32,8 @@
25
32
  "index.js"
26
33
  ],
27
34
  "scripts": {
28
- "test": "mocha --reporter spec --bail --check-leaks test/",
29
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
30
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
35
+ "lint": "eslint .",
36
+ "test": "mocha test/",
37
+ "test-cov": "nyc --reporter=html --reporter=text npm test"
31
38
  }
32
39
  }
@@ -1,3 +1,17 @@
1
+ 1.53.0 / 2024-07-12
2
+ ===================
3
+
4
+ * Add extension `.sql` to `application/sql`
5
+ * Add extensions `.aac` and `.adts` to `audio/aac`
6
+ * Add extensions `.js` and `.mjs` to `text/javascript`
7
+ * Add extensions for `application/mp4` from IANA
8
+ * Add extensions from IANA for more MIME types
9
+ * Add Microsoft app installer types and extensions
10
+ * Add new upstream MIME types
11
+ * Fix extensions for `text/markdown` to match IANA
12
+ * Remove extension `.mjs` from `application/javascript`
13
+ * Remove obsolete MIME types from IANA data
14
+
1
15
  1.52.0 / 2022-02-21
2
16
  ===================
3
17
 
@@ -11,9 +11,9 @@ 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:
13
13
 
14
- - http://www.iana.org/assignments/media-types/media-types.xhtml
15
- - http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
16
- - http://hg.nginx.org/nginx/raw-file/default/conf/mime.types
14
+ - https://www.iana.org/assignments/media-types/media-types.xhtml
15
+ - https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
16
+ - https://hg.nginx.org/nginx/raw-file/default/conf/mime.types
17
17
 
18
18
  ## Installation
19
19
 
@@ -23,10 +23,7 @@ npm install mime-db
23
23
 
24
24
  ### Database Download
25
25
 
26
- If you're crazy enough to use this in the browser, you can just grab the
27
- JSON file using [jsDelivr](https://www.jsdelivr.com/). It is recommended to
28
- replace `master` with [a release tag](https://github.com/jshttp/mime-db/tags)
29
- as the JSON format may change in the future.
26
+ If you intend to use this in a web browser, you can conveniently access the JSON file via [jsDelivr](https://www.jsdelivr.com/), a popular CDN (Content Delivery Network). To ensure stability and compatibility, it is advisable to specify [a release tag](https://github.com/jshttp/mime-db/tags) instead of using the 'master' branch. This is because the JSON file's format might change in future updates, and relying on a specific release tag will prevent potential issues arising from these changes.
30
27
 
31
28
  ```
32
29
  https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json
@@ -48,9 +45,9 @@ Each mime type has the following properties:
48
45
 
49
46
  - `.source` - where the mime type is defined.
50
47
  If not set, it's probably a custom media type.
51
- - `apache` - [Apache common media types](http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types)
52
- - `iana` - [IANA-defined media types](http://www.iana.org/assignments/media-types/media-types.xhtml)
53
- - `nginx` - [nginx media types](http://hg.nginx.org/nginx/raw-file/default/conf/mime.types)
48
+ - `apache` - [Apache common media types](https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types)
49
+ - `iana` - [IANA-defined media types](https://www.iana.org/assignments/media-types/media-types.xhtml)
50
+ - `nginx` - [nginx media types](https://hg.nginx.org/nginx/raw-file/default/conf/mime.types)
54
51
  - `.extensions[]` - known extensions associated with this mime type.
55
52
  - `.compressible` - whether a file of this type can be gzipped.
56
53
  - `.charset` - the default charset associated with this type, if any.
@@ -59,6 +56,25 @@ If unknown, every property could be `undefined`.
59
56
 
60
57
  ## Contributing
61
58
 
59
+ The primary way to contribute to this database is by updating the data in
60
+ one of the upstream sources. The database is updated from the upstreams
61
+ periodically and will pull in any changes.
62
+
63
+ ### Registering Media Types
64
+
65
+ The best way to get new media types included in this library is to register
66
+ them with the IANA. The community registration procedure is outlined in
67
+ [RFC 6838 section 5](https://tools.ietf.org/html/rfc6838#section-5). Types
68
+ registered with the IANA are automatically pulled into this library.
69
+
70
+ ### Direct Inclusion
71
+
72
+ If that is not possible / feasible, they can be added directly here as a
73
+ "custom" type. To do this, it is required to have a primary source that
74
+ definitively lists the media type. If an extension is going to be listed as
75
+ associateed with this media type, the source must definitively link the
76
+ media type and extension as well.
77
+
62
78
  To edit the database, only make PRs against `src/custom-types.json` or
63
79
  `src/custom-suffix.json`.
64
80
 
@@ -76,21 +92,8 @@ keys and the values being an object with the following keys:
76
92
 
77
93
  To update the build, run `npm run build`.
78
94
 
79
- ### Adding Custom Media Types
80
-
81
- The best way to get new media types included in this library is to register
82
- them with the IANA. The community registration procedure is outlined in
83
- [RFC 6838 section 5](http://tools.ietf.org/html/rfc6838#section-5). Types
84
- registered with the IANA are automatically pulled into this library.
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
95
  [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
96
+ [ci-url]: https://github.com/jshttp/mime-db/actions/workflows/ci.yml
94
97
  [coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-db/master
95
98
  [coveralls-url]: https://coveralls.io/r/jshttp/mime-db?branch=master
96
99
  [node-image]: https://badgen.net/npm/node/mime-db