node-red-contrib-web-worldmap 2.23.3 → 2.24.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 (188) hide show
  1. package/CHANGELOG.md +29 -1
  2. package/README.md +16 -24
  3. package/node_modules/body-parser/HISTORY.md +15 -0
  4. package/node_modules/body-parser/README.md +25 -12
  5. package/node_modules/body-parser/node_modules/bytes/package.json +4 -4
  6. package/node_modules/body-parser/package.json +34 -37
  7. package/node_modules/content-disposition/HISTORY.md +5 -0
  8. package/node_modules/content-disposition/README.md +3 -9
  9. package/node_modules/content-disposition/index.js +1 -1
  10. package/node_modules/content-disposition/node_modules/safe-buffer/LICENSE +21 -0
  11. package/node_modules/content-disposition/node_modules/safe-buffer/README.md +584 -0
  12. package/node_modules/content-disposition/node_modules/safe-buffer/index.d.ts +187 -0
  13. package/node_modules/content-disposition/node_modules/safe-buffer/index.js +65 -0
  14. package/node_modules/content-disposition/node_modules/safe-buffer/package.json +76 -0
  15. package/node_modules/content-disposition/package.json +27 -30
  16. package/node_modules/cookie/HISTORY.md +5 -0
  17. package/node_modules/cookie/README.md +4 -0
  18. package/node_modules/cookie/index.js +5 -1
  19. package/node_modules/cookie/package.json +22 -25
  20. package/node_modules/express/History.md +33 -0
  21. package/node_modules/express/Readme.md +8 -5
  22. package/node_modules/express/lib/application.js +1 -1
  23. package/node_modules/express/lib/request.js +1 -1
  24. package/node_modules/express/lib/response.js +16 -11
  25. package/node_modules/express/lib/router/index.js +6 -0
  26. package/node_modules/express/lib/utils.js +2 -6
  27. package/node_modules/express/node_modules/safe-buffer/LICENSE +21 -0
  28. package/node_modules/express/node_modules/safe-buffer/README.md +584 -0
  29. package/node_modules/express/node_modules/safe-buffer/index.d.ts +187 -0
  30. package/node_modules/express/node_modules/safe-buffer/index.js +65 -0
  31. package/node_modules/express/node_modules/safe-buffer/package.json +76 -0
  32. package/node_modules/express/package.json +37 -39
  33. package/node_modules/faye-websocket/CHANGELOG.md +5 -0
  34. package/node_modules/faye-websocket/LICENSE.md +1 -1
  35. package/node_modules/faye-websocket/README.md +13 -13
  36. package/node_modules/faye-websocket/lib/faye/websocket/api.js +10 -8
  37. package/node_modules/faye-websocket/lib/faye/websocket/client.js +4 -4
  38. package/node_modules/faye-websocket/lib/faye/websocket.js +1 -1
  39. package/node_modules/faye-websocket/package.json +16 -19
  40. package/node_modules/forwarded/HISTORY.md +5 -0
  41. package/node_modules/forwarded/README.md +3 -3
  42. package/node_modules/forwarded/index.js +15 -1
  43. package/node_modules/forwarded/package.json +27 -28
  44. package/node_modules/http-errors/HISTORY.md +16 -0
  45. package/node_modules/http-errors/README.md +12 -6
  46. package/node_modules/http-errors/index.js +35 -2
  47. package/node_modules/http-errors/package.json +32 -35
  48. package/node_modules/inherits/inherits.js +2 -0
  49. package/node_modules/inherits/inherits_browser.js +18 -14
  50. package/node_modules/inherits/package.json +17 -20
  51. package/node_modules/ipaddr.js/README.md +1 -1
  52. package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +6 -9
  53. package/node_modules/ipaddr.js/package.json +17 -19
  54. package/node_modules/proxy-addr/HISTORY.md +11 -0
  55. package/node_modules/proxy-addr/README.md +3 -19
  56. package/node_modules/proxy-addr/index.js +1 -1
  57. package/node_modules/proxy-addr/package.json +30 -33
  58. package/node_modules/qs/.editorconfig +9 -0
  59. package/node_modules/qs/.eslintignore +2 -1
  60. package/node_modules/qs/.eslintrc +15 -1
  61. package/node_modules/qs/.github/FUNDING.yml +12 -0
  62. package/node_modules/qs/.nycrc +13 -0
  63. package/node_modules/qs/CHANGELOG.md +103 -0
  64. package/node_modules/qs/LICENSE.md +29 -0
  65. package/node_modules/qs/README.md +34 -0
  66. package/node_modules/qs/dist/qs.js +117 -67
  67. package/node_modules/qs/lib/formats.js +9 -4
  68. package/node_modules/qs/lib/parse.js +29 -14
  69. package/node_modules/qs/lib/stringify.js +55 -46
  70. package/node_modules/qs/lib/utils.js +23 -2
  71. package/node_modules/qs/package.json +42 -34
  72. package/node_modules/qs/test/parse.js +97 -1
  73. package/node_modules/qs/test/stringify.js +115 -1
  74. package/node_modules/qs/test/utils.js +1 -1
  75. package/node_modules/raw-body/HISTORY.md +14 -0
  76. package/node_modules/raw-body/README.md +3 -5
  77. package/node_modules/raw-body/node_modules/bytes/package.json +4 -4
  78. package/node_modules/raw-body/package.json +32 -35
  79. package/node_modules/send/HISTORY.md +10 -0
  80. package/node_modules/send/README.md +4 -6
  81. package/node_modules/send/index.js +7 -3
  82. package/node_modules/send/node_modules/ms/index.js +3 -3
  83. package/node_modules/send/node_modules/ms/license.md +1 -1
  84. package/node_modules/send/node_modules/ms/package.json +21 -23
  85. package/node_modules/send/node_modules/ms/readme.md +1 -2
  86. package/node_modules/send/package.json +31 -34
  87. package/node_modules/serve-static/HISTORY.md +8 -0
  88. package/node_modules/serve-static/README.md +9 -11
  89. package/node_modules/serve-static/package.json +30 -33
  90. package/node_modules/setprototypeof/README.md +1 -1
  91. package/node_modules/setprototypeof/index.js +1 -1
  92. package/node_modules/setprototypeof/package.json +20 -21
  93. package/node_modules/sockjs/Changelog +12 -0
  94. package/node_modules/sockjs/lib/transport.js +1 -1
  95. package/node_modules/sockjs/package.json +16 -19
  96. package/node_modules/toidentifier/HISTORY.md +9 -0
  97. package/node_modules/toidentifier/README.md +3 -3
  98. package/node_modules/toidentifier/index.js +2 -0
  99. package/node_modules/toidentifier/package.json +30 -29
  100. package/node_modules/uuid/CHANGELOG.md +154 -44
  101. package/node_modules/uuid/CONTRIBUTING.md +18 -0
  102. package/node_modules/uuid/LICENSE.md +4 -16
  103. package/node_modules/uuid/README.md +384 -155
  104. package/node_modules/uuid/dist/bin/uuid +2 -0
  105. package/node_modules/uuid/dist/esm-browser/index.js +9 -0
  106. package/node_modules/uuid/{lib/md5-browser.js → dist/esm-browser/md5.js} +70 -71
  107. package/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  108. package/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  109. package/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  110. package/node_modules/uuid/dist/esm-browser/rng.js +19 -0
  111. package/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  112. package/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
  113. package/node_modules/uuid/{v1.js → dist/esm-browser/v1.js} +36 -50
  114. package/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  115. package/node_modules/uuid/dist/esm-browser/v35.js +64 -0
  116. package/node_modules/uuid/dist/esm-browser/v4.js +24 -0
  117. package/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  118. package/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  119. package/node_modules/uuid/dist/esm-browser/version.js +11 -0
  120. package/node_modules/uuid/dist/esm-node/index.js +9 -0
  121. package/node_modules/uuid/dist/esm-node/md5.js +13 -0
  122. package/node_modules/uuid/dist/esm-node/nil.js +1 -0
  123. package/node_modules/uuid/dist/esm-node/parse.js +35 -0
  124. package/node_modules/uuid/dist/esm-node/regex.js +1 -0
  125. package/node_modules/uuid/dist/esm-node/rng.js +12 -0
  126. package/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  127. package/node_modules/uuid/dist/esm-node/stringify.js +29 -0
  128. package/node_modules/uuid/dist/esm-node/v1.js +95 -0
  129. package/node_modules/uuid/dist/esm-node/v3.js +4 -0
  130. package/node_modules/uuid/dist/esm-node/v35.js +64 -0
  131. package/node_modules/uuid/dist/esm-node/v4.js +24 -0
  132. package/node_modules/uuid/dist/esm-node/v5.js +4 -0
  133. package/node_modules/uuid/dist/esm-node/validate.js +7 -0
  134. package/node_modules/uuid/dist/esm-node/version.js +11 -0
  135. package/node_modules/uuid/dist/index.js +79 -0
  136. package/node_modules/uuid/dist/md5-browser.js +223 -0
  137. package/node_modules/uuid/dist/md5.js +23 -0
  138. package/node_modules/uuid/dist/nil.js +8 -0
  139. package/node_modules/uuid/dist/parse.js +45 -0
  140. package/node_modules/uuid/dist/regex.js +8 -0
  141. package/node_modules/uuid/dist/rng-browser.js +26 -0
  142. package/node_modules/uuid/dist/rng.js +24 -0
  143. package/node_modules/uuid/dist/sha1-browser.js +104 -0
  144. package/node_modules/uuid/dist/sha1.js +23 -0
  145. package/node_modules/uuid/dist/stringify.js +39 -0
  146. package/node_modules/uuid/dist/umd/uuid.min.js +1 -0
  147. package/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
  148. package/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
  149. package/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
  150. package/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
  151. package/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
  152. package/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
  153. package/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
  154. package/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
  155. package/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
  156. package/node_modules/uuid/dist/uuid-bin.js +85 -0
  157. package/node_modules/uuid/dist/v1.js +107 -0
  158. package/node_modules/uuid/dist/v3.js +16 -0
  159. package/node_modules/uuid/dist/v35.js +78 -0
  160. package/node_modules/uuid/dist/v4.js +37 -0
  161. package/node_modules/uuid/dist/v5.js +16 -0
  162. package/node_modules/uuid/dist/validate.js +17 -0
  163. package/node_modules/uuid/dist/version.js +21 -0
  164. package/node_modules/uuid/package.json +118 -57
  165. package/node_modules/uuid/wrapper.mjs +10 -0
  166. package/node_modules/websocket-driver/node_modules/http-parser-js/package.json +4 -4
  167. package/package.json +3 -3
  168. package/worldmap/index.html +1 -0
  169. package/worldmap/leaflet/leaflet-arc.min.js +1 -0
  170. package/worldmap/worldmap.js +49 -26
  171. package/worldmap.html +1 -1
  172. package/worldmap.js +2 -2
  173. package/node_modules/qs/LICENSE +0 -28
  174. package/node_modules/qs/test/.eslintrc +0 -17
  175. package/node_modules/qs/test/index.js +0 -7
  176. package/node_modules/uuid/AUTHORS +0 -5
  177. package/node_modules/uuid/bin/uuid +0 -65
  178. package/node_modules/uuid/index.js +0 -8
  179. package/node_modules/uuid/lib/bytesToUuid.js +0 -26
  180. package/node_modules/uuid/lib/md5.js +0 -25
  181. package/node_modules/uuid/lib/rng-browser.js +0 -34
  182. package/node_modules/uuid/lib/rng.js +0 -8
  183. package/node_modules/uuid/lib/sha1-browser.js +0 -89
  184. package/node_modules/uuid/lib/sha1.js +0 -25
  185. package/node_modules/uuid/lib/v35.js +0 -57
  186. package/node_modules/uuid/v3.js +0 -4
  187. package/node_modules/uuid/v4.js +0 -29
  188. package/node_modules/uuid/v5.js +0 -3
