node-red-contrib-web-worldmap 2.32.2 → 2.33.0

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 (117) hide show
  1. package/CHANGELOG.md +3 -1
  2. package/README.md +2 -0
  3. package/node_modules/@turf/bezier-spline/package.json +39 -70
  4. package/node_modules/@turf/helpers/package.json +38 -82
  5. package/node_modules/@turf/invariant/package.json +36 -73
  6. package/node_modules/accepts/package.json +15 -55
  7. package/node_modules/array-flatten/package.json +22 -47
  8. package/node_modules/body-parser/HISTORY.md +6 -0
  9. package/node_modules/body-parser/README.md +1 -1
  10. package/node_modules/body-parser/index.js +8 -9
  11. package/node_modules/body-parser/node_modules/bytes/package.json +20 -62
  12. package/node_modules/body-parser/package.json +18 -57
  13. package/node_modules/bufferjs/package.json +17 -65
  14. package/node_modules/bufferlist/package.json +15 -51
  15. package/node_modules/{compression/node_modules/bytes → bytes}/History.md +0 -0
  16. package/node_modules/{compression/node_modules/bytes → bytes}/LICENSE +0 -0
  17. package/node_modules/{compression/node_modules/bytes → bytes}/Readme.md +0 -0
  18. package/node_modules/{compression/node_modules/bytes → bytes}/index.js +0 -0
  19. package/node_modules/bytes/package.json +39 -0
  20. package/node_modules/call-bind/package.json +78 -106
  21. package/node_modules/cgi/package.json +10 -46
  22. package/node_modules/compressible/package.json +15 -58
  23. package/node_modules/compression/package.json +10 -52
  24. package/node_modules/content-disposition/node_modules/safe-buffer/package.json +18 -43
  25. package/node_modules/content-disposition/package.json +14 -49
  26. package/node_modules/content-type/package.json +15 -54
  27. package/node_modules/cookie/package.json +14 -52
  28. package/node_modules/cookie-signature/package.json +8 -47
  29. package/node_modules/debug/package.json +21 -68
  30. package/node_modules/depd/package.json +13 -51
  31. package/node_modules/destroy/package.json +15 -50
  32. package/node_modules/ee-first/package.json +9 -43
  33. package/node_modules/encodeurl/package.json +14 -52
  34. package/node_modules/escape-html/package.json +12 -47
  35. package/node_modules/etag/package.json +15 -54
  36. package/node_modules/express/History.md +9 -0
  37. package/node_modules/express/Readme.md +2 -2
  38. package/node_modules/express/lib/router/route.js +8 -8
  39. package/node_modules/express/node_modules/safe-buffer/package.json +18 -43
  40. package/node_modules/express/package.json +33 -88
  41. package/node_modules/extend/package.json +42 -78
  42. package/node_modules/faye-websocket/package.json +33 -64
  43. package/node_modules/finalhandler/package.json +9 -44
  44. package/node_modules/forwarded/package.json +14 -49
  45. package/node_modules/fresh/package.json +17 -61
  46. package/node_modules/function-bind/package.json +23 -56
  47. package/node_modules/get-intrinsic/package.json +89 -118
  48. package/node_modules/has/package.json +21 -46
  49. package/node_modules/has-symbols/package.json +99 -124
  50. package/node_modules/header-stack/package.json +14 -48
  51. package/node_modules/http-errors/package.json +18 -63
  52. package/node_modules/{websocket-driver/node_modules/http-parser-js → http-parser-js}/LICENSE.md +0 -0
  53. package/node_modules/http-parser-js/README.md +43 -0
  54. package/node_modules/http-parser-js/http-parser.d.ts +175 -0
  55. package/node_modules/{websocket-driver/node_modules/http-parser-js → http-parser-js}/http-parser.js +12 -7
  56. package/node_modules/http-parser-js/package.json +30 -0
  57. package/node_modules/iconv-lite/package.json +43 -77
  58. package/node_modules/inherits/package.json +12 -44
  59. package/node_modules/ipaddr.js/package.json +13 -48
  60. package/node_modules/media-typer/package.json +8 -43
  61. package/node_modules/merge-descriptors/package.json +10 -47
  62. package/node_modules/methods/package.json +17 -60
  63. package/node_modules/mime/package.json +13 -45
  64. package/node_modules/mime-db/HISTORY.md +8 -0
  65. package/node_modules/mime-db/LICENSE +19 -18
  66. package/node_modules/mime-db/README.md +1 -1
  67. package/node_modules/mime-db/db.json +54 -6
  68. package/node_modules/mime-db/index.js +1 -0
  69. package/node_modules/mime-db/package.json +24 -67
  70. package/node_modules/mime-types/HISTORY.md +9 -0
  71. package/node_modules/mime-types/README.md +1 -1
  72. package/node_modules/mime-types/package.json +19 -63
  73. package/node_modules/ms/package.json +19 -54
  74. package/node_modules/negotiator/package.json +19 -61
  75. package/node_modules/object-inspect/package.json +48 -76
  76. package/node_modules/on-finished/package.json +8 -50
  77. package/node_modules/on-headers/package.json +14 -52
  78. package/node_modules/parseurl/package.json +10 -54
  79. package/node_modules/path-to-regexp/package.json +15 -44
  80. package/node_modules/proxy-addr/package.json +14 -49
  81. package/node_modules/qs/.editorconfig +3 -0
  82. package/node_modules/qs/.eslintrc +5 -5
  83. package/node_modules/qs/CHANGELOG.md +158 -0
  84. package/node_modules/qs/README.md +3 -1
  85. package/node_modules/qs/dist/qs.js +19 -9
  86. package/node_modules/qs/lib/stringify.js +12 -3
  87. package/node_modules/qs/package.json +73 -98
  88. package/node_modules/qs/test/parse.js +14 -0
  89. package/node_modules/qs/test/stringify.js +54 -10
  90. package/node_modules/range-parser/package.json +18 -68
  91. package/node_modules/raw-body/node_modules/bytes/package.json +20 -62
  92. package/node_modules/raw-body/package.json +9 -51
  93. package/node_modules/safe-buffer/package.json +5 -36
  94. package/node_modules/safer-buffer/package.json +13 -42
  95. package/node_modules/send/node_modules/ms/package.json +20 -52
  96. package/node_modules/send/package.json +17 -62
  97. package/node_modules/serve-static/package.json +9 -44
  98. package/node_modules/setprototypeof/package.json +27 -55
  99. package/node_modules/side-channel/package.json +65 -93
  100. package/node_modules/sockjs/package.json +43 -70
  101. package/node_modules/statuses/package.json +19 -61
  102. package/node_modules/stream-stack/package.json +11 -43
  103. package/node_modules/toidentifier/package.json +9 -51
  104. package/node_modules/type-is/package.json +12 -55
  105. package/node_modules/unpipe/package.json +8 -45
  106. package/node_modules/utils-merge/package.json +19 -45
  107. package/node_modules/uuid/package.json +70 -99
  108. package/node_modules/vary/package.json +13 -52
  109. package/node_modules/websocket-driver/package.json +33 -68
  110. package/node_modules/websocket-extensions/package.json +27 -61
  111. package/package.json +1 -1
  112. package/worldmap/worldmap.js +14 -8
  113. package/worldmap.html +0 -1
  114. package/node_modules/compression/node_modules/bytes/package.json +0 -84
  115. package/node_modules/websocket-driver/node_modules/http-parser-js/CHANGELOG.md +0 -14
  116. package/node_modules/websocket-driver/node_modules/http-parser-js/README.md +0 -31
  117. package/node_modules/websocket-driver/node_modules/http-parser-js/package.json +0 -75
