Showing
5 changed files
with
397 additions
and
2 deletions
... | @@ -4,8 +4,9 @@ | ... | @@ -4,8 +4,9 @@ |
4 | - 관심있는 인물이 출연하는 방송 프로그램을 검색하여 나만의 편성표를 만든다. | 4 | - 관심있는 인물이 출연하는 방송 프로그램을 검색하여 나만의 편성표를 만든다. |
5 | 5 | ||
6 | ## Environment | 6 | ## Environment |
7 | -- Backend - Node.js | 7 | +- Backend - Node.js / Express |
8 | - Frontend - HTML5/CSS/Javascript | 8 | - Frontend - HTML5/CSS/Javascript |
9 | +- DB - MongoDB | ||
9 | 10 | ||
10 | ## Prerequisite | 11 | ## Prerequisite |
11 | - Terminal Environment | 12 | - Terminal Environment | ... | ... |
mongodb_connect.js
0 → 100644
1 | +var mongoose = require('mongoose'); | ||
2 | +mongoose.connect('mongodb://username:pwd@host/dbname'); | ||
3 | +var db = mongoose.connection; | ||
4 | + | ||
5 | +//연결실패 | ||
6 | +db.on('error', function(){ | ||
7 | + console.log('Connection Failed!'); | ||
8 | +}); | ||
9 | +//연결 성공 | ||
10 | +db.once('open', function() { | ||
11 | + console.log('Connected!'); | ||
12 | +}); | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +var testSchema = mongoose.Schema | ||
17 | +({ | ||
18 | + name: String | ||
19 | +}); | ||
20 | + | ||
21 | +var TestModel = mongoose.model("TestModel", testSchema); | ||
22 | + | ||
23 | +/* | ||
24 | +var test = new TestModel({ name: "test" }); | ||
25 | + | ||
26 | +test.save(function(err, test) | ||
27 | +{ | ||
28 | + if(err){console.log(err);} | ||
29 | + else{console.log("Success!");} | ||
30 | + console.log("ok4"); | ||
31 | +}); | ||
32 | +*/ | ||
33 | + | ||
34 | +TestModel.find(function(err, test){ | ||
35 | + if(err){console.log(err);} | ||
36 | + else{ | ||
37 | + console.log(test); | ||
38 | + } | ||
39 | +}); | ||
40 | + | ||
41 | + | ||
42 | +//db.close() | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -33,6 +33,14 @@ | ... | @@ -33,6 +33,14 @@ |
33 | "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", | 33 | "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", |
34 | "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" | 34 | "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" |
35 | }, | 35 | }, |
36 | + "async": { | ||
37 | + "version": "2.6.1", | ||
38 | + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", | ||
39 | + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", | ||
40 | + "requires": { | ||
41 | + "lodash": "4.17.11" | ||
42 | + } | ||
43 | + }, | ||
36 | "asynckit": { | 44 | "asynckit": { |
37 | "version": "0.4.0", | 45 | "version": "0.4.0", |
38 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", | 46 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", |
... | @@ -48,6 +56,11 @@ | ... | @@ -48,6 +56,11 @@ |
48 | "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", | 56 | "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", |
49 | "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" | 57 | "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" |
50 | }, | 58 | }, |
59 | + "balanced-match": { | ||
60 | + "version": "1.0.0", | ||
61 | + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", | ||
62 | + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" | ||
63 | + }, | ||
51 | "bcrypt-pbkdf": { | 64 | "bcrypt-pbkdf": { |
52 | "version": "1.0.2", | 65 | "version": "1.0.2", |
53 | "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", | 66 | "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", |
... | @@ -56,11 +69,30 @@ | ... | @@ -56,11 +69,30 @@ |
56 | "tweetnacl": "0.14.5" | 69 | "tweetnacl": "0.14.5" |
57 | } | 70 | } |
58 | }, | 71 | }, |
72 | + "bluebird": { | ||
73 | + "version": "3.5.1", | ||
74 | + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", | ||
75 | + "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" | ||
76 | + }, | ||
59 | "boolbase": { | 77 | "boolbase": { |
60 | "version": "1.0.0", | 78 | "version": "1.0.0", |
61 | "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", | 79 | "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", |
62 | "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=" | 80 | "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=" |
63 | }, | 81 | }, |
82 | + "brace-expansion": { | ||
83 | + "version": "1.1.11", | ||
84 | + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", | ||
85 | + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", | ||
86 | + "requires": { | ||
87 | + "balanced-match": "1.0.0", | ||
88 | + "concat-map": "0.0.1" | ||
89 | + } | ||
90 | + }, | ||
91 | + "bson": { | ||
92 | + "version": "1.1.0", | ||
93 | + "resolved": "https://registry.npmjs.org/bson/-/bson-1.1.0.tgz", | ||
94 | + "integrity": "sha512-9Aeai9TacfNtWXOYarkFJRW2CWo+dRon+fuLZYJmvLV3+MiUp0bEI6IAZfXEIg7/Pl/7IWlLaDnhzTsD81etQA==" | ||
95 | + }, | ||
64 | "caseless": { | 96 | "caseless": { |
65 | "version": "0.12.0", | 97 | "version": "0.12.0", |
66 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", | 98 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", |
... | @@ -87,6 +119,16 @@ | ... | @@ -87,6 +119,16 @@ |
87 | "delayed-stream": "1.0.0" | 119 | "delayed-stream": "1.0.0" |
88 | } | 120 | } |
89 | }, | 121 | }, |
122 | + "concat-map": { | ||
123 | + "version": "0.0.1", | ||
124 | + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", | ||
125 | + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" | ||
126 | + }, | ||
127 | + "core-js": { | ||
128 | + "version": "2.3.0", | ||
129 | + "resolved": "http://registry.npmjs.org/core-js/-/core-js-2.3.0.tgz", | ||
130 | + "integrity": "sha1-+rg/uwstjchfpjbEudNMdUIMbWU=" | ||
131 | + }, | ||
90 | "core-util-is": { | 132 | "core-util-is": { |
91 | "version": "1.0.2", | 133 | "version": "1.0.2", |
92 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", | 134 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", |
... | @@ -116,6 +158,14 @@ | ... | @@ -116,6 +158,14 @@ |
116 | "assert-plus": "1.0.0" | 158 | "assert-plus": "1.0.0" |
117 | } | 159 | } |
118 | }, | 160 | }, |
161 | + "debug": { | ||
162 | + "version": "3.1.0", | ||
163 | + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", | ||
164 | + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", | ||
165 | + "requires": { | ||
166 | + "ms": "2.0.0" | ||
167 | + } | ||
168 | + }, | ||
119 | "delayed-stream": { | 169 | "delayed-stream": { |
120 | "version": "1.0.0", | 170 | "version": "1.0.0", |
121 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", | 171 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", |
... | @@ -173,6 +223,11 @@ | ... | @@ -173,6 +223,11 @@ |
173 | "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", | 223 | "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", |
174 | "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" | 224 | "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" |
175 | }, | 225 | }, |
226 | + "es6-promise": { | ||
227 | + "version": "3.0.2", | ||
228 | + "resolved": "http://registry.npmjs.org/es6-promise/-/es6-promise-3.0.2.tgz", | ||
229 | + "integrity": "sha1-AQ1YWEI6XxGJeWZfRkhqlcbuK7Y=" | ||
230 | + }, | ||
176 | "extend": { | 231 | "extend": { |
177 | "version": "3.0.2", | 232 | "version": "3.0.2", |
178 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", | 233 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", |
... | @@ -208,6 +263,11 @@ | ... | @@ -208,6 +263,11 @@ |
208 | "mime-types": "2.1.21" | 263 | "mime-types": "2.1.21" |
209 | } | 264 | } |
210 | }, | 265 | }, |
266 | + "fs.realpath": { | ||
267 | + "version": "1.0.0", | ||
268 | + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", | ||
269 | + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" | ||
270 | + }, | ||
211 | "getpass": { | 271 | "getpass": { |
212 | "version": "0.1.7", | 272 | "version": "0.1.7", |
213 | "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", | 273 | "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", |
... | @@ -216,6 +276,19 @@ | ... | @@ -216,6 +276,19 @@ |
216 | "assert-plus": "1.0.0" | 276 | "assert-plus": "1.0.0" |
217 | } | 277 | } |
218 | }, | 278 | }, |
279 | + "glob": { | ||
280 | + "version": "7.1.3", | ||
281 | + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", | ||
282 | + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", | ||
283 | + "requires": { | ||
284 | + "fs.realpath": "1.0.0", | ||
285 | + "inflight": "1.0.6", | ||
286 | + "inherits": "2.0.3", | ||
287 | + "minimatch": "3.0.4", | ||
288 | + "once": "1.4.0", | ||
289 | + "path-is-absolute": "1.0.1" | ||
290 | + } | ||
291 | + }, | ||
219 | "har-schema": { | 292 | "har-schema": { |
220 | "version": "2.0.0", | 293 | "version": "2.0.0", |
221 | "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", | 294 | "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", |
... | @@ -269,6 +342,20 @@ | ... | @@ -269,6 +342,20 @@ |
269 | "safer-buffer": "2.1.2" | 342 | "safer-buffer": "2.1.2" |
270 | } | 343 | } |
271 | }, | 344 | }, |
345 | + "immediate": { | ||
346 | + "version": "3.0.6", | ||
347 | + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", | ||
348 | + "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=" | ||
349 | + }, | ||
350 | + "inflight": { | ||
351 | + "version": "1.0.6", | ||
352 | + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", | ||
353 | + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", | ||
354 | + "requires": { | ||
355 | + "once": "1.4.0", | ||
356 | + "wrappy": "1.0.2" | ||
357 | + } | ||
358 | + }, | ||
272 | "inherits": { | 359 | "inherits": { |
273 | "version": "2.0.3", | 360 | "version": "2.0.3", |
274 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", | 361 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", |
... | @@ -279,6 +366,11 @@ | ... | @@ -279,6 +366,11 @@ |
279 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", | 366 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", |
280 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" | 367 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" |
281 | }, | 368 | }, |
369 | + "isarray": { | ||
370 | + "version": "1.0.0", | ||
371 | + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", | ||
372 | + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" | ||
373 | + }, | ||
282 | "isstream": { | 374 | "isstream": { |
283 | "version": "0.1.2", | 375 | "version": "0.1.2", |
284 | "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", | 376 | "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", |
... | @@ -315,11 +407,67 @@ | ... | @@ -315,11 +407,67 @@ |
315 | "verror": "1.10.0" | 407 | "verror": "1.10.0" |
316 | } | 408 | } |
317 | }, | 409 | }, |
410 | + "jszip": { | ||
411 | + "version": "3.1.5", | ||
412 | + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.1.5.tgz", | ||
413 | + "integrity": "sha512-5W8NUaFRFRqTOL7ZDDrx5qWHJyBXy6velVudIzQUSoqAAYqzSh2Z7/m0Rf1QbmQJccegD0r+YZxBjzqoBiEeJQ==", | ||
414 | + "requires": { | ||
415 | + "core-js": "2.3.0", | ||
416 | + "es6-promise": "3.0.2", | ||
417 | + "lie": "3.1.1", | ||
418 | + "pako": "1.0.7", | ||
419 | + "readable-stream": "2.0.6" | ||
420 | + }, | ||
421 | + "dependencies": { | ||
422 | + "readable-stream": { | ||
423 | + "version": "2.0.6", | ||
424 | + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz", | ||
425 | + "integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=", | ||
426 | + "requires": { | ||
427 | + "core-util-is": "1.0.2", | ||
428 | + "inherits": "2.0.3", | ||
429 | + "isarray": "1.0.0", | ||
430 | + "process-nextick-args": "1.0.7", | ||
431 | + "string_decoder": "0.10.31", | ||
432 | + "util-deprecate": "1.0.2" | ||
433 | + } | ||
434 | + }, | ||
435 | + "string_decoder": { | ||
436 | + "version": "0.10.31", | ||
437 | + "resolved": "http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", | ||
438 | + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" | ||
439 | + } | ||
440 | + } | ||
441 | + }, | ||
442 | + "kareem": { | ||
443 | + "version": "2.3.0", | ||
444 | + "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.3.0.tgz", | ||
445 | + "integrity": "sha512-6hHxsp9e6zQU8nXsP+02HGWXwTkOEw6IROhF2ZA28cYbUk4eJ6QbtZvdqZOdD9YPKghG3apk5eOCvs+tLl3lRg==" | ||
446 | + }, | ||
447 | + "lie": { | ||
448 | + "version": "3.1.1", | ||
449 | + "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", | ||
450 | + "integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=", | ||
451 | + "requires": { | ||
452 | + "immediate": "3.0.6" | ||
453 | + } | ||
454 | + }, | ||
318 | "lodash": { | 455 | "lodash": { |
319 | "version": "4.17.11", | 456 | "version": "4.17.11", |
320 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", | 457 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", |
321 | "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" | 458 | "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" |
322 | }, | 459 | }, |
460 | + "lodash.get": { | ||
461 | + "version": "4.4.2", | ||
462 | + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", | ||
463 | + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" | ||
464 | + }, | ||
465 | + "memory-pager": { | ||
466 | + "version": "1.1.0", | ||
467 | + "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.1.0.tgz", | ||
468 | + "integrity": "sha512-Mf9OHV/Y7h6YWDxTzX/b4ZZ4oh9NSXblQL8dtPCOomOtZciEHxePR78+uHFLLlsk01A6jVHhHsQZZ/WcIPpnzg==", | ||
469 | + "optional": true | ||
470 | + }, | ||
323 | "mime-db": { | 471 | "mime-db": { |
324 | "version": "1.37.0", | 472 | "version": "1.37.0", |
325 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", | 473 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", |
... | @@ -333,6 +481,81 @@ | ... | @@ -333,6 +481,81 @@ |
333 | "mime-db": "1.37.0" | 481 | "mime-db": "1.37.0" |
334 | } | 482 | } |
335 | }, | 483 | }, |
484 | + "minimatch": { | ||
485 | + "version": "3.0.4", | ||
486 | + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", | ||
487 | + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", | ||
488 | + "requires": { | ||
489 | + "brace-expansion": "1.1.11" | ||
490 | + } | ||
491 | + }, | ||
492 | + "mongodb": { | ||
493 | + "version": "3.1.10", | ||
494 | + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.1.10.tgz", | ||
495 | + "integrity": "sha512-Uml42GeFxhTGQVml1XQ4cD0o/rp7J2ROy0fdYUcVitoE7vFqEhKH4TYVqRDpQr/bXtCJVxJdNQC1ntRxNREkPQ==", | ||
496 | + "requires": { | ||
497 | + "mongodb-core": "3.1.9", | ||
498 | + "safe-buffer": "5.1.2" | ||
499 | + } | ||
500 | + }, | ||
501 | + "mongodb-core": { | ||
502 | + "version": "3.1.9", | ||
503 | + "resolved": "https://registry.npmjs.org/mongodb-core/-/mongodb-core-3.1.9.tgz", | ||
504 | + "integrity": "sha512-MJpciDABXMchrZphh3vMcqu8hkNf/Mi+Gk6btOimVg1XMxLXh87j6FAvRm+KmwD1A9fpu3qRQYcbQe4egj23og==", | ||
505 | + "requires": { | ||
506 | + "bson": "1.1.0", | ||
507 | + "require_optional": "1.0.1", | ||
508 | + "safe-buffer": "5.1.2", | ||
509 | + "saslprep": "1.0.2" | ||
510 | + } | ||
511 | + }, | ||
512 | + "mongoose": { | ||
513 | + "version": "5.3.14", | ||
514 | + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.3.14.tgz", | ||
515 | + "integrity": "sha512-Vt7uC0+/SuPb+x6IwbtXl4tkUER1xU9INlfrDK1RdfsvvEMfG3FJUGNPVGeTWQaj8xqMBtZKIdUNt58rIAsCYg==", | ||
516 | + "requires": { | ||
517 | + "async": "2.6.1", | ||
518 | + "bson": "1.1.0", | ||
519 | + "kareem": "2.3.0", | ||
520 | + "lodash.get": "4.4.2", | ||
521 | + "mongodb": "3.1.10", | ||
522 | + "mongodb-core": "3.1.9", | ||
523 | + "mongoose-legacy-pluralize": "1.0.2", | ||
524 | + "mpath": "0.5.1", | ||
525 | + "mquery": "3.2.0", | ||
526 | + "ms": "2.0.0", | ||
527 | + "regexp-clone": "0.0.1", | ||
528 | + "safe-buffer": "5.1.2", | ||
529 | + "sliced": "1.0.1" | ||
530 | + } | ||
531 | + }, | ||
532 | + "mongoose-legacy-pluralize": { | ||
533 | + "version": "1.0.2", | ||
534 | + "resolved": "https://registry.npmjs.org/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz", | ||
535 | + "integrity": "sha512-Yo/7qQU4/EyIS8YDFSeenIvXxZN+ld7YdV9LqFVQJzTLye8unujAWPZ4NWKfFA+RNjh+wvTWKY9Z3E5XM6ZZiQ==" | ||
536 | + }, | ||
537 | + "mpath": { | ||
538 | + "version": "0.5.1", | ||
539 | + "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.5.1.tgz", | ||
540 | + "integrity": "sha512-H8OVQ+QEz82sch4wbODFOz+3YQ61FYz/z3eJ5pIdbMEaUzDqA268Wd+Vt4Paw9TJfvDgVKaayC0gBzMIw2jhsg==" | ||
541 | + }, | ||
542 | + "mquery": { | ||
543 | + "version": "3.2.0", | ||
544 | + "resolved": "https://registry.npmjs.org/mquery/-/mquery-3.2.0.tgz", | ||
545 | + "integrity": "sha512-qPJcdK/yqcbQiKoemAt62Y0BAc0fTEKo1IThodBD+O5meQRJT/2HSe5QpBNwaa4CjskoGrYWsEyjkqgiE0qjhg==", | ||
546 | + "requires": { | ||
547 | + "bluebird": "3.5.1", | ||
548 | + "debug": "3.1.0", | ||
549 | + "regexp-clone": "0.0.1", | ||
550 | + "safe-buffer": "5.1.2", | ||
551 | + "sliced": "1.0.1" | ||
552 | + } | ||
553 | + }, | ||
554 | + "ms": { | ||
555 | + "version": "2.0.0", | ||
556 | + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
557 | + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
558 | + }, | ||
336 | "nan": { | 559 | "nan": { |
337 | "version": "2.11.1", | 560 | "version": "2.11.1", |
338 | "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz", | 561 | "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz", |
... | @@ -351,6 +574,24 @@ | ... | @@ -351,6 +574,24 @@ |
351 | "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", | 574 | "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", |
352 | "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" | 575 | "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" |
353 | }, | 576 | }, |
577 | + "once": { | ||
578 | + "version": "1.4.0", | ||
579 | + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", | ||
580 | + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", | ||
581 | + "requires": { | ||
582 | + "wrappy": "1.0.2" | ||
583 | + } | ||
584 | + }, | ||
585 | + "os-tmpdir": { | ||
586 | + "version": "1.0.2", | ||
587 | + "resolved": "http://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", | ||
588 | + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" | ||
589 | + }, | ||
590 | + "pako": { | ||
591 | + "version": "1.0.7", | ||
592 | + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.7.tgz", | ||
593 | + "integrity": "sha512-3HNK5tW4x8o5mO8RuHZp3Ydw9icZXx0RANAOMzlMzx7LVXhMJ4mo3MOBpzyd7r/+RUu8BmndP47LXT+vzjtWcQ==" | ||
594 | + }, | ||
354 | "parse5": { | 595 | "parse5": { |
355 | "version": "3.0.3", | 596 | "version": "3.0.3", |
356 | "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", | 597 | "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", |
... | @@ -359,11 +600,21 @@ | ... | @@ -359,11 +600,21 @@ |
359 | "@types/node": "10.12.10" | 600 | "@types/node": "10.12.10" |
360 | } | 601 | } |
361 | }, | 602 | }, |
603 | + "path-is-absolute": { | ||
604 | + "version": "1.0.1", | ||
605 | + "resolved": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", | ||
606 | + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" | ||
607 | + }, | ||
362 | "performance-now": { | 608 | "performance-now": { |
363 | "version": "2.1.0", | 609 | "version": "2.1.0", |
364 | "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", | 610 | "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", |
365 | "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" | 611 | "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" |
366 | }, | 612 | }, |
613 | + "process-nextick-args": { | ||
614 | + "version": "1.0.7", | ||
615 | + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", | ||
616 | + "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=" | ||
617 | + }, | ||
367 | "psl": { | 618 | "psl": { |
368 | "version": "1.1.29", | 619 | "version": "1.1.29", |
369 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.29.tgz", | 620 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.29.tgz", |
... | @@ -389,6 +640,11 @@ | ... | @@ -389,6 +640,11 @@ |
389 | "util-deprecate": "1.0.2" | 640 | "util-deprecate": "1.0.2" |
390 | } | 641 | } |
391 | }, | 642 | }, |
643 | + "regexp-clone": { | ||
644 | + "version": "0.0.1", | ||
645 | + "resolved": "https://registry.npmjs.org/regexp-clone/-/regexp-clone-0.0.1.tgz", | ||
646 | + "integrity": "sha1-p8LgmJH9vzj7sQ03b7cwA+aKxYk=" | ||
647 | + }, | ||
392 | "request": { | 648 | "request": { |
393 | "version": "2.88.0", | 649 | "version": "2.88.0", |
394 | "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", | 650 | "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", |
... | @@ -416,6 +672,28 @@ | ... | @@ -416,6 +672,28 @@ |
416 | "uuid": "3.3.2" | 672 | "uuid": "3.3.2" |
417 | } | 673 | } |
418 | }, | 674 | }, |
675 | + "require_optional": { | ||
676 | + "version": "1.0.1", | ||
677 | + "resolved": "https://registry.npmjs.org/require_optional/-/require_optional-1.0.1.tgz", | ||
678 | + "integrity": "sha512-qhM/y57enGWHAe3v/NcwML6a3/vfESLe/sGM2dII+gEO0BpKRUkWZow/tyloNqJyN6kXSl3RyyM8Ll5D/sJP8g==", | ||
679 | + "requires": { | ||
680 | + "resolve-from": "2.0.0", | ||
681 | + "semver": "5.6.0" | ||
682 | + } | ||
683 | + }, | ||
684 | + "resolve-from": { | ||
685 | + "version": "2.0.0", | ||
686 | + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", | ||
687 | + "integrity": "sha1-lICrIOlP+h2egKgEx+oUdhGWa1c=" | ||
688 | + }, | ||
689 | + "rimraf": { | ||
690 | + "version": "2.6.2", | ||
691 | + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", | ||
692 | + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", | ||
693 | + "requires": { | ||
694 | + "glob": "7.1.3" | ||
695 | + } | ||
696 | + }, | ||
419 | "safe-buffer": { | 697 | "safe-buffer": { |
420 | "version": "5.1.2", | 698 | "version": "5.1.2", |
421 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", | 699 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", |
... | @@ -426,6 +704,50 @@ | ... | @@ -426,6 +704,50 @@ |
426 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", | 704 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", |
427 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" | 705 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" |
428 | }, | 706 | }, |
707 | + "saslprep": { | ||
708 | + "version": "1.0.2", | ||
709 | + "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.2.tgz", | ||
710 | + "integrity": "sha512-4cDsYuAjXssUSjxHKRe4DTZC0agDwsCqcMqtJAQPzC74nJ7LfAJflAtC1Zed5hMzEQKj82d3tuzqdGNRsLJ4Gw==", | ||
711 | + "optional": true, | ||
712 | + "requires": { | ||
713 | + "sparse-bitfield": "3.0.3" | ||
714 | + } | ||
715 | + }, | ||
716 | + "sax": { | ||
717 | + "version": "1.2.4", | ||
718 | + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", | ||
719 | + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" | ||
720 | + }, | ||
721 | + "selenium-webdriver": { | ||
722 | + "version": "4.0.0-alpha.1", | ||
723 | + "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.0.0-alpha.1.tgz", | ||
724 | + "integrity": "sha512-z88rdjHAv3jmTZ7KSGUkTvo4rGzcDGMq0oXWHNIDK96Gs31JKVdu9+FMtT4KBrVoibg8dUicJDok6GnqqttO5Q==", | ||
725 | + "requires": { | ||
726 | + "jszip": "3.1.5", | ||
727 | + "rimraf": "2.6.2", | ||
728 | + "tmp": "0.0.30", | ||
729 | + "xml2js": "0.4.19" | ||
730 | + } | ||
731 | + }, | ||
732 | + "semver": { | ||
733 | + "version": "5.6.0", | ||
734 | + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", | ||
735 | + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==" | ||
736 | + }, | ||
737 | + "sliced": { | ||
738 | + "version": "1.0.1", | ||
739 | + "resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz", | ||
740 | + "integrity": "sha1-CzpmK10Ewxd7GSa+qCsD+Dei70E=" | ||
741 | + }, | ||
742 | + "sparse-bitfield": { | ||
743 | + "version": "3.0.3", | ||
744 | + "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", | ||
745 | + "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=", | ||
746 | + "optional": true, | ||
747 | + "requires": { | ||
748 | + "memory-pager": "1.1.0" | ||
749 | + } | ||
750 | + }, | ||
429 | "sshpk": { | 751 | "sshpk": { |
430 | "version": "1.15.2", | 752 | "version": "1.15.2", |
431 | "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.15.2.tgz", | 753 | "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.15.2.tgz", |
... | @@ -450,6 +772,14 @@ | ... | @@ -450,6 +772,14 @@ |
450 | "safe-buffer": "5.1.2" | 772 | "safe-buffer": "5.1.2" |
451 | } | 773 | } |
452 | }, | 774 | }, |
775 | + "tmp": { | ||
776 | + "version": "0.0.30", | ||
777 | + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.30.tgz", | ||
778 | + "integrity": "sha1-ckGdSovn1s51FI/YsyTlk6cRwu0=", | ||
779 | + "requires": { | ||
780 | + "os-tmpdir": "1.0.2" | ||
781 | + } | ||
782 | + }, | ||
453 | "tough-cookie": { | 783 | "tough-cookie": { |
454 | "version": "2.4.3", | 784 | "version": "2.4.3", |
455 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", | 785 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", |
... | @@ -506,6 +836,25 @@ | ... | @@ -506,6 +836,25 @@ |
506 | "core-util-is": "1.0.2", | 836 | "core-util-is": "1.0.2", |
507 | "extsprintf": "1.3.0" | 837 | "extsprintf": "1.3.0" |
508 | } | 838 | } |
839 | + }, | ||
840 | + "wrappy": { | ||
841 | + "version": "1.0.2", | ||
842 | + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", | ||
843 | + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" | ||
844 | + }, | ||
845 | + "xml2js": { | ||
846 | + "version": "0.4.19", | ||
847 | + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz", | ||
848 | + "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", | ||
849 | + "requires": { | ||
850 | + "sax": "1.2.4", | ||
851 | + "xmlbuilder": "9.0.7" | ||
852 | + } | ||
853 | + }, | ||
854 | + "xmlbuilder": { | ||
855 | + "version": "9.0.7", | ||
856 | + "resolved": "http://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", | ||
857 | + "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=" | ||
509 | } | 858 | } |
510 | } | 859 | } |
511 | } | 860 | } | ... | ... |
... | @@ -15,6 +15,8 @@ | ... | @@ -15,6 +15,8 @@ |
15 | "dependencies": { | 15 | "dependencies": { |
16 | "cheerio": "^1.0.0-rc.2", | 16 | "cheerio": "^1.0.0-rc.2", |
17 | "iconv": "^2.3.1", | 17 | "iconv": "^2.3.1", |
18 | - "request": "^2.88.0" | 18 | + "mongoose": "^5.3.14", |
19 | + "request": "^2.88.0", | ||
20 | + "selenium-webdriver": "^4.0.0-alpha.1" | ||
19 | } | 21 | } |
20 | } | 22 | } | ... | ... |
-
Please register or login to post a comment