Showing
4 changed files
with
201 additions
and
6 deletions
1 | const express = require("express"); | 1 | const express = require("express"); |
2 | const morgan = require("morgan"); | 2 | const morgan = require("morgan"); |
3 | +const mongoose = require("mongoose"); | ||
3 | const app = express(); | 4 | const app = express(); |
4 | require("dotenv").config(); | 5 | require("dotenv").config(); |
5 | - | 6 | +const { SERVER_PORT, MONGO_URL } = process.env; |
6 | app.use( | 7 | app.use( |
7 | morgan("[:date[iso]] :method :status :url :response-time(ms) :user-agent") | 8 | morgan("[:date[iso]] :method :status :url :response-time(ms) :user-agent") |
8 | ); | 9 | ); |
... | @@ -10,6 +11,14 @@ app.use(express.json()); | ... | @@ -10,6 +11,14 @@ app.use(express.json()); |
10 | app.use(express.urlencoded({ extended: false })); | 11 | app.use(express.urlencoded({ extended: false })); |
11 | app.use("/api", require("./api")); | 12 | app.use("/api", require("./api")); |
12 | 13 | ||
13 | -app.listen(process.env.SERVER_PORT, () => { | 14 | +mongoose |
15 | + .connect(MONGO_URL, { useNewUrlParser: true, useFindAndModify: false }) | ||
16 | + .then(() => { | ||
17 | + console.log("Connected to MongoDB"); | ||
18 | + }) | ||
19 | + .catch((e) => { | ||
20 | + console.log(e); | ||
21 | + }); | ||
22 | +app.listen(SERVER_PORT, () => { | ||
14 | console.log("Server is running on port", process.env.SERVER_PORT); | 23 | console.log("Server is running on port", process.env.SERVER_PORT); |
15 | }); | 24 | }); | ... | ... |
... | @@ -4,9 +4,11 @@ | ... | @@ -4,9 +4,11 @@ |
4 | "main": "index.js", | 4 | "main": "index.js", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "dependencies": { | 6 | "dependencies": { |
7 | + "dotenv": "^8.2.0", | ||
7 | "eslint-config-prettier": "^6.11.0", | 8 | "eslint-config-prettier": "^6.11.0", |
8 | "express": "^4.17.1", | 9 | "express": "^4.17.1", |
9 | "fs": "^0.0.1-security", | 10 | "fs": "^0.0.1-security", |
11 | + "mongoose": "^5.9.17", | ||
10 | "morgan": "^1.10.0", | 12 | "morgan": "^1.10.0", |
11 | "path": "^0.12.7" | 13 | "path": "^0.12.7" |
12 | }, | 14 | }, | ... | ... |
... | @@ -154,6 +154,19 @@ binary-extensions@^2.0.0: | ... | @@ -154,6 +154,19 @@ binary-extensions@^2.0.0: |
154 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" | 154 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" |
155 | integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== | 155 | integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== |
156 | 156 | ||
157 | +bl@^2.2.0: | ||
158 | + version "2.2.0" | ||
159 | + resolved "https://registry.yarnpkg.com/bl/-/bl-2.2.0.tgz#e1a574cdf528e4053019bb800b041c0ac88da493" | ||
160 | + integrity sha512-wbgvOpqopSr7uq6fJrLH8EsvYMJf9gzfo2jCsL2eTy75qXPukA4pCgHamOQkZtY5vmfVtjB+P3LNlMHW5CEZXA== | ||
161 | + dependencies: | ||
162 | + readable-stream "^2.3.5" | ||
163 | + safe-buffer "^5.1.1" | ||
164 | + | ||
165 | +bluebird@3.5.1: | ||
166 | + version "3.5.1" | ||
167 | + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9" | ||
168 | + integrity sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA== | ||
169 | + | ||
157 | body-parser@1.19.0: | 170 | body-parser@1.19.0: |
158 | version "1.19.0" | 171 | version "1.19.0" |
159 | resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a" | 172 | resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a" |
... | @@ -199,6 +212,11 @@ braces@~3.0.2: | ... | @@ -199,6 +212,11 @@ braces@~3.0.2: |
199 | dependencies: | 212 | dependencies: |
200 | fill-range "^7.0.1" | 213 | fill-range "^7.0.1" |
201 | 214 | ||
215 | +bson@^1.1.4: | ||
216 | + version "1.1.4" | ||
217 | + resolved "https://registry.yarnpkg.com/bson/-/bson-1.1.4.tgz#f76870d799f15b854dffb7ee32f0a874797f7e89" | ||
218 | + integrity sha512-S/yKGU1syOMzO86+dGpg2qGoDL0zvzcb262G+gqEy6TgP6rt6z6qxSFX/8X6vLC91P7G7C3nLs0+bvDzmvBA3Q== | ||
219 | + | ||
202 | bytes@3.1.0: | 220 | bytes@3.1.0: |
203 | version "3.1.0" | 221 | version "3.1.0" |
204 | resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" | 222 | resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" |
... | @@ -364,6 +382,11 @@ cookie@0.4.0: | ... | @@ -364,6 +382,11 @@ cookie@0.4.0: |
364 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba" | 382 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba" |
365 | integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg== | 383 | integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg== |
366 | 384 | ||
385 | +core-util-is@~1.0.0: | ||
386 | + version "1.0.2" | ||
387 | + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" | ||
388 | + integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= | ||
389 | + | ||
367 | cross-spawn@^7.0.2: | 390 | cross-spawn@^7.0.2: |
368 | version "7.0.3" | 391 | version "7.0.3" |
369 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" | 392 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" |
... | @@ -385,6 +408,13 @@ debug@2.6.9, debug@^2.2.0: | ... | @@ -385,6 +408,13 @@ debug@2.6.9, debug@^2.2.0: |
385 | dependencies: | 408 | dependencies: |
386 | ms "2.0.0" | 409 | ms "2.0.0" |
387 | 410 | ||
411 | +debug@3.1.0: | ||
412 | + version "3.1.0" | ||
413 | + resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" | ||
414 | + integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== | ||
415 | + dependencies: | ||
416 | + ms "2.0.0" | ||
417 | + | ||
388 | debug@^3.2.6: | 418 | debug@^3.2.6: |
389 | version "3.2.6" | 419 | version "3.2.6" |
390 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" | 420 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" |
... | @@ -421,6 +451,11 @@ defer-to-connect@^1.0.1: | ... | @@ -421,6 +451,11 @@ defer-to-connect@^1.0.1: |
421 | resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591" | 451 | resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591" |
422 | integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== | 452 | integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== |
423 | 453 | ||
454 | +denque@^1.4.1: | ||
455 | + version "1.4.1" | ||
456 | + resolved "https://registry.yarnpkg.com/denque/-/denque-1.4.1.tgz#6744ff7641c148c3f8a69c307e51235c1f4a37cf" | ||
457 | + integrity sha512-OfzPuSZKGcgr96rf1oODnfjqBFmr1DVoc/TrItj3Ohe0Ah1C5WX5Baquw/9U9KovnQ88EqmJbD66rKYUQYN1tQ== | ||
458 | + | ||
424 | depd@~1.1.2: | 459 | depd@~1.1.2: |
425 | version "1.1.2" | 460 | version "1.1.2" |
426 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" | 461 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" |
... | @@ -450,6 +485,11 @@ dot-prop@^5.2.0: | ... | @@ -450,6 +485,11 @@ dot-prop@^5.2.0: |
450 | dependencies: | 485 | dependencies: |
451 | is-obj "^2.0.0" | 486 | is-obj "^2.0.0" |
452 | 487 | ||
488 | +dotenv@^8.2.0: | ||
489 | + version "8.2.0" | ||
490 | + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a" | ||
491 | + integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw== | ||
492 | + | ||
453 | duplexer3@^0.1.4: | 493 | duplexer3@^0.1.4: |
454 | version "0.1.4" | 494 | version "0.1.4" |
455 | resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" | 495 | resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" |
... | @@ -911,7 +951,7 @@ inflight@^1.0.4: | ... | @@ -911,7 +951,7 @@ inflight@^1.0.4: |
911 | once "^1.3.0" | 951 | once "^1.3.0" |
912 | wrappy "1" | 952 | wrappy "1" |
913 | 953 | ||
914 | -inherits@2, inherits@2.0.4: | 954 | +inherits@2, inherits@2.0.4, inherits@~2.0.3: |
915 | version "2.0.4" | 955 | version "2.0.4" |
916 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" | 956 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" |
917 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== | 957 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== |
... | @@ -1024,6 +1064,11 @@ is-yarn-global@^0.3.0: | ... | @@ -1024,6 +1064,11 @@ is-yarn-global@^0.3.0: |
1024 | resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" | 1064 | resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" |
1025 | integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== | 1065 | integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== |
1026 | 1066 | ||
1067 | +isarray@~1.0.0: | ||
1068 | + version "1.0.0" | ||
1069 | + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" | ||
1070 | + integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= | ||
1071 | + | ||
1027 | isexe@^2.0.0: | 1072 | isexe@^2.0.0: |
1028 | version "2.0.0" | 1073 | version "2.0.0" |
1029 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" | 1074 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" |
... | @@ -1057,6 +1102,11 @@ json-stable-stringify-without-jsonify@^1.0.1: | ... | @@ -1057,6 +1102,11 @@ json-stable-stringify-without-jsonify@^1.0.1: |
1057 | resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" | 1102 | resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" |
1058 | integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= | 1103 | integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= |
1059 | 1104 | ||
1105 | +kareem@2.3.1: | ||
1106 | + version "2.3.1" | ||
1107 | + resolved "https://registry.yarnpkg.com/kareem/-/kareem-2.3.1.tgz#def12d9c941017fabfb00f873af95e9c99e1be87" | ||
1108 | + integrity sha512-l3hLhffs9zqoDe8zjmb/mAN4B8VT3L56EUvKNqLFVs9YlFA+zx7ke1DO8STAdDyYNkeSo1nKmjuvQeI12So8Xw== | ||
1109 | + | ||
1060 | keyv@^3.0.0: | 1110 | keyv@^3.0.0: |
1061 | version "3.1.0" | 1111 | version "3.1.0" |
1062 | resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" | 1112 | resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" |
... | @@ -1106,6 +1156,11 @@ media-typer@0.3.0: | ... | @@ -1106,6 +1156,11 @@ media-typer@0.3.0: |
1106 | resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" | 1156 | resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" |
1107 | integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= | 1157 | integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= |
1108 | 1158 | ||
1159 | +memory-pager@^1.0.2: | ||
1160 | + version "1.5.0" | ||
1161 | + resolved "https://registry.yarnpkg.com/memory-pager/-/memory-pager-1.5.0.tgz#d8751655d22d384682741c972f2c3d6dfa3e66b5" | ||
1162 | + integrity sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg== | ||
1163 | + | ||
1109 | merge-descriptors@1.0.1: | 1164 | merge-descriptors@1.0.1: |
1110 | version "1.0.1" | 1165 | version "1.0.1" |
1111 | resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" | 1166 | resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" |
... | @@ -1162,6 +1217,41 @@ mkdirp@^0.5.1: | ... | @@ -1162,6 +1217,41 @@ mkdirp@^0.5.1: |
1162 | dependencies: | 1217 | dependencies: |
1163 | minimist "^1.2.5" | 1218 | minimist "^1.2.5" |
1164 | 1219 | ||
1220 | +mongodb@3.5.8: | ||
1221 | + version "3.5.8" | ||
1222 | + resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-3.5.8.tgz#34550856449b745d145873734bf922c12d6b9caa" | ||
1223 | + integrity sha512-jz7mR58z66JKL8Px4ZY+FXbgB7d0a0hEGCT7kw8iye46/gsqPrOEpZOswwJ2BQlfzsrCLKdsF9UcaUfGVN2HrQ== | ||
1224 | + dependencies: | ||
1225 | + bl "^2.2.0" | ||
1226 | + bson "^1.1.4" | ||
1227 | + denque "^1.4.1" | ||
1228 | + require_optional "^1.0.1" | ||
1229 | + safe-buffer "^5.1.2" | ||
1230 | + optionalDependencies: | ||
1231 | + saslprep "^1.0.0" | ||
1232 | + | ||
1233 | +mongoose-legacy-pluralize@1.0.2: | ||
1234 | + version "1.0.2" | ||
1235 | + resolved "https://registry.yarnpkg.com/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz#3ba9f91fa507b5186d399fb40854bff18fb563e4" | ||
1236 | + integrity sha512-Yo/7qQU4/EyIS8YDFSeenIvXxZN+ld7YdV9LqFVQJzTLye8unujAWPZ4NWKfFA+RNjh+wvTWKY9Z3E5XM6ZZiQ== | ||
1237 | + | ||
1238 | +mongoose@^5.9.17: | ||
1239 | + version "5.9.17" | ||
1240 | + resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-5.9.17.tgz#9b74659481807cd9ff5b9c120cdb5087cbbd92bd" | ||
1241 | + integrity sha512-9EDmTiKrOu/41twlPWUA1aOsdxSN6PRIdFwTpLu4MjyNcJ/vuBE+VewKrN1jsD4oXO5rB8bMYtYxVmJQ02SrPg== | ||
1242 | + dependencies: | ||
1243 | + bson "^1.1.4" | ||
1244 | + kareem "2.3.1" | ||
1245 | + mongodb "3.5.8" | ||
1246 | + mongoose-legacy-pluralize "1.0.2" | ||
1247 | + mpath "0.7.0" | ||
1248 | + mquery "3.2.2" | ||
1249 | + ms "2.1.2" | ||
1250 | + regexp-clone "1.0.0" | ||
1251 | + safe-buffer "5.1.2" | ||
1252 | + sift "7.0.1" | ||
1253 | + sliced "1.0.1" | ||
1254 | + | ||
1165 | morgan@^1.10.0: | 1255 | morgan@^1.10.0: |
1166 | version "1.10.0" | 1256 | version "1.10.0" |
1167 | resolved "https://registry.yarnpkg.com/morgan/-/morgan-1.10.0.tgz#091778abc1fc47cd3509824653dae1faab6b17d7" | 1257 | resolved "https://registry.yarnpkg.com/morgan/-/morgan-1.10.0.tgz#091778abc1fc47cd3509824653dae1faab6b17d7" |
... | @@ -1173,6 +1263,22 @@ morgan@^1.10.0: | ... | @@ -1173,6 +1263,22 @@ morgan@^1.10.0: |
1173 | on-finished "~2.3.0" | 1263 | on-finished "~2.3.0" |
1174 | on-headers "~1.0.2" | 1264 | on-headers "~1.0.2" |
1175 | 1265 | ||
1266 | +mpath@0.7.0: | ||
1267 | + version "0.7.0" | ||
1268 | + resolved "https://registry.yarnpkg.com/mpath/-/mpath-0.7.0.tgz#20e8102e276b71709d6e07e9f8d4d0f641afbfb8" | ||
1269 | + integrity sha512-Aiq04hILxhz1L+f7sjGyn7IxYzWm1zLNNXcfhDtx04kZ2Gk7uvFdgZ8ts1cWa/6d0TQmag2yR8zSGZUmp0tFNg== | ||
1270 | + | ||
1271 | +mquery@3.2.2: | ||
1272 | + version "3.2.2" | ||
1273 | + resolved "https://registry.yarnpkg.com/mquery/-/mquery-3.2.2.tgz#e1383a3951852ce23e37f619a9b350f1fb3664e7" | ||
1274 | + integrity sha512-XB52992COp0KP230I3qloVUbkLUxJIu328HBP2t2EsxSFtf4W1HPSOBWOXf1bqxK4Xbb66lfMJ+Bpfd9/yZE1Q== | ||
1275 | + dependencies: | ||
1276 | + bluebird "3.5.1" | ||
1277 | + debug "3.1.0" | ||
1278 | + regexp-clone "^1.0.0" | ||
1279 | + safe-buffer "5.1.2" | ||
1280 | + sliced "1.0.1" | ||
1281 | + | ||
1176 | ms@2.0.0: | 1282 | ms@2.0.0: |
1177 | version "2.0.0" | 1283 | version "2.0.0" |
1178 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" | 1284 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" |
... | @@ -1183,7 +1289,7 @@ ms@2.1.1: | ... | @@ -1183,7 +1289,7 @@ ms@2.1.1: |
1183 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" | 1289 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" |
1184 | integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== | 1290 | integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== |
1185 | 1291 | ||
1186 | -ms@^2.1.1: | 1292 | +ms@2.1.2, ms@^2.1.1: |
1187 | version "2.1.2" | 1293 | version "2.1.2" |
1188 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" | 1294 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" |
1189 | integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== | 1295 | integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== |
... | @@ -1344,6 +1450,11 @@ prepend-http@^2.0.0: | ... | @@ -1344,6 +1450,11 @@ prepend-http@^2.0.0: |
1344 | resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" | 1450 | resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" |
1345 | integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= | 1451 | integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= |
1346 | 1452 | ||
1453 | +process-nextick-args@~2.0.0: | ||
1454 | + version "2.0.1" | ||
1455 | + resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" | ||
1456 | + integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== | ||
1457 | + | ||
1347 | process@^0.11.1: | 1458 | process@^0.11.1: |
1348 | version "0.11.10" | 1459 | version "0.11.10" |
1349 | resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" | 1460 | resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" |
... | @@ -1417,6 +1528,19 @@ rc@^1.2.8: | ... | @@ -1417,6 +1528,19 @@ rc@^1.2.8: |
1417 | minimist "^1.2.0" | 1528 | minimist "^1.2.0" |
1418 | strip-json-comments "~2.0.1" | 1529 | strip-json-comments "~2.0.1" |
1419 | 1530 | ||
1531 | +readable-stream@^2.3.5: | ||
1532 | + version "2.3.7" | ||
1533 | + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" | ||
1534 | + integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== | ||
1535 | + dependencies: | ||
1536 | + core-util-is "~1.0.0" | ||
1537 | + inherits "~2.0.3" | ||
1538 | + isarray "~1.0.0" | ||
1539 | + process-nextick-args "~2.0.0" | ||
1540 | + safe-buffer "~5.1.1" | ||
1541 | + string_decoder "~1.1.1" | ||
1542 | + util-deprecate "~1.0.1" | ||
1543 | + | ||
1420 | readdirp@~3.4.0: | 1544 | readdirp@~3.4.0: |
1421 | version "3.4.0" | 1545 | version "3.4.0" |
1422 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.4.0.tgz#9fdccdf9e9155805449221ac645e8303ab5b9ada" | 1546 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.4.0.tgz#9fdccdf9e9155805449221ac645e8303ab5b9ada" |
... | @@ -1424,6 +1548,11 @@ readdirp@~3.4.0: | ... | @@ -1424,6 +1548,11 @@ readdirp@~3.4.0: |
1424 | dependencies: | 1548 | dependencies: |
1425 | picomatch "^2.2.1" | 1549 | picomatch "^2.2.1" |
1426 | 1550 | ||
1551 | +regexp-clone@1.0.0, regexp-clone@^1.0.0: | ||
1552 | + version "1.0.0" | ||
1553 | + resolved "https://registry.yarnpkg.com/regexp-clone/-/regexp-clone-1.0.0.tgz#222db967623277056260b992626354a04ce9bf63" | ||
1554 | + integrity sha512-TuAasHQNamyyJ2hb97IuBEif4qBHGjPHBS64sZwytpLEqtBQ1gPJTnOaQ6qmpET16cK14kkjbazl6+p0RRv0yw== | ||
1555 | + | ||
1427 | regexpp@^3.1.0: | 1556 | regexpp@^3.1.0: |
1428 | version "3.1.0" | 1557 | version "3.1.0" |
1429 | resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" | 1558 | resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" |
... | @@ -1443,6 +1572,19 @@ registry-url@^5.0.0: | ... | @@ -1443,6 +1572,19 @@ registry-url@^5.0.0: |
1443 | dependencies: | 1572 | dependencies: |
1444 | rc "^1.2.8" | 1573 | rc "^1.2.8" |
1445 | 1574 | ||
1575 | +require_optional@^1.0.1: | ||
1576 | + version "1.0.1" | ||
1577 | + resolved "https://registry.yarnpkg.com/require_optional/-/require_optional-1.0.1.tgz#4cf35a4247f64ca3df8c2ef208cc494b1ca8fc2e" | ||
1578 | + integrity sha512-qhM/y57enGWHAe3v/NcwML6a3/vfESLe/sGM2dII+gEO0BpKRUkWZow/tyloNqJyN6kXSl3RyyM8Ll5D/sJP8g== | ||
1579 | + dependencies: | ||
1580 | + resolve-from "^2.0.0" | ||
1581 | + semver "^5.1.0" | ||
1582 | + | ||
1583 | +resolve-from@^2.0.0: | ||
1584 | + version "2.0.0" | ||
1585 | + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-2.0.0.tgz#9480ab20e94ffa1d9e80a804c7ea147611966b57" | ||
1586 | + integrity sha1-lICrIOlP+h2egKgEx+oUdhGWa1c= | ||
1587 | + | ||
1446 | resolve-from@^4.0.0: | 1588 | resolve-from@^4.0.0: |
1447 | version "4.0.0" | 1589 | version "4.0.0" |
1448 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" | 1590 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" |
... | @@ -1482,16 +1624,28 @@ rxjs@^6.5.3: | ... | @@ -1482,16 +1624,28 @@ rxjs@^6.5.3: |
1482 | dependencies: | 1624 | dependencies: |
1483 | tslib "^1.9.0" | 1625 | tslib "^1.9.0" |
1484 | 1626 | ||
1485 | -safe-buffer@5.1.2: | 1627 | +safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: |
1486 | version "5.1.2" | 1628 | version "5.1.2" |
1487 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" | 1629 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" |
1488 | integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== | 1630 | integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== |
1489 | 1631 | ||
1632 | +safe-buffer@^5.1.1, safe-buffer@^5.1.2: | ||
1633 | + version "5.2.1" | ||
1634 | + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" | ||
1635 | + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== | ||
1636 | + | ||
1490 | "safer-buffer@>= 2.1.2 < 3": | 1637 | "safer-buffer@>= 2.1.2 < 3": |
1491 | version "2.1.2" | 1638 | version "2.1.2" |
1492 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" | 1639 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" |
1493 | integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== | 1640 | integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== |
1494 | 1641 | ||
1642 | +saslprep@^1.0.0: | ||
1643 | + version "1.0.3" | ||
1644 | + resolved "https://registry.yarnpkg.com/saslprep/-/saslprep-1.0.3.tgz#4c02f946b56cf54297e347ba1093e7acac4cf226" | ||
1645 | + integrity sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag== | ||
1646 | + dependencies: | ||
1647 | + sparse-bitfield "^3.0.3" | ||
1648 | + | ||
1495 | semver-diff@^3.1.1: | 1649 | semver-diff@^3.1.1: |
1496 | version "3.1.1" | 1650 | version "3.1.1" |
1497 | resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b" | 1651 | resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b" |
... | @@ -1499,7 +1653,7 @@ semver-diff@^3.1.1: | ... | @@ -1499,7 +1653,7 @@ semver-diff@^3.1.1: |
1499 | dependencies: | 1653 | dependencies: |
1500 | semver "^6.3.0" | 1654 | semver "^6.3.0" |
1501 | 1655 | ||
1502 | -semver@^5.7.1: | 1656 | +semver@^5.1.0, semver@^5.7.1: |
1503 | version "5.7.1" | 1657 | version "5.7.1" |
1504 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" | 1658 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" |
1505 | integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== | 1659 | integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== |
... | @@ -1560,6 +1714,11 @@ shebang-regex@^3.0.0: | ... | @@ -1560,6 +1714,11 @@ shebang-regex@^3.0.0: |
1560 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" | 1714 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" |
1561 | integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== | 1715 | integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== |
1562 | 1716 | ||
1717 | +sift@7.0.1: | ||
1718 | + version "7.0.1" | ||
1719 | + resolved "https://registry.yarnpkg.com/sift/-/sift-7.0.1.tgz#47d62c50b159d316f1372f8b53f9c10cd21a4b08" | ||
1720 | + integrity sha512-oqD7PMJ+uO6jV9EQCl0LrRw1OwsiPsiFQR5AR30heR+4Dl7jBBbDLnNvWiak20tzZlSE1H7RB30SX/1j/YYT7g== | ||
1721 | + | ||
1563 | signal-exit@^3.0.2: | 1722 | signal-exit@^3.0.2: |
1564 | version "3.0.3" | 1723 | version "3.0.3" |
1565 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" | 1724 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" |
... | @@ -1574,6 +1733,18 @@ slice-ansi@^2.1.0: | ... | @@ -1574,6 +1733,18 @@ slice-ansi@^2.1.0: |
1574 | astral-regex "^1.0.0" | 1733 | astral-regex "^1.0.0" |
1575 | is-fullwidth-code-point "^2.0.0" | 1734 | is-fullwidth-code-point "^2.0.0" |
1576 | 1735 | ||
1736 | +sliced@1.0.1: | ||
1737 | + version "1.0.1" | ||
1738 | + resolved "https://registry.yarnpkg.com/sliced/-/sliced-1.0.1.tgz#0b3a662b5d04c3177b1926bea82b03f837a2ef41" | ||
1739 | + integrity sha1-CzpmK10Ewxd7GSa+qCsD+Dei70E= | ||
1740 | + | ||
1741 | +sparse-bitfield@^3.0.3: | ||
1742 | + version "3.0.3" | ||
1743 | + resolved "https://registry.yarnpkg.com/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz#ff4ae6e68656056ba4b3e792ab3334d38273ca11" | ||
1744 | + integrity sha1-/0rm5oZWBWuks+eSqzM004JzyhE= | ||
1745 | + dependencies: | ||
1746 | + memory-pager "^1.0.2" | ||
1747 | + | ||
1577 | sprintf-js@~1.0.2: | 1748 | sprintf-js@~1.0.2: |
1578 | version "1.0.3" | 1749 | version "1.0.3" |
1579 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" | 1750 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" |
... | @@ -1602,6 +1773,13 @@ string-width@^4.0.0, string-width@^4.1.0: | ... | @@ -1602,6 +1773,13 @@ string-width@^4.0.0, string-width@^4.1.0: |
1602 | is-fullwidth-code-point "^3.0.0" | 1773 | is-fullwidth-code-point "^3.0.0" |
1603 | strip-ansi "^6.0.0" | 1774 | strip-ansi "^6.0.0" |
1604 | 1775 | ||
1776 | +string_decoder@~1.1.1: | ||
1777 | + version "1.1.1" | ||
1778 | + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" | ||
1779 | + integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== | ||
1780 | + dependencies: | ||
1781 | + safe-buffer "~5.1.0" | ||
1782 | + | ||
1605 | strip-ansi@^5.1.0: | 1783 | strip-ansi@^5.1.0: |
1606 | version "5.2.0" | 1784 | version "5.2.0" |
1607 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" | 1785 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" |
... | @@ -1785,6 +1963,11 @@ url-parse-lax@^3.0.0: | ... | @@ -1785,6 +1963,11 @@ url-parse-lax@^3.0.0: |
1785 | dependencies: | 1963 | dependencies: |
1786 | prepend-http "^2.0.0" | 1964 | prepend-http "^2.0.0" |
1787 | 1965 | ||
1966 | +util-deprecate@~1.0.1: | ||
1967 | + version "1.0.2" | ||
1968 | + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" | ||
1969 | + integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= | ||
1970 | + | ||
1788 | util@^0.10.3: | 1971 | util@^0.10.3: |
1789 | version "0.10.4" | 1972 | version "0.10.4" |
1790 | resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" | 1973 | resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" | ... | ... |
-
Please register or login to post a comment