node-red-contrib-web-worldmap 2.23.5 → 2.24.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 (195) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/README.md +11 -2
  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/History.md +5 -0
  6. package/node_modules/body-parser/node_modules/bytes/Readme.md +42 -16
  7. package/node_modules/body-parser/node_modules/bytes/index.js +5 -1
  8. package/node_modules/body-parser/node_modules/bytes/package.json +20 -22
  9. package/node_modules/body-parser/package.json +34 -37
  10. package/node_modules/content-disposition/HISTORY.md +5 -0
  11. package/node_modules/content-disposition/README.md +3 -9
  12. package/node_modules/content-disposition/index.js +1 -1
  13. package/node_modules/content-disposition/node_modules/safe-buffer/LICENSE +21 -0
  14. package/node_modules/content-disposition/node_modules/safe-buffer/README.md +584 -0
  15. package/node_modules/content-disposition/node_modules/safe-buffer/index.d.ts +187 -0
  16. package/node_modules/content-disposition/node_modules/safe-buffer/index.js +65 -0
  17. package/node_modules/content-disposition/node_modules/safe-buffer/package.json +76 -0
  18. package/node_modules/content-disposition/package.json +27 -30
  19. package/node_modules/cookie/HISTORY.md +5 -0
  20. package/node_modules/cookie/README.md +4 -0
  21. package/node_modules/cookie/index.js +5 -1
  22. package/node_modules/cookie/package.json +22 -25
  23. package/node_modules/express/History.md +33 -0
  24. package/node_modules/express/Readme.md +8 -5
  25. package/node_modules/express/lib/application.js +1 -1
  26. package/node_modules/express/lib/request.js +1 -1
  27. package/node_modules/express/lib/response.js +16 -11
  28. package/node_modules/express/lib/router/index.js +6 -0
  29. package/node_modules/express/lib/utils.js +2 -6
  30. package/node_modules/express/node_modules/safe-buffer/LICENSE +21 -0
  31. package/node_modules/express/node_modules/safe-buffer/README.md +584 -0
  32. package/node_modules/express/node_modules/safe-buffer/index.d.ts +187 -0
  33. package/node_modules/express/node_modules/safe-buffer/index.js +65 -0
  34. package/node_modules/express/node_modules/safe-buffer/package.json +76 -0
  35. package/node_modules/express/package.json +37 -39
  36. package/node_modules/faye-websocket/CHANGELOG.md +5 -0
  37. package/node_modules/faye-websocket/LICENSE.md +1 -1
  38. package/node_modules/faye-websocket/README.md +13 -13
  39. package/node_modules/faye-websocket/lib/faye/websocket/api.js +10 -8
  40. package/node_modules/faye-websocket/lib/faye/websocket/client.js +4 -4
  41. package/node_modules/faye-websocket/lib/faye/websocket.js +1 -1
  42. package/node_modules/faye-websocket/package.json +16 -19
  43. package/node_modules/forwarded/HISTORY.md +5 -0
  44. package/node_modules/forwarded/README.md +3 -3
  45. package/node_modules/forwarded/index.js +15 -1
  46. package/node_modules/forwarded/package.json +27 -28
  47. package/node_modules/http-errors/HISTORY.md +16 -0
  48. package/node_modules/http-errors/README.md +12 -6
  49. package/node_modules/http-errors/index.js +35 -2
  50. package/node_modules/http-errors/package.json +32 -35
  51. package/node_modules/inherits/inherits.js +2 -0
  52. package/node_modules/inherits/inherits_browser.js +18 -14
  53. package/node_modules/inherits/package.json +17 -20
  54. package/node_modules/ipaddr.js/README.md +1 -1
  55. package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +6 -9
  56. package/node_modules/ipaddr.js/package.json +17 -19
  57. package/node_modules/proxy-addr/HISTORY.md +11 -0
  58. package/node_modules/proxy-addr/README.md +3 -19
  59. package/node_modules/proxy-addr/index.js +1 -1
  60. package/node_modules/proxy-addr/package.json +30 -33
  61. package/node_modules/qs/.editorconfig +9 -0
  62. package/node_modules/qs/.eslintignore +2 -1
  63. package/node_modules/qs/.eslintrc +15 -1
  64. package/node_modules/qs/.github/FUNDING.yml +12 -0
  65. package/node_modules/qs/.nycrc +13 -0
  66. package/node_modules/qs/CHANGELOG.md +103 -0
  67. package/node_modules/qs/LICENSE.md +29 -0
  68. package/node_modules/qs/README.md +34 -0
  69. package/node_modules/qs/dist/qs.js +117 -67
  70. package/node_modules/qs/lib/formats.js +9 -4
  71. package/node_modules/qs/lib/parse.js +29 -14
  72. package/node_modules/qs/lib/stringify.js +55 -46
  73. package/node_modules/qs/lib/utils.js +23 -2
  74. package/node_modules/qs/package.json +42 -34
  75. package/node_modules/qs/test/parse.js +97 -1
  76. package/node_modules/qs/test/stringify.js +115 -1
  77. package/node_modules/qs/test/utils.js +1 -1
  78. package/node_modules/raw-body/HISTORY.md +14 -0
  79. package/node_modules/raw-body/README.md +3 -5
  80. package/node_modules/raw-body/node_modules/bytes/History.md +5 -0
  81. package/node_modules/raw-body/node_modules/bytes/Readme.md +42 -16
  82. package/node_modules/raw-body/node_modules/bytes/index.js +5 -1
  83. package/node_modules/raw-body/node_modules/bytes/package.json +20 -22
  84. package/node_modules/raw-body/package.json +32 -35
  85. package/node_modules/send/HISTORY.md +10 -0
  86. package/node_modules/send/README.md +4 -6
  87. package/node_modules/send/index.js +7 -3
  88. package/node_modules/send/node_modules/ms/index.js +3 -3
  89. package/node_modules/send/node_modules/ms/license.md +1 -1
  90. package/node_modules/send/node_modules/ms/package.json +21 -23
  91. package/node_modules/send/node_modules/ms/readme.md +1 -2
  92. package/node_modules/send/package.json +31 -34
  93. package/node_modules/serve-static/HISTORY.md +8 -0
  94. package/node_modules/serve-static/README.md +9 -11
  95. package/node_modules/serve-static/package.json +30 -33
  96. package/node_modules/setprototypeof/README.md +1 -1
  97. package/node_modules/setprototypeof/index.js +1 -1
  98. package/node_modules/setprototypeof/package.json +20 -21
  99. package/node_modules/sockjs/Changelog +12 -0
  100. package/node_modules/sockjs/lib/transport.js +1 -1
  101. package/node_modules/sockjs/package.json +16 -19
  102. package/node_modules/toidentifier/HISTORY.md +9 -0
  103. package/node_modules/toidentifier/README.md +3 -3
  104. package/node_modules/toidentifier/index.js +2 -0
  105. package/node_modules/toidentifier/package.json +30 -29
  106. package/node_modules/uuid/CHANGELOG.md +154 -44
  107. package/node_modules/uuid/CONTRIBUTING.md +18 -0
  108. package/node_modules/uuid/LICENSE.md +4 -16
  109. package/node_modules/uuid/README.md +384 -155
  110. package/node_modules/uuid/dist/bin/uuid +2 -0
  111. package/node_modules/uuid/dist/esm-browser/index.js +9 -0
  112. package/node_modules/uuid/{lib/md5-browser.js → dist/esm-browser/md5.js} +70 -71
  113. package/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  114. package/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  115. package/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  116. package/node_modules/uuid/dist/esm-browser/rng.js +19 -0
  117. package/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  118. package/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
  119. package/node_modules/uuid/{v1.js → dist/esm-browser/v1.js} +36 -50
  120. package/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  121. package/node_modules/uuid/dist/esm-browser/v35.js +64 -0
  122. package/node_modules/uuid/dist/esm-browser/v4.js +24 -0
  123. package/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  124. package/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  125. package/node_modules/uuid/dist/esm-browser/version.js +11 -0
  126. package/node_modules/uuid/dist/esm-node/index.js +9 -0
  127. package/node_modules/uuid/dist/esm-node/md5.js +13 -0
  128. package/node_modules/uuid/dist/esm-node/nil.js +1 -0
  129. package/node_modules/uuid/dist/esm-node/parse.js +35 -0
  130. package/node_modules/uuid/dist/esm-node/regex.js +1 -0
  131. package/node_modules/uuid/dist/esm-node/rng.js +12 -0
  132. package/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  133. package/node_modules/uuid/dist/esm-node/stringify.js +29 -0
  134. package/node_modules/uuid/dist/esm-node/v1.js +95 -0
  135. package/node_modules/uuid/dist/esm-node/v3.js +4 -0
  136. package/node_modules/uuid/dist/esm-node/v35.js +64 -0
  137. package/node_modules/uuid/dist/esm-node/v4.js +24 -0
  138. package/node_modules/uuid/dist/esm-node/v5.js +4 -0
  139. package/node_modules/uuid/dist/esm-node/validate.js +7 -0
  140. package/node_modules/uuid/dist/esm-node/version.js +11 -0
  141. package/node_modules/uuid/dist/index.js +79 -0
  142. package/node_modules/uuid/dist/md5-browser.js +223 -0
  143. package/node_modules/uuid/dist/md5.js +23 -0
  144. package/node_modules/uuid/dist/nil.js +8 -0
  145. package/node_modules/uuid/dist/parse.js +45 -0
  146. package/node_modules/uuid/dist/regex.js +8 -0
  147. package/node_modules/uuid/dist/rng-browser.js +26 -0
  148. package/node_modules/uuid/dist/rng.js +24 -0
  149. package/node_modules/uuid/dist/sha1-browser.js +104 -0
  150. package/node_modules/uuid/dist/sha1.js +23 -0
  151. package/node_modules/uuid/dist/stringify.js +39 -0
  152. package/node_modules/uuid/dist/umd/uuid.min.js +1 -0
  153. package/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
  154. package/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
  155. package/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
  156. package/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
  157. package/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
  158. package/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
  159. package/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
  160. package/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
  161. package/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
  162. package/node_modules/uuid/dist/uuid-bin.js +85 -0
  163. package/node_modules/uuid/dist/v1.js +107 -0
  164. package/node_modules/uuid/dist/v3.js +16 -0
  165. package/node_modules/uuid/dist/v35.js +78 -0
  166. package/node_modules/uuid/dist/v4.js +37 -0
  167. package/node_modules/uuid/dist/v5.js +16 -0
  168. package/node_modules/uuid/dist/validate.js +17 -0
  169. package/node_modules/uuid/dist/version.js +21 -0
  170. package/node_modules/uuid/package.json +118 -57
  171. package/node_modules/uuid/wrapper.mjs +10 -0
  172. package/node_modules/websocket-driver/node_modules/http-parser-js/package.json +4 -4
  173. package/package.json +3 -3
  174. package/worldmap/css/worldmap.css +7 -5
  175. package/worldmap/index.html +1 -0
  176. package/worldmap/leaflet/leaflet-arc.min.js +1 -0
  177. package/worldmap/worldmap.js +44 -27
  178. package/worldmap.html +1 -1
  179. package/worldmap.js +2 -2
  180. package/node_modules/qs/LICENSE +0 -28
  181. package/node_modules/qs/test/.eslintrc +0 -17
  182. package/node_modules/qs/test/index.js +0 -7
  183. package/node_modules/uuid/AUTHORS +0 -5
  184. package/node_modules/uuid/bin/uuid +0 -65
  185. package/node_modules/uuid/index.js +0 -8
  186. package/node_modules/uuid/lib/bytesToUuid.js +0 -26
  187. package/node_modules/uuid/lib/md5.js +0 -25
  188. package/node_modules/uuid/lib/rng-browser.js +0 -34
  189. package/node_modules/uuid/lib/rng.js +0 -8
  190. package/node_modules/uuid/lib/sha1-browser.js +0 -89
  191. package/node_modules/uuid/lib/sha1.js +0 -25
  192. package/node_modules/uuid/lib/v35.js +0 -57
  193. package/node_modules/uuid/v3.js +0 -4
  194. package/node_modules/uuid/v4.js +0 -29
  195. package/node_modules/uuid/v5.js +0 -3
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016 Zeit, Inc.
3
+ Copyright (c) 2020 Vercel, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,42 +1,40 @@
1
1
  {
2
- "_args": [
3
- [
4
- "ms@2.1.1",
5
- "/Users/conway/Projects/worldmap"
6
- ]
7
- ],
8
- "_from": "ms@2.1.1",
9
- "_id": "ms@2.1.1",
2
+ "_from": "ms@2.1.3",
3
+ "_id": "ms@2.1.3",
10
4
  "_inBundle": false,
11
- "_integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
12
- "_location": "/send/ms",
5
+ "_integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
6
+ "_location": "/node-red-contrib-web-worldmap/send/ms",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
15
9
  "type": "version",
16
10
  "registry": true,
17
- "raw": "ms@2.1.1",
11
+ "raw": "ms@2.1.3",
18
12
  "name": "ms",
19
13
  "escapedName": "ms",
20
- "rawSpec": "2.1.1",
14
+ "rawSpec": "2.1.3",
21
15
  "saveSpec": null,
22
- "fetchSpec": "2.1.1"
16
+ "fetchSpec": "2.1.3"
23
17
  },
