Adding /showsettings endpoint to display settings table

This commit is contained in:
Glitch (jasonsplant) 2020-04-13 17:34:37 +00:00
parent d3c7b7171a
commit 7ec5440bb5
2 changed files with 92 additions and 83 deletions

View File

@ -72,7 +72,7 @@ app.get('/getdata', (req, res) => {
}) })
}); });
// Export all data for development // Handle requests for /exportall by retrieving all data and returning a JSON object
app.get('/exportall', (req, res) => { app.get('/exportall', (req, res) => {
// Check that the expected key has been included with the web request // Check that the expected key has been included with the web request
if (!req.headers['export-key'] || req.headers['export-key'] != process.env.SECRET) { if (!req.headers['export-key'] || req.headers['export-key'] != process.env.SECRET) {
@ -84,6 +84,13 @@ app.get('/exportall', (req, res) => {
}) })
}) })
// Handle requests for /showsettings by retrieving all settings from the database and returning a JSON object
app.get('/showsettings', (req, res) => {
db.Settings.findAll().then((result) => {
res.status(200).send(result).end();
})
})
// Handle requests to /cleanup by deleting any data older than 90 days from the datastore // Handle requests to /cleanup by deleting any data older than 90 days from the datastore
app.get('/cleanup', (req, res) => { app.get('/cleanup', (req, res) => {
if (!req.headers['cleanup-key'] || req.headers['cleanup-key'] != process.env.SECRET) { if (!req.headers['cleanup-key'] || req.headers['cleanup-key'] != process.env.SECRET) {

View File

@ -1,34 +1,35 @@
dependencies: dependencies:
dotenv: 8.2.0
express: 4.17.1 express: 4.17.1
sequelize: 5.21.3 sequelize: 5.21.6
sqlite3: 4.1.1 sqlite3: 4.1.1
packages: packages:
/@types/node/12.12.21: /@types/node/13.11.1:
dev: false dev: false
resolution: resolution:
integrity: sha512-8sRGhbpU+ck1n0PGAUgVrWrWdjSW2aqNeyC15W88GRsMpSwzv6RJGlLhE7s2RhVSOdyDmxbqlWSeThq4/7xqlA== integrity: sha512-eWQGP3qtxwL8FGneRrC5DwrJLGN4/dH1clNTuLfN81HCrxVtxRjygDTUoZJ5ASlDEeo0ppYFQjQIlXhtXpOn6g==
/abbrev/1.1.1: /abbrev/1.1.1:
dev: false dev: false
resolution: resolution:
integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
/accepts/1.3.7: /accepts/1.3.7:
dependencies: dependencies:
mime-types: 2.1.25 mime-types: 2.1.26
negotiator: 0.6.2 negotiator: 0.6.2
dev: false dev: false
engines: engines:
node: '>= 0.6' node: '>= 0.6'
resolution: resolution:
integrity: sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== integrity: sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==
/ajv/6.10.2: /ajv/6.12.0:
dependencies: dependencies:
fast-deep-equal: 2.0.1 fast-deep-equal: 3.1.1
fast-json-stable-stringify: 2.1.0 fast-json-stable-stringify: 2.1.0
json-schema-traverse: 0.4.1 json-schema-traverse: 0.4.1
uri-js: 4.2.2 uri-js: 4.2.2
dev: false dev: false
resolution: resolution:
integrity: sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== integrity: sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==
/ansi-regex/2.1.1: /ansi-regex/2.1.1:
dev: false dev: false
engines: engines:
@ -52,7 +53,7 @@ packages:
/are-we-there-yet/1.1.5: /are-we-there-yet/1.1.5:
dependencies: dependencies:
delegates: 1.0.0 delegates: 1.0.0
readable-stream: 2.3.6 readable-stream: 2.3.7
dev: false dev: false
resolution: resolution:
integrity: sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== integrity: sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==
@ -80,10 +81,10 @@ packages:
dev: false dev: false
resolution: resolution:
integrity: sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= integrity: sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=
/aws4/1.9.0: /aws4/1.9.1:
dev: false dev: false
resolution: resolution:
integrity: sha512-Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A== integrity: sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==
/balanced-match/1.0.0: /balanced-match/1.0.0:
dev: false dev: false
resolution: resolution:
@ -132,10 +133,10 @@ packages:
dev: false dev: false
resolution: resolution:
integrity: sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= integrity: sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
/chownr/1.1.3: /chownr/1.1.4:
dev: false dev: false
resolution: resolution:
integrity: sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw== integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==
/cls-bluebird/2.1.0: /cls-bluebird/2.1.0:
dependencies: dependencies:
is-bluebird: 1.0.2 is-bluebird: 1.0.2
@ -252,6 +253,12 @@ packages:
hasBin: true hasBin: true
resolution: resolution:
integrity: sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= integrity: sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=
/dotenv/8.2.0:
dev: false
engines:
node: '>=8'
resolution:
integrity: sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==
/dottie/2.0.2: /dottie/2.0.2:
dev: false dev: false
resolution: resolution:
@ -304,7 +311,7 @@ packages:
on-finished: 2.3.0 on-finished: 2.3.0
parseurl: 1.3.3 parseurl: 1.3.3
path-to-regexp: 0.1.7 path-to-regexp: 0.1.7
proxy-addr: 2.0.5 proxy-addr: 2.0.6
qs: 6.7.0 qs: 6.7.0
range-parser: 1.2.1 range-parser: 1.2.1
safe-buffer: 5.1.2 safe-buffer: 5.1.2
@ -336,10 +343,10 @@ packages:
'0': node >=0.6.0 '0': node >=0.6.0
resolution: resolution:
integrity: sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= integrity: sha1-4mifjzVvrWLMplo6kcXfX5VRaS8=
/fast-deep-equal/2.0.1: /fast-deep-equal/3.1.1:
dev: false dev: false
resolution: resolution:
integrity: sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= integrity: sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==
/fast-json-stable-stringify/2.1.0: /fast-json-stable-stringify/2.1.0:
dev: false dev: false
resolution: resolution:
@ -366,7 +373,7 @@ packages:
dependencies: dependencies:
asynckit: 0.4.0 asynckit: 0.4.0
combined-stream: 1.0.8 combined-stream: 1.0.8
mime-types: 2.1.25 mime-types: 2.1.26
dev: false dev: false
engines: engines:
node: '>= 0.12' node: '>= 0.12'
@ -400,7 +407,7 @@ packages:
console-control-strings: 1.1.0 console-control-strings: 1.1.0
has-unicode: 2.0.1 has-unicode: 2.0.1
object-assign: 4.1.1 object-assign: 4.1.1
signal-exit: 3.0.2 signal-exit: 3.0.3
string-width: 1.0.2 string-width: 1.0.2
strip-ansi: 3.0.1 strip-ansi: 3.0.1
wide-align: 1.1.3 wide-align: 1.1.3
@ -432,7 +439,7 @@ packages:
integrity: sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= integrity: sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=
/har-validator/5.1.3: /har-validator/5.1.3:
dependencies: dependencies:
ajv: 6.10.2 ajv: 6.12.0
har-schema: 2.0.0 har-schema: 2.0.0
dev: false dev: false
engines: engines:
@ -517,12 +524,12 @@ packages:
dev: false dev: false
resolution: resolution:
integrity: sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== integrity: sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
/ipaddr.js/1.9.0: /ipaddr.js/1.9.1:
dev: false dev: false
engines: engines:
node: '>= 0.10' node: '>= 0.10'
resolution: resolution:
integrity: sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA== integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==
/is-bluebird/1.0.2: /is-bluebird/1.0.2:
dev: false dev: false
engines: engines:
@ -602,20 +609,20 @@ packages:
node: '>= 0.6' node: '>= 0.6'
resolution: resolution:
integrity: sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= integrity: sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=
/mime-db/1.42.0: /mime-db/1.43.0:
dev: false dev: false
engines: engines:
node: '>= 0.6' node: '>= 0.6'
resolution: resolution:
integrity: sha512-UbfJCR4UAVRNgMpfImz05smAXK7+c+ZntjaA26ANtkXLlOe947Aag5zdIcKQULAiF9Cq4WxBi9jUs5zkA84bYQ== integrity: sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ==
/mime-types/2.1.25: /mime-types/2.1.26:
dependencies: dependencies:
mime-db: 1.42.0 mime-db: 1.43.0
dev: false dev: false
engines: engines:
node: '>= 0.6' node: '>= 0.6'
resolution: resolution:
integrity: sha512-5KhStqB5xpTAeGqKBAMgwaYMnQik7teQN4IAzC7npDv6kzeU6prfkR67bc87J1kWMPGkoaZSq1npmexMgkmEVg== integrity: sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ==
/mime/1.6.0: /mime/1.6.0:
dev: false dev: false
engines: engines:
@ -629,14 +636,10 @@ packages:
dev: false dev: false
resolution: resolution:
integrity: sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== integrity: sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
/minimist/0.0.8: /minimist/1.2.5:
dev: false dev: false
resolution: resolution:
integrity: sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= integrity: sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
/minimist/1.2.0:
dev: false
resolution:
integrity: sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=
/minipass/2.9.0: /minipass/2.9.0:
dependencies: dependencies:
safe-buffer: 5.2.0 safe-buffer: 5.2.0
@ -650,19 +653,19 @@ packages:
dev: false dev: false
resolution: resolution:
integrity: sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== integrity: sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==
/mkdirp/0.5.1: /mkdirp/0.5.5:
dependencies: dependencies:
minimist: 0.0.8 minimist: 1.2.5
dev: false dev: false
hasBin: true hasBin: true
resolution: resolution:
integrity: sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= integrity: sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
/moment-timezone/0.5.27: /moment-timezone/0.5.28:
dependencies: dependencies:
moment: 2.24.0 moment: 2.24.0
dev: false dev: false
resolution: resolution:
integrity: sha512-EIKQs7h5sAsjhPCqN6ggx6cEbs94GK050254TIJySD1bzoM5JTYDwAU1IoVOeTOL6Gm27kYJ51/uuvq1kIlrbw== integrity: sha512-TDJkZvAyKIVWg5EtVqRzU97w0Rb0YVbfpqyjgu6GwXCAohVRqwZjf4fOzDE6p1Ch98Sro/8hQQi65WDXW5STPw==
/moment/2.24.0: /moment/2.24.0:
dev: false dev: false
resolution: resolution:
@ -683,7 +686,7 @@ packages:
dev: false dev: false
resolution: resolution:
integrity: sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== integrity: sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
/needle/2.4.0: /needle/2.4.1:
dependencies: dependencies:
debug: 3.2.6 debug: 3.2.6
iconv-lite: 0.4.24 iconv-lite: 0.4.24
@ -693,7 +696,7 @@ packages:
node: '>= 4.4.x' node: '>= 4.4.x'
hasBin: true hasBin: true
resolution: resolution:
integrity: sha512-4Hnwzr3mi5L97hMYeNl8wRW/Onhy4nUKR/lVemJ8gJedxxUyBLm9kkrDColJvoSfwi0jCNhD+xCdOtiGDQiRZg== integrity: sha512-x/gi6ijr4B7fwl6WYL9FwlCvRQKGlUNvnceho8wxkwXqN8jvVmmmATTmZPRRG7b/yC1eode26C2HO9jl78Du9g==
/negotiator/0.6.2: /negotiator/0.6.2:
dev: false dev: false
engines: engines:
@ -703,10 +706,10 @@ packages:
/node-pre-gyp/0.11.0: /node-pre-gyp/0.11.0:
dependencies: dependencies:
detect-libc: 1.0.3 detect-libc: 1.0.3
mkdirp: 0.5.1 mkdirp: 0.5.5
needle: 2.4.0 needle: 2.4.1
nopt: 4.0.1 nopt: 4.0.3
npm-packlist: 1.4.7 npm-packlist: 1.4.8
npmlog: 4.1.2 npmlog: 4.1.2
rc: 1.2.8 rc: 1.2.8
rimraf: 2.7.1 rimraf: 2.7.1
@ -716,14 +719,14 @@ packages:
hasBin: true hasBin: true
resolution: resolution:
integrity: sha512-TwWAOZb0j7e9eGaf9esRx3ZcLaE5tQ2lvYy1pb5IAaG1a2e2Kv5Lms1Y4hpj+ciXJRofIxxlt5haeQ/2ANeE0Q== integrity: sha512-TwWAOZb0j7e9eGaf9esRx3ZcLaE5tQ2lvYy1pb5IAaG1a2e2Kv5Lms1Y4hpj+ciXJRofIxxlt5haeQ/2ANeE0Q==
/nopt/4.0.1: /nopt/4.0.3:
dependencies: dependencies:
abbrev: 1.1.1 abbrev: 1.1.1
osenv: 0.1.5 osenv: 0.1.5
dev: false dev: false
hasBin: true hasBin: true
resolution: resolution:
integrity: sha1-0NRoWv1UFRk8jHUFYC0NF81kR00= integrity: sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==
/npm-bundled/1.1.1: /npm-bundled/1.1.1:
dependencies: dependencies:
npm-normalize-package-bin: 1.0.1 npm-normalize-package-bin: 1.0.1
@ -734,13 +737,14 @@ packages:
dev: false dev: false
resolution: resolution:
integrity: sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== integrity: sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==
/npm-packlist/1.4.7: /npm-packlist/1.4.8:
dependencies: dependencies:
ignore-walk: 3.0.3 ignore-walk: 3.0.3
npm-bundled: 1.1.1 npm-bundled: 1.1.1
npm-normalize-package-bin: 1.0.1
dev: false dev: false
resolution: resolution:
integrity: sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ== integrity: sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==
/npmlog/4.1.2: /npmlog/4.1.2:
dependencies: dependencies:
are-we-there-yet: 1.1.5 are-we-there-yet: 1.1.5
@ -823,23 +827,19 @@ packages:
dev: false dev: false
resolution: resolution:
integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
/proxy-addr/2.0.5: /proxy-addr/2.0.6:
dependencies: dependencies:
forwarded: 0.1.2 forwarded: 0.1.2
ipaddr.js: 1.9.0 ipaddr.js: 1.9.1
dev: false dev: false
engines: engines:
node: '>= 0.10' node: '>= 0.10'
resolution: resolution:
integrity: sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ== integrity: sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==
/psl/1.6.0: /psl/1.8.0:
dev: false dev: false
resolution: resolution:
integrity: sha512-SYKKmVel98NCOYXpkwUqZqh0ahZeeKfmisiLIcEZdsb+WbLv02g/dI5BUmZnIyOe7RzZtLax81nnb2HbvC2tzA== integrity: sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==
/punycode/1.4.1:
dev: false
resolution:
integrity: sha1-wNWmOycYgArY4esPpSachN1BhF4=
/punycode/2.1.1: /punycode/2.1.1:
dev: false dev: false
engines: engines:
@ -879,13 +879,13 @@ packages:
dependencies: dependencies:
deep-extend: 0.6.0 deep-extend: 0.6.0
ini: 1.3.5 ini: 1.3.5
minimist: 1.2.0 minimist: 1.2.5
strip-json-comments: 2.0.1 strip-json-comments: 2.0.1
dev: false dev: false
hasBin: true hasBin: true
resolution: resolution:
integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
/readable-stream/2.3.6: /readable-stream/2.3.7:
dependencies: dependencies:
core-util-is: 1.0.2 core-util-is: 1.0.2
inherits: 2.0.4 inherits: 2.0.4
@ -896,11 +896,11 @@ packages:
util-deprecate: 1.0.2 util-deprecate: 1.0.2
dev: false dev: false
resolution: resolution:
integrity: sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== integrity: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
/request/2.88.0: /request/2.88.2:
dependencies: dependencies:
aws-sign2: 0.7.0 aws-sign2: 0.7.0
aws4: 1.9.0 aws4: 1.9.1
caseless: 0.12.0 caseless: 0.12.0
combined-stream: 1.0.8 combined-stream: 1.0.8
extend: 3.0.2 extend: 3.0.2
@ -911,19 +911,20 @@ packages:
is-typedarray: 1.0.0 is-typedarray: 1.0.0
isstream: 0.1.2 isstream: 0.1.2
json-stringify-safe: 5.0.1 json-stringify-safe: 5.0.1
mime-types: 2.1.25 mime-types: 2.1.26
oauth-sign: 0.9.0 oauth-sign: 0.9.0
performance-now: 2.1.0 performance-now: 2.1.0
qs: 6.5.2 qs: 6.5.2
safe-buffer: 5.2.0 safe-buffer: 5.2.0
tough-cookie: 2.4.3 tough-cookie: 2.5.0
tunnel-agent: 0.6.0 tunnel-agent: 0.6.0
uuid: 3.3.3 uuid: 3.4.0
deprecated: 'request has been deprecated, see https://github.com/request/request/issues/3142'
dev: false dev: false
engines: engines:
node: '>= 4' node: '>= 6'
resolution: resolution:
integrity: sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg== integrity: sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
/retry-as-promised/3.2.0: /retry-as-promised/3.2.0:
dependencies: dependencies:
any-promise: 1.3.0 any-promise: 1.3.0
@ -989,7 +990,7 @@ packages:
node: '>= 6.0.0' node: '>= 6.0.0'
resolution: resolution:
integrity: sha512-Ibz08vnXvkZ8LJTiUOxRcj1Ckdn7qafNZ2t59jYHMX1VIebTAOYefWdRYFt6z6+hy52WGthAHAoLc9hvk3onqA== integrity: sha512-Ibz08vnXvkZ8LJTiUOxRcj1Ckdn7qafNZ2t59jYHMX1VIebTAOYefWdRYFt6z6+hy52WGthAHAoLc9hvk3onqA==
/sequelize/5.21.3: /sequelize/5.21.6:
dependencies: dependencies:
bluebird: 3.7.2 bluebird: 3.7.2
cls-bluebird: 2.1.0 cls-bluebird: 2.1.0
@ -998,19 +999,19 @@ packages:
inflection: 1.12.0 inflection: 1.12.0
lodash: 4.17.15 lodash: 4.17.15
moment: 2.24.0 moment: 2.24.0
moment-timezone: 0.5.27 moment-timezone: 0.5.28
retry-as-promised: 3.2.0 retry-as-promised: 3.2.0
semver: 6.3.0 semver: 6.3.0
sequelize-pool: 2.3.0 sequelize-pool: 2.3.0
toposort-class: 1.0.1 toposort-class: 1.0.1
uuid: 3.3.3 uuid: 3.4.0
validator: 10.11.0 validator: 10.11.0
wkx: 0.4.8 wkx: 0.4.8
dev: false dev: false
engines: engines:
node: '>=6.0.0' node: '>=6.0.0'
resolution: resolution:
integrity: sha512-ptdeAxwTY0zbj7AK8m+SH3z52uHVrt/qmOTSIGo/kyfnSp3h5HeKlywkJf5GEk09kuRrPHfWARVSXH1W3IGU7g== integrity: sha512-RsgEpP2PP7txeoTWxoLLoe3xX8R2WYQAO7LNba2Ok3/pV5EFfKZry4fJXH56DUHJB909msMCHg0CJKDsQVbjcQ==
/serve-static/1.14.1: /serve-static/1.14.1:
dependencies: dependencies:
encodeurl: 1.0.2 encodeurl: 1.0.2
@ -1034,15 +1035,15 @@ packages:
dev: false dev: false
resolution: resolution:
integrity: sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw== integrity: sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw==
/signal-exit/3.0.2: /signal-exit/3.0.3:
dev: false dev: false
resolution: resolution:
integrity: sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= integrity: sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==
/sqlite3/4.1.1: /sqlite3/4.1.1:
dependencies: dependencies:
nan: 2.14.0 nan: 2.14.0
node-pre-gyp: 0.11.0 node-pre-gyp: 0.11.0
request: 2.88.0 request: 2.88.2
dev: false dev: false
requiresBuild: true requiresBuild: true
resolution: resolution:
@ -1119,11 +1120,11 @@ packages:
integrity: sha1-PFMZQukIwml8DsNEhYwobHygpgo= integrity: sha1-PFMZQukIwml8DsNEhYwobHygpgo=
/tar/4.4.13: /tar/4.4.13:
dependencies: dependencies:
chownr: 1.1.3 chownr: 1.1.4
fs-minipass: 1.2.7 fs-minipass: 1.2.7
minipass: 2.9.0 minipass: 2.9.0
minizlib: 1.3.3 minizlib: 1.3.3
mkdirp: 0.5.1 mkdirp: 0.5.5
safe-buffer: 5.2.0 safe-buffer: 5.2.0
yallist: 3.1.1 yallist: 3.1.1
dev: false dev: false
@ -1141,15 +1142,15 @@ packages:
dev: false dev: false
resolution: resolution:
integrity: sha1-f/0feMi+KMO6Rc1OGj9e4ZO9mYg= integrity: sha1-f/0feMi+KMO6Rc1OGj9e4ZO9mYg=
/tough-cookie/2.4.3: /tough-cookie/2.5.0:
dependencies: dependencies:
psl: 1.6.0 psl: 1.8.0
punycode: 1.4.1 punycode: 2.1.1
dev: false dev: false
engines: engines:
node: '>=0.8' node: '>=0.8'
resolution: resolution:
integrity: sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ== integrity: sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==
/tunnel-agent/0.6.0: /tunnel-agent/0.6.0:
dependencies: dependencies:
safe-buffer: 5.2.0 safe-buffer: 5.2.0
@ -1163,7 +1164,7 @@ packages:
/type-is/1.6.18: /type-is/1.6.18:
dependencies: dependencies:
media-typer: 0.3.0 media-typer: 0.3.0
mime-types: 2.1.25 mime-types: 2.1.26
dev: false dev: false
engines: engines:
node: '>= 0.6' node: '>= 0.6'
@ -1191,11 +1192,11 @@ packages:
node: '>= 0.4.0' node: '>= 0.4.0'
resolution: resolution:
integrity: sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= integrity: sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=
/uuid/3.3.3: /uuid/3.4.0:
dev: false dev: false
hasBin: true hasBin: true
resolution: resolution:
integrity: sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ== integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
/validator/10.11.0: /validator/10.11.0:
dev: false dev: false
engines: engines:
@ -1226,7 +1227,7 @@ packages:
integrity: sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== integrity: sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==
/wkx/0.4.8: /wkx/0.4.8:
dependencies: dependencies:
'@types/node': 12.12.21 '@types/node': 13.11.1
dev: false dev: false
resolution: resolution:
integrity: sha512-ikPXMM9IR/gy/LwiOSqWlSL3X/J5uk9EO2hHNRXS41eTLXaUFEVw9fn/593jW/tE5tedNg8YjT5HkCa4FqQZyQ== integrity: sha512-ikPXMM9IR/gy/LwiOSqWlSL3X/J5uk9EO2hHNRXS41eTLXaUFEVw9fn/593jW/tE5tedNg8YjT5HkCa4FqQZyQ==
@ -1242,6 +1243,7 @@ registry: 'https://registry.npmjs.org/'
shrinkwrapMinorVersion: 9 shrinkwrapMinorVersion: 9
shrinkwrapVersion: 3 shrinkwrapVersion: 3
specifiers: specifiers:
dotenv: ^8.2.0
express: ^4.17.1 express: ^4.17.1
sequelize: '*' sequelize: '*'
sqlite3: '*' sqlite3: '*'