node-red-contrib-web-worldmap 2.29.0 → 2.30.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.
- package/.github/FUNDING.yml +13 -0
- package/CHANGELOG.md +5 -2
- package/README.md +3 -0
- package/node_modules/array-flatten/package.json +6 -9
- package/node_modules/body-parser/HISTORY.md +18 -0
- package/node_modules/body-parser/README.md +9 -1
- package/node_modules/body-parser/SECURITY.md +25 -0
- package/node_modules/body-parser/lib/read.js +26 -2
- package/node_modules/body-parser/lib/types/json.js +10 -4
- package/node_modules/body-parser/package.json +24 -20
- package/node_modules/call-bind/.eslintignore +1 -0
- package/node_modules/call-bind/.eslintrc +17 -0
- package/node_modules/call-bind/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind/.nycrc +13 -0
- package/node_modules/call-bind/CHANGELOG.md +42 -0
- package/node_modules/call-bind/LICENSE +21 -0
- package/node_modules/call-bind/README.md +2 -0
- package/node_modules/call-bind/callBound.js +15 -0
- package/node_modules/call-bind/index.js +47 -0
- package/node_modules/call-bind/package.json +108 -0
- package/node_modules/call-bind/test/callBound.js +55 -0
- package/node_modules/call-bind/test/index.js +66 -0
- package/node_modules/cookie/HISTORY.md +8 -0
- package/node_modules/cookie/README.md +50 -34
- package/node_modules/cookie/SECURITY.md +25 -0
- package/node_modules/cookie/index.js +83 -15
- package/node_modules/cookie/package.json +17 -15
- package/node_modules/cookie-signature/package.json +6 -9
- package/node_modules/depd/History.md +7 -0
- package/node_modules/depd/LICENSE +1 -1
- package/node_modules/depd/Readme.md +8 -8
- package/node_modules/depd/index.js +29 -13
- package/node_modules/depd/package.json +25 -24
- package/node_modules/destroy/LICENSE +1 -0
- package/node_modules/destroy/README.md +15 -12
- package/node_modules/destroy/index.js +147 -13
- package/node_modules/destroy/package.json +29 -20
- package/node_modules/ee-first/package.json +6 -9
- package/node_modules/encodeurl/package.json +11 -14
- package/node_modules/escape-html/package.json +11 -14
- package/node_modules/etag/package.json +11 -14
- package/node_modules/express/History.md +54 -0
- package/node_modules/express/Readme.md +39 -31
- package/node_modules/express/lib/application.js +18 -1
- package/node_modules/express/lib/response.js +40 -18
- package/node_modules/express/lib/router/index.js +20 -15
- package/node_modules/express/lib/router/route.js +9 -0
- package/node_modules/express/lib/utils.js +1 -0
- package/node_modules/express/lib/view.js +1 -1
- package/node_modules/express/package.json +25 -26
- package/node_modules/finalhandler/HISTORY.md +8 -0
- package/node_modules/finalhandler/LICENSE +1 -1
- package/node_modules/finalhandler/README.md +5 -6
- package/node_modules/finalhandler/SECURITY.md +25 -0
- package/node_modules/finalhandler/index.js +8 -3
- package/node_modules/finalhandler/package.json +30 -32
- package/node_modules/fresh/package.json +6 -9
- package/node_modules/function-bind/.editorconfig +20 -0
- package/node_modules/function-bind/.eslintrc +15 -0
- package/node_modules/function-bind/.jscs.json +176 -0
- package/node_modules/function-bind/.npmignore +22 -0
- package/node_modules/function-bind/.travis.yml +168 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +48 -0
- package/node_modules/function-bind/implementation.js +52 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +96 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/get-intrinsic/.eslintrc +37 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +98 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +334 -0
- package/node_modules/get-intrinsic/package.json +120 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/has/LICENSE-MIT +22 -0
- package/node_modules/has/README.md +18 -0
- package/node_modules/has/package.json +73 -0
- package/node_modules/has/src/index.js +5 -0
- package/node_modules/has/test/index.js +10 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +75 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.js +13 -0
- package/node_modules/has-symbols/package.json +126 -0
- package/node_modules/has-symbols/shams.js +42 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +28 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +28 -0
- package/node_modules/has-symbols/test/tests.js +56 -0
- package/node_modules/http-errors/HISTORY.md +15 -0
- package/node_modules/http-errors/README.md +2 -2
- package/node_modules/http-errors/index.js +15 -25
- package/node_modules/http-errors/package.json +22 -20
- package/node_modules/media-typer/package.json +6 -9
- package/node_modules/merge-descriptors/package.json +6 -9
- package/node_modules/methods/package.json +11 -14
- package/node_modules/object-inspect/.eslintrc +53 -0
- package/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/node_modules/object-inspect/.nycrc +13 -0
- package/node_modules/object-inspect/CHANGELOG.md +360 -0
- package/node_modules/object-inspect/LICENSE +21 -0
- package/node_modules/object-inspect/example/all.js +23 -0
- package/node_modules/object-inspect/example/circular.js +6 -0
- package/node_modules/object-inspect/example/fn.js +5 -0
- package/node_modules/object-inspect/example/inspect.js +10 -0
- package/node_modules/object-inspect/index.js +512 -0
- package/node_modules/object-inspect/package-support.json +20 -0
- package/node_modules/object-inspect/package.json +122 -0
- package/node_modules/object-inspect/readme.markdown +86 -0
- package/node_modules/object-inspect/test/bigint.js +58 -0
- package/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/node_modules/object-inspect/test/circular.js +16 -0
- package/node_modules/object-inspect/test/deep.js +12 -0
- package/node_modules/object-inspect/test/element.js +53 -0
- package/node_modules/object-inspect/test/err.js +48 -0
- package/node_modules/object-inspect/test/fakes.js +29 -0
- package/node_modules/object-inspect/test/fn.js +76 -0
- package/node_modules/object-inspect/test/has.js +15 -0
- package/node_modules/object-inspect/test/holes.js +15 -0
- package/node_modules/object-inspect/test/indent-option.js +271 -0
- package/node_modules/object-inspect/test/inspect.js +139 -0
- package/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/node_modules/object-inspect/test/number.js +58 -0
- package/node_modules/object-inspect/test/quoteStyle.js +17 -0
- package/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/node_modules/object-inspect/test/undef.js +12 -0
- package/node_modules/object-inspect/test/values.js +211 -0
- package/node_modules/object-inspect/test-core-js.js +26 -0
- package/node_modules/object-inspect/util.inspect.js +1 -0
- package/node_modules/on-finished/HISTORY.md +10 -0
- package/node_modules/on-finished/README.md +28 -20
- package/node_modules/on-finished/index.js +51 -13
- package/node_modules/on-finished/package.json +25 -20
- package/node_modules/path-to-regexp/package.json +6 -9
- package/node_modules/qs/CHANGELOG.md +22 -5
- package/node_modules/qs/README.md +7 -0
- package/node_modules/qs/dist/qs.js +1207 -5
- package/node_modules/qs/lib/parse.js +6 -0
- package/node_modules/qs/lib/stringify.js +33 -3
- package/node_modules/qs/package.json +16 -13
- package/node_modules/qs/test/parse.js +9 -0
- package/node_modules/qs/test/stringify.js +62 -1
- package/node_modules/raw-body/HISTORY.md +14 -0
- package/node_modules/raw-body/LICENSE +1 -1
- package/node_modules/raw-body/README.md +4 -0
- package/node_modules/raw-body/SECURITY.md +24 -0
- package/node_modules/raw-body/index.js +45 -2
- package/node_modules/raw-body/package.json +16 -15
- package/node_modules/send/HISTORY.md +15 -0
- package/node_modules/send/LICENSE +1 -1
- package/node_modules/send/README.md +2 -2
- package/node_modules/send/SECURITY.md +24 -0
- package/node_modules/send/index.js +37 -27
- package/node_modules/send/package.json +22 -21
- package/node_modules/serve-static/HISTORY.md +12 -0
- package/node_modules/serve-static/README.md +1 -1
- package/node_modules/serve-static/package.json +16 -16
- package/node_modules/side-channel/.eslintignore +1 -0
- package/node_modules/side-channel/.eslintrc +11 -0
- package/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel/.nycrc +13 -0
- package/node_modules/side-channel/CHANGELOG.md +65 -0
- package/node_modules/side-channel/LICENSE +21 -0
- package/node_modules/side-channel/README.md +2 -0
- package/node_modules/side-channel/index.js +124 -0
- package/node_modules/side-channel/package.json +95 -0
- package/node_modules/side-channel/test/index.js +78 -0
- package/node_modules/statuses/HISTORY.md +17 -0
- package/node_modules/statuses/README.md +51 -42
- package/node_modules/statuses/codes.json +2 -3
- package/node_modules/statuses/index.js +52 -19
- package/node_modules/statuses/package.json +29 -31
- package/node_modules/unpipe/package.json +7 -9
- package/node_modules/utils-merge/package.json +6 -9
- package/package.json +2 -2
- package/worldmap/worldmap.js +22 -7
- package/worldmap.html +16 -0
- package/worldmap.js +553 -551
- package/node_modules/depd/lib/compat/callsite-tostring.js +0 -103
- package/node_modules/depd/lib/compat/event-listener-count.js +0 -22
- package/node_modules/depd/lib/compat/index.js +0 -79
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_from": "express@^4.
|
|
3
|
-
"_id": "express@4.
|
|
2
|
+
"_from": "express@^4.18.1",
|
|
3
|
+
"_id": "express@4.18.1",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
6
|
-
"_location": "/
|
|
5
|
+
"_integrity": "sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q==",
|
|
6
|
+
"_location": "/express",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
9
9
|
"type": "range",
|
|
10
10
|
"registry": true,
|
|
11
|
-
"raw": "express@^4.
|
|
11
|
+
"raw": "express@^4.18.1",
|
|
12
12
|
"name": "express",
|
|
13
13
|
"escapedName": "express",
|
|
14
|
-
"rawSpec": "^4.
|
|
14
|
+
"rawSpec": "^4.18.1",
|
|
15
15
|
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "^4.
|
|
16
|
+
"fetchSpec": "^4.18.1"
|
|
17
17
|
},
|
|
18
18
|
"_requiredBy": [
|
|
19
|
-
"/
|
|
19
|
+
"/"
|
|
20
20
|
],
|
|
21
|
-
"_resolved": "https://registry.npmjs.org/express/-/express-4.
|
|
22
|
-
"_shasum": "
|
|
23
|
-
"_spec": "express@^4.
|
|
21
|
+
"_resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz",
|
|
22
|
+
"_shasum": "7797de8b9c72c857b9cd0e14a5eea80666267caf",
|
|
23
|
+
"_spec": "express@^4.18.1",
|
|
24
24
|
"_where": "/Users/conway/Projects/worldmap",
|
|
25
25
|
"author": {
|
|
26
26
|
"name": "TJ Holowaychuk",
|
|
@@ -63,31 +63,32 @@
|
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"accepts": "~1.3.8",
|
|
65
65
|
"array-flatten": "1.1.1",
|
|
66
|
-
"body-parser": "1.
|
|
66
|
+
"body-parser": "1.20.0",
|
|
67
67
|
"content-disposition": "0.5.4",
|
|
68
68
|
"content-type": "~1.0.4",
|
|
69
|
-
"cookie": "0.
|
|
69
|
+
"cookie": "0.5.0",
|
|
70
70
|
"cookie-signature": "1.0.6",
|
|
71
71
|
"debug": "2.6.9",
|
|
72
|
-
"depd": "
|
|
72
|
+
"depd": "2.0.0",
|
|
73
73
|
"encodeurl": "~1.0.2",
|
|
74
74
|
"escape-html": "~1.0.3",
|
|
75
75
|
"etag": "~1.8.1",
|
|
76
|
-
"finalhandler": "
|
|
76
|
+
"finalhandler": "1.2.0",
|
|
77
77
|
"fresh": "0.5.2",
|
|
78
|
+
"http-errors": "2.0.0",
|
|
78
79
|
"merge-descriptors": "1.0.1",
|
|
79
80
|
"methods": "~1.1.2",
|
|
80
|
-
"on-finished": "
|
|
81
|
+
"on-finished": "2.4.1",
|
|
81
82
|
"parseurl": "~1.3.3",
|
|
82
83
|
"path-to-regexp": "0.1.7",
|
|
83
84
|
"proxy-addr": "~2.0.7",
|
|
84
|
-
"qs": "6.
|
|
85
|
+
"qs": "6.10.3",
|
|
85
86
|
"range-parser": "~1.2.1",
|
|
86
87
|
"safe-buffer": "5.2.1",
|
|
87
|
-
"send": "0.
|
|
88
|
-
"serve-static": "1.
|
|
88
|
+
"send": "0.18.0",
|
|
89
|
+
"serve-static": "1.15.0",
|
|
89
90
|
"setprototypeof": "1.2.0",
|
|
90
|
-
"statuses": "
|
|
91
|
+
"statuses": "2.0.1",
|
|
91
92
|
"type-is": "~1.6.18",
|
|
92
93
|
"utils-merge": "1.0.1",
|
|
93
94
|
"vary": "~1.1.2"
|
|
@@ -99,20 +100,18 @@
|
|
|
99
100
|
"connect-redis": "3.4.2",
|
|
100
101
|
"cookie-parser": "1.4.6",
|
|
101
102
|
"cookie-session": "2.0.0",
|
|
102
|
-
"ejs": "3.1.
|
|
103
|
+
"ejs": "3.1.7",
|
|
103
104
|
"eslint": "7.32.0",
|
|
104
105
|
"express-session": "1.17.2",
|
|
105
106
|
"hbs": "4.2.0",
|
|
106
107
|
"marked": "0.7.0",
|
|
107
108
|
"method-override": "3.0.0",
|
|
108
|
-
"mocha": "9.2.
|
|
109
|
+
"mocha": "9.2.2",
|
|
109
110
|
"morgan": "1.10.0",
|
|
110
111
|
"multiparty": "4.2.3",
|
|
111
112
|
"nyc": "15.1.0",
|
|
112
113
|
"pbkdf2-password": "1.2.1",
|
|
113
|
-
"
|
|
114
|
-
"should": "13.2.3",
|
|
115
|
-
"supertest": "6.2.2",
|
|
114
|
+
"supertest": "6.2.3",
|
|
116
115
|
"vhost": "~3.0.2"
|
|
117
116
|
},
|
|
118
117
|
"engines": {
|
|
@@ -151,5 +150,5 @@
|
|
|
151
150
|
"test-cov": "nyc --reporter=html --reporter=text npm test",
|
|
152
151
|
"test-tap": "mocha --require test/support/env --reporter tap --check-leaks test/ test/acceptance/"
|
|
153
152
|
},
|
|
154
|
-
"version": "4.
|
|
153
|
+
"version": "4.18.1"
|
|
155
154
|
}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
1.2.0 / 2022-03-22
|
|
2
|
+
==================
|
|
3
|
+
|
|
4
|
+
* Remove set content headers that break response
|
|
5
|
+
* deps: on-finished@2.4.1
|
|
6
|
+
* deps: statuses@2.0.1
|
|
7
|
+
- Rename `425 Unordered Collection` to standard `425 Too Early`
|
|
8
|
+
|
|
1
9
|
1.1.2 / 2019-05-09
|
|
2
10
|
==================
|
|
3
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(The MIT License)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2014-
|
|
3
|
+
Copyright (c) 2014-2022 Douglas Christopher Wilson <doug@somethingdoug.com>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[![NPM Version][npm-image]][npm-url]
|
|
4
4
|
[![NPM Downloads][downloads-image]][downloads-url]
|
|
5
5
|
[![Node.js Version][node-image]][node-url]
|
|
6
|
-
[![Build Status][
|
|
6
|
+
[![Build Status][github-actions-ci-image]][github-actions-ci-url]
|
|
7
7
|
[![Test Coverage][coveralls-image]][coveralls-url]
|
|
8
8
|
|
|
9
9
|
Node.js function to invoke as the final step to respond to HTTP request.
|
|
@@ -20,8 +20,6 @@ $ npm install finalhandler
|
|
|
20
20
|
|
|
21
21
|
## API
|
|
22
22
|
|
|
23
|
-
<!-- eslint-disable no-unused-vars -->
|
|
24
|
-
|
|
25
23
|
```js
|
|
26
24
|
var finalhandler = require('finalhandler')
|
|
27
25
|
```
|
|
@@ -31,7 +29,8 @@ var finalhandler = require('finalhandler')
|
|
|
31
29
|
Returns function to be invoked as the final step for the given `req` and `res`.
|
|
32
30
|
This function is to be invoked as `fn(err)`. If `err` is falsy, the handler will
|
|
33
31
|
write out a 404 response to the `res`. If it is truthy, an error response will
|
|
34
|
-
be written out to the `res
|
|
32
|
+
be written out to the `res` or `res` will be terminated if a response has already
|
|
33
|
+
started.
|
|
35
34
|
|
|
36
35
|
When an error is written, the following information is added to the response:
|
|
37
36
|
|
|
@@ -140,9 +139,9 @@ function logerror (err) {
|
|
|
140
139
|
[npm-url]: https://npmjs.org/package/finalhandler
|
|
141
140
|
[node-image]: https://img.shields.io/node/v/finalhandler.svg
|
|
142
141
|
[node-url]: https://nodejs.org/en/download
|
|
143
|
-
[travis-image]: https://img.shields.io/travis/pillarjs/finalhandler.svg
|
|
144
|
-
[travis-url]: https://travis-ci.org/pillarjs/finalhandler
|
|
145
142
|
[coveralls-image]: https://img.shields.io/coveralls/pillarjs/finalhandler.svg
|
|
146
143
|
[coveralls-url]: https://coveralls.io/r/pillarjs/finalhandler?branch=master
|
|
147
144
|
[downloads-image]: https://img.shields.io/npm/dm/finalhandler.svg
|
|
148
145
|
[downloads-url]: https://npmjs.org/package/finalhandler
|
|
146
|
+
[github-actions-ci-image]: https://img.shields.io/github/workflow/status/pillarjs/finalhandler/ci/master?label=ci
|
|
147
|
+
[github-actions-ci-url]: https://github.com/jshttp/pillarjs/finalhandler?query=workflow%3Aci
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Security Policies and Procedures
|
|
2
|
+
|
|
3
|
+
## Reporting a Bug
|
|
4
|
+
|
|
5
|
+
The `finalhandler` team and community take all security bugs seriously. Thank
|
|
6
|
+
you for improving the security of Express. We appreciate your efforts and
|
|
7
|
+
responsible disclosure and will make every effort to acknowledge your
|
|
8
|
+
contributions.
|
|
9
|
+
|
|
10
|
+
Report security bugs by emailing the current owner(s) of `finalhandler`. This
|
|
11
|
+
information can be found in the npm registry using the command
|
|
12
|
+
`npm owner ls finalhandler`.
|
|
13
|
+
If unsure or unable to get the information from the above, open an issue
|
|
14
|
+
in the [project issue tracker](https://github.com/pillarjs/finalhandler/issues)
|
|
15
|
+
asking for the current contact information.
|
|
16
|
+
|
|
17
|
+
To ensure the timely response to your report, please ensure that the entirety
|
|
18
|
+
of the report is contained within the email body and not solely behind a web
|
|
19
|
+
link or an attachment.
|
|
20
|
+
|
|
21
|
+
At least one owner will acknowledge your email within 48 hours, and will send a
|
|
22
|
+
more detailed response within 48 hours indicating the next steps in handling
|
|
23
|
+
your report. After the initial reply to your report, the owners will
|
|
24
|
+
endeavor to keep you informed of the progress towards a fix and full
|
|
25
|
+
announcement, and may ask for additional information or guidance.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* finalhandler
|
|
3
|
-
* Copyright(c) 2014-
|
|
3
|
+
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|
4
4
|
* MIT Licensed
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -181,7 +181,7 @@ function getErrorMessage (err, status, env) {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
return msg || statuses[status]
|
|
184
|
+
return msg || statuses.message[status]
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
/**
|
|
@@ -276,7 +276,12 @@ function send (req, res, status, headers, message) {
|
|
|
276
276
|
|
|
277
277
|
// response status
|
|
278
278
|
res.statusCode = status
|
|
279
|
-
res.statusMessage = statuses[status]
|
|
279
|
+
res.statusMessage = statuses.message[status]
|
|
280
|
+
|
|
281
|
+
// remove any content headers
|
|
282
|
+
res.removeHeader('Content-Encoding')
|
|
283
|
+
res.removeHeader('Content-Language')
|
|
284
|
+
res.removeHeader('Content-Range')
|
|
280
285
|
|
|
281
286
|
// response headers
|
|
282
287
|
setHeaders(res, headers)
|
|
@@ -1,32 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
"finalhandler@1.1.2",
|
|
5
|
-
"/Users/conway/Projects/worldmap"
|
|
6
|
-
]
|
|
7
|
-
],
|
|
8
|
-
"_from": "finalhandler@1.1.2",
|
|
9
|
-
"_id": "finalhandler@1.1.2",
|
|
2
|
+
"_from": "finalhandler@1.2.0",
|
|
3
|
+
"_id": "finalhandler@1.2.0",
|
|
10
4
|
"_inBundle": false,
|
|
11
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==",
|
|
12
6
|
"_location": "/finalhandler",
|
|
13
7
|
"_phantomChildren": {},
|
|
14
8
|
"_requested": {
|
|
15
9
|
"type": "version",
|
|
16
10
|
"registry": true,
|
|
17
|
-
"raw": "finalhandler@1.
|
|
11
|
+
"raw": "finalhandler@1.2.0",
|
|
18
12
|
"name": "finalhandler",
|
|
19
13
|
"escapedName": "finalhandler",
|
|
20
|
-
"rawSpec": "1.
|
|
14
|
+
"rawSpec": "1.2.0",
|
|
21
15
|
"saveSpec": null,
|
|
22
|
-
"fetchSpec": "1.
|
|
16
|
+
"fetchSpec": "1.2.0"
|
|
23
17
|
},
|
|
24
18
|
"_requiredBy": [
|
|
25
19
|
"/express"
|
|
26
20
|
],
|
|
27
|
-
"_resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.
|
|
28
|
-
"
|
|
29
|
-
"
|
|
21
|
+
"_resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz",
|
|
22
|
+
"_shasum": "7d23fe5731b207b4640e4fcd00aec1f9207a7b32",
|
|
23
|
+
"_spec": "finalhandler@1.2.0",
|
|
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,29 +29,31 @@
|
|
|
34
29
|
"bugs": {
|
|
35
30
|
"url": "https://github.com/pillarjs/finalhandler/issues"
|
|
36
31
|
},
|
|
32
|
+
"bundleDependencies": false,
|
|
37
33
|
"dependencies": {
|
|
38
34
|
"debug": "2.6.9",
|
|
39
35
|
"encodeurl": "~1.0.2",
|
|
40
36
|
"escape-html": "~1.0.3",
|
|
41
|
-
"on-finished": "
|
|
37
|
+
"on-finished": "2.4.1",
|
|
42
38
|
"parseurl": "~1.3.3",
|
|
43
|
-
"statuses": "
|
|
39
|
+
"statuses": "2.0.1",
|
|
44
40
|
"unpipe": "~1.0.0"
|
|
45
41
|
},
|
|
42
|
+
"deprecated": false,
|
|
46
43
|
"description": "Node.js final http responder",
|
|
47
44
|
"devDependencies": {
|
|
48
|
-
"eslint": "
|
|
49
|
-
"eslint-config-standard": "
|
|
50
|
-
"eslint-plugin-import": "2.
|
|
51
|
-
"eslint-plugin-markdown": "
|
|
52
|
-
"eslint-plugin-node": "
|
|
53
|
-
"eslint-plugin-promise": "
|
|
54
|
-
"eslint-plugin-standard": "4.
|
|
55
|
-
"
|
|
56
|
-
"
|
|
45
|
+
"eslint": "7.32.0",
|
|
46
|
+
"eslint-config-standard": "14.1.1",
|
|
47
|
+
"eslint-plugin-import": "2.25.4",
|
|
48
|
+
"eslint-plugin-markdown": "2.2.1",
|
|
49
|
+
"eslint-plugin-node": "11.1.0",
|
|
50
|
+
"eslint-plugin-promise": "5.2.0",
|
|
51
|
+
"eslint-plugin-standard": "4.1.0",
|
|
52
|
+
"mocha": "9.2.2",
|
|
53
|
+
"nyc": "15.1.0",
|
|
57
54
|
"readable-stream": "2.3.6",
|
|
58
|
-
"safe-buffer": "5.1
|
|
59
|
-
"supertest": "
|
|
55
|
+
"safe-buffer": "5.2.1",
|
|
56
|
+
"supertest": "6.2.2"
|
|
60
57
|
},
|
|
61
58
|
"engines": {
|
|
62
59
|
"node": ">= 0.8"
|
|
@@ -64,6 +61,7 @@
|
|
|
64
61
|
"files": [
|
|
65
62
|
"LICENSE",
|
|
66
63
|
"HISTORY.md",
|
|
64
|
+
"SECURITY.md",
|
|
67
65
|
"index.js"
|
|
68
66
|
],
|
|
69
67
|
"homepage": "https://github.com/pillarjs/finalhandler#readme",
|
|
@@ -74,10 +72,10 @@
|
|
|
74
72
|
"url": "git+https://github.com/pillarjs/finalhandler.git"
|
|
75
73
|
},
|
|
76
74
|
"scripts": {
|
|
77
|
-
"lint": "eslint
|
|
75
|
+
"lint": "eslint .",
|
|
78
76
|
"test": "mocha --reporter spec --bail --check-leaks test/",
|
|
79
|
-
"test-ci": "
|
|
80
|
-
"test-cov": "
|
|
77
|
+
"test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
|
|
78
|
+
"test-cov": "nyc --reporter=html --reporter=text npm test"
|
|
81
79
|
},
|
|
82
|
-
"version": "1.
|
|
80
|
+
"version": "1.2.0"
|
|
83
81
|
}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_args": [
|
|
3
|
-
[
|
|
4
|
-
"fresh@0.5.2",
|
|
5
|
-
"/Users/conway/Projects/worldmap"
|
|
6
|
-
]
|
|
7
|
-
],
|
|
8
2
|
"_from": "fresh@0.5.2",
|
|
9
3
|
"_id": "fresh@0.5.2",
|
|
10
4
|
"_inBundle": false,
|
|
11
|
-
"_integrity": "
|
|
5
|
+
"_integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
|
|
12
6
|
"_location": "/fresh",
|
|
13
7
|
"_phantomChildren": {},
|
|
14
8
|
"_requested": {
|
|
@@ -26,8 +20,9 @@
|
|
|
26
20
|
"/send"
|
|
27
21
|
],
|
|
28
22
|
"_resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
23
|
+
"_shasum": "3d8cadd90d976569fa835ab1f8e4b23a105605a7",
|
|
24
|
+
"_spec": "fresh@0.5.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",
|
|
@@ -36,6 +31,7 @@
|
|
|
36
31
|
"bugs": {
|
|
37
32
|
"url": "https://github.com/jshttp/fresh/issues"
|
|
38
33
|
},
|
|
34
|
+
"bundleDependencies": false,
|
|
39
35
|
"contributors": [
|
|
40
36
|
{
|
|
41
37
|
"name": "Douglas Christopher Wilson",
|
|
@@ -47,6 +43,7 @@
|
|
|
47
43
|
"url": "http://jongleberry.com"
|
|
48
44
|
}
|
|
49
45
|
],
|
|
46
|
+
"deprecated": false,
|
|
50
47
|
"description": "HTTP response freshness testing",
|
|
51
48
|
"devDependencies": {
|
|
52
49
|
"beautify-benchmark": "0.2.4",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
root = true
|
|
2
|
+
|
|
3
|
+
[*]
|
|
4
|
+
indent_style = tab
|
|
5
|
+
indent_size = 4
|
|
6
|
+
end_of_line = lf
|
|
7
|
+
charset = utf-8
|
|
8
|
+
trim_trailing_whitespace = true
|
|
9
|
+
insert_final_newline = true
|
|
10
|
+
max_line_length = 120
|
|
11
|
+
|
|
12
|
+
[CHANGELOG.md]
|
|
13
|
+
indent_style = space
|
|
14
|
+
indent_size = 2
|
|
15
|
+
|
|
16
|
+
[*.json]
|
|
17
|
+
max_line_length = off
|
|
18
|
+
|
|
19
|
+
[Makefile]
|
|
20
|
+
max_line_length = off
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
{
|
|
2
|
+
"es3": true,
|
|
3
|
+
|
|
4
|
+
"additionalRules": [],
|
|
5
|
+
|
|
6
|
+
"requireSemicolons": true,
|
|
7
|
+
|
|
8
|
+
"disallowMultipleSpaces": true,
|
|
9
|
+
|
|
10
|
+
"disallowIdentifierNames": [],
|
|
11
|
+
|
|
12
|
+
"requireCurlyBraces": {
|
|
13
|
+
"allExcept": [],
|
|
14
|
+
"keywords": ["if", "else", "for", "while", "do", "try", "catch"]
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"],
|
|
18
|
+
|
|
19
|
+
"disallowSpaceAfterKeywords": [],
|
|
20
|
+
|
|
21
|
+
"disallowSpaceBeforeComma": true,
|
|
22
|
+
"disallowSpaceAfterComma": false,
|
|
23
|
+
"disallowSpaceBeforeSemicolon": true,
|
|
24
|
+
|
|
25
|
+
"disallowNodeTypes": [
|
|
26
|
+
"DebuggerStatement",
|
|
27
|
+
"ForInStatement",
|
|
28
|
+
"LabeledStatement",
|
|
29
|
+
"SwitchCase",
|
|
30
|
+
"SwitchStatement",
|
|
31
|
+
"WithStatement"
|
|
32
|
+
],
|
|
33
|
+
|
|
34
|
+
"requireObjectKeysOnNewLine": { "allExcept": ["sameLine"] },
|
|
35
|
+
|
|
36
|
+
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
|
|
37
|
+
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
|
38
|
+
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
|
|
39
|
+
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
|
|
40
|
+
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
|
|
41
|
+
|
|
42
|
+
"requireSpaceBetweenArguments": true,
|
|
43
|
+
|
|
44
|
+
"disallowSpacesInsideParentheses": true,
|
|
45
|
+
|
|
46
|
+
"disallowSpacesInsideArrayBrackets": true,
|
|
47
|
+
|
|
48
|
+
"disallowQuotedKeysInObjects": { "allExcept": ["reserved"] },
|
|
49
|
+
|
|
50
|
+
"disallowSpaceAfterObjectKeys": true,
|
|
51
|
+
|
|
52
|
+
"requireCommaBeforeLineBreak": true,
|
|
53
|
+
|
|
54
|
+
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
|
55
|
+
"requireSpaceAfterPrefixUnaryOperators": [],
|
|
56
|
+
|
|
57
|
+
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
58
|
+
"requireSpaceBeforePostfixUnaryOperators": [],
|
|
59
|
+
|
|
60
|
+
"disallowSpaceBeforeBinaryOperators": [],
|
|
61
|
+
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
62
|
+
|
|
63
|
+
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
64
|
+
"disallowSpaceAfterBinaryOperators": [],
|
|
65
|
+
|
|
66
|
+
"disallowImplicitTypeConversion": ["binary", "string"],
|
|
67
|
+
|
|
68
|
+
"disallowKeywords": ["with", "eval"],
|
|
69
|
+
|
|
70
|
+
"requireKeywordsOnNewLine": [],
|
|
71
|
+
"disallowKeywordsOnNewLine": ["else"],
|
|
72
|
+
|
|
73
|
+
"requireLineFeedAtFileEnd": true,
|
|
74
|
+
|
|
75
|
+
"disallowTrailingWhitespace": true,
|
|
76
|
+
|
|
77
|
+
"disallowTrailingComma": true,
|
|
78
|
+
|
|
79
|
+
"excludeFiles": ["node_modules/**", "vendor/**"],
|
|
80
|
+
|
|
81
|
+
"disallowMultipleLineStrings": true,
|
|
82
|
+
|
|
83
|
+
"requireDotNotation": { "allExcept": ["keywords"] },
|
|
84
|
+
|
|
85
|
+
"requireParenthesesAroundIIFE": true,
|
|
86
|
+
|
|
87
|
+
"validateLineBreaks": "LF",
|
|
88
|
+
|
|
89
|
+
"validateQuoteMarks": {
|
|
90
|
+
"escape": true,
|
|
91
|
+
"mark": "'"
|
|
92
|
+
},
|
|
93
|
+
|
|
94
|
+
"disallowOperatorBeforeLineBreak": [],
|
|
95
|
+
|
|
96
|
+
"requireSpaceBeforeKeywords": [
|
|
97
|
+
"do",
|
|
98
|
+
"for",
|
|
99
|
+
"if",
|
|
100
|
+
"else",
|
|
101
|
+
"switch",
|
|
102
|
+
"case",
|
|
103
|
+
"try",
|
|
104
|
+
"catch",
|
|
105
|
+
"finally",
|
|
106
|
+
"while",
|
|
107
|
+
"with",
|
|
108
|
+
"return"
|
|
109
|
+
],
|
|
110
|
+
|
|
111
|
+
"validateAlignedFunctionParameters": {
|
|
112
|
+
"lineBreakAfterOpeningBraces": true,
|
|
113
|
+
"lineBreakBeforeClosingBraces": true
|
|
114
|
+
},
|
|
115
|
+
|
|
116
|
+
"requirePaddingNewLinesBeforeExport": true,
|
|
117
|
+
|
|
118
|
+
"validateNewlineAfterArrayElements": {
|
|
119
|
+
"maximum": 8
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
"requirePaddingNewLinesAfterUseStrict": true,
|
|
123
|
+
|
|
124
|
+
"disallowArrowFunctions": true,
|
|
125
|
+
|
|
126
|
+
"disallowMultiLineTernary": true,
|
|
127
|
+
|
|
128
|
+
"validateOrderInObjectKeys": "asc-insensitive",
|
|
129
|
+
|
|
130
|
+
"disallowIdenticalDestructuringNames": true,
|
|
131
|
+
|
|
132
|
+
"disallowNestedTernaries": { "maxLevel": 1 },
|
|
133
|
+
|
|
134
|
+
"requireSpaceAfterComma": { "allExcept": ["trailing"] },
|
|
135
|
+
"requireAlignedMultilineParams": false,
|
|
136
|
+
|
|
137
|
+
"requireSpacesInGenerator": {
|
|
138
|
+
"afterStar": true
|
|
139
|
+
},
|
|
140
|
+
|
|
141
|
+
"disallowSpacesInGenerator": {
|
|
142
|
+
"beforeStar": true
|
|
143
|
+
},
|
|
144
|
+
|
|
145
|
+
"disallowVar": false,
|
|
146
|
+
|
|
147
|
+
"requireArrayDestructuring": false,
|
|
148
|
+
|
|
149
|
+
"requireEnhancedObjectLiterals": false,
|
|
150
|
+
|
|
151
|
+
"requireObjectDestructuring": false,
|
|
152
|
+
|
|
153
|
+
"requireEarlyReturn": false,
|
|
154
|
+
|
|
155
|
+
"requireCapitalizedConstructorsNew": {
|
|
156
|
+
"allExcept": ["Function", "String", "Object", "Symbol", "Number", "Date", "RegExp", "Error", "Boolean", "Array"]
|
|
157
|
+
},
|
|
158
|
+
|
|
159
|
+
"requireImportAlphabetized": false,
|
|
160
|
+
|
|
161
|
+
"requireSpaceBeforeObjectValues": true,
|
|
162
|
+
"requireSpaceBeforeDestructuredValues": true,
|
|
163
|
+
|
|
164
|
+
"disallowSpacesInsideTemplateStringPlaceholders": true,
|
|
165
|
+
|
|
166
|
+
"disallowArrayDestructuringReturn": false,
|
|
167
|
+
|
|
168
|
+
"requireNewlineBeforeSingleStatementsInIf": false,
|
|
169
|
+
|
|
170
|
+
"disallowUnusedVariables": true,
|
|
171
|
+
|
|
172
|
+
"requireSpacesInsideImportedObjectBraces": true,
|
|
173
|
+
|
|
174
|
+
"requireUseStrict": true
|
|
175
|
+
}
|
|
176
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# gitignore
|
|
2
|
+
.DS_Store
|
|
3
|
+
.monitor
|
|
4
|
+
.*.swp
|
|
5
|
+
.nodemonignore
|
|
6
|
+
releases
|
|
7
|
+
*.log
|
|
8
|
+
*.err
|
|
9
|
+
fleet.json
|
|
10
|
+
public/browserify
|
|
11
|
+
bin/*.json
|
|
12
|
+
.bin
|
|
13
|
+
build
|
|
14
|
+
compile
|
|
15
|
+
.lock-wscript
|
|
16
|
+
coverage
|
|
17
|
+
node_modules
|
|
18
|
+
|
|
19
|
+
# Only apps should have lockfiles
|
|
20
|
+
npm-shrinkwrap.json
|
|
21
|
+
package-lock.json
|
|
22
|
+
yarn.lock
|