24
18
  "_requiredBy": [
25
- "/send"
19
+ "/node-red-contrib-web-worldmap/send"
26
20
  ],
27
- "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
28
- "_spec": "2.1.1",
29
- "_where": "/Users/conway/Projects/worldmap",
21
+ "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
22
+ "_shasum": "574c8138ce1d2b5861f0b44579dbadd60c6615b2",
23
+ "_spec": "ms@2.1.3",
24
+ "_where": "/Users/conway/Projects/worldmap/node_modules/send",
30
25
  "bugs": {
31
- "url": "https://github.com/zeit/ms/issues"
26
+ "url": "https://github.com/vercel/ms/issues"
32
27
  },
28
+ "bundleDependencies": false,
29
+ "deprecated": false,
33
30
  "description": "Tiny millisecond conversion utility",
34
31
  "devDependencies": {
35
- "eslint": "4.12.1",
32
+ "eslint": "4.18.2",
36
33
  "expect.js": "0.3.1",
37
34
  "husky": "0.14.3",
38
35
  "lint-staged": "5.0.0",
39
- "mocha": "4.0.1"
36
+ "mocha": "4.0.1",
37
+ "prettier": "2.0.5"
40
38
  },
41
39
  "eslintConfig": {
42
40
  "extends": "eslint:recommended",
@@ -48,7 +46,7 @@
48
46
  "files": [
49
47
  "index.js"
50
48
  ],
51
- "homepage": "https://github.com/zeit/ms#readme",
49
+ "homepage": "https://github.com/vercel/ms#readme",
52
50
  "license": "MIT",
53
51
  "lint-staged": {
54
52
  "*.js": [
@@ -61,12 +59,12 @@
61
59
  "name": "ms",
62
60
  "repository": {
63
61
  "type": "git",
64
- "url": "git+https://github.com/zeit/ms.git"
62
+ "url": "git+https://github.com/vercel/ms.git"
65
63
  },
66
64
  "scripts": {
67
65
  "lint": "eslint lib/* bin/*",
68
66
  "precommit": "lint-staged",
69
67
  "test": "mocha tests.js"
70
68
  },
71
- "version": "2.1.1"
69
+ "version": "2.1.3"
72
70
  }
@@ -1,7 +1,6 @@
1
1
  # ms
2
2
 
3
- [![Build Status](https://travis-ci.org/zeit/ms.svg?branch=master)](https://travis-ci.org/zeit/ms)
4
- [![Slack Channel](http://zeit-slackin.now.sh/badge.svg)](https://zeit.chat/)
3
+ ![CI](https://github.com/vercel/ms/workflows/CI/badge.svg)
5
4
 
6
5
  Use this package to easily convert various time formats to milliseconds.
7
6
 
@@ -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