Showing
4 changed files
with
591 additions
and
172 deletions
... | @@ -2,64 +2,64 @@ const fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fet | ... | @@ -2,64 +2,64 @@ const fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fet |
2 | const url1 = 'https://api.upbit.com/v1/market/all'; | 2 | const url1 = 'https://api.upbit.com/v1/market/all'; |
3 | 3 | ||
4 | const options = { method: 'GET', headers: { Accept: 'application/json' } }; | 4 | const options = { method: 'GET', headers: { Accept: 'application/json' } }; |
5 | -const express=require('express'); | 5 | +const express = require('express'); |
6 | -const app=express(); | 6 | +const app = express(); |
7 | -const {Coin}=require("./models/Coin"); | 7 | +const { Coin } = require("./models/Coin"); |
8 | 8 | ||
9 | - | 9 | +var sort_info = new Array(); |
10 | -const mongoose=require('mongoose'); | 10 | +const mongoose = require('mongoose'); |
11 | -const config=require('./config/key'); | 11 | +const config = require('./config/key'); |
12 | -const connect = mongoose.connect(config.mongoURI,{ | 12 | +const connect = mongoose.connect(config.mongoURI, { |
13 | useNewUrlParser: true, useUnifiedTopology: true | 13 | useNewUrlParser: true, useUnifiedTopology: true |
14 | - }) | 14 | +}) |
15 | - .then(()=>console.log('디비연결 성공')) | 15 | + .then(() => console.log('디비연결 성공')) |
16 | - .catch((err)=>console.log(err)); | 16 | + .catch((err) => console.log(err)); |
17 | 17 | ||
18 | 18 | ||
19 | async function get_marketName() { | 19 | async function get_marketName() { |
20 | - var data=new Array(); | 20 | + var data = new Array(); |
21 | //전체 암호화폐 리스트 불러오기 | 21 | //전체 암호화폐 리스트 불러오기 |
22 | - let response= await fetch(url1, options) | 22 | + let response = await fetch(url1, options) |
23 | .then(res => res.json()) | 23 | .then(res => res.json()) |
24 | .then(json => { | 24 | .then(json => { |
25 | - for(i in json){ | 25 | + for (i in json) { |
26 | data.push(json[i].market); | 26 | data.push(json[i].market); |
27 | } | 27 | } |
28 | }) | 28 | }) |
29 | return data; | 29 | return data; |
30 | } | 30 | } |
31 | -async function get_marketInfo(name_list){ | 31 | +async function get_marketInfo(name_list) { |
32 | //각 암호화폐 정보 조회 | 32 | //각 암호화폐 정보 조회 |
33 | - const url2=`https://api.upbit.com/v1/ticker/?markets=${name_list}`; | 33 | + const url2 = `https://api.upbit.com/v1/ticker/?markets=${name_list}`; |
34 | - var arr=new Array(); | 34 | + var arr = new Array(); |
35 | - let response2=await fetch(url2,options) | 35 | + let response2 = await fetch(url2, options) |
36 | - .then(res=>res.json()) | 36 | + .then(res => res.json()) |
37 | - .then(json=>{ | 37 | + .then(json => { |
38 | - for(i in json){ | 38 | + for (i in json) { |
39 | - if(json[i].acc_trade_price_24h>100000000000){ | 39 | + if (json[i].acc_trade_price_24h > 100000000000) { |
40 | - arr.push([json[i].market,json[i].acc_trade_price_24h,json[i].trade_price]); | 40 | + arr.push([json[i].market, json[i].acc_trade_price_24h, json[i].trade_price]); |
41 | } | 41 | } |
42 | } | 42 | } |
43 | }) | 43 | }) |
44 | return arr | 44 | return arr |
45 | } | 45 | } |
46 | -async function sort_data(arr){ | 46 | +async function sort_data(arr) { |
47 | - arr.sort((a,b)=>{ | 47 | + arr.sort((a, b) => { |
48 | - return b[1]-a[1]; | 48 | + return b[1] - a[1]; |
49 | }) | 49 | }) |
50 | return arr; | 50 | return arr; |
51 | } | 51 | } |
52 | -async function save_coin(arr){ | 52 | +async function save_coin(arr) { |
53 | - for(var i=0;i<10;i++){ | 53 | + for (var i = 0; i < 10; i++) { |
54 | - if(arr[i]){ | 54 | + if (arr[i]) { |
55 | - const coin=new Coin({ | 55 | + const coin = new Coin({ |
56 | - tid:i+1, | 56 | + tid: i + 1, |
57 | - name:arr[i][0], | 57 | + name: arr[i][0], |
58 | - acc_trade_price_24h:arr[i][1], | 58 | + acc_trade_price_24h: arr[i][1], |
59 | - current_price:arr[i][2] | 59 | + current_price: arr[i][2] |
60 | }); | 60 | }); |
61 | - await coin.save((err)=>{ | 61 | + await coin.save((err) => { |
62 | - if(err){ | 62 | + if (err) { |
63 | console.log(err) | 63 | console.log(err) |
64 | } | 64 | } |
65 | }) | 65 | }) |
... | @@ -67,14 +67,36 @@ async function save_coin(arr){ | ... | @@ -67,14 +67,36 @@ async function save_coin(arr){ |
67 | } | 67 | } |
68 | return true; | 68 | return true; |
69 | } | 69 | } |
70 | -app.get('/get_market',async (req,res)=>{ | 70 | +async function get_candle(minute, market) { |
71 | - var name_list=(await get_marketName()); | 71 | + const url = `https://api.upbit.com/v1/candles/minutes/${minute}?market=${market}&count=1`; |
72 | - var market_info=(await get_marketInfo(name_list)); | 72 | + var candle = new Array(); |
73 | - var sort_info=(await sort_data(market_info)); | 73 | + let response = await fetch(url, options) |
74 | - console.log(sort_info); | 74 | + .then(res => res.json()) |
75 | + .then(json => candle = json) | ||
76 | + return candle; | ||
77 | +} | ||
78 | + | ||
79 | +app.get('/get_market', async (req, res) => { | ||
80 | + var name_list = (await get_marketName()); | ||
81 | + var market_info = (await get_marketInfo(name_list)); | ||
82 | + sort_info = (await sort_data(market_info)); | ||
75 | res.json(await save_coin(sort_info)); | 83 | res.json(await save_coin(sort_info)); |
76 | 84 | ||
77 | }) | 85 | }) |
78 | -app.listen(5000,()=>{ | 86 | +app.get('/get_candle', async (req, res) => { |
87 | + Coin.find() | ||
88 | + .then(result => { | ||
89 | + result.forEach((item) => { | ||
90 | + get_candle(5, item.name) | ||
91 | + .then(result => { | ||
92 | + Coin.findOneAndUpdate({ name: result[0].market }, { five_candle: result[0].trade_price }, { new: true }, (err, doc) => { | ||
93 | + console.log(doc); | ||
94 | + }) | ||
95 | + }) | ||
96 | + }) | ||
97 | + }); | ||
98 | + | ||
99 | +}) | ||
100 | +app.listen(5000, () => { | ||
79 | console.log('server') | 101 | console.log('server') |
80 | }) | 102 | }) |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -10,6 +10,7 @@ | ... | @@ -10,6 +10,7 @@ |
10 | "license": "ISC", | 10 | "license": "ISC", |
11 | "dependencies": { | 11 | "dependencies": { |
12 | "express": "^4.17.1", | 12 | "express": "^4.17.1", |
13 | + "mongoose": "^6.0.12", | ||
13 | "node-fetch": "^3.0.0" | 14 | "node-fetch": "^3.0.0" |
14 | }, | 15 | }, |
15 | "devDependencies": { | 16 | "devDependencies": { |
... | @@ -37,6 +38,25 @@ | ... | @@ -37,6 +38,25 @@ |
37 | "node": ">=6" | 38 | "node": ">=6" |
38 | } | 39 | } |
39 | }, | 40 | }, |
41 | + "node_modules/@types/node": { | ||
42 | + "version": "16.11.6", | ||
43 | + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.6.tgz", | ||
44 | + "integrity": "sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w==" | ||
45 | + }, | ||
46 | + "node_modules/@types/webidl-conversions": { | ||
47 | + "version": "6.1.1", | ||
48 | + "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-6.1.1.tgz", | ||
49 | + "integrity": "sha512-XAahCdThVuCFDQLT7R7Pk/vqeObFNL3YqRyFZg+AqAP/W1/w3xHaIxuW7WszQqTbIBOPRcItYJIou3i/mppu3Q==" | ||
50 | + }, | ||
51 | + "node_modules/@types/whatwg-url": { | ||
52 | + "version": "8.2.1", | ||
53 | + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-8.2.1.tgz", | ||
54 | + "integrity": "sha512-2YubE1sjj5ifxievI5Ge1sckb9k/Er66HyR2c+3+I6VDUUg1TLPdYYTEbQ+DjRkS4nTxMJhgWfSfMRD2sl2EYQ==", | ||
55 | + "dependencies": { | ||
56 | + "@types/node": "*", | ||
57 | + "@types/webidl-conversions": "*" | ||
58 | + } | ||
59 | + }, | ||
40 | "node_modules/abbrev": { | 60 | "node_modules/abbrev": { |
41 | "version": "1.1.1", | 61 | "version": "1.1.1", |
42 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", | 62 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", |
... | @@ -112,6 +132,25 @@ | ... | @@ -112,6 +132,25 @@ |
112 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", | 132 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", |
113 | "dev": true | 133 | "dev": true |
114 | }, | 134 | }, |
135 | + "node_modules/base64-js": { | ||
136 | + "version": "1.5.1", | ||
137 | + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", | ||
138 | + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", | ||
139 | + "funding": [ | ||
140 | + { | ||
141 | + "type": "github", | ||
142 | + "url": "https://github.com/sponsors/feross" | ||
143 | + }, | ||
144 | + { | ||
145 | + "type": "patreon", | ||
146 | + "url": "https://www.patreon.com/feross" | ||
147 | + }, | ||
148 | + { | ||
149 | + "type": "consulting", | ||
150 | + "url": "https://feross.org/support" | ||
151 | + } | ||
152 | + ] | ||
153 | + }, | ||
115 | "node_modules/binary-extensions": { | 154 | "node_modules/binary-extensions": { |
116 | "version": "2.2.0", | 155 | "version": "2.2.0", |
117 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", | 156 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", |
... | @@ -141,19 +180,6 @@ | ... | @@ -141,19 +180,6 @@ |
141 | "node": ">= 0.8" | 180 | "node": ">= 0.8" |
142 | } | 181 | } |
143 | }, | 182 | }, |
144 | - "node_modules/body-parser/node_modules/debug": { | ||
145 | - "version": "2.6.9", | ||
146 | - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", | ||
147 | - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", | ||
148 | - "dependencies": { | ||
149 | - "ms": "2.0.0" | ||
150 | - } | ||
151 | - }, | ||
152 | - "node_modules/body-parser/node_modules/ms": { | ||
153 | - "version": "2.0.0", | ||
154 | - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
155 | - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
156 | - }, | ||
157 | "node_modules/boxen": { | 183 | "node_modules/boxen": { |
158 | "version": "5.1.2", | 184 | "version": "5.1.2", |
159 | "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", | 185 | "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", |
... | @@ -198,6 +224,40 @@ | ... | @@ -198,6 +224,40 @@ |
198 | "node": ">=8" | 224 | "node": ">=8" |
199 | } | 225 | } |
200 | }, | 226 | }, |
227 | + "node_modules/bson": { | ||
228 | + "version": "4.5.4", | ||
229 | + "resolved": "https://registry.npmjs.org/bson/-/bson-4.5.4.tgz", | ||
230 | + "integrity": "sha512-wIt0bPACnx8Ju9r6IsS2wVtGDHBr9Dxb+U29A1YED2pu8XOhS8aKjOnLZ8sxyXkPwanoK7iWWVhS1+coxde6xA==", | ||
231 | + "dependencies": { | ||
232 | + "buffer": "^5.6.0" | ||
233 | + }, | ||
234 | + "engines": { | ||
235 | + "node": ">=6.9.0" | ||
236 | + } | ||
237 | + }, | ||
238 | + "node_modules/buffer": { | ||
239 | + "version": "5.7.1", | ||
240 | + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", | ||
241 | + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", | ||
242 | + "funding": [ | ||
243 | + { | ||
244 | + "type": "github", | ||
245 | + "url": "https://github.com/sponsors/feross" | ||
246 | + }, | ||
247 | + { | ||
248 | + "type": "patreon", | ||
249 | + "url": "https://www.patreon.com/feross" | ||
250 | + }, | ||
251 | + { | ||
252 | + "type": "consulting", | ||
253 | + "url": "https://feross.org/support" | ||
254 | + } | ||
255 | + ], | ||
256 | + "dependencies": { | ||
257 | + "base64-js": "^1.3.1", | ||
258 | + "ieee754": "^1.1.13" | ||
259 | + } | ||
260 | + }, | ||
201 | "node_modules/bytes": { | 261 | "node_modules/bytes": { |
202 | "version": "3.1.0", | 262 | "version": "3.1.0", |
203 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", | 263 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", |
... | @@ -436,12 +496,11 @@ | ... | @@ -436,12 +496,11 @@ |
436 | } | 496 | } |
437 | }, | 497 | }, |
438 | "node_modules/debug": { | 498 | "node_modules/debug": { |
439 | - "version": "3.2.7", | 499 | + "version": "2.6.9", |
440 | - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", | 500 | + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", |
441 | - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", | 501 | + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", |
442 | - "dev": true, | ||
443 | "dependencies": { | 502 | "dependencies": { |
444 | - "ms": "^2.1.1" | 503 | + "ms": "2.0.0" |
445 | } | 504 | } |
446 | }, | 505 | }, |
447 | "node_modules/decompress-response": { | 506 | "node_modules/decompress-response": { |
... | @@ -471,6 +530,14 @@ | ... | @@ -471,6 +530,14 @@ |
471 | "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", | 530 | "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", |
472 | "dev": true | 531 | "dev": true |
473 | }, | 532 | }, |
533 | + "node_modules/denque": { | ||
534 | + "version": "2.0.1", | ||
535 | + "resolved": "https://registry.npmjs.org/denque/-/denque-2.0.1.tgz", | ||
536 | + "integrity": "sha512-tfiWc6BQLXNLpNiR5iGd0Ocu3P3VpxfzFiqubLgMfhfOw9WyvgJBd46CClNn9k3qfbjvT//0cf7AlYRX/OslMQ==", | ||
537 | + "engines": { | ||
538 | + "node": ">=0.10" | ||
539 | + } | ||
540 | + }, | ||
474 | "node_modules/depd": { | 541 | "node_modules/depd": { |
475 | "version": "1.1.2", | 542 | "version": "1.1.2", |
476 | "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", | 543 | "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", |
... | @@ -592,19 +659,6 @@ | ... | @@ -592,19 +659,6 @@ |
592 | "node": ">= 0.10.0" | 659 | "node": ">= 0.10.0" |
593 | } | 660 | } |
594 | }, | 661 | }, |
595 | - "node_modules/express/node_modules/debug": { | ||
596 | - "version": "2.6.9", | ||
597 | - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", | ||
598 | - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", | ||
599 | - "dependencies": { | ||
600 | - "ms": "2.0.0" | ||
601 | - } | ||
602 | - }, | ||
603 | - "node_modules/express/node_modules/ms": { | ||
604 | - "version": "2.0.0", | ||
605 | - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
606 | - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
607 | - }, | ||
608 | "node_modules/fetch-blob": { | 662 | "node_modules/fetch-blob": { |
609 | "version": "3.1.3", | 663 | "version": "3.1.3", |
610 | "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.1.3.tgz", | 664 | "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.1.3.tgz", |
... | @@ -655,19 +709,6 @@ | ... | @@ -655,19 +709,6 @@ |
655 | "node": ">= 0.8" | 709 | "node": ">= 0.8" |
656 | } | 710 | } |
657 | }, | 711 | }, |
658 | - "node_modules/finalhandler/node_modules/debug": { | ||
659 | - "version": "2.6.9", | ||
660 | - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", | ||
661 | - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", | ||
662 | - "dependencies": { | ||
663 | - "ms": "2.0.0" | ||
664 | - } | ||
665 | - }, | ||
666 | - "node_modules/finalhandler/node_modules/ms": { | ||
667 | - "version": "2.0.0", | ||
668 | - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
669 | - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
670 | - }, | ||
671 | "node_modules/forwarded": { | 712 | "node_modules/forwarded": { |
672 | "version": "0.2.0", | 713 | "version": "0.2.0", |
673 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", | 714 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", |
... | @@ -815,6 +856,25 @@ | ... | @@ -815,6 +856,25 @@ |
815 | "node": ">=0.10.0" | 856 | "node": ">=0.10.0" |
816 | } | 857 | } |
817 | }, | 858 | }, |
859 | + "node_modules/ieee754": { | ||
860 | + "version": "1.2.1", | ||
861 | + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", | ||
862 | + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", | ||
863 | + "funding": [ | ||
864 | + { | ||
865 | + "type": "github", | ||
866 | + "url": "https://github.com/sponsors/feross" | ||
867 | + }, | ||
868 | + { | ||
869 | + "type": "patreon", | ||
870 | + "url": "https://www.patreon.com/feross" | ||
871 | + }, | ||
872 | + { | ||
873 | + "type": "consulting", | ||
874 | + "url": "https://feross.org/support" | ||
875 | + } | ||
876 | + ] | ||
877 | + }, | ||
818 | "node_modules/ignore-by-default": { | 878 | "node_modules/ignore-by-default": { |
819 | "version": "1.0.1", | 879 | "version": "1.0.1", |
820 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", | 880 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", |
... | @@ -988,6 +1048,11 @@ | ... | @@ -988,6 +1048,11 @@ |
988 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", | 1048 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", |
989 | "dev": true | 1049 | "dev": true |
990 | }, | 1050 | }, |
1051 | + "node_modules/kareem": { | ||
1052 | + "version": "2.3.2", | ||
1053 | + "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.3.2.tgz", | ||
1054 | + "integrity": "sha512-STHz9P7X2L4Kwn72fA4rGyqyXdmrMSdxqHx9IXon/FXluXieaFA6KJ2upcHAHxQPQ0LeM/OjLrhFxifHewOALQ==" | ||
1055 | + }, | ||
991 | "node_modules/keyv": { | 1056 | "node_modules/keyv": { |
992 | "version": "3.1.0", | 1057 | "version": "3.1.0", |
993 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", | 1058 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", |
... | @@ -1062,6 +1127,12 @@ | ... | @@ -1062,6 +1127,12 @@ |
1062 | "node": ">= 0.6" | 1127 | "node": ">= 0.6" |
1063 | } | 1128 | } |
1064 | }, | 1129 | }, |
1130 | + "node_modules/memory-pager": { | ||
1131 | + "version": "1.5.0", | ||
1132 | + "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", | ||
1133 | + "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", | ||
1134 | + "optional": true | ||
1135 | + }, | ||
1065 | "node_modules/merge-descriptors": { | 1136 | "node_modules/merge-descriptors": { |
1066 | "version": "1.0.1", | 1137 | "version": "1.0.1", |
1067 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", | 1138 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", |
... | @@ -1132,11 +1203,105 @@ | ... | @@ -1132,11 +1203,105 @@ |
1132 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", | 1203 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", |
1133 | "dev": true | 1204 | "dev": true |
1134 | }, | 1205 | }, |
1206 | + "node_modules/mongodb": { | ||
1207 | + "version": "4.1.3", | ||
1208 | + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.1.3.tgz", | ||
1209 | + "integrity": "sha512-lHvTqODBiSpuqjpCj48DOyYWS6Iq6ElJNUiH9HWdQtONyOfjgsKzJULipWduMGsSzaNO4nFi/kmlMFCLvjox/Q==", | ||
1210 | + "dependencies": { | ||
1211 | + "bson": "^4.5.2", | ||
1212 | + "denque": "^2.0.1", | ||
1213 | + "mongodb-connection-string-url": "^2.0.0" | ||
1214 | + }, | ||
1215 | + "engines": { | ||
1216 | + "node": ">=12.9.0" | ||
1217 | + }, | ||
1218 | + "optionalDependencies": { | ||
1219 | + "saslprep": "^1.0.3" | ||
1220 | + } | ||
1221 | + }, | ||
1222 | + "node_modules/mongodb-connection-string-url": { | ||
1223 | + "version": "2.1.0", | ||
1224 | + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-2.1.0.tgz", | ||
1225 | + "integrity": "sha512-Qf9Zw7KGiRljWvMrrUFDdVqo46KIEiDuCzvEN97rh/PcKzk2bd6n9KuzEwBwW9xo5glwx69y1mI6s+jFUD/aIQ==", | ||
1226 | + "dependencies": { | ||
1227 | + "@types/whatwg-url": "^8.2.1", | ||
1228 | + "whatwg-url": "^9.1.0" | ||
1229 | + } | ||
1230 | + }, | ||
1231 | + "node_modules/mongoose": { | ||
1232 | + "version": "6.0.12", | ||
1233 | + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.0.12.tgz", | ||
1234 | + "integrity": "sha512-BvsZk7zEEhb1AgQFLtxN9C+7qgy5edRuA3ZDDwHU+kHG/HM44vI6FdKV5m6HVdAUeCHHQTiVv+YQh8BRsToSHw==", | ||
1235 | + "dependencies": { | ||
1236 | + "bson": "^4.2.2", | ||
1237 | + "kareem": "2.3.2", | ||
1238 | + "mongodb": "4.1.3", | ||
1239 | + "mpath": "0.8.4", | ||
1240 | + "mquery": "4.0.0", | ||
1241 | + "ms": "2.1.2", | ||
1242 | + "regexp-clone": "1.0.0", | ||
1243 | + "sift": "13.5.2", | ||
1244 | + "sliced": "1.0.1" | ||
1245 | + }, | ||
1246 | + "engines": { | ||
1247 | + "node": ">=12.0.0" | ||
1248 | + }, | ||
1249 | + "funding": { | ||
1250 | + "type": "opencollective", | ||
1251 | + "url": "https://opencollective.com/mongoose" | ||
1252 | + } | ||
1253 | + }, | ||
1254 | + "node_modules/mongoose/node_modules/ms": { | ||
1255 | + "version": "2.1.2", | ||
1256 | + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", | ||
1257 | + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" | ||
1258 | + }, | ||
1259 | + "node_modules/mpath": { | ||
1260 | + "version": "0.8.4", | ||
1261 | + "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.8.4.tgz", | ||
1262 | + "integrity": "sha512-DTxNZomBcTWlrMW76jy1wvV37X/cNNxPW1y2Jzd4DZkAaC5ZGsm8bfGfNOthcDuRJujXLqiuS6o3Tpy0JEoh7g==", | ||
1263 | + "engines": { | ||
1264 | + "node": ">=4.0.0" | ||
1265 | + } | ||
1266 | + }, | ||
1267 | + "node_modules/mquery": { | ||
1268 | + "version": "4.0.0", | ||
1269 | + "resolved": "https://registry.npmjs.org/mquery/-/mquery-4.0.0.tgz", | ||
1270 | + "integrity": "sha512-nGjm89lHja+T/b8cybAby6H0YgA4qYC/lx6UlwvHGqvTq8bDaNeCwl1sY8uRELrNbVWJzIihxVd+vphGGn1vBw==", | ||
1271 | + "dependencies": { | ||
1272 | + "debug": "4.x", | ||
1273 | + "regexp-clone": "^1.0.0", | ||
1274 | + "sliced": "1.0.1" | ||
1275 | + }, | ||
1276 | + "engines": { | ||
1277 | + "node": ">=12.0.0" | ||
1278 | + } | ||
1279 | + }, | ||
1280 | + "node_modules/mquery/node_modules/debug": { | ||
1281 | + "version": "4.3.2", | ||
1282 | + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", | ||
1283 | + "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", | ||
1284 | + "dependencies": { | ||
1285 | + "ms": "2.1.2" | ||
1286 | + }, | ||
1287 | + "engines": { | ||
1288 | + "node": ">=6.0" | ||
1289 | + }, | ||
1290 | + "peerDependenciesMeta": { | ||
1291 | + "supports-color": { | ||
1292 | + "optional": true | ||
1293 | + } | ||
1294 | + } | ||
1295 | + }, | ||
1296 | + "node_modules/mquery/node_modules/ms": { | ||
1297 | + "version": "2.1.2", | ||
1298 | + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", | ||
1299 | + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" | ||
1300 | + }, | ||
1135 | "node_modules/ms": { | 1301 | "node_modules/ms": { |
1136 | - "version": "2.1.3", | 1302 | + "version": "2.0.0", |
1137 | - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", | 1303 | + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", |
1138 | - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", | 1304 | + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" |
1139 | - "dev": true | ||
1140 | }, | 1305 | }, |
1141 | "node_modules/negotiator": { | 1306 | "node_modules/negotiator": { |
1142 | "version": "0.6.2", | 1307 | "version": "0.6.2", |
... | @@ -1191,6 +1356,21 @@ | ... | @@ -1191,6 +1356,21 @@ |
1191 | "url": "https://opencollective.com/nodemon" | 1356 | "url": "https://opencollective.com/nodemon" |
1192 | } | 1357 | } |
1193 | }, | 1358 | }, |
1359 | + "node_modules/nodemon/node_modules/debug": { | ||
1360 | + "version": "3.2.7", | ||
1361 | + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", | ||
1362 | + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", | ||
1363 | + "dev": true, | ||
1364 | + "dependencies": { | ||
1365 | + "ms": "^2.1.1" | ||
1366 | + } | ||
1367 | + }, | ||
1368 | + "node_modules/nodemon/node_modules/ms": { | ||
1369 | + "version": "2.1.3", | ||
1370 | + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", | ||
1371 | + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", | ||
1372 | + "dev": true | ||
1373 | + }, | ||
1194 | "node_modules/nopt": { | 1374 | "node_modules/nopt": { |
1195 | "version": "1.0.10", | 1375 | "version": "1.0.10", |
1196 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", | 1376 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", |
... | @@ -1339,6 +1519,14 @@ | ... | @@ -1339,6 +1519,14 @@ |
1339 | "once": "^1.3.1" | 1519 | "once": "^1.3.1" |
1340 | } | 1520 | } |
1341 | }, | 1521 | }, |
1522 | + "node_modules/punycode": { | ||
1523 | + "version": "2.1.1", | ||
1524 | + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", | ||
1525 | + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", | ||
1526 | + "engines": { | ||
1527 | + "node": ">=6" | ||
1528 | + } | ||
1529 | + }, | ||
1342 | "node_modules/pupa": { | 1530 | "node_modules/pupa": { |
1343 | "version": "2.1.1", | 1531 | "version": "2.1.1", |
1344 | "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", | 1532 | "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", |
... | @@ -1414,6 +1602,11 @@ | ... | @@ -1414,6 +1602,11 @@ |
1414 | "node": ">=8.10.0" | 1602 | "node": ">=8.10.0" |
1415 | } | 1603 | } |
1416 | }, | 1604 | }, |
1605 | + "node_modules/regexp-clone": { | ||
1606 | + "version": "1.0.0", | ||
1607 | + "resolved": "https://registry.npmjs.org/regexp-clone/-/regexp-clone-1.0.0.tgz", | ||
1608 | + "integrity": "sha512-TuAasHQNamyyJ2hb97IuBEif4qBHGjPHBS64sZwytpLEqtBQ1gPJTnOaQ6qmpET16cK14kkjbazl6+p0RRv0yw==" | ||
1609 | + }, | ||
1417 | "node_modules/registry-auth-token": { | 1610 | "node_modules/registry-auth-token": { |
1418 | "version": "4.2.1", | 1611 | "version": "4.2.1", |
1419 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", | 1612 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", |
... | @@ -1457,6 +1650,18 @@ | ... | @@ -1457,6 +1650,18 @@ |
1457 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", | 1650 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", |
1458 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" | 1651 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" |
1459 | }, | 1652 | }, |
1653 | + "node_modules/saslprep": { | ||
1654 | + "version": "1.0.3", | ||
1655 | + "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", | ||
1656 | + "integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==", | ||
1657 | + "optional": true, | ||
1658 | + "dependencies": { | ||
1659 | + "sparse-bitfield": "^3.0.3" | ||
1660 | + }, | ||
1661 | + "engines": { | ||
1662 | + "node": ">=6" | ||
1663 | + } | ||
1664 | + }, | ||
1460 | "node_modules/semver": { | 1665 | "node_modules/semver": { |
1461 | "version": "5.7.1", | 1666 | "version": "5.7.1", |
1462 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", | 1667 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", |
... | @@ -1510,19 +1715,6 @@ | ... | @@ -1510,19 +1715,6 @@ |
1510 | "node": ">= 0.8.0" | 1715 | "node": ">= 0.8.0" |
1511 | } | 1716 | } |
1512 | }, | 1717 | }, |
1513 | - "node_modules/send/node_modules/debug": { | ||
1514 | - "version": "2.6.9", | ||
1515 | - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", | ||
1516 | - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", | ||
1517 | - "dependencies": { | ||
1518 | - "ms": "2.0.0" | ||
1519 | - } | ||
1520 | - }, | ||
1521 | - "node_modules/send/node_modules/debug/node_modules/ms": { | ||
1522 | - "version": "2.0.0", | ||
1523 | - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
1524 | - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
1525 | - }, | ||
1526 | "node_modules/send/node_modules/ms": { | 1718 | "node_modules/send/node_modules/ms": { |
1527 | "version": "2.1.1", | 1719 | "version": "2.1.1", |
1528 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", | 1720 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", |
... | @@ -1547,12 +1739,31 @@ | ... | @@ -1547,12 +1739,31 @@ |
1547 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", | 1739 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", |
1548 | "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" | 1740 | "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" |
1549 | }, | 1741 | }, |
1742 | + "node_modules/sift": { | ||
1743 | + "version": "13.5.2", | ||
1744 | + "resolved": "https://registry.npmjs.org/sift/-/sift-13.5.2.tgz", | ||
1745 | + "integrity": "sha512-+gxdEOMA2J+AI+fVsCqeNn7Tgx3M9ZN9jdi95939l1IJ8cZsqS8sqpJyOkic2SJk+1+98Uwryt/gL6XDaV+UZA==" | ||
1746 | + }, | ||
1550 | "node_modules/signal-exit": { | 1747 | "node_modules/signal-exit": { |
1551 | "version": "3.0.5", | 1748 | "version": "3.0.5", |
1552 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", | 1749 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", |
1553 | "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==", | 1750 | "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==", |
1554 | "dev": true | 1751 | "dev": true |
1555 | }, | 1752 | }, |
1753 | + "node_modules/sliced": { | ||
1754 | + "version": "1.0.1", | ||
1755 | + "resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz", | ||
1756 | + "integrity": "sha1-CzpmK10Ewxd7GSa+qCsD+Dei70E=" | ||
1757 | + }, | ||
1758 | + "node_modules/sparse-bitfield": { | ||
1759 | + "version": "3.0.3", | ||
1760 | + "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", | ||
1761 | + "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=", | ||
1762 | + "optional": true, | ||
1763 | + "dependencies": { | ||
1764 | + "memory-pager": "^1.0.2" | ||
1765 | + } | ||
1766 | + }, | ||
1556 | "node_modules/statuses": { | 1767 | "node_modules/statuses": { |
1557 | "version": "1.5.0", | 1768 | "version": "1.5.0", |
1558 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", | 1769 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", |
... | @@ -1649,6 +1860,17 @@ | ... | @@ -1649,6 +1860,17 @@ |
1649 | "nodetouch": "bin/nodetouch.js" | 1860 | "nodetouch": "bin/nodetouch.js" |
1650 | } | 1861 | } |
1651 | }, | 1862 | }, |
1863 | + "node_modules/tr46": { | ||
1864 | + "version": "2.1.0", | ||
1865 | + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", | ||
1866 | + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", | ||
1867 | + "dependencies": { | ||
1868 | + "punycode": "^2.1.1" | ||
1869 | + }, | ||
1870 | + "engines": { | ||
1871 | + "node": ">=8" | ||
1872 | + } | ||
1873 | + }, | ||
1652 | "node_modules/type-fest": { | 1874 | "node_modules/type-fest": { |
1653 | "version": "0.20.2", | 1875 | "version": "0.20.2", |
1654 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", | 1876 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", |
... | @@ -1787,6 +2009,26 @@ | ... | @@ -1787,6 +2009,26 @@ |
1787 | "node": ">= 8" | 2009 | "node": ">= 8" |
1788 | } | 2010 | } |
1789 | }, | 2011 | }, |
2012 | + "node_modules/webidl-conversions": { | ||
2013 | + "version": "6.1.0", | ||
2014 | + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", | ||
2015 | + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", | ||
2016 | + "engines": { | ||
2017 | + "node": ">=10.4" | ||
2018 | + } | ||
2019 | + }, | ||
2020 | + "node_modules/whatwg-url": { | ||
2021 | + "version": "9.1.0", | ||
2022 | + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-9.1.0.tgz", | ||
2023 | + "integrity": "sha512-CQ0UcrPHyomtlOCot1TL77WyMIm/bCwrJ2D6AOKGwEczU9EpyoqAokfqrf/MioU9kHcMsmJZcg1egXix2KYEsA==", | ||
2024 | + "dependencies": { | ||
2025 | + "tr46": "^2.1.0", | ||
2026 | + "webidl-conversions": "^6.1.0" | ||
2027 | + }, | ||
2028 | + "engines": { | ||
2029 | + "node": ">=12" | ||
2030 | + } | ||
2031 | + }, | ||
1790 | "node_modules/widest-line": { | 2032 | "node_modules/widest-line": { |
1791 | "version": "3.1.0", | 2033 | "version": "3.1.0", |
1792 | "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", | 2034 | "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", |
... | @@ -1866,6 +2108,25 @@ | ... | @@ -1866,6 +2108,25 @@ |
1866 | "defer-to-connect": "^1.0.1" | 2108 | "defer-to-connect": "^1.0.1" |
1867 | } | 2109 | } |
1868 | }, | 2110 | }, |
2111 | + "@types/node": { | ||
2112 | + "version": "16.11.6", | ||
2113 | + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.6.tgz", | ||
2114 | + "integrity": "sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w==" | ||
2115 | + }, | ||
2116 | + "@types/webidl-conversions": { | ||
2117 | + "version": "6.1.1", | ||
2118 | + "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-6.1.1.tgz", | ||
2119 | + "integrity": "sha512-XAahCdThVuCFDQLT7R7Pk/vqeObFNL3YqRyFZg+AqAP/W1/w3xHaIxuW7WszQqTbIBOPRcItYJIou3i/mppu3Q==" | ||
2120 | + }, | ||
2121 | + "@types/whatwg-url": { | ||
2122 | + "version": "8.2.1", | ||
2123 | + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-8.2.1.tgz", | ||
2124 | + "integrity": "sha512-2YubE1sjj5ifxievI5Ge1sckb9k/Er66HyR2c+3+I6VDUUg1TLPdYYTEbQ+DjRkS4nTxMJhgWfSfMRD2sl2EYQ==", | ||
2125 | + "requires": { | ||
2126 | + "@types/node": "*", | ||
2127 | + "@types/webidl-conversions": "*" | ||
2128 | + } | ||
2129 | + }, | ||
1869 | "abbrev": { | 2130 | "abbrev": { |
1870 | "version": "1.1.1", | 2131 | "version": "1.1.1", |
1871 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", | 2132 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", |
... | @@ -1926,6 +2187,11 @@ | ... | @@ -1926,6 +2187,11 @@ |
1926 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", | 2187 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", |
1927 | "dev": true | 2188 | "dev": true |
1928 | }, | 2189 | }, |
2190 | + "base64-js": { | ||
2191 | + "version": "1.5.1", | ||
2192 | + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", | ||
2193 | + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" | ||
2194 | + }, | ||
1929 | "binary-extensions": { | 2195 | "binary-extensions": { |
1930 | "version": "2.2.0", | 2196 | "version": "2.2.0", |
1931 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", | 2197 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", |
... | @@ -1947,21 +2213,6 @@ | ... | @@ -1947,21 +2213,6 @@ |
1947 | "qs": "6.7.0", | 2213 | "qs": "6.7.0", |
1948 | "raw-body": "2.4.0", | 2214 | "raw-body": "2.4.0", |
1949 | "type-is": "~1.6.17" | 2215 | "type-is": "~1.6.17" |
1950 | - }, | ||
1951 | - "dependencies": { | ||
1952 | - "debug": { | ||
1953 | - "version": "2.6.9", | ||
1954 | - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", | ||
1955 | - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", | ||
1956 | - "requires": { | ||
1957 | - "ms": "2.0.0" | ||
1958 | - } | ||
1959 | - }, | ||
1960 | - "ms": { | ||
1961 | - "version": "2.0.0", | ||
1962 | - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
1963 | - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
1964 | - } | ||
1965 | } | 2216 | } |
1966 | }, | 2217 | }, |
1967 | "boxen": { | 2218 | "boxen": { |
... | @@ -1999,6 +2250,23 @@ | ... | @@ -1999,6 +2250,23 @@ |
1999 | "fill-range": "^7.0.1" | 2250 | "fill-range": "^7.0.1" |
2000 | } | 2251 | } |
2001 | }, | 2252 | }, |
2253 | + "bson": { | ||
2254 | + "version": "4.5.4", | ||
2255 | + "resolved": "https://registry.npmjs.org/bson/-/bson-4.5.4.tgz", | ||
2256 | + "integrity": "sha512-wIt0bPACnx8Ju9r6IsS2wVtGDHBr9Dxb+U29A1YED2pu8XOhS8aKjOnLZ8sxyXkPwanoK7iWWVhS1+coxde6xA==", | ||
2257 | + "requires": { | ||
2258 | + "buffer": "^5.6.0" | ||
2259 | + } | ||
2260 | + }, | ||
2261 | + "buffer": { | ||
2262 | + "version": "5.7.1", | ||
2263 | + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", | ||
2264 | + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", | ||
2265 | + "requires": { | ||
2266 | + "base64-js": "^1.3.1", | ||
2267 | + "ieee754": "^1.1.13" | ||
2268 | + } | ||
2269 | + }, | ||
2002 | "bytes": { | 2270 | "bytes": { |
2003 | "version": "3.1.0", | 2271 | "version": "3.1.0", |
2004 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", | 2272 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", |
... | @@ -2176,12 +2444,11 @@ | ... | @@ -2176,12 +2444,11 @@ |
2176 | "integrity": "sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==" | 2444 | "integrity": "sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==" |
2177 | }, | 2445 | }, |
2178 | "debug": { | 2446 | "debug": { |
2179 | - "version": "3.2.7", | 2447 | + "version": "2.6.9", |
2180 | - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", | 2448 | + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", |
2181 | - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", | 2449 | + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", |
2182 | - "dev": true, | ||
2183 | "requires": { | 2450 | "requires": { |
2184 | - "ms": "^2.1.1" | 2451 | + "ms": "2.0.0" |
2185 | } | 2452 | } |
2186 | }, | 2453 | }, |
2187 | "decompress-response": { | 2454 | "decompress-response": { |
... | @@ -2205,6 +2472,11 @@ | ... | @@ -2205,6 +2472,11 @@ |
2205 | "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", | 2472 | "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", |
2206 | "dev": true | 2473 | "dev": true |
2207 | }, | 2474 | }, |
2475 | + "denque": { | ||
2476 | + "version": "2.0.1", | ||
2477 | + "resolved": "https://registry.npmjs.org/denque/-/denque-2.0.1.tgz", | ||
2478 | + "integrity": "sha512-tfiWc6BQLXNLpNiR5iGd0Ocu3P3VpxfzFiqubLgMfhfOw9WyvgJBd46CClNn9k3qfbjvT//0cf7AlYRX/OslMQ==" | ||
2479 | + }, | ||
2208 | "depd": { | 2480 | "depd": { |
2209 | "version": "1.1.2", | 2481 | "version": "1.1.2", |
2210 | "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", | 2482 | "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", |
... | @@ -2306,21 +2578,6 @@ | ... | @@ -2306,21 +2578,6 @@ |
2306 | "type-is": "~1.6.18", | 2578 | "type-is": "~1.6.18", |
2307 | "utils-merge": "1.0.1", | 2579 | "utils-merge": "1.0.1", |
2308 | "vary": "~1.1.2" | 2580 | "vary": "~1.1.2" |
2309 | - }, | ||
2310 | - "dependencies": { | ||
2311 | - "debug": { | ||
2312 | - "version": "2.6.9", | ||
2313 | - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", | ||
2314 | - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", | ||
2315 | - "requires": { | ||
2316 | - "ms": "2.0.0" | ||
2317 | - } | ||
2318 | - }, | ||
2319 | - "ms": { | ||
2320 | - "version": "2.0.0", | ||
2321 | - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
2322 | - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
2323 | - } | ||
2324 | } | 2581 | } |
2325 | }, | 2582 | }, |
2326 | "fetch-blob": { | 2583 | "fetch-blob": { |
... | @@ -2352,21 +2609,6 @@ | ... | @@ -2352,21 +2609,6 @@ |
2352 | "parseurl": "~1.3.3", | 2609 | "parseurl": "~1.3.3", |
2353 | "statuses": "~1.5.0", | 2610 | "statuses": "~1.5.0", |
2354 | "unpipe": "~1.0.0" | 2611 | "unpipe": "~1.0.0" |
2355 | - }, | ||
2356 | - "dependencies": { | ||
2357 | - "debug": { | ||
2358 | - "version": "2.6.9", | ||
2359 | - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", | ||
2360 | - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", | ||
2361 | - "requires": { | ||
2362 | - "ms": "2.0.0" | ||
2363 | - } | ||
2364 | - }, | ||
2365 | - "ms": { | ||
2366 | - "version": "2.0.0", | ||
2367 | - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
2368 | - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
2369 | - } | ||
2370 | } | 2612 | } |
2371 | }, | 2613 | }, |
2372 | "forwarded": { | 2614 | "forwarded": { |
... | @@ -2476,6 +2718,11 @@ | ... | @@ -2476,6 +2718,11 @@ |
2476 | "safer-buffer": ">= 2.1.2 < 3" | 2718 | "safer-buffer": ">= 2.1.2 < 3" |
2477 | } | 2719 | } |
2478 | }, | 2720 | }, |
2721 | + "ieee754": { | ||
2722 | + "version": "1.2.1", | ||
2723 | + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", | ||
2724 | + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" | ||
2725 | + }, | ||
2479 | "ignore-by-default": { | 2726 | "ignore-by-default": { |
2480 | "version": "1.0.1", | 2727 | "version": "1.0.1", |
2481 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", | 2728 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", |
... | @@ -2601,6 +2848,11 @@ | ... | @@ -2601,6 +2848,11 @@ |
2601 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", | 2848 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", |
2602 | "dev": true | 2849 | "dev": true |
2603 | }, | 2850 | }, |
2851 | + "kareem": { | ||
2852 | + "version": "2.3.2", | ||
2853 | + "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.3.2.tgz", | ||
2854 | + "integrity": "sha512-STHz9P7X2L4Kwn72fA4rGyqyXdmrMSdxqHx9IXon/FXluXieaFA6KJ2upcHAHxQPQ0LeM/OjLrhFxifHewOALQ==" | ||
2855 | + }, | ||
2604 | "keyv": { | 2856 | "keyv": { |
2605 | "version": "3.1.0", | 2857 | "version": "3.1.0", |
2606 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", | 2858 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", |
... | @@ -2656,6 +2908,12 @@ | ... | @@ -2656,6 +2908,12 @@ |
2656 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", | 2908 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", |
2657 | "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" | 2909 | "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" |
2658 | }, | 2910 | }, |
2911 | + "memory-pager": { | ||
2912 | + "version": "1.5.0", | ||
2913 | + "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", | ||
2914 | + "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", | ||
2915 | + "optional": true | ||
2916 | + }, | ||
2659 | "merge-descriptors": { | 2917 | "merge-descriptors": { |
2660 | "version": "1.0.1", | 2918 | "version": "1.0.1", |
2661 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", | 2919 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", |
... | @@ -2705,11 +2963,83 @@ | ... | @@ -2705,11 +2963,83 @@ |
2705 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", | 2963 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", |
2706 | "dev": true | 2964 | "dev": true |
2707 | }, | 2965 | }, |
2966 | + "mongodb": { | ||
2967 | + "version": "4.1.3", | ||
2968 | + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.1.3.tgz", | ||
2969 | + "integrity": "sha512-lHvTqODBiSpuqjpCj48DOyYWS6Iq6ElJNUiH9HWdQtONyOfjgsKzJULipWduMGsSzaNO4nFi/kmlMFCLvjox/Q==", | ||
2970 | + "requires": { | ||
2971 | + "bson": "^4.5.2", | ||
2972 | + "denque": "^2.0.1", | ||
2973 | + "mongodb-connection-string-url": "^2.0.0", | ||
2974 | + "saslprep": "^1.0.3" | ||
2975 | + } | ||
2976 | + }, | ||
2977 | + "mongodb-connection-string-url": { | ||
2978 | + "version": "2.1.0", | ||
2979 | + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-2.1.0.tgz", | ||
2980 | + "integrity": "sha512-Qf9Zw7KGiRljWvMrrUFDdVqo46KIEiDuCzvEN97rh/PcKzk2bd6n9KuzEwBwW9xo5glwx69y1mI6s+jFUD/aIQ==", | ||
2981 | + "requires": { | ||
2982 | + "@types/whatwg-url": "^8.2.1", | ||
2983 | + "whatwg-url": "^9.1.0" | ||
2984 | + } | ||
2985 | + }, | ||
2986 | + "mongoose": { | ||
2987 | + "version": "6.0.12", | ||
2988 | + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.0.12.tgz", | ||
2989 | + "integrity": "sha512-BvsZk7zEEhb1AgQFLtxN9C+7qgy5edRuA3ZDDwHU+kHG/HM44vI6FdKV5m6HVdAUeCHHQTiVv+YQh8BRsToSHw==", | ||
2990 | + "requires": { | ||
2991 | + "bson": "^4.2.2", | ||
2992 | + "kareem": "2.3.2", | ||
2993 | + "mongodb": "4.1.3", | ||
2994 | + "mpath": "0.8.4", | ||
2995 | + "mquery": "4.0.0", | ||
2996 | + "ms": "2.1.2", | ||
2997 | + "regexp-clone": "1.0.0", | ||
2998 | + "sift": "13.5.2", | ||
2999 | + "sliced": "1.0.1" | ||
3000 | + }, | ||
3001 | + "dependencies": { | ||
2708 | "ms": { | 3002 | "ms": { |
2709 | - "version": "2.1.3", | 3003 | + "version": "2.1.2", |
2710 | - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", | 3004 | + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", |
2711 | - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", | 3005 | + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" |
2712 | - "dev": true | 3006 | + } |
3007 | + } | ||
3008 | + }, | ||
3009 | + "mpath": { | ||
3010 | + "version": "0.8.4", | ||
3011 | + "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.8.4.tgz", | ||
3012 | + "integrity": "sha512-DTxNZomBcTWlrMW76jy1wvV37X/cNNxPW1y2Jzd4DZkAaC5ZGsm8bfGfNOthcDuRJujXLqiuS6o3Tpy0JEoh7g==" | ||
3013 | + }, | ||
3014 | + "mquery": { | ||
3015 | + "version": "4.0.0", | ||
3016 | + "resolved": "https://registry.npmjs.org/mquery/-/mquery-4.0.0.tgz", | ||
3017 | + "integrity": "sha512-nGjm89lHja+T/b8cybAby6H0YgA4qYC/lx6UlwvHGqvTq8bDaNeCwl1sY8uRELrNbVWJzIihxVd+vphGGn1vBw==", | ||
3018 | + "requires": { | ||
3019 | + "debug": "4.x", | ||
3020 | + "regexp-clone": "^1.0.0", | ||
3021 | + "sliced": "1.0.1" | ||
3022 | + }, | ||
3023 | + "dependencies": { | ||
3024 | + "debug": { | ||
3025 | + "version": "4.3.2", | ||
3026 | + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", | ||
3027 | + "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", | ||
3028 | + "requires": { | ||
3029 | + "ms": "2.1.2" | ||
3030 | + } | ||
3031 | + }, | ||
3032 | + "ms": { | ||
3033 | + "version": "2.1.2", | ||
3034 | + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", | ||
3035 | + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" | ||
3036 | + } | ||
3037 | + } | ||
3038 | + }, | ||
3039 | + "ms": { | ||
3040 | + "version": "2.0.0", | ||
3041 | + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
3042 | + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
2713 | }, | 3043 | }, |
2714 | "negotiator": { | 3044 | "negotiator": { |
2715 | "version": "0.6.2", | 3045 | "version": "0.6.2", |
... | @@ -2741,6 +3071,23 @@ | ... | @@ -2741,6 +3071,23 @@ |
2741 | "touch": "^3.1.0", | 3071 | "touch": "^3.1.0", |
2742 | "undefsafe": "^2.0.3", | 3072 | "undefsafe": "^2.0.3", |
2743 | "update-notifier": "^5.1.0" | 3073 | "update-notifier": "^5.1.0" |
3074 | + }, | ||
3075 | + "dependencies": { | ||
3076 | + "debug": { | ||
3077 | + "version": "3.2.7", | ||
3078 | + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", | ||
3079 | + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", | ||
3080 | + "dev": true, | ||
3081 | + "requires": { | ||
3082 | + "ms": "^2.1.1" | ||
3083 | + } | ||
3084 | + }, | ||
3085 | + "ms": { | ||
3086 | + "version": "2.1.3", | ||
3087 | + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", | ||
3088 | + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", | ||
3089 | + "dev": true | ||
3090 | + } | ||
2744 | } | 3091 | } |
2745 | }, | 3092 | }, |
2746 | "nopt": { | 3093 | "nopt": { |
... | @@ -2854,6 +3201,11 @@ | ... | @@ -2854,6 +3201,11 @@ |
2854 | "once": "^1.3.1" | 3201 | "once": "^1.3.1" |
2855 | } | 3202 | } |
2856 | }, | 3203 | }, |
3204 | + "punycode": { | ||
3205 | + "version": "2.1.1", | ||
3206 | + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", | ||
3207 | + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" | ||
3208 | + }, | ||
2857 | "pupa": { | 3209 | "pupa": { |
2858 | "version": "2.1.1", | 3210 | "version": "2.1.1", |
2859 | "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", | 3211 | "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", |
... | @@ -2913,6 +3265,11 @@ | ... | @@ -2913,6 +3265,11 @@ |
2913 | "picomatch": "^2.2.1" | 3265 | "picomatch": "^2.2.1" |
2914 | } | 3266 | } |
2915 | }, | 3267 | }, |
3268 | + "regexp-clone": { | ||
3269 | + "version": "1.0.0", | ||
3270 | + "resolved": "https://registry.npmjs.org/regexp-clone/-/regexp-clone-1.0.0.tgz", | ||
3271 | + "integrity": "sha512-TuAasHQNamyyJ2hb97IuBEif4qBHGjPHBS64sZwytpLEqtBQ1gPJTnOaQ6qmpET16cK14kkjbazl6+p0RRv0yw==" | ||
3272 | + }, | ||
2916 | "registry-auth-token": { | 3273 | "registry-auth-token": { |
2917 | "version": "4.2.1", | 3274 | "version": "4.2.1", |
2918 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", | 3275 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", |
... | @@ -2950,6 +3307,15 @@ | ... | @@ -2950,6 +3307,15 @@ |
2950 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", | 3307 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", |
2951 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" | 3308 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" |
2952 | }, | 3309 | }, |
3310 | + "saslprep": { | ||
3311 | + "version": "1.0.3", | ||
3312 | + "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", | ||
3313 | + "integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==", | ||
3314 | + "optional": true, | ||
3315 | + "requires": { | ||
3316 | + "sparse-bitfield": "^3.0.3" | ||
3317 | + } | ||
3318 | + }, | ||
2953 | "semver": { | 3319 | "semver": { |
2954 | "version": "5.7.1", | 3320 | "version": "5.7.1", |
2955 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", | 3321 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", |
... | @@ -2993,21 +3359,6 @@ | ... | @@ -2993,21 +3359,6 @@ |
2993 | "statuses": "~1.5.0" | 3359 | "statuses": "~1.5.0" |
2994 | }, | 3360 | }, |
2995 | "dependencies": { | 3361 | "dependencies": { |
2996 | - "debug": { | ||
2997 | - "version": "2.6.9", | ||
2998 | - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", | ||
2999 | - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", | ||
3000 | - "requires": { | ||
3001 | - "ms": "2.0.0" | ||
3002 | - }, | ||
3003 | - "dependencies": { | ||
3004 | - "ms": { | ||
3005 | - "version": "2.0.0", | ||
3006 | - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
3007 | - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
3008 | - } | ||
3009 | - } | ||
3010 | - }, | ||
3011 | "ms": { | 3362 | "ms": { |
3012 | "version": "2.1.1", | 3363 | "version": "2.1.1", |
3013 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", | 3364 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", |
... | @@ -3031,12 +3382,31 @@ | ... | @@ -3031,12 +3382,31 @@ |
3031 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", | 3382 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", |
3032 | "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" | 3383 | "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" |
3033 | }, | 3384 | }, |
3385 | + "sift": { | ||
3386 | + "version": "13.5.2", | ||
3387 | + "resolved": "https://registry.npmjs.org/sift/-/sift-13.5.2.tgz", | ||
3388 | + "integrity": "sha512-+gxdEOMA2J+AI+fVsCqeNn7Tgx3M9ZN9jdi95939l1IJ8cZsqS8sqpJyOkic2SJk+1+98Uwryt/gL6XDaV+UZA==" | ||
3389 | + }, | ||
3034 | "signal-exit": { | 3390 | "signal-exit": { |
3035 | "version": "3.0.5", | 3391 | "version": "3.0.5", |
3036 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", | 3392 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", |
3037 | "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==", | 3393 | "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==", |
3038 | "dev": true | 3394 | "dev": true |
3039 | }, | 3395 | }, |
3396 | + "sliced": { | ||
3397 | + "version": "1.0.1", | ||
3398 | + "resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz", | ||
3399 | + "integrity": "sha1-CzpmK10Ewxd7GSa+qCsD+Dei70E=" | ||
3400 | + }, | ||
3401 | + "sparse-bitfield": { | ||
3402 | + "version": "3.0.3", | ||
3403 | + "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", | ||
3404 | + "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=", | ||
3405 | + "optional": true, | ||
3406 | + "requires": { | ||
3407 | + "memory-pager": "^1.0.2" | ||
3408 | + } | ||
3409 | + }, | ||
3040 | "statuses": { | 3410 | "statuses": { |
3041 | "version": "1.5.0", | 3411 | "version": "1.5.0", |
3042 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", | 3412 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", |
... | @@ -3106,6 +3476,14 @@ | ... | @@ -3106,6 +3476,14 @@ |
3106 | "nopt": "~1.0.10" | 3476 | "nopt": "~1.0.10" |
3107 | } | 3477 | } |
3108 | }, | 3478 | }, |
3479 | + "tr46": { | ||
3480 | + "version": "2.1.0", | ||
3481 | + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", | ||
3482 | + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", | ||
3483 | + "requires": { | ||
3484 | + "punycode": "^2.1.1" | ||
3485 | + } | ||
3486 | + }, | ||
3109 | "type-fest": { | 3487 | "type-fest": { |
3110 | "version": "0.20.2", | 3488 | "version": "0.20.2", |
3111 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", | 3489 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", |
... | @@ -3207,6 +3585,20 @@ | ... | @@ -3207,6 +3585,20 @@ |
3207 | "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.1.1.tgz", | 3585 | "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.1.1.tgz", |
3208 | "integrity": "sha512-Czi3fG883e96T4DLEPRvufrF2ydhOOW1+1a6c3gNjH2aIh50DNFBdfwh2AKoOf1rXvpvavAoA11Qdq9+BKjE0Q==" | 3586 | "integrity": "sha512-Czi3fG883e96T4DLEPRvufrF2ydhOOW1+1a6c3gNjH2aIh50DNFBdfwh2AKoOf1rXvpvavAoA11Qdq9+BKjE0Q==" |
3209 | }, | 3587 | }, |
3588 | + "webidl-conversions": { | ||
3589 | + "version": "6.1.0", | ||
3590 | + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", | ||
3591 | + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==" | ||
3592 | + }, | ||
3593 | + "whatwg-url": { | ||
3594 | + "version": "9.1.0", | ||
3595 | + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-9.1.0.tgz", | ||
3596 | + "integrity": "sha512-CQ0UcrPHyomtlOCot1TL77WyMIm/bCwrJ2D6AOKGwEczU9EpyoqAokfqrf/MioU9kHcMsmJZcg1egXix2KYEsA==", | ||
3597 | + "requires": { | ||
3598 | + "tr46": "^2.1.0", | ||
3599 | + "webidl-conversions": "^6.1.0" | ||
3600 | + } | ||
3601 | + }, | ||
3210 | "widest-line": { | 3602 | "widest-line": { |
3211 | "version": "3.1.0", | 3603 | "version": "3.1.0", |
3212 | "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", | 3604 | "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", | ... | ... |
... | @@ -4,7 +4,8 @@ | ... | @@ -4,7 +4,8 @@ |
4 | "description": "", | 4 | "description": "", |
5 | "main": "index.js", | 5 | "main": "index.js", |
6 | "scripts": { | 6 | "scripts": { |
7 | - "test": "echo \"Error: no test specified\" && exit 1" | 7 | + "test": "echo \"Error: no test specified\" && exit 1", |
8 | + "start":"node index.js" | ||
8 | }, | 9 | }, |
9 | "repository": { | 10 | "repository": { |
10 | "type": "git", | 11 | "type": "git", |
... | @@ -14,6 +15,7 @@ | ... | @@ -14,6 +15,7 @@ |
14 | "license": "ISC", | 15 | "license": "ISC", |
15 | "dependencies": { | 16 | "dependencies": { |
16 | "express": "^4.17.1", | 17 | "express": "^4.17.1", |
18 | + "mongoose": "^6.0.12", | ||
17 | "node-fetch": "^3.0.0" | 19 | "node-fetch": "^3.0.0" |
18 | }, | 20 | }, |
19 | "devDependencies": { | 21 | "devDependencies": { | ... | ... |
-
Please register or login to post a comment