서주원

create new schema and add cards.json

...@@ -2,4 +2,12 @@ ...@@ -2,4 +2,12 @@
2 2
3 node_modules 3 node_modules
4 4
5 -¼ҽSW Ʈ.txt
...\ No newline at end of file ...\ No newline at end of file
5 +*.txt
6 +
7 +.env
8 +
9 +*.log
10 +
11 +npm-debug.log*
12 +
13 +
......
No preview for this file type
...@@ -7,6 +7,8 @@ const bcrypt=require('bcrypt-nodejs') ...@@ -7,6 +7,8 @@ const bcrypt=require('bcrypt-nodejs')
7 const rp=require('request-promise') 7 const rp=require('request-promise')
8 const morgan=require('morgan') 8 const morgan=require('morgan')
9 const cheerio=require('cheerio') 9 const cheerio=require('cheerio')
10 +const mysql=require('mysql')
11 +require('dotenv').config()
10 const app=express() 12 const app=express()
11 13
12 app.use(morgan('[:date[iso]] :method :status :url :response-time(ms) :user-agent')) 14 app.use(morgan('[:date[iso]] :method :status :url :response-time(ms) :user-agent'))
...@@ -21,6 +23,19 @@ app.use(function (req, res, next) { ...@@ -21,6 +23,19 @@ app.use(function (req, res, next) {
21 next() 23 next()
22 }) 24 })
23 25
26 +const connection=mysql.createConnection({
27 + host:process.env.DB_HOST,
28 + user:process.env.DB_USER,
29 + password:process.env.DB_PASSWORD,
30 + database:'user',
31 + port:''
32 +})
33 +
34 +let allCards=[]
35 +fs.readFile('cardskoKR.json',(err,data)=>{
36 + allCards=JSON.parse(data)
37 +})
38 +
24 app.use(session({ 39 app.use(session({
25 secret:'ambc@!vsmkv#!&*!#EDNAnsv#!$()_*#@', 40 secret:'ambc@!vsmkv#!&*!#EDNAnsv#!$()_*#@',
26 resave:false, 41 resave:false,
...@@ -39,3 +54,7 @@ app.get('/main',(req,res)=>{ ...@@ -39,3 +54,7 @@ app.get('/main',(req,res)=>{
39 res.writeHead(200, {'Content-Type': 'text/html'}) 54 res.writeHead(200, {'Content-Type': 'text/html'})
40 } 55 }
41 }) 56 })
57 +
58 +app.listen(process.env.SERVER_PORT || 3000,()=>{
59 + console.log('sample server is listening to port ' + process.env.SERVER_PORT)
60 +})
...\ No newline at end of file ...\ No newline at end of file
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -14,15 +14,54 @@ ...@@ -14,15 +14,54 @@
14 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", 14 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz",
15 "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", 15 "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=",
16 "requires": { 16 "requires": {
17 - "mime-types": "2.1.21", 17 + "mime-types": "~2.1.18",
18 "negotiator": "0.6.1" 18 "negotiator": "0.6.1"
19 } 19 }
20 }, 20 },
21 + "ajv": {
22 + "version": "6.6.0",
23 + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.6.0.tgz",
24 + "integrity": "sha512-ZCIMdm75ps9usdeb0GQL9rKOUlTtS0p0vU2nQVXgRIu6Yb00G9GY7AvbVLwTQ5Po4JDKIwJlT5nwggoRDrDVAw==",
25 + "requires": {
26 + "fast-deep-equal": "^2.0.1",
27 + "fast-json-stable-stringify": "^2.0.0",
28 + "json-schema-traverse": "^0.4.1",
29 + "uri-js": "^4.2.2"
30 + }
31 + },
21 "array-flatten": { 32 "array-flatten": {
22 "version": "1.1.1", 33 "version": "1.1.1",
23 "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 34 "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
24 "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" 35 "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
25 }, 36 },
37 + "asn1": {
38 + "version": "0.2.4",
39 + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
40 + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
41 + "requires": {
42 + "safer-buffer": "~2.1.0"
43 + }
44 + },
45 + "assert-plus": {
46 + "version": "1.0.0",
47 + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
48 + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
49 + },
50 + "asynckit": {
51 + "version": "0.4.0",
52 + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
53 + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
54 + },
55 + "aws-sign2": {
56 + "version": "0.7.0",
57 + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
58 + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
59 + },
60 + "aws4": {
61 + "version": "1.8.0",
62 + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz",
63 + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="
64 + },
26 "basic-auth": { 65 "basic-auth": {
27 "version": "2.0.1", 66 "version": "2.0.1",
28 "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz", 67 "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz",
...@@ -36,6 +75,19 @@ ...@@ -36,6 +75,19 @@
36 "resolved": "https://registry.npmjs.org/bcrypt-nodejs/-/bcrypt-nodejs-0.0.3.tgz", 75 "resolved": "https://registry.npmjs.org/bcrypt-nodejs/-/bcrypt-nodejs-0.0.3.tgz",
37 "integrity": "sha1-xgkX8m3CNWYVZsaBBhwwPCsohCs=" 76 "integrity": "sha1-xgkX8m3CNWYVZsaBBhwwPCsohCs="
38 }, 77 },
78 + "bcrypt-pbkdf": {
79 + "version": "1.0.2",
80 + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
81 + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
82 + "requires": {
83 + "tweetnacl": "^0.14.3"
84 + }
85 + },
86 + "bignumber.js": {
87 + "version": "4.1.0",
88 + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-4.1.0.tgz",
89 + "integrity": "sha512-eJzYkFYy9L4JzXsbymsFn3p54D+llV27oTQ+ziJG7WFRheJcNZilgVXMG0LoZtlQSKBsJdWtLFqOD0u+U0jZKA=="
90 + },
39 "bluebird": { 91 "bluebird": {
40 "version": "3.5.3", 92 "version": "3.5.3",
41 "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.3.tgz", 93 "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.3.tgz",
...@@ -47,15 +99,15 @@ ...@@ -47,15 +99,15 @@
47 "integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=", 99 "integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=",
48 "requires": { 100 "requires": {
49 "bytes": "3.0.0", 101 "bytes": "3.0.0",
50 - "content-type": "1.0.4", 102 + "content-type": "~1.0.4",
51 "debug": "2.6.9", 103 "debug": "2.6.9",
52 - "depd": "1.1.2", 104 + "depd": "~1.1.2",
53 - "http-errors": "1.6.3", 105 + "http-errors": "~1.6.3",
54 "iconv-lite": "0.4.23", 106 "iconv-lite": "0.4.23",
55 - "on-finished": "2.3.0", 107 + "on-finished": "~2.3.0",
56 "qs": "6.5.2", 108 "qs": "6.5.2",
57 "raw-body": "2.3.3", 109 "raw-body": "2.3.3",
58 - "type-is": "1.6.16" 110 + "type-is": "~1.6.16"
59 } 111 }
60 }, 112 },
61 "boolbase": { 113 "boolbase": {
...@@ -68,17 +120,30 @@ ...@@ -68,17 +120,30 @@
68 "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", 120 "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
69 "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=" 121 "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg="
70 }, 122 },
123 + "caseless": {
124 + "version": "0.12.0",
125 + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
126 + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
127 + },
71 "cheerio": { 128 "cheerio": {
72 "version": "1.0.0-rc.2", 129 "version": "1.0.0-rc.2",
73 "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", 130 "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz",
74 "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", 131 "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=",
75 "requires": { 132 "requires": {
76 - "css-select": "1.2.0", 133 + "css-select": "~1.2.0",
77 - "dom-serializer": "0.1.0", 134 + "dom-serializer": "~0.1.0",
78 - "entities": "1.1.2", 135 + "entities": "~1.1.1",
79 - "htmlparser2": "3.10.0", 136 + "htmlparser2": "^3.9.1",
80 - "lodash": "4.17.11", 137 + "lodash": "^4.15.0",
81 - "parse5": "3.0.3" 138 + "parse5": "^3.0.1"
139 + }
140 + },
141 + "combined-stream": {
142 + "version": "1.0.7",
143 + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz",
144 + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==",
145 + "requires": {
146 + "delayed-stream": "~1.0.0"
82 } 147 }
83 }, 148 },
84 "content-disposition": { 149 "content-disposition": {
...@@ -101,6 +166,11 @@ ...@@ -101,6 +166,11 @@
101 "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 166 "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
102 "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" 167 "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
103 }, 168 },
169 + "core-util-is": {
170 + "version": "1.0.2",
171 + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
172 + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
173 + },
104 "crc": { 174 "crc": {
105 "version": "3.4.4", 175 "version": "3.4.4",
106 "resolved": "https://registry.npmjs.org/crc/-/crc-3.4.4.tgz", 176 "resolved": "https://registry.npmjs.org/crc/-/crc-3.4.4.tgz",
...@@ -111,10 +181,10 @@ ...@@ -111,10 +181,10 @@
111 "resolved": "http://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", 181 "resolved": "http://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",
112 "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", 182 "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=",
113 "requires": { 183 "requires": {
114 - "boolbase": "1.0.0", 184 + "boolbase": "~1.0.0",
115 - "css-what": "2.1.2", 185 + "css-what": "2.1",
116 "domutils": "1.5.1", 186 "domutils": "1.5.1",
117 - "nth-check": "1.0.2" 187 + "nth-check": "~1.0.1"
118 } 188 }
119 }, 189 },
120 "css-what": { 190 "css-what": {
...@@ -122,6 +192,14 @@ ...@@ -122,6 +192,14 @@
122 "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.2.tgz", 192 "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.2.tgz",
123 "integrity": "sha512-wan8dMWQ0GUeF7DGEPVjhHemVW/vy6xUYmFzRY8RYqgA0JtXC9rJmbScBjqSu6dg9q0lwPQy6ZAmJVr3PPTvqQ==" 193 "integrity": "sha512-wan8dMWQ0GUeF7DGEPVjhHemVW/vy6xUYmFzRY8RYqgA0JtXC9rJmbScBjqSu6dg9q0lwPQy6ZAmJVr3PPTvqQ=="
124 }, 194 },
195 + "dashdash": {
196 + "version": "1.14.1",
197 + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
198 + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
199 + "requires": {
200 + "assert-plus": "^1.0.0"
201 + }
202 + },
125 "debug": { 203 "debug": {
126 "version": "2.6.9", 204 "version": "2.6.9",
127 "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 205 "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
...@@ -130,6 +208,11 @@ ...@@ -130,6 +208,11 @@
130 "ms": "2.0.0" 208 "ms": "2.0.0"
131 } 209 }
132 }, 210 },
211 + "delayed-stream": {
212 + "version": "1.0.0",
213 + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
214 + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
215 + },
133 "depd": { 216 "depd": {
134 "version": "1.1.2", 217 "version": "1.1.2",
135 "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", 218 "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
...@@ -145,8 +228,8 @@ ...@@ -145,8 +228,8 @@
145 "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", 228 "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz",
146 "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=", 229 "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=",
147 "requires": { 230 "requires": {
148 - "domelementtype": "1.1.3", 231 + "domelementtype": "~1.1.1",
149 - "entities": "1.1.2" 232 + "entities": "~1.1.1"
150 }, 233 },
151 "dependencies": { 234 "dependencies": {
152 "domelementtype": { 235 "domelementtype": {
...@@ -166,7 +249,7 @@ ...@@ -166,7 +249,7 @@
166 "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", 249 "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz",
167 "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", 250 "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==",
168 "requires": { 251 "requires": {
169 - "domelementtype": "1.2.1" 252 + "domelementtype": "1"
170 } 253 }
171 }, 254 },
172 "domutils": { 255 "domutils": {
...@@ -174,8 +257,22 @@ ...@@ -174,8 +257,22 @@
174 "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", 257 "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz",
175 "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", 258 "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=",
176 "requires": { 259 "requires": {
177 - "dom-serializer": "0.1.0", 260 + "dom-serializer": "0",
178 - "domelementtype": "1.2.1" 261 + "domelementtype": "1"
262 + }
263 + },
264 + "dotenv": {
265 + "version": "6.1.0",
266 + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-6.1.0.tgz",
267 + "integrity": "sha512-/veDn2ztgRlB7gKmE3i9f6CmDIyXAy6d5nBq+whO9SLX+Zs1sXEgFLPi+aSuWqUuusMfbi84fT8j34fs1HaYUw=="
268 + },
269 + "ecc-jsbn": {
270 + "version": "0.1.2",
271 + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
272 + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
273 + "requires": {
274 + "jsbn": "~0.1.0",
275 + "safer-buffer": "^2.1.0"
179 } 276 }
180 }, 277 },
181 "ee-first": { 278 "ee-first": {
...@@ -208,36 +305,36 @@ ...@@ -208,36 +305,36 @@
208 "resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz", 305 "resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz",
209 "integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==", 306 "integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==",
210 "requires": { 307 "requires": {
211 - "accepts": "1.3.5", 308 + "accepts": "~1.3.5",
212 "array-flatten": "1.1.1", 309 "array-flatten": "1.1.1",
213 "body-parser": "1.18.3", 310 "body-parser": "1.18.3",
214 "content-disposition": "0.5.2", 311 "content-disposition": "0.5.2",
215 - "content-type": "1.0.4", 312 + "content-type": "~1.0.4",
216 "cookie": "0.3.1", 313 "cookie": "0.3.1",
217 "cookie-signature": "1.0.6", 314 "cookie-signature": "1.0.6",
218 "debug": "2.6.9", 315 "debug": "2.6.9",
219 - "depd": "1.1.2", 316 + "depd": "~1.1.2",
220 - "encodeurl": "1.0.2", 317 + "encodeurl": "~1.0.2",
221 - "escape-html": "1.0.3", 318 + "escape-html": "~1.0.3",
222 - "etag": "1.8.1", 319 + "etag": "~1.8.1",
223 "finalhandler": "1.1.1", 320 "finalhandler": "1.1.1",
224 "fresh": "0.5.2", 321 "fresh": "0.5.2",
225 "merge-descriptors": "1.0.1", 322 "merge-descriptors": "1.0.1",
226 - "methods": "1.1.2", 323 + "methods": "~1.1.2",
227 - "on-finished": "2.3.0", 324 + "on-finished": "~2.3.0",
228 - "parseurl": "1.3.2", 325 + "parseurl": "~1.3.2",
229 "path-to-regexp": "0.1.7", 326 "path-to-regexp": "0.1.7",
230 - "proxy-addr": "2.0.4", 327 + "proxy-addr": "~2.0.4",
231 "qs": "6.5.2", 328 "qs": "6.5.2",
232 - "range-parser": "1.2.0", 329 + "range-parser": "~1.2.0",
233 "safe-buffer": "5.1.2", 330 "safe-buffer": "5.1.2",
234 "send": "0.16.2", 331 "send": "0.16.2",
235 "serve-static": "1.13.2", 332 "serve-static": "1.13.2",
236 "setprototypeof": "1.1.0", 333 "setprototypeof": "1.1.0",
237 - "statuses": "1.4.0", 334 + "statuses": "~1.4.0",
238 - "type-is": "1.6.16", 335 + "type-is": "~1.6.16",
239 "utils-merge": "1.0.1", 336 "utils-merge": "1.0.1",
240 - "vary": "1.1.2" 337 + "vary": "~1.1.2"
241 }, 338 },
242 "dependencies": { 339 "dependencies": {
243 "statuses": { 340 "statuses": {
...@@ -256,25 +353,45 @@ ...@@ -256,25 +353,45 @@
256 "cookie-signature": "1.0.6", 353 "cookie-signature": "1.0.6",
257 "crc": "3.4.4", 354 "crc": "3.4.4",
258 "debug": "2.6.9", 355 "debug": "2.6.9",
259 - "depd": "1.1.2", 356 + "depd": "~1.1.1",
260 - "on-headers": "1.0.1", 357 + "on-headers": "~1.0.1",
261 - "parseurl": "1.3.2", 358 + "parseurl": "~1.3.2",
262 - "uid-safe": "2.1.5", 359 + "uid-safe": "~2.1.5",
263 "utils-merge": "1.0.1" 360 "utils-merge": "1.0.1"
264 } 361 }
265 }, 362 },
363 + "extend": {
364 + "version": "3.0.2",
365 + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
366 + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
367 + },
368 + "extsprintf": {
369 + "version": "1.3.0",
370 + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
371 + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
372 + },
373 + "fast-deep-equal": {
374 + "version": "2.0.1",
375 + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
376 + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk="
377 + },
378 + "fast-json-stable-stringify": {
379 + "version": "2.0.0",
380 + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
381 + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I="
382 + },
266 "finalhandler": { 383 "finalhandler": {
267 "version": "1.1.1", 384 "version": "1.1.1",
268 "resolved": "http://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", 385 "resolved": "http://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz",
269 "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==", 386 "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==",
270 "requires": { 387 "requires": {
271 "debug": "2.6.9", 388 "debug": "2.6.9",
272 - "encodeurl": "1.0.2", 389 + "encodeurl": "~1.0.2",
273 - "escape-html": "1.0.3", 390 + "escape-html": "~1.0.3",
274 - "on-finished": "2.3.0", 391 + "on-finished": "~2.3.0",
275 - "parseurl": "1.3.2", 392 + "parseurl": "~1.3.2",
276 - "statuses": "1.4.0", 393 + "statuses": "~1.4.0",
277 - "unpipe": "1.0.0" 394 + "unpipe": "~1.0.0"
278 }, 395 },
279 "dependencies": { 396 "dependencies": {
280 "statuses": { 397 "statuses": {
...@@ -284,6 +401,21 @@ ...@@ -284,6 +401,21 @@
284 } 401 }
285 } 402 }
286 }, 403 },
404 + "forever-agent": {
405 + "version": "0.6.1",
406 + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
407 + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
408 + },
409 + "form-data": {
410 + "version": "2.3.3",
411 + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
412 + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
413 + "requires": {
414 + "asynckit": "^0.4.0",
415 + "combined-stream": "^1.0.6",
416 + "mime-types": "^2.1.12"
417 + }
418 + },
287 "forwarded": { 419 "forwarded": {
288 "version": "0.1.2", 420 "version": "0.1.2",
289 "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", 421 "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
...@@ -299,17 +431,39 @@ ...@@ -299,17 +431,39 @@
299 "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", 431 "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
300 "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=" 432 "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ="
301 }, 433 },
434 + "getpass": {
435 + "version": "0.1.7",
436 + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
437 + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
438 + "requires": {
439 + "assert-plus": "^1.0.0"
440 + }
441 + },
442 + "har-schema": {
443 + "version": "2.0.0",
444 + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
445 + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
446 + },
447 + "har-validator": {
448 + "version": "5.1.3",
449 + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",
450 + "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",
451 + "requires": {
452 + "ajv": "^6.5.5",
453 + "har-schema": "^2.0.0"
454 + }
455 + },
302 "htmlparser2": { 456 "htmlparser2": {
303 "version": "3.10.0", 457 "version": "3.10.0",
304 "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.0.tgz", 458 "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.0.tgz",
305 "integrity": "sha512-J1nEUGv+MkXS0weHNWVKJJ+UrLfePxRWpN3C9bEi9fLxL2+ggW94DQvgYVXsaT30PGwYRIZKNZXuyMhp3Di4bQ==", 459 "integrity": "sha512-J1nEUGv+MkXS0weHNWVKJJ+UrLfePxRWpN3C9bEi9fLxL2+ggW94DQvgYVXsaT30PGwYRIZKNZXuyMhp3Di4bQ==",
306 "requires": { 460 "requires": {
307 - "domelementtype": "1.3.0", 461 + "domelementtype": "^1.3.0",
308 - "domhandler": "2.4.2", 462 + "domhandler": "^2.3.0",
309 - "domutils": "1.5.1", 463 + "domutils": "^1.5.1",
310 - "entities": "1.1.2", 464 + "entities": "^1.1.1",
311 - "inherits": "2.0.3", 465 + "inherits": "^2.0.1",
312 - "readable-stream": "3.0.6" 466 + "readable-stream": "^3.0.6"
313 }, 467 },
314 "dependencies": { 468 "dependencies": {
315 "domelementtype": { 469 "domelementtype": {
...@@ -324,10 +478,20 @@ ...@@ -324,10 +478,20 @@
324 "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", 478 "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
325 "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", 479 "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=",
326 "requires": { 480 "requires": {
327 - "depd": "1.1.2", 481 + "depd": "~1.1.2",
328 "inherits": "2.0.3", 482 "inherits": "2.0.3",
329 "setprototypeof": "1.1.0", 483 "setprototypeof": "1.1.0",
330 - "statuses": "1.5.0" 484 + "statuses": ">= 1.4.0 < 2"
485 + }
486 + },
487 + "http-signature": {
488 + "version": "1.2.0",
489 + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
490 + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
491 + "requires": {
492 + "assert-plus": "^1.0.0",
493 + "jsprim": "^1.2.2",
494 + "sshpk": "^1.7.0"
331 } 495 }
332 }, 496 },
333 "iconv-lite": { 497 "iconv-lite": {
...@@ -335,7 +499,7 @@ ...@@ -335,7 +499,7 @@
335 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", 499 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz",
336 "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", 500 "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==",
337 "requires": { 501 "requires": {
338 - "safer-buffer": "2.1.2" 502 + "safer-buffer": ">= 2.1.2 < 3"
339 } 503 }
340 }, 504 },
341 "inherits": { 505 "inherits": {
...@@ -348,6 +512,52 @@ ...@@ -348,6 +512,52 @@
348 "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz", 512 "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz",
349 "integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4=" 513 "integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4="
350 }, 514 },
515 + "is-typedarray": {
516 + "version": "1.0.0",
517 + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
518 + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
519 + },
520 + "isarray": {
521 + "version": "1.0.0",
522 + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
523 + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
524 + },
525 + "isstream": {
526 + "version": "0.1.2",
527 + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
528 + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
529 + },
530 + "jsbn": {
531 + "version": "0.1.1",
532 + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
533 + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
534 + },
535 + "json-schema": {
536 + "version": "0.2.3",
537 + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
538 + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
539 + },
540 + "json-schema-traverse": {
541 + "version": "0.4.1",
542 + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
543 + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
544 + },
545 + "json-stringify-safe": {
546 + "version": "5.0.1",
547 + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
548 + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
549 + },
550 + "jsprim": {
551 + "version": "1.4.1",
552 + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
553 + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
554 + "requires": {
555 + "assert-plus": "1.0.0",
556 + "extsprintf": "1.3.0",
557 + "json-schema": "0.2.3",
558 + "verror": "1.10.0"
559 + }
560 + },
351 "lodash": { 561 "lodash": {
352 "version": "4.17.11", 562 "version": "4.17.11",
353 "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", 563 "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
...@@ -383,7 +593,7 @@ ...@@ -383,7 +593,7 @@
383 "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz", 593 "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz",
384 "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==", 594 "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==",
385 "requires": { 595 "requires": {
386 - "mime-db": "1.37.0" 596 + "mime-db": "~1.37.0"
387 } 597 }
388 }, 598 },
389 "morgan": { 599 "morgan": {
...@@ -391,11 +601,11 @@ ...@@ -391,11 +601,11 @@
391 "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.9.1.tgz", 601 "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.9.1.tgz",
392 "integrity": "sha512-HQStPIV4y3afTiCYVxirakhlCfGkI161c76kKFca7Fk1JusM//Qeo1ej2XaMniiNeaZklMVrh3vTtIzpzwbpmA==", 602 "integrity": "sha512-HQStPIV4y3afTiCYVxirakhlCfGkI161c76kKFca7Fk1JusM//Qeo1ej2XaMniiNeaZklMVrh3vTtIzpzwbpmA==",
393 "requires": { 603 "requires": {
394 - "basic-auth": "2.0.1", 604 + "basic-auth": "~2.0.0",
395 "debug": "2.6.9", 605 "debug": "2.6.9",
396 - "depd": "1.1.2", 606 + "depd": "~1.1.2",
397 - "on-finished": "2.3.0", 607 + "on-finished": "~2.3.0",
398 - "on-headers": "1.0.1" 608 + "on-headers": "~1.0.1"
399 } 609 }
400 }, 610 },
401 "ms": { 611 "ms": {
...@@ -403,6 +613,33 @@ ...@@ -403,6 +613,33 @@
403 "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 613 "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
404 "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 614 "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
405 }, 615 },
616 + "mysql": {
617 + "version": "2.16.0",
618 + "resolved": "https://registry.npmjs.org/mysql/-/mysql-2.16.0.tgz",
619 + "integrity": "sha512-dPbN2LHonQp7D5ja5DJXNbCLe/HRdu+f3v61aguzNRQIrmZLOeRoymBYyeThrR6ug+FqzDL95Gc9maqZUJS+Gw==",
620 + "requires": {
621 + "bignumber.js": "4.1.0",
622 + "readable-stream": "2.3.6",
623 + "safe-buffer": "5.1.2",
624 + "sqlstring": "2.3.1"
625 + },
626 + "dependencies": {
627 + "readable-stream": {
628 + "version": "2.3.6",
629 + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
630 + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
631 + "requires": {
632 + "core-util-is": "~1.0.0",
633 + "inherits": "~2.0.3",
634 + "isarray": "~1.0.0",
635 + "process-nextick-args": "~2.0.0",
636 + "safe-buffer": "~5.1.1",
637 + "string_decoder": "~1.1.1",
638 + "util-deprecate": "~1.0.1"
639 + }
640 + }
641 + }
642 + },
406 "negotiator": { 643 "negotiator": {
407 "version": "0.6.1", 644 "version": "0.6.1",
408 "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", 645 "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
...@@ -413,9 +650,14 @@ ...@@ -413,9 +650,14 @@
413 "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", 650 "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
414 "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", 651 "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",
415 "requires": { 652 "requires": {
416 - "boolbase": "1.0.0" 653 + "boolbase": "~1.0.0"
417 } 654 }
418 }, 655 },
656 + "oauth-sign": {
657 + "version": "0.9.0",
658 + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
659 + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
660 + },
419 "on-finished": { 661 "on-finished": {
420 "version": "2.3.0", 662 "version": "2.3.0",
421 "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", 663 "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
...@@ -434,7 +676,7 @@ ...@@ -434,7 +676,7 @@
434 "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", 676 "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz",
435 "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==", 677 "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==",
436 "requires": { 678 "requires": {
437 - "@types/node": "10.12.10" 679 + "@types/node": "*"
438 } 680 }
439 }, 681 },
440 "parseurl": { 682 "parseurl": {
...@@ -447,8 +689,8 @@ ...@@ -447,8 +689,8 @@
447 "resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz", 689 "resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz",
448 "integrity": "sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8=", 690 "integrity": "sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8=",
449 "requires": { 691 "requires": {
450 - "process": "0.11.10", 692 + "process": "^0.11.1",
451 - "util": "0.10.4" 693 + "util": "^0.10.3"
452 } 694 }
453 }, 695 },
454 "path-to-regexp": { 696 "path-to-regexp": {
...@@ -456,17 +698,27 @@ ...@@ -456,17 +698,27 @@
456 "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 698 "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
457 "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" 699 "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
458 }, 700 },
701 + "performance-now": {
702 + "version": "2.1.0",
703 + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
704 + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
705 + },
459 "process": { 706 "process": {
460 "version": "0.11.10", 707 "version": "0.11.10",
461 "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", 708 "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
462 "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" 709 "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI="
463 }, 710 },
711 + "process-nextick-args": {
712 + "version": "2.0.0",
713 + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
714 + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw=="
715 + },
464 "proxy-addr": { 716 "proxy-addr": {
465 "version": "2.0.4", 717 "version": "2.0.4",
466 "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz", 718 "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz",
467 "integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==", 719 "integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==",
468 "requires": { 720 "requires": {
469 - "forwarded": "0.1.2", 721 + "forwarded": "~0.1.2",
470 "ipaddr.js": "1.8.0" 722 "ipaddr.js": "1.8.0"
471 } 723 }
472 }, 724 },
...@@ -511,9 +763,36 @@ ...@@ -511,9 +763,36 @@
511 "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.0.6.tgz", 763 "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.0.6.tgz",
512 "integrity": "sha512-9E1oLoOWfhSXHGv6QlwXJim7uNzd9EVlWK+21tCU9Ju/kR0/p2AZYPz4qSchgO8PlLIH4FpZYfzwS+rEksZjIg==", 764 "integrity": "sha512-9E1oLoOWfhSXHGv6QlwXJim7uNzd9EVlWK+21tCU9Ju/kR0/p2AZYPz4qSchgO8PlLIH4FpZYfzwS+rEksZjIg==",
513 "requires": { 765 "requires": {
514 - "inherits": "2.0.3", 766 + "inherits": "^2.0.3",
515 - "string_decoder": "1.1.1", 767 + "string_decoder": "^1.1.1",
516 - "util-deprecate": "1.0.2" 768 + "util-deprecate": "^1.0.1"
769 + }
770 + },
771 + "request": {
772 + "version": "2.88.0",
773 + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz",
774 + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==",
775 + "requires": {
776 + "aws-sign2": "~0.7.0",
777 + "aws4": "^1.8.0",
778 + "caseless": "~0.12.0",
779 + "combined-stream": "~1.0.6",
780 + "extend": "~3.0.2",
781 + "forever-agent": "~0.6.1",
782 + "form-data": "~2.3.2",
783 + "har-validator": "~5.1.0",
784 + "http-signature": "~1.2.0",
785 + "is-typedarray": "~1.0.0",
786 + "isstream": "~0.1.2",
787 + "json-stringify-safe": "~5.0.1",
788 + "mime-types": "~2.1.19",
789 + "oauth-sign": "~0.9.0",
790 + "performance-now": "^2.1.0",
791 + "qs": "~6.5.2",
792 + "safe-buffer": "^5.1.2",
793 + "tough-cookie": "~2.4.3",
794 + "tunnel-agent": "^0.6.0",
795 + "uuid": "^3.3.2"
517 } 796 }
518 }, 797 },
519 "request-promise": { 798 "request-promise": {
...@@ -521,10 +800,10 @@ ...@@ -521,10 +800,10 @@
521 "resolved": "https://registry.npmjs.org/request-promise/-/request-promise-4.2.2.tgz", 800 "resolved": "https://registry.npmjs.org/request-promise/-/request-promise-4.2.2.tgz",
522 "integrity": "sha1-0epG1lSm7k+O5qT+oQGMIpEZBLQ=", 801 "integrity": "sha1-0epG1lSm7k+O5qT+oQGMIpEZBLQ=",
523 "requires": { 802 "requires": {
524 - "bluebird": "3.5.3", 803 + "bluebird": "^3.5.0",
525 "request-promise-core": "1.1.1", 804 "request-promise-core": "1.1.1",
526 - "stealthy-require": "1.1.1", 805 + "stealthy-require": "^1.1.0",
527 - "tough-cookie": "2.4.3" 806 + "tough-cookie": ">=2.3.3"
528 } 807 }
529 }, 808 },
530 "request-promise-core": { 809 "request-promise-core": {
...@@ -532,7 +811,7 @@ ...@@ -532,7 +811,7 @@
532 "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.1.tgz", 811 "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.1.tgz",
533 "integrity": "sha1-Pu4AssWqgyOc+wTFcA2jb4HNCLY=", 812 "integrity": "sha1-Pu4AssWqgyOc+wTFcA2jb4HNCLY=",
534 "requires": { 813 "requires": {
535 - "lodash": "4.17.11" 814 + "lodash": "^4.13.1"
536 } 815 }
537 }, 816 },
538 "safe-buffer": { 817 "safe-buffer": {
...@@ -551,18 +830,18 @@ ...@@ -551,18 +830,18 @@
551 "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", 830 "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==",
552 "requires": { 831 "requires": {
553 "debug": "2.6.9", 832 "debug": "2.6.9",
554 - "depd": "1.1.2", 833 + "depd": "~1.1.2",
555 - "destroy": "1.0.4", 834 + "destroy": "~1.0.4",
556 - "encodeurl": "1.0.2", 835 + "encodeurl": "~1.0.2",
557 - "escape-html": "1.0.3", 836 + "escape-html": "~1.0.3",
558 - "etag": "1.8.1", 837 + "etag": "~1.8.1",
559 "fresh": "0.5.2", 838 "fresh": "0.5.2",
560 - "http-errors": "1.6.3", 839 + "http-errors": "~1.6.2",
561 "mime": "1.4.1", 840 "mime": "1.4.1",
562 "ms": "2.0.0", 841 "ms": "2.0.0",
563 - "on-finished": "2.3.0", 842 + "on-finished": "~2.3.0",
564 - "range-parser": "1.2.0", 843 + "range-parser": "~1.2.0",
565 - "statuses": "1.4.0" 844 + "statuses": "~1.4.0"
566 }, 845 },
567 "dependencies": { 846 "dependencies": {
568 "statuses": { 847 "statuses": {
...@@ -577,9 +856,9 @@ ...@@ -577,9 +856,9 @@
577 "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", 856 "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz",
578 "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", 857 "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==",
579 "requires": { 858 "requires": {
580 - "encodeurl": "1.0.2", 859 + "encodeurl": "~1.0.2",
581 - "escape-html": "1.0.3", 860 + "escape-html": "~1.0.3",
582 - "parseurl": "1.3.2", 861 + "parseurl": "~1.3.2",
583 "send": "0.16.2" 862 "send": "0.16.2"
584 } 863 }
585 }, 864 },
...@@ -588,6 +867,27 @@ ...@@ -588,6 +867,27 @@
588 "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", 867 "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",
589 "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==" 868 "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ=="
590 }, 869 },
870 + "sqlstring": {
871 + "version": "2.3.1",
872 + "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz",
873 + "integrity": "sha1-R1OT/56RR5rqYtyvDKPRSYOn+0A="
874 + },
875 + "sshpk": {
876 + "version": "1.15.2",
877 + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.15.2.tgz",
878 + "integrity": "sha512-Ra/OXQtuh0/enyl4ETZAfTaeksa6BXks5ZcjpSUNrjBr0DvrJKX+1fsKDPpT9TBXgHAFsa4510aNVgI8g/+SzA==",
879 + "requires": {
880 + "asn1": "~0.2.3",
881 + "assert-plus": "^1.0.0",
882 + "bcrypt-pbkdf": "^1.0.0",
883 + "dashdash": "^1.12.0",
884 + "ecc-jsbn": "~0.1.1",
885 + "getpass": "^0.1.1",
886 + "jsbn": "~0.1.0",
887 + "safer-buffer": "^2.0.2",
888 + "tweetnacl": "~0.14.0"
889 + }
890 + },
591 "statuses": { 891 "statuses": {
592 "version": "1.5.0", 892 "version": "1.5.0",
593 "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", 893 "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
...@@ -603,7 +903,7 @@ ...@@ -603,7 +903,7 @@
603 "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 903 "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
604 "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 904 "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
605 "requires": { 905 "requires": {
606 - "safe-buffer": "5.1.2" 906 + "safe-buffer": "~5.1.0"
607 } 907 }
608 }, 908 },
609 "tough-cookie": { 909 "tough-cookie": {
...@@ -611,17 +911,30 @@ ...@@ -611,17 +911,30 @@
611 "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", 911 "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
612 "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", 912 "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==",
613 "requires": { 913 "requires": {
614 - "psl": "1.1.29", 914 + "psl": "^1.1.24",
615 - "punycode": "1.4.1" 915 + "punycode": "^1.4.1"
916 + }
917 + },
918 + "tunnel-agent": {
919 + "version": "0.6.0",
920 + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
921 + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
922 + "requires": {
923 + "safe-buffer": "^5.0.1"
616 } 924 }
617 }, 925 },
926 + "tweetnacl": {
927 + "version": "0.14.5",
928 + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
929 + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
930 + },
618 "type-is": { 931 "type-is": {
619 "version": "1.6.16", 932 "version": "1.6.16",
620 "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz", 933 "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz",
621 "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==", 934 "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==",
622 "requires": { 935 "requires": {
623 "media-typer": "0.3.0", 936 "media-typer": "0.3.0",
624 - "mime-types": "2.1.21" 937 + "mime-types": "~2.1.18"
625 } 938 }
626 }, 939 },
627 "uid-safe": { 940 "uid-safe": {
...@@ -629,7 +942,7 @@ ...@@ -629,7 +942,7 @@
629 "resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz", 942 "resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz",
630 "integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==", 943 "integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==",
631 "requires": { 944 "requires": {
632 - "random-bytes": "1.0.0" 945 + "random-bytes": "~1.0.0"
633 } 946 }
634 }, 947 },
635 "unpipe": { 948 "unpipe": {
...@@ -637,6 +950,21 @@ ...@@ -637,6 +950,21 @@
637 "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 950 "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
638 "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" 951 "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
639 }, 952 },
953 + "uri-js": {
954 + "version": "4.2.2",
955 + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
956 + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
957 + "requires": {
958 + "punycode": "^2.1.0"
959 + },
960 + "dependencies": {
961 + "punycode": {
962 + "version": "2.1.1",
963 + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
964 + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
965 + }
966 + }
967 + },
640 "util": { 968 "util": {
641 "version": "0.10.4", 969 "version": "0.10.4",
642 "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", 970 "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz",
...@@ -655,10 +983,25 @@ ...@@ -655,10 +983,25 @@
655 "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 983 "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
656 "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" 984 "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
657 }, 985 },
986 + "uuid": {
987 + "version": "3.3.2",
988 + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
989 + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA=="
990 + },
658 "vary": { 991 "vary": {
659 "version": "1.1.2", 992 "version": "1.1.2",
660 "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 993 "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
661 "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" 994 "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
995 + },
996 + "verror": {
997 + "version": "1.10.0",
998 + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
999 + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
1000 + "requires": {
1001 + "assert-plus": "^1.0.0",
1002 + "core-util-is": "1.0.2",
1003 + "extsprintf": "^1.2.0"
1004 + }
662 } 1005 }
663 } 1006 }
664 } 1007 }
......
...@@ -16,11 +16,14 @@ ...@@ -16,11 +16,14 @@
16 "bcrypt-nodejs": "0.0.3", 16 "bcrypt-nodejs": "0.0.3",
17 "body-parser": "^1.18.3", 17 "body-parser": "^1.18.3",
18 "cheerio": "^1.0.0-rc.2", 18 "cheerio": "^1.0.0-rc.2",
19 + "dotenv": "^6.1.0",
19 "express": "^4.16.4", 20 "express": "^4.16.4",
20 "express-session": "^1.15.6", 21 "express-session": "^1.15.6",
21 "fs": "0.0.1-security", 22 "fs": "0.0.1-security",
22 "morgan": "^1.9.1", 23 "morgan": "^1.9.1",
24 + "mysql": "^2.16.0",
23 "path": "^0.12.7", 25 "path": "^0.12.7",
26 + "request": "^2.88.0",
24 "request-promise": "^4.2.2" 27 "request-promise": "^4.2.2"
25 } 28 }
26 } 29 }
......