package/CHANGELOG.md CHANGED
@@ -1,6 +1,8 @@
1
1
  ### Change Log for Node-RED Worldmap
2
2
 
3
- - v2.32.2 - Fix map split in iframe position
3
+ - v2.33.0 - Let shapes create click event. (from PR #221)
4
+ Fix heatmap delete point bug. Issue #222
5
+ - v2.32.3 - Fix map split in iframe position
4
6
  - v2.32.1 - Let command.heatmap replace complete heatmap array.
5
7
  - v2.32.0 - Change || to nullish operator ?? to fix numerous dodgy assignments. Issue #219
6
8
  Delete marker now also removes from heatmap layer. Issue #218
package/README.md CHANGED
@@ -11,6 +11,8 @@ map web page for plotting "things" on.
11
11
 
12
12
  ### Updates
13
13
 
14
+ - v2.33.0 - Let shapes create click event. (from PR #221)
15
+ Fix heatmap delete point bug. Issue #222
14
16
  - v2.32.2 - Fix map split in iframe position
15
17
  - v2.32.1 - Let command.map.heatmap replace complete heatmap array.
16
18
  - v2.32.0 - Change || to nullish operator ?? to fix numerous dodgy assignments. Issue #219
@@ -1,68 +1,21 @@
1
1
  {
2
- "_args": [
3
- [
4
- "@turf/bezier-spline@6.5.0",
5
- "/Users/conway/Projects/worldmap"
6
- ]
7
- ],
8
- "_from": "@turf/bezier-spline@6.5.0",
9
- "_id": "@turf/bezier-spline@6.5.0",
10
- "_inBundle": false,
11
- "_integrity": "sha512-vokPaurTd4PF96rRgGVm6zYYC5r1u98ZsG+wZEv9y3kJTuJRX/O3xIY2QnTGTdbVmAJN1ouOsD0RoZYaVoXORQ==",
12
- "_location": "/@turf/bezier-spline",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "@turf/bezier-spline@6.5.0",
18
- "name": "@turf/bezier-spline",
19
- "escapedName": "@turf%2fbezier-spline",
20
- "scope": "@turf",
21
- "rawSpec": "6.5.0",
22
- "saveSpec": null,
23
- "fetchSpec": "6.5.0"
24
- },
25
- "_requiredBy": [
26
- "/"
27
- ],
28
- "_resolved": "https://registry.npmjs.org/@turf/bezier-spline/-/bezier-spline-6.5.0.tgz",
29
- "_spec": "6.5.0",
30
- "_where": "/Users/conway/Projects/worldmap",
31
- "author": {
32
- "name": "Turf Authors"
33
- },
2
+ "name": "@turf/bezier-spline",
3
+ "version": "6.5.0",
4
+ "description": "turf bezier-spline module",
5
+ "author": "Turf Authors",
6
+ "license": "MIT",
34
7
  "bugs": {
35
8
  "url": "https://github.com/Turfjs/turf/issues"
36
9
  },
37
- "dependencies": {
38
- "@turf/helpers": "^6.5.0",
39
- "@turf/invariant": "^6.5.0"
40
- },
41
- "description": "turf bezier-spline module",
42
- "devDependencies": {
43
- "@types/tape": "*",
44
- "benchmark": "*",
45
- "load-json-file": "*",
46
- "npm-run-all": "*",
47
- "tape": "*",
48
- "ts-node": "*",
49
- "tslint": "*",
50
- "typescript": "*",
51
- "write-json-file": "*"
52
- },
53
- "exports": {
54
- "./package.json": "./package.json",
55
- ".": {
56
- "import": "./dist/es/index.js",
57
- "require": "./dist/js/index.js"
58
- }
10
+ "homepage": "https://github.com/Turfjs/turf",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git://github.com/Turfjs/turf.git"
59
14
  },
60
- "files": [
61
- "dist"
62
- ],
63
15
  "funding": "https://opencollective.com/turf",
64
- "gitHead": "5375941072b90d489389db22b43bfe809d5e451e",
65
- "homepage": "https://github.com/Turfjs/turf",
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
66
19
  "keywords": [
67
20
  "turf",
68
21
  "geometry",
@@ -70,17 +23,20 @@
70
23
  "curve",
71
24
  "linestring"
72
25
  ],
73
- "license": "MIT",
74
26
  "main": "dist/js/index.js",
75
27
  "module": "dist/es/index.js",
76
- "name": "@turf/bezier-spline",
77
- "publishConfig": {
78
- "access": "public"
79
- },
80
- "repository": {
81
- "type": "git",
82
- "url": "git://github.com/Turfjs/turf.git"
28
+ "exports": {
29
+ "./package.json": "./package.json",
30
+ ".": {
31
+ "import": "./dist/es/index.js",
32
+ "require": "./dist/js/index.js"
33
+ }
83
34
  },
35
+ "types": "dist/js/index.d.ts",
36
+ "sideEffects": false,
37
+ "files": [
38
+ "dist"
39
+ ],
84
40
  "scripts": {
85
41
  "bench": "ts-node bench.js",
86
42
  "build": "npm-run-all build:*",
@@ -90,7 +46,20 @@
90
46
  "test": "npm-run-all test:*",
91
47
  "test:tape": "ts-node -r esm test.js"
92
48
  },
93
- "sideEffects": false,
94
- "types": "dist/js/index.d.ts",
95
- "version": "6.5.0"
49
+ "devDependencies": {
50
+ "@types/tape": "*",
51
+ "benchmark": "*",
52
+ "load-json-file": "*",
53
+ "npm-run-all": "*",
54
+ "tape": "*",
55
+ "ts-node": "*",
56
+ "tslint": "*",
57
+ "typescript": "*",
58
+ "write-json-file": "*"
59
+ },
60
+ "dependencies": {
61
+ "@turf/helpers": "^6.5.0",
62
+ "@turf/invariant": "^6.5.0"
63
+ },
64
+ "gitHead": "5375941072b90d489389db22b43bfe809d5e451e"
96
65
  }
@@ -1,98 +1,47 @@
1
1
  {
2
- "_args": [
3
- [
4
- "@turf/helpers@6.5.0",
5
- "/Users/conway/Projects/worldmap"
6
- ]
7
- ],
8
- "_from": "@turf/helpers@6.5.0",
9
- "_id": "@turf/helpers@6.5.0",
10
- "_inBundle": false,
11
- "_integrity": "sha512-VbI1dV5bLFzohYYdgqwikdMVpe7pJ9X3E+dlr425wa2/sMJqYDhTO++ec38/pcPvPE6oD9WEEeU3Xu3gza+VPw==",
12
- "_location": "/@turf/helpers",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "@turf/helpers@6.5.0",
18
- "name": "@turf/helpers",
19
- "escapedName": "@turf%2fhelpers",
20
- "scope": "@turf",
21
- "rawSpec": "6.5.0",
22
- "saveSpec": null,
23
- "fetchSpec": "6.5.0"
24
- },
25
- "_requiredBy": [
26
- "/@turf/bezier-spline",
27
- "/@turf/invariant"
2
+ "name": "@turf/helpers",
3
+ "version": "6.5.0",
4
+ "description": "turf helpers module",
5
+ "author": "Turf Authors",
6
+ "contributors": [
7
+ "Tom MacWright <@tmcw>",
8
+ "Stefano Borghi <@stebogit>",
9
+ "Denis Carriere <@DenisCarriere>",
10
+ "William Nordmann <@wnordmann>"
28
11
  ],
29
- "_resolved": "https://registry.npmjs.org/@turf/helpers/-/helpers-6.5.0.tgz",
30
- "_spec": "6.5.0",
31
- "_where": "/Users/conway/Projects/worldmap",
32
- "author": {
33
- "name": "Turf Authors"
34
- },
12
+ "license": "MIT",
35
13
  "bugs": {
36
14
  "url": "https://github.com/Turfjs/turf/issues"
37
15
  },
38
- "contributors": [
39
- {
40
- "name": "Tom MacWright",
41
- "email": "@tmcw"
42
- },
43
- {
44
- "name": "Stefano Borghi",
45
- "email": "@stebogit"
46
- },
47
- {
48
- "name": "Denis Carriere",
49
- "email": "@DenisCarriere"
50
- },
51
- {
52
- "name": "William Nordmann",
53
- "email": "@wnordmann"
54
- }
55
- ],
56
- "description": "turf helpers module",
57
- "devDependencies": {
58
- "@types/tape": "*",
59
- "benchmark": "*",
60
- "npm-run-all": "*",
61
- "tape": "*",
62
- "ts-node": "*",
63
- "tslint": "*",
64
- "typescript": "*"
65
- },
66
- "exports": {
67
- "./package.json": "./package.json",
68
- ".": {
69
- "import": "./dist/es/index.js",
70
- "require": "./dist/js/index.js"
71
- }
16
+ "homepage": "https://github.com/Turfjs/turf",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git://github.com/Turfjs/turf.git"
72
20
  },
73
- "files": [
74
- "dist"
75
- ],
76
21
  "funding": "https://opencollective.com/turf",
77
- "gitHead": "5375941072b90d489389db22b43bfe809d5e451e",
78
- "homepage": "https://github.com/Turfjs/turf",
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
79
25
  "keywords": [
80
26
  "geo",
81
27
  "point",
82
28
  "turf",
83
29
  "geojson"
84
30
  ],
85
- "license": "MIT",
86
31
  "main": "dist/js/index.js",
87
32
  "module": "dist/es/index.js",
88
- "name": "@turf/helpers",
89
- "publishConfig": {
90
- "access": "public"
91
- },
92
- "repository": {
93
- "type": "git",
94
- "url": "git://github.com/Turfjs/turf.git"
33
+ "exports": {
34
+ "./package.json": "./package.json",
35
+ ".": {
36
+ "import": "./dist/es/index.js",
37
+ "require": "./dist/js/index.js"
38
+ }
95
39
  },
40
+ "types": "dist/js/index.d.ts",
41
+ "sideEffects": false,
42
+ "files": [
43
+ "dist"
44
+ ],
96
45
  "scripts": {
97
46
  "bench": "ts-node bench.js",
98
47
  "build": "npm-run-all build:*",
@@ -103,7 +52,14 @@
103
52
  "test:tape": "ts-node -r esm test.js",
104
53
  "test:types": "tsc --esModuleInterop --noEmit types.ts"
105
54
  },
106
- "sideEffects": false,
107
- "types": "dist/js/index.d.ts",
108
- "version": "6.5.0"
55
+ "devDependencies": {
56
+ "@types/tape": "*",
57
+ "benchmark": "*",
58
+ "npm-run-all": "*",
59
+ "tape": "*",
60
+ "ts-node": "*",
61
+ "tslint": "*",
62
+ "typescript": "*"
63
+ },
64
+ "gitHead": "5375941072b90d489389db22b43bfe809d5e451e"
109
65
  }
@@ -1,61 +1,32 @@
1
1
  {
2
- "_args": [
3
- [
4
- "@turf/invariant@6.5.0",
5
- "/Users/conway/Projects/worldmap"
6
- ]
7
- ],
8
- "_from": "@turf/invariant@6.5.0",
9
- "_id": "@turf/invariant@6.5.0",
10
- "_inBundle": false,
11
- "_integrity": "sha512-Wv8PRNCtPD31UVbdJE/KVAWKe7l6US+lJItRR/HOEW3eh+U/JwRCSUl/KZ7bmjM/C+zLNoreM2TU6OoLACs4eg==",
12
- "_location": "/@turf/invariant",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "@turf/invariant@6.5.0",
18
- "name": "@turf/invariant",
19
- "escapedName": "@turf%2finvariant",
20
- "scope": "@turf",
21
- "rawSpec": "6.5.0",
22
- "saveSpec": null,
23
- "fetchSpec": "6.5.0"
24
- },
25
- "_requiredBy": [
26
- "/@turf/bezier-spline"
2
+ "name": "@turf/invariant",
3
+ "version": "6.5.0",
4
+ "description": "turf invariant module",
5
+ "author": "Turf Authors",
6
+ "contributors": [
7
+ "Tom MacWright <@tmcw>",
8
+ "Denis Carriere <@DenisCarriere>"
27
9
  ],
28
- "_resolved": "https://registry.npmjs.org/@turf/invariant/-/invariant-6.5.0.tgz",
29
- "_spec": "6.5.0",
30
- "_where": "/Users/conway/Projects/worldmap",
31
- "author": {
32
- "name": "Turf Authors"
33
- },
10
+ "license": "MIT",
34
11
  "bugs": {
35
12
  "url": "https://github.com/Turfjs/turf/issues"
36
13
  },
37
- "contributors": [
38
- {
39
- "name": "Tom MacWright",
40
- "email": "@tmcw"
41
- },
42
- {
43
- "name": "Denis Carriere",
44
- "email": "@DenisCarriere"
45
- }
46
- ],
47
- "dependencies": {
48
- "@turf/helpers": "^6.5.0"
14
+ "homepage": "https://github.com/Turfjs/turf",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git://github.com/Turfjs/turf.git"
49
18
  },
50
- "description": "turf invariant module",
51
- "devDependencies": {
52
- "benchmark": "*",
53
- "npm-run-all": "*",
54
- "tape": "*",
55
- "ts-node": "*",
56
- "tslint": "*",
57
- "typescript": "*"
19
+ "funding": "https://opencollective.com/turf",
20
+ "publishConfig": {
21
+ "access": "public"
58
22
  },
23
+ "keywords": [
24
+ "turf",
25
+ "invariant",
26
+ "expectations"
27
+ ],
28
+ "main": "dist/js/index.js",
29
+ "module": "dist/es/index.js",
59
30
  "exports": {
60
31
  "./package.json": "./package.json",
61
32
  ".": {
@@ -63,28 +34,11 @@
63
34
  "require": "./dist/js/index.js"
64
35
  }
65
36
  },
37
+ "types": "dist/js/index.d.ts",
38
+ "sideEffects": false,
66
39
  "files": [
67
40
  "dist"
68
41
  ],
69
- "funding": "https://opencollective.com/turf",
70
- "gitHead": "5375941072b90d489389db22b43bfe809d5e451e",
71
- "homepage": "https://github.com/Turfjs/turf",
72
- "keywords": [
73
- "turf",
74
- "invariant",
75
- "expectations"
76
- ],
77
- "license": "MIT",
78
- "main": "dist/js/index.js",
79
- "module": "dist/es/index.js",
80
- "name": "@turf/invariant",
81
- "publishConfig": {
82
- "access": "public"
83
- },
84
- "repository": {
85
- "type": "git",
86
- "url": "git://github.com/Turfjs/turf.git"
87
- },
88
42
  "scripts": {
89
43
  "bench": "ts-node bench.js",
90
44
  "build": "npm-run-all build:*",
@@ -95,7 +49,16 @@
95
49
  "test:tape": "ts-node -r esm test.js",
96
50
  "test:types": "tsc --esModuleInterop --noEmit types.ts"
97
51
  },
98
- "sideEffects": false,
99
- "types": "dist/js/index.d.ts",
100
- "version": "6.5.0"
52
+ "devDependencies": {
53
+ "benchmark": "*",
54
+ "npm-run-all": "*",
55
+ "tape": "*",
56
+ "ts-node": "*",
57
+ "tslint": "*",
58
+ "typescript": "*"
59
+ },
60
+ "dependencies": {
61
+ "@turf/helpers": "^6.5.0"
62
+ },
63
+ "gitHead": "5375941072b90d489389db22b43bfe809d5e451e"
101
64
  }
@@ -1,49 +1,17 @@
1
1
  {
2
- "_from": "accepts@~1.3.5",
3
- "_id": "accepts@1.3.8",
4
- "_inBundle": false,
5
- "_integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
6
- "_location": "/node-red-contrib-web-worldmap/accepts",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "accepts@~1.3.5",
12
- "name": "accepts",
13
- "escapedName": "accepts",
14
- "rawSpec": "~1.3.5",
15
- "saveSpec": null,
16
- "fetchSpec": "~1.3.5"
17
- },
18
- "_requiredBy": [
19
- "/node-red-contrib-web-worldmap/compression",
20
- "/node-red-contrib-web-worldmap/express"
21
- ],
22
- "_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
23
- "_shasum": "0bf0be125b67014adcb0b0921e62db7bffe16b2e",
24
- "_spec": "accepts@~1.3.5",
25
- "_where": "/Users/conway/Projects/worldmap/node_modules/compression",
26
- "bugs": {
27
- "url": "https://github.com/jshttp/accepts/issues"
28
- },
29
- "bundleDependencies": false,
2
+ "name": "accepts",
3
+ "description": "Higher-level content negotiation",
4
+ "version": "1.3.8",
30
5
  "contributors": [
31
- {
32
- "name": "Douglas Christopher Wilson",
33
- "email": "doug@somethingdoug.com"
34
- },
35
- {
36
- "name": "Jonathan Ong",
37
- "email": "me@jongleberry.com",
38
- "url": "http://jongleberry.com"
39
- }
6
+ "Douglas Christopher Wilson <doug@somethingdoug.com>",
7
+ "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"
40
8
  ],
9
+ "license": "MIT",
10
+ "repository": "jshttp/accepts",
41
11
  "dependencies": {
42
12
  "mime-types": "~2.1.34",
43
13
  "negotiator": "0.6.3"
44
14
  },
45
- "deprecated": false,
46
- "description": "Higher-level content negotiation",
47
15
  "devDependencies": {
48
16
  "deep-equal": "1.0.1",
49
17
  "eslint": "7.32.0",
@@ -56,26 +24,13 @@
56
24
  "mocha": "9.2.0",
57
25
  "nyc": "15.1.0"
58
26
  },
59
- "engines": {
60
- "node": ">= 0.6"
61
- },
62
27
  "files": [
63
28
  "LICENSE",
64
29
  "HISTORY.md",
65
30
  "index.js"
66
31
  ],
67
- "homepage": "https://github.com/jshttp/accepts#readme",
68
- "keywords": [
69
- "content",
70
- "negotiation",
71
- "accept",
72
- "accepts"
73
- ],
74
- "license": "MIT",
75
- "name": "accepts",
76
- "repository": {
77
- "type": "git",
78
- "url": "git+https://github.com/jshttp/accepts.git"
32
+ "engines": {
33
+ "node": ">= 0.6"
79
34
  },
80
35
  "scripts": {
81
36
  "lint": "eslint .",
@@ -83,5 +38,10 @@
83
38
  "test-ci": "nyc --reporter=lcov --reporter=text npm test",
84
39
  "test-cov": "nyc --reporter=html --reporter=text npm test"
85
40
  },
86
- "version": "1.3.8"
41
+ "keywords": [
42
+ "content",
43
+ "negotiation",
44
+ "accept",
45
+ "accepts"
46
+ ]
87
47
  }
@@ -1,64 +1,39 @@
1
1
  {
2
- "_from": "array-flatten@1.1.1",
3
- "_id": "array-flatten@1.1.1",
4
- "_inBundle": false,
5
- "_integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==",
6
- "_location": "/array-flatten",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "version",
10
- "registry": true,
11
- "raw": "array-flatten@1.1.1",
12
- "name": "array-flatten",
13
- "escapedName": "array-flatten",
14
- "rawSpec": "1.1.1",
15
- "saveSpec": null,
16
- "fetchSpec": "1.1.1"
2
+ "name": "array-flatten",
3
+ "version": "1.1.1",
4
+ "description": "Flatten an array of nested arrays into a single flat array",
5
+ "main": "array-flatten.js",
6
+ "files": [
7
+ "array-flatten.js",
8
+ "LICENSE"
9
+ ],
10
+ "scripts": {
11
+ "test": "istanbul cover _mocha -- -R spec"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git://github.com/blakeembrey/array-flatten.git"
17
16
  },
18
- "_requiredBy": [
19
- "/express"
17
+ "keywords": [
18
+ "array",
19
+ "flatten",
20
+ "arguments",
21
+ "depth"
20
22
  ],
21
- "_resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
22
- "_shasum": "9a5f699051b1e7073328f2a008968b64ea2955d2",
23
- "_spec": "array-flatten@1.1.1",
24
- "_where": "/Users/conway/Projects/worldmap/node_modules/express",
25
23
  "author": {
26
24
  "name": "Blake Embrey",
27
25
  "email": "hello@blakeembrey.com",
28
26
  "url": "http://blakeembrey.me"
29
27
  },
28
+ "license": "MIT",
30
29
  "bugs": {
31
30
  "url": "https://github.com/blakeembrey/array-flatten/issues"
32
31
  },
33
- "bundleDependencies": false,
34
- "deprecated": false,
35
- "description": "Flatten an array of nested arrays into a single flat array",
32
+ "homepage": "https://github.com/blakeembrey/array-flatten",
36
33
  "devDependencies": {
37
34
  "istanbul": "^0.3.13",
38
35
  "mocha": "^2.2.4",
39
36
  "pre-commit": "^1.0.7",
40
37
  "standard": "^3.7.3"
41
- },
42
- "files": [
43
- "array-flatten.js",
44
- "LICENSE"
45
- ],
46
- "homepage": "https://github.com/blakeembrey/array-flatten",
47
- "keywords": [
48
- "array",
49
- "flatten",
50
- "arguments",
51
- "depth"
52
- ],
53
- "license": "MIT",
54
- "main": "array-flatten.js",
55
- "name": "array-flatten",
56
- "repository": {
57
- "type": "git",
58
- "url": "git://github.com/blakeembrey/array-flatten.git"
59
- },
60
- "scripts": {
61
- "test": "istanbul cover _mocha -- -R spec"
62
- },
63
- "version": "1.1.1"
38
+ }
64
39
  }
@@ -1,3 +1,9 @@
1
+ 1.20.1 / 2022-10-06
2
+ ===================
3
+
4
+ * deps: qs@6.11.0
5
+ * perf: remove unnecessary object clone
6
+
1
7
  1.20.0 / 2022-04-02
2
8
  ===================
3
9
 
@@ -346,7 +346,7 @@ call `req.setEncoding` when using this module. The `status` property is set to
346
346
 
347
347
  This error will occur when the request is no longer readable when this middleware
348
348
  attempts to read it. This typically means something other than a middleware from
349
- this module read the reqest body already and the middleware was also configured to
349
+ this module read the request body already and the middleware was also configured to
350
350
  read the same request. The `status` property is set to `500` and the `type`
351
351
  property is set to `'stream.not.readable'`.
352
352
 
@@ -91,16 +91,15 @@ Object.defineProperty(exports, 'urlencoded', {
91
91
  */
92
92
 
93
93
  function bodyParser (options) {
94
- var opts = {}
95
-
96
- // exclude type option
97
- if (options) {
98
- for (var prop in options) {
99
- if (prop !== 'type') {
100
- opts[prop] = options[prop]
101
- }
94
+ // use default type for parsers
95
+ var opts = Object.create(options || null, {
96
+ type: {
97
+ configurable: true,
98
+ enumerable: true,
99
+ value: undefined,
100
+ writable: true
102
101
  }
103
- }
102
+ })
104
103
 
105
104
  var _urlencoded = exports.urlencoded(opts)
106
105
  var _json = exports.json(opts)