@@ -1,33 +1,28 @@
1
1
  {
2
- "_args": [
3
- [
4
- "send@0.17.1",
5
- "/Users/conway/Projects/worldmap"
6
- ]
7
- ],
8
- "_from": "send@0.17.1",
9
- "_id": "send@0.17.1",
2
+ "_from": "send@0.17.2",
3
+ "_id": "send@0.17.2",
10
4
  "_inBundle": false,
11
- "_integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
12
- "_location": "/send",
5
+ "_integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==",
6
+ "_location": "/node-red-contrib-web-worldmap/send",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
15
9
  "type": "version",
16
10
  "registry": true,
17
- "raw": "send@0.17.1",
11
+ "raw": "send@0.17.2",
18
12
  "name": "send",
19
13
  "escapedName": "send",
20
- "rawSpec": "0.17.1",
14
+ "rawSpec": "0.17.2",
21
15
  "saveSpec": null,
22
- "fetchSpec": "0.17.1"
16
+ "fetchSpec": "0.17.2"
23
17
  },
24
18
  "_requiredBy": [
25
- "/express",
26
- "/serve-static"
19
+ "/node-red-contrib-web-worldmap/express",
20
+ "/node-red-contrib-web-worldmap/serve-static"
27
21
  ],
28
- "_resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
29
- "_spec": "0.17.1",
30
- "_where": "/Users/conway/Projects/worldmap",
22
+ "_resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz",
23
+ "_shasum": "926622f76601c41808012c8bf1688fe3906f7820",
24
+ "_spec": "send@0.17.2",
25
+ "_where": "/Users/conway/Projects/worldmap/node_modules/express",
31
26
  "author": {
32
27
  "name": "TJ Holowaychuk",
33
28
  "email": "tj@vision-media.ca"
@@ -35,6 +30,7 @@
35
30
  "bugs": {
36
31
  "url": "https://github.com/pillarjs/send/issues"
37
32
  },
33
+ "bundleDependencies": false,
38
34
  "contributors": [
39
35
  {
40
36
  "name": "Douglas Christopher Wilson",
@@ -57,26 +53,27 @@
57
53
  "escape-html": "~1.0.3",
58
54
  "etag": "~1.8.1",
59
55
  "fresh": "0.5.2",
60
- "http-errors": "~1.7.2",
56
+ "http-errors": "1.8.1",
61
57
  "mime": "1.6.0",
62
- "ms": "2.1.1",
58
+ "ms": "2.1.3",
63
59
  "on-finished": "~2.3.0",
64
60
  "range-parser": "~1.2.1",
65
61
  "statuses": "~1.5.0"
66
62
  },
63
+ "deprecated": false,
67
64
  "description": "Better streaming static file server with Range and conditional-GET support",
68
65
  "devDependencies": {
69
66
  "after": "0.8.2",
70
- "eslint": "5.16.0",
71
- "eslint-config-standard": "12.0.0",
72
- "eslint-plugin-import": "2.17.2",
73
- "eslint-plugin-markdown": "1.0.0",
74
- "eslint-plugin-node": "8.0.1",
75
- "eslint-plugin-promise": "4.1.1",
76
- "eslint-plugin-standard": "4.0.0",
77
- "istanbul": "0.4.5",
78
- "mocha": "6.1.4",
79
- "supertest": "4.0.2"
67
+ "eslint": "7.32.0",
68
+ "eslint-config-standard": "14.1.1",
69
+ "eslint-plugin-import": "2.25.3",
70
+ "eslint-plugin-markdown": "2.2.1",
71
+ "eslint-plugin-node": "11.1.0",
72
+ "eslint-plugin-promise": "5.2.0",
73
+ "eslint-plugin-standard": "4.1.0",
74
+ "mocha": "9.1.3",
75
+ "nyc": "15.1.0",
76
+ "supertest": "6.1.6"
80
77
  },
81
78
  "engines": {
82
79
  "node": ">= 0.8.0"
@@ -100,10 +97,10 @@
100
97
  "url": "git+https://github.com/pillarjs/send.git"
101
98
  },
102
99
  "scripts": {
103
- "lint": "eslint --plugin markdown --ext js,md .",
100
+ "lint": "eslint .",
104
101
  "test": "mocha --check-leaks --reporter spec --bail",
105
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec",
106
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot"
102
+ "test-ci": "nyc --reporter=lcov --reporter=text npm test",
103
+ "test-cov": "nyc --reporter=html --reporter=text npm test"
107
104
  },
108
- "version": "0.17.1"
105
+ "version": "0.17.2"
109
106
  }
@@ -1,3 +1,11 @@
1
+ 1.14.2 / 2021-12-15
2
+ ===================
3
+
4
+ * deps: send@0.17.2
5
+ - deps: http-errors@1.8.1
6
+ - deps: ms@2.1.3
7
+ - pref: ignore empty http tokens
8
+
1
9
  1.14.1 / 2019-05-10
2
10
  ===================
3
11
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![NPM Version][npm-version-image]][npm-url]
4
4
  [![NPM Downloads][npm-downloads-image]][npm-url]
5
- [![Linux Build][travis-image]][travis-url]
5
+ [![Linux Build][github-actions-ci-image]][github-actions-ci-url]
6
6
  [![Windows Build][appveyor-image]][appveyor-url]
7
7
  [![Test Coverage][coveralls-image]][coveralls-url]
8
8
 
@@ -18,8 +18,6 @@ $ npm install serve-static
18
18
 
19
19
  ## API
20
20
 
21
- <!-- eslint-disable no-unused-vars -->
22
-
23
21
  ```js
24
22
  var serveStatic = require('serve-static')
25
23
  ```
@@ -141,7 +139,7 @@ var http = require('http')
141
139
  var serveStatic = require('serve-static')
142
140
 
143
141
  // Serve up public/ftp folder
144
- var serve = serveStatic('public/ftp', { 'index': ['index.html', 'index.htm'] })
142
+ var serve = serveStatic('public/ftp', { index: ['index.html', 'index.htm'] })
145
143
 
146
144
  // Create server
147
145
  var server = http.createServer(function onRequest (req, res) {
@@ -162,8 +160,8 @@ var serveStatic = require('serve-static')
162
160
 
163
161
  // Serve up public/ftp folder
164
162
  var serve = serveStatic('public/ftp', {
165
- 'index': false,
166
- 'setHeaders': setHeaders
163
+ index: false,
164
+ setHeaders: setHeaders
167
165
  })
168
166
 
169
167
  // Set header to force download
@@ -192,15 +190,15 @@ var serveStatic = require('serve-static')
192
190
 
193
191
  var app = express()
194
192
 
195
- app.use(serveStatic('public/ftp', { 'index': ['default.html', 'default.htm'] }))
193
+ app.use(serveStatic('public/ftp', { index: ['default.html', 'default.htm'] }))
196
194
  app.listen(3000)
197
195
  ```
198
196
 
199
197
  #### Multiple roots
200
198
 
201
199
  This example shows a simple way to search through multiple directories.
202
- Files are look for in `public-optimized/` first, then `public/` second as
203
- a fallback.
200
+ Files are searched for in `public-optimized/` first, then `public/` second
201
+ as a fallback.
204
202
 
205
203
  ```js
206
204
  var express = require('express')
@@ -250,10 +248,10 @@ function setCustomCacheControl (res, path) {
250
248
  [appveyor-url]: https://ci.appveyor.com/project/dougwilson/serve-static
251
249
  [coveralls-image]: https://badgen.net/coveralls/c/github/expressjs/serve-static/master
252
250
  [coveralls-url]: https://coveralls.io/r/expressjs/serve-static?branch=master
251
+ [github-actions-ci-image]: https://badgen.net/github/checks/expressjs/serve-static/master?label=linux
252
+ [github-actions-ci-url]: https://github.com/expressjs/serve-static/actions?query=workflow%3Aci
253
253
  [node-image]: https://badgen.net/npm/node/serve-static
254
254
  [node-url]: https://nodejs.org/en/download/
255
255
  [npm-downloads-image]: https://badgen.net/npm/dm/serve-static
256
256
  [npm-url]: https://npmjs.org/package/serve-static
257
257
  [npm-version-image]: https://badgen.net/npm/v/serve-static
258
- [travis-image]: https://badgen.net/travis/expressjs/serve-static/master?label=linux
259
- [travis-url]: https://travis-ci.org/expressjs/serve-static
@@ -1,32 +1,27 @@
1
1
  {
2
- "_args": [
3
- [
4
- "serve-static@1.14.1",
5
- "/Users/conway/Projects/worldmap"
6
- ]
7
- ],
8
- "_from": "serve-static@1.14.1",
9
- "_id": "serve-static@1.14.1",
2
+ "_from": "serve-static@1.14.2",
3
+ "_id": "serve-static@1.14.2",
10
4
  "_inBundle": false,
11
- "_integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
12
- "_location": "/serve-static",
5
+ "_integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==",
6
+ "_location": "/node-red-contrib-web-worldmap/serve-static",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
15
9
  "type": "version",
16
10
  "registry": true,
17
- "raw": "serve-static@1.14.1",
11
+ "raw": "serve-static@1.14.2",
18
12
  "name": "serve-static",
19
13
  "escapedName": "serve-static",
20
- "rawSpec": "1.14.1",
14
+ "rawSpec": "1.14.2",
21
15
  "saveSpec": null,
22
- "fetchSpec": "1.14.1"
16
+ "fetchSpec": "1.14.2"
23
17
  },
24
18
  "_requiredBy": [
25
- "/express"
19
+ "/node-red-contrib-web-worldmap/express"
26
20
  ],
27
- "_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
28
- "_spec": "1.14.1",
29
- "_where": "/Users/conway/Projects/worldmap",
21
+ "_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz",
22
+ "_shasum": "722d6294b1d62626d41b43a013ece4598d292bfa",
23
+ "_spec": "serve-static@1.14.2",
24
+ "_where": "/Users/conway/Projects/worldmap/node_modules/express",
30
25
  "author": {
31
26
  "name": "Douglas Christopher Wilson",
32
27
  "email": "doug@somethingdoug.com"
@@ -34,25 +29,27 @@
34
29
  "bugs": {
35
30
  "url": "https://github.com/expressjs/serve-static/issues"
36
31
  },
32
+ "bundleDependencies": false,
37
33
  "dependencies": {
38
34
  "encodeurl": "~1.0.2",
39
35
  "escape-html": "~1.0.3",
40
36
  "parseurl": "~1.3.3",
41
- "send": "0.17.1"
37
+ "send": "0.17.2"
42
38
  },
39
+ "deprecated": false,
43
40
  "description": "Serve static files",
44
41
  "devDependencies": {
45
- "eslint": "5.16.0",
46
- "eslint-config-standard": "12.0.0",
47
- "eslint-plugin-import": "2.17.2",
48
- "eslint-plugin-markdown": "1.0.0",
49
- "eslint-plugin-node": "8.0.1",
50
- "eslint-plugin-promise": "4.1.1",
51
- "eslint-plugin-standard": "4.0.0",
52
- "istanbul": "0.4.5",
53
- "mocha": "6.1.4",
54
- "safe-buffer": "5.1.2",
55
- "supertest": "4.0.2"
42
+ "eslint": "7.32.0",
43
+ "eslint-config-standard": "14.1.1",
44
+ "eslint-plugin-import": "2.25.3",
45
+ "eslint-plugin-markdown": "2.2.1",
46
+ "eslint-plugin-node": "11.1.0",
47
+ "eslint-plugin-promise": "5.2.0",
48
+ "eslint-plugin-standard": "4.1.0",
49
+ "mocha": "9.1.3",
50
+ "nyc": "15.1.0",
51
+ "safe-buffer": "5.2.1",
52
+ "supertest": "6.1.6"
56
53
  },
57
54
  "engines": {
58
55
  "node": ">= 0.8.0"
@@ -70,11 +67,11 @@
70
67
  "url": "git+https://github.com/expressjs/serve-static.git"
71
68
  },
72
69
  "scripts": {
73
- "lint": "eslint --plugin markdown --ext js,md .",
70
+ "lint": "eslint .",
74
71
  "test": "mocha --reporter spec --bail --check-leaks test/",
75
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
76
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
72
+ "test-ci": "nyc --reporter=lcov --reporter=text npm test",
73
+ "test-cov": "nyc --reporter=html --reporter=text npm test",
77
74
  "version": "node scripts/version-history.js && git add HISTORY.md"
78
75
  },
79
- "version": "1.14.1"
76
+ "version": "1.14.2"
80
77
  }
@@ -27,5 +27,5 @@ obj.foo() // bar
27
27
  TypeScript is also supported:
28
28
 
29
29
  ```typescript
30
- import setPrototypeOf = require('setprototypeof')
30
+ import setPrototypeOf from 'setprototypeof'
31
31
  ```
@@ -9,7 +9,7 @@ function setProtoOf (obj, proto) {
9
9
 
10
10
  function mixinProperties (obj, proto) {
11
11
  for (var prop in proto) {
12
- if (!obj.hasOwnProperty(prop)) {
12
+ if (!Object.prototype.hasOwnProperty.call(obj, prop)) {
13
13
  obj[prop] = proto[prop]
14
14
  }
15
15
  }
@@ -1,43 +1,40 @@
1
1
  {
2
- "_args": [
3
- [
4
- "setprototypeof@1.1.1",
5
- "/Users/conway/Projects/worldmap"
6
- ]
7
- ],
8
- "_from": "setprototypeof@1.1.1",
9
- "_id": "setprototypeof@1.1.1",
2
+ "_from": "setprototypeof@1.2.0",
3
+ "_id": "setprototypeof@1.2.0",
10
4
  "_inBundle": false,
11
- "_integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==",
12
- "_location": "/setprototypeof",
5
+ "_integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
6
+ "_location": "/node-red-contrib-web-worldmap/setprototypeof",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
15
9
  "type": "version",
16
10
  "registry": true,
17
- "raw": "setprototypeof@1.1.1",
11
+ "raw": "setprototypeof@1.2.0",
18
12
  "name": "setprototypeof",
19
13
  "escapedName": "setprototypeof",
20
- "rawSpec": "1.1.1",
14
+ "rawSpec": "1.2.0",
21
15
  "saveSpec": null,
22
- "fetchSpec": "1.1.1"
16
+ "fetchSpec": "1.2.0"
23
17
  },
24
18
  "_requiredBy": [
25
- "/express",
26
- "/http-errors"
19
+ "/node-red-contrib-web-worldmap/express",
20
+ "/node-red-contrib-web-worldmap/http-errors"
27
21
  ],
28
- "_resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
29
- "_spec": "1.1.1",
30
- "_where": "/Users/conway/Projects/worldmap",
22
+ "_resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
23
+ "_shasum": "66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424",
24
+ "_spec": "setprototypeof@1.2.0",
25
+ "_where": "/Users/conway/Projects/worldmap/node_modules/express",
31
26
  "author": {
32
27
  "name": "Wes Todd"
33
28
  },
34
29
  "bugs": {
35
30
  "url": "https://github.com/wesleytodd/setprototypeof/issues"
36
31
  },
32
+ "bundleDependencies": false,
33
+ "deprecated": false,
37
34
  "description": "A small polyfill for Object.setprototypeof",
38
35
  "devDependencies": {
39
- "mocha": "^5.2.0",
40
- "standard": "^12.0.1"
36
+ "mocha": "^6.1.4",
37
+ "standard": "^13.0.2"
41
38
  },
42
39
  "homepage": "https://github.com/wesleytodd/setprototypeof",
43
40
  "keywords": [
@@ -58,10 +55,12 @@
58
55
  "node4": "NODE_VER=4 npm run testversion",
59
56
  "node6": "NODE_VER=6 npm run testversion",
60
57
  "node9": "NODE_VER=9 npm run testversion",
58
+ "postpublish": "git push origin && git push origin --tags",
59
+ "prepublishOnly": "npm t",
61
60
  "test": "standard && mocha",
62
61
  "testallversions": "npm run node010 && npm run node4 && npm run node6 && npm run node9 && npm run node11",
63
62
  "testversion": "docker run -it --rm -v $(PWD):/usr/src/app -w /usr/src/app node:${NODE_VER} npm install mocha@${MOCHA_VER:-latest} && npm t"
64
63
  },
65
64
  "typings": "index.d.ts",
66
- "version": "1.1.1"
65
+ "version": "1.2.0"
67
66
  }
@@ -1,3 +1,15 @@
1
+ 0.3.24
2
+ ======
3
+ * Remove excess file from npm package
4
+
5
+ 0.3.23
6
+ ======
7
+ * Fix `uuid` usage
8
+
9
+ 0.3.22
10
+ ======
11
+ * Update `uuid`
12
+
1
13
  0.3.21
2
14
  ======
3
15
  * Update `faye-websocket` and `websocket-driver` to address DDoS vulnerability #275
@@ -6,7 +6,7 @@
6
6
 
7
7
  stream = require('stream');
8
8
 
9
- uuidv4 = require('uuid/v4');
9
+ uuidv4 = require('uuid').v4;
10
10
 
11
11
  utils = require('./utils');
12
12
 
@@ -1,31 +1,26 @@
1
1
  {
2
- "_args": [
3
- [
4
- "sockjs@0.3.21",
5
- "/Users/conway/Projects/worldmap"
6
- ]
7
- ],
8
- "_from": "sockjs@0.3.21",
9
- "_id": "sockjs@0.3.21",
2
+ "_from": "sockjs@~0.3.24",
3
+ "_id": "sockjs@0.3.24",
10
4
  "_inBundle": false,
11
- "_integrity": "sha512-DhbPFGpxjc6Z3I+uX07Id5ZO2XwYsWOrYjaSeieES78cq+JaJvVe5q/m1uvjIQhXinhIeCFRH6JgXe+mvVMyXw==",
12
- "_location": "/sockjs",
5
+ "_integrity": "sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==",
6
+ "_location": "/node-red-contrib-web-worldmap/sockjs",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
15
- "type": "version",
9
+ "type": "range",
16
10
  "registry": true,
17
- "raw": "sockjs@0.3.21",
11
+ "raw": "sockjs@~0.3.24",
18
12
  "name": "sockjs",
19
13
  "escapedName": "sockjs",
20
- "rawSpec": "0.3.21",
14
+ "rawSpec": "~0.3.24",
21
15
  "saveSpec": null,
22
- "fetchSpec": "0.3.21"
16
+ "fetchSpec": "~0.3.24"
23
17
  },
24
18
  "_requiredBy": [
25
- "/"
19
+ "/node-red-contrib-web-worldmap"
26
20
  ],
27
- "_resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.21.tgz",
28
- "_spec": "0.3.21",
21
+ "_resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.24.tgz",
22
+ "_shasum": "c9bc8995f33a111bea0395ec30aa3206bdb5ccce",
23
+ "_spec": "sockjs@~0.3.24",
29
24
  "_where": "/Users/conway/Projects/worldmap",
30
25
  "author": {
31
26
  "name": "Marek Majkowski"
@@ -33,6 +28,7 @@
33
28
  "bugs": {
34
29
  "url": "https://github.com/sockjs/sockjs-node/issues"
35
30
  },
31
+ "bundleDependencies": false,
36
32
  "contributors": [
37
33
  {
38
34
  "name": "Bryce Kahle",
@@ -45,9 +41,10 @@
45
41
  ],
46
42
  "dependencies": {
47
43
  "faye-websocket": "^0.11.3",
48
- "uuid": "^3.4.0",
44
+ "uuid": "^8.3.2",
49
45
  "websocket-driver": "^0.7.4"
50
46
  },
47
+ "deprecated": false,
51
48
  "description": "SockJS-node is a server counterpart of SockJS-client a JavaScript library that provides a WebSocket-like object in the browser. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication channel between the browser and the web server.",
52
49
  "devDependencies": {
53
50
  "coffeescript": "^1.12.7"
@@ -69,5 +66,5 @@
69
66
  "postversion": "npm publish",
70
67
  "version": "make build && git add Changelog"
71
68
  },
72
- "version": "0.3.21"
69
+ "version": "0.3.24"
73
70
  }
@@ -0,0 +1,9 @@
1
+ 1.0.1 / 2021-11-14
2
+ ==================
3
+
4
+ * pref: enable strict mode
5
+
6
+ 1.0.0 / 2018-07-09
7
+ ==================
8
+
9
+ * Initial release
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![NPM Version][npm-image]][npm-url]
4
4
  [![NPM Downloads][downloads-image]][downloads-url]
5
- [![Build Status][travis-image]][travis-url]
5
+ [![Build Status][github-actions-ci-image]][github-actions-ci-url]
6
6
  [![Test Coverage][codecov-image]][codecov-url]
7
7
 
8
8
  > Convert a string of words to a JavaScript identifier
@@ -48,10 +48,10 @@ the following rules and the new string will be returned:
48
48
  [codecov-url]: https://codecov.io/gh/component/toidentifier
49
49
  [downloads-image]: https://img.shields.io/npm/dm/toidentifier.svg
50
50
  [downloads-url]: https://npmjs.org/package/toidentifier
51
+ [github-actions-ci-image]: https://img.shields.io/github/workflow/status/component/toidentifier/ci/master?label=ci
52
+ [github-actions-ci-url]: https://github.com/component/toidentifier?query=workflow%3Aci
51
53
  [npm-image]: https://img.shields.io/npm/v/toidentifier.svg
52
54
  [npm-url]: https://npmjs.org/package/toidentifier
53
- [travis-image]: https://img.shields.io/travis/component/toidentifier/master.svg
54
- [travis-url]: https://travis-ci.org/component/toidentifier
55
55
 
56
56
 
57
57
  ##
@@ -4,6 +4,8 @@
4
4
  * MIT Licensed
5
5
  */
6
6
 
7
+ 'use strict'
8
+
7
9
  /**
8
10
  * Module exports.
9
11
  * @public
@@ -1,32 +1,27 @@
1
1
  {
2
- "_args": [
3
- [
4
- "toidentifier@1.0.0",
5
- "/Users/conway/Projects/worldmap"
6
- ]
7
- ],
8
- "_from": "toidentifier@1.0.0",
9
- "_id": "toidentifier@1.0.0",
2
+ "_from": "toidentifier@1.0.1",
3
+ "_id": "toidentifier@1.0.1",
10
4
  "_inBundle": false,
11
- "_integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==",
12
- "_location": "/toidentifier",
5
+ "_integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
6
+ "_location": "/node-red-contrib-web-worldmap/toidentifier",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
15
9
  "type": "version",
16
10
  "registry": true,
17
- "raw": "toidentifier@1.0.0",
11
+ "raw": "toidentifier@1.0.1",
18
12
  "name": "toidentifier",
19
13
  "escapedName": "toidentifier",
20
- "rawSpec": "1.0.0",
14
+ "rawSpec": "1.0.1",
21
15
  "saveSpec": null,
22
- "fetchSpec": "1.0.0"
16
+ "fetchSpec": "1.0.1"
23
17
  },
24
18
  "_requiredBy": [
25
- "/http-errors"
19
+ "/node-red-contrib-web-worldmap/http-errors"
26
20
  ],
27
- "_resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
28
- "_spec": "1.0.0",
29
- "_where": "/Users/conway/Projects/worldmap",
21
+ "_resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
22
+ "_shasum": "3be34321a88a820ed1bd80dfaa33e479fbb8dd35",
23
+ "_spec": "toidentifier@1.0.1",
24
+ "_where": "/Users/conway/Projects/worldmap/node_modules/http-errors",
30
25
  "author": {
31
26
  "name": "Douglas Christopher Wilson",
32
27
  "email": "doug@somethingdoug.com"
@@ -34,6 +29,7 @@
34
29
  "bugs": {
35
30
  "url": "https://github.com/component/toidentifier/issues"
36
31
  },
32
+ "bundleDependencies": false,
37
33
  "contributors": [
38
34
  {
39
35
  "name": "Douglas Christopher Wilson",
@@ -45,22 +41,25 @@
45
41
  "url": "http://niftylettuce.com/"
46
42
  }
47
43
  ],
44
+ "deprecated": false,
48
45
  "description": "Convert a string of words to a JavaScript identifier",
49
46
  "devDependencies": {
50
- "eslint": "4.19.1",
51
- "eslint-config-standard": "11.0.0",
52
- "eslint-plugin-import": "2.11.0",
53
- "eslint-plugin-markdown": "1.0.0-beta.6",
54
- "eslint-plugin-node": "6.0.1",
55
- "eslint-plugin-promise": "3.7.0",
56
- "eslint-plugin-standard": "3.1.0",
57
- "mocha": "1.21.5",
58
- "nyc": "11.8.0"
47
+ "eslint": "7.32.0",
48
+ "eslint-config-standard": "14.1.1",
49
+ "eslint-plugin-import": "2.25.3",
50
+ "eslint-plugin-markdown": "2.2.1",
51
+ "eslint-plugin-node": "11.1.0",
52
+ "eslint-plugin-promise": "4.3.1",
53
+ "eslint-plugin-standard": "4.1.0",
54
+ "mocha": "9.1.3",
55
+ "nyc": "15.1.0"
59
56
  },
60
57
  "engines": {
61
58
  "node": ">=0.6"
62
59
  },
63
60
  "files": [
61
+ "HISTORY.md",
62
+ "LICENSE",
64
63
  "index.js"
65
64
  ],
66
65
  "homepage": "https://github.com/component/toidentifier#readme",
@@ -71,9 +70,11 @@
71
70
  "url": "git+https://github.com/component/toidentifier.git"
72
71
  },
73
72
  "scripts": {
74
- "lint": "eslint --plugin markdown --ext js,md .",
73
+ "lint": "eslint .",
75
74
  "test": "mocha --reporter spec --bail --check-leaks test/",
76
- "test-cov": "nyc --reporter=html --reporter=text npm test"
75
+ "test-ci": "nyc --reporter=lcov --reporter=text npm test",
76
+ "test-cov": "nyc --reporter=html --reporter=text npm test",
77
+ "version": "node scripts/version-history.js && git add HISTORY.md"
77
78
  },
78
- "version": "1.0.0"
79
+ "version": "1.0.1"
79
80
  }