Jeongmin Seo

Release before connecting DB

1 -# Favorite restaurant platform
...\ No newline at end of file ...\ No newline at end of file
1 +# Logs
2 +logs
3 +*.log
4 +npm-debug.log*
5 +yarn-debug.log*
6 +yarn-error.log*
7 +lerna-debug.log*
8 +.pnpm-debug.log*
9 +app/log/*
10 +# Diagnostic reports (https://nodejs.org/api/report.html)
11 +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12 +
13 +# Runtime data
14 +pids
15 +*.pid
16 +*.seed
17 +*.pid.lock
18 +
19 +# Directory for instrumented libs generated by jscoverage/JSCover
20 +lib-cov
21 +
22 +# Coverage directory used by tools like istanbul
23 +coverage
24 +*.lcov
25 +
26 +# nyc test coverage
27 +.nyc_output
28 +
29 +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30 +.grunt
31 +
32 +# Bower dependency directory (https://bower.io/)
33 +bower_components
34 +
35 +# node-waf configuration
36 +.lock-wscript
37 +
38 +# Compiled binary addons (https://nodejs.org/api/addons.html)
39 +build/Release
40 +
41 +# Dependency directories
42 +**node_modules/
43 +jspm_packages/
44 +
45 +# Snowpack dependency directory (https://snowpack.dev/)
46 +web_modules/
47 +
48 +# TypeScript cache
49 +*.tsbuildinfo
50 +
51 +# Optional npm cache directory
52 +.npm
53 +
54 +# Optional eslint cache
55 +.eslintcache
56 +
57 +# Microbundle cache
58 +.rpt2_cache/
59 +.rts2_cache_cjs/
60 +.rts2_cache_es/
61 +.rts2_cache_umd/
62 +
63 +# Optional REPL history
64 +.node_repl_history
65 +
66 +# Output of 'npm pack'
67 +*.tgz
68 +
69 +# Yarn Integrity file
70 +.yarn-integrity
71 +
72 +# dotenv environment variables file
73 +.env
74 +.env.test
75 +.env.production
76 +
77 +# parcel-bundler cache (https://parceljs.org/)
78 +.cache
79 +.parcel-cache
80 +
81 +# Next.js build output
82 +.next
83 +out
84 +
85 +# Nuxt.js build / generate output
86 +.nuxt
87 +dist
88 +
89 +# Gatsby files
90 +.cache/
91 +# Comment in the public line in if your project uses Gatsby and not Next.js
92 +# https://nextjs.org/blog/next-9-1#public-directory-support
93 +# public
94 +
95 +# vuepress build output
96 +.vuepress/dist
97 +
98 +# Serverless directories
99 +.serverless/
100 +
101 +# FuseBox cache
102 +.fusebox/
103 +
104 +# DynamoDB Local files
105 +.dynamodb/
106 +
107 +# TernJS port file
108 +.tern-port
109 +
110 +# Stores VSCode versions used for testing VSCode extensions
111 +.vscode-test
112 +
113 +# yarn v2
114 +.yarn/cache
115 +.yarn/unplugged
116 +.yarn/build-state.yml
117 +.yarn/install-state.gz
118 +.pnp.*
119 +
1 +"use strict";
2 +//모듈
3 +const express = require("express");
4 +const bodyParser = require("body-parser");
5 +//환경변수 (운영체제간 gap 없애고자)
6 +const dotenv = require("dotenv");
7 +dotenv.config();
8 +
9 +const compression = require("compression");
10 +const methodOverride = require("method-override");
11 +var cors = require("cors");
12 +const { logger } = require("./src/config/winston");
13 +
14 +const app = express();
15 +//라우팅
16 +const home = require("./src/routes/home");
17 +
18 +const port = 3000;
19 +
20 +//controller갖고있는 모듈 생성
21 +// const index = require("../controllers/indexController");
22 +const jwtMiddleware = require("./src/config/jwtMiddleware");
23 +
24 +// 앱 세팅
25 +app.set("views", "./src/views");
26 +app.set("view engine", "ejs");
27 +app.use(express.static(`${__dirname}/src/public`));
28 +app.use(bodyParser.json());
29 +//url통해 전달되는 데이터에 한글, 공백 등의 문자 오류 해결
30 +app.use(bodyParser.urlencoded({extended: true}));
31 +app.use(compression()); // HTTP 요청을 압축 및 해제
32 +app.use(express.json());
33 +app.use(express.urlencoded({ extended: true }));
34 +app.use(methodOverride());
35 +app.use(cors());
36 +
37 +app.use("/", home); //미들웨어 등록해주는 method
38 +logger.info(`${process.env.NODE_ENV} - API Server Start At Port ${port}`);
39 +
40 +module.exports = app;
...\ No newline at end of file ...\ No newline at end of file
1 +"use strict";
2 +
3 +const app = require("../app");
4 +const PORT = process.env.PORT || 3000;
5 +
6 +app.listen(PORT, () => {
7 + console.log("서버 가동");
8 +});
1 +{
2 + "name": "login",
3 + "version": "1.0.0",
4 + "lockfileVersion": 1,
5 + "requires": true,
6 + "dependencies": {
7 + "@colors/colors": {
8 + "version": "1.5.0",
9 + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",
10 + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ=="
11 + },
12 + "@dabh/diagnostics": {
13 + "version": "2.0.3",
14 + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz",
15 + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==",
16 + "requires": {
17 + "colorspace": "1.1.x",
18 + "enabled": "2.0.x",
19 + "kuler": "^2.0.0"
20 + }
21 + },
22 + "accepts": {
23 + "version": "1.3.8",
24 + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
25 + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
26 + "requires": {
27 + "mime-types": "~2.1.34",
28 + "negotiator": "0.6.3"
29 + }
30 + },
31 + "ajv": {
32 + "version": "6.12.6",
33 + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
34 + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
35 + "requires": {
36 + "fast-deep-equal": "^3.1.1",
37 + "fast-json-stable-stringify": "^2.0.0",
38 + "json-schema-traverse": "^0.4.1",
39 + "uri-js": "^4.2.2"
40 + }
41 + },
42 + "ansi-styles": {
43 + "version": "4.3.0",
44 + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
45 + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
46 + "requires": {
47 + "color-convert": "^2.0.1"
48 + }
49 + },
50 + "array-flatten": {
51 + "version": "1.1.1",
52 + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
53 + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg=="
54 + },
55 + "asn1": {
56 + "version": "0.2.6",
57 + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz",
58 + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==",
59 + "requires": {
60 + "safer-buffer": "~2.1.0"
61 + }
62 + },
63 + "assert-plus": {
64 + "version": "1.0.0",
65 + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
66 + "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw=="
67 + },
68 + "async": {
69 + "version": "3.2.3",
70 + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz",
71 + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g=="
72 + },
73 + "asynckit": {
74 + "version": "0.4.0",
75 + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
76 + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
77 + },
78 + "aws-sign2": {
79 + "version": "0.7.0",
80 + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
81 + "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA=="
82 + },
83 + "aws4": {
84 + "version": "1.11.0",
85 + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz",
86 + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA=="
87 + },
88 + "balanced-match": {
89 + "version": "1.0.2",
90 + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
91 + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
92 + },
93 + "bcrypt-pbkdf": {
94 + "version": "1.0.2",
95 + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
96 + "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==",
97 + "requires": {
98 + "tweetnacl": "^0.14.3"
99 + }
100 + },
101 + "bignumber.js": {
102 + "version": "9.0.0",
103 + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz",
104 + "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A=="
105 + },
106 + "body-parser": {
107 + "version": "1.20.0",
108 + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz",
109 + "integrity": "sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg==",
110 + "requires": {
111 + "bytes": "3.1.2",
112 + "content-type": "~1.0.4",
113 + "debug": "2.6.9",
114 + "depd": "2.0.0",
115 + "destroy": "1.2.0",
116 + "http-errors": "2.0.0",
117 + "iconv-lite": "0.4.24",
118 + "on-finished": "2.4.1",
119 + "qs": "6.10.3",
120 + "raw-body": "2.5.1",
121 + "type-is": "~1.6.18",
122 + "unpipe": "1.0.0"
123 + }
124 + },
125 + "brace-expansion": {
126 + "version": "2.0.1",
127 + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
128 + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
129 + "requires": {
130 + "balanced-match": "^1.0.0"
131 + }
132 + },
133 + "buffer-equal-constant-time": {
134 + "version": "1.0.1",
135 + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",
136 + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA=="
137 + },
138 + "bytes": {
139 + "version": "3.1.2",
140 + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
141 + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="
142 + },
143 + "call-bind": {
144 + "version": "1.0.2",
145 + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
146 + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
147 + "requires": {
148 + "function-bind": "^1.1.1",
149 + "get-intrinsic": "^1.0.2"
150 + }
151 + },
152 + "caseless": {
153 + "version": "0.12.0",
154 + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
155 + "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw=="
156 + },
157 + "chalk": {
158 + "version": "4.1.2",
159 + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
160 + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
161 + "requires": {
162 + "ansi-styles": "^4.1.0",
163 + "supports-color": "^7.1.0"
164 + }
165 + },
166 + "color": {
167 + "version": "3.2.1",
168 + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz",
169 + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==",
170 + "requires": {
171 + "color-convert": "^1.9.3",
172 + "color-string": "^1.6.0"
173 + },
174 + "dependencies": {
175 + "color-convert": {
176 + "version": "1.9.3",
177 + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
178 + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
179 + "requires": {
180 + "color-name": "1.1.3"
181 + }
182 + },
183 + "color-name": {
184 + "version": "1.1.3",
185 + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
186 + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
187 + }
188 + }
189 + },
190 + "color-convert": {
191 + "version": "2.0.1",
192 + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
193 + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
194 + "requires": {
195 + "color-name": "~1.1.4"
196 + }
197 + },
198 + "color-name": {
199 + "version": "1.1.4",
200 + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
201 + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
202 + },
203 + "color-string": {
204 + "version": "1.9.1",
205 + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
206 + "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
207 + "requires": {
208 + "color-name": "^1.0.0",
209 + "simple-swizzle": "^0.2.2"
210 + }
211 + },
212 + "colorspace": {
213 + "version": "1.1.4",
214 + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz",
215 + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==",
216 + "requires": {
217 + "color": "^3.1.3",
218 + "text-hex": "1.0.x"
219 + }
220 + },
221 + "combined-stream": {
222 + "version": "1.0.8",
223 + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
224 + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
225 + "requires": {
226 + "delayed-stream": "~1.0.0"
227 + }
228 + },
229 + "compressible": {
230 + "version": "2.0.18",
231 + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",
232 + "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==",
233 + "requires": {
234 + "mime-db": ">= 1.43.0 < 2"
235 + }
236 + },
237 + "compression": {
238 + "version": "1.7.4",
239 + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz",
240 + "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==",
241 + "requires": {
242 + "accepts": "~1.3.5",
243 + "bytes": "3.0.0",
244 + "compressible": "~2.0.16",
245 + "debug": "2.6.9",
246 + "on-headers": "~1.0.2",
247 + "safe-buffer": "5.1.2",
248 + "vary": "~1.1.2"
249 + },
250 + "dependencies": {
251 + "bytes": {
252 + "version": "3.0.0",
253 + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
254 + "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw=="
255 + },
256 + "safe-buffer": {
257 + "version": "5.1.2",
258 + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
259 + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
260 + }
261 + }
262 + },
263 + "concat-map": {
264 + "version": "0.0.1",
265 + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
266 + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
267 + },
268 + "content-disposition": {
269 + "version": "0.5.4",
270 + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
271 + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
272 + "requires": {
273 + "safe-buffer": "5.2.1"
274 + }
275 + },
276 + "content-type": {
277 + "version": "1.0.4",
278 + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
279 + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
280 + },
281 + "cookie": {
282 + "version": "0.5.0",
283 + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz",
284 + "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw=="
285 + },
286 + "cookie-signature": {
287 + "version": "1.0.6",
288 + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
289 + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
290 + },
291 + "core-util-is": {
292 + "version": "1.0.3",
293 + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
294 + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="
295 + },
296 + "cors": {
297 + "version": "2.8.5",
298 + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
299 + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
300 + "requires": {
301 + "object-assign": "^4",
302 + "vary": "^1"
303 + }
304 + },
305 + "crypto": {
306 + "version": "1.0.1",
307 + "resolved": "https://registry.npmjs.org/crypto/-/crypto-1.0.1.tgz",
308 + "integrity": "sha512-VxBKmeNcqQdiUQUW2Tzq0t377b54N2bMtXO/qiLa+6eRRmmC4qT3D4OnTGoT/U6O9aklQ/jTwbOtRMTTY8G0Ig=="
309 + },
310 + "dashdash": {
311 + "version": "1.14.1",
312 + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
313 + "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==",
314 + "requires": {
315 + "assert-plus": "^1.0.0"
316 + }
317 + },
318 + "dateformat": {
319 + "version": "4.6.3",
320 + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.6.3.tgz",
321 + "integrity": "sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA=="
322 + },
323 + "debug": {
324 + "version": "2.6.9",
325 + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
326 + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
327 + "requires": {
328 + "ms": "2.0.0"
329 + }
330 + },
331 + "delayed-stream": {
332 + "version": "1.0.0",
333 + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
334 + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="
335 + },
336 + "denque": {
337 + "version": "2.0.1",
338 + "resolved": "https://registry.npmjs.org/denque/-/denque-2.0.1.tgz",
339 + "integrity": "sha512-tfiWc6BQLXNLpNiR5iGd0Ocu3P3VpxfzFiqubLgMfhfOw9WyvgJBd46CClNn9k3qfbjvT//0cf7AlYRX/OslMQ=="
340 + },
341 + "depd": {
342 + "version": "2.0.0",
343 + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
344 + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw=="
345 + },
346 + "destroy": {
347 + "version": "1.2.0",
348 + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
349 + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg=="
350 + },
351 + "dotenv": {
352 + "version": "16.0.1",
353 + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.1.tgz",
354 + "integrity": "sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ=="
355 + },
356 + "ecc-jsbn": {
357 + "version": "0.1.2",
358 + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
359 + "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==",
360 + "requires": {
361 + "jsbn": "~0.1.0",
362 + "safer-buffer": "^2.1.0"
363 + }
364 + },
365 + "ecdsa-sig-formatter": {
366 + "version": "1.0.11",
367 + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz",
368 + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==",
369 + "requires": {
370 + "safe-buffer": "^5.0.1"
371 + }
372 + },
373 + "ee-first": {
374 + "version": "1.1.1",
375 + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
376 + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="
377 + },
378 + "ejs": {
379 + "version": "3.1.8",
380 + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz",
381 + "integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==",
382 + "requires": {
383 + "jake": "^10.8.5"
384 + }
385 + },
386 + "enabled": {
387 + "version": "2.0.0",
388 + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz",
389 + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ=="
390 + },
391 + "encodeurl": {
392 + "version": "1.0.2",
393 + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
394 + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w=="
395 + },
396 + "escape-html": {
397 + "version": "1.0.3",
398 + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
399 + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
400 + },
401 + "etag": {
402 + "version": "1.8.1",
403 + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
404 + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="
405 + },
406 + "express": {
407 + "version": "4.18.1",
408 + "resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz",
409 + "integrity": "sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q==",
410 + "requires": {
411 + "accepts": "~1.3.8",
412 + "array-flatten": "1.1.1",
413 + "body-parser": "1.20.0",
414 + "content-disposition": "0.5.4",
415 + "content-type": "~1.0.4",
416 + "cookie": "0.5.0",
417 + "cookie-signature": "1.0.6",
418 + "debug": "2.6.9",
419 + "depd": "2.0.0",
420 + "encodeurl": "~1.0.2",
421 + "escape-html": "~1.0.3",
422 + "etag": "~1.8.1",
423 + "finalhandler": "1.2.0",
424 + "fresh": "0.5.2",
425 + "http-errors": "2.0.0",
426 + "merge-descriptors": "1.0.1",
427 + "methods": "~1.1.2",
428 + "on-finished": "2.4.1",
429 + "parseurl": "~1.3.3",
430 + "path-to-regexp": "0.1.7",
431 + "proxy-addr": "~2.0.7",
432 + "qs": "6.10.3",
433 + "range-parser": "~1.2.1",
434 + "safe-buffer": "5.2.1",
435 + "send": "0.18.0",
436 + "serve-static": "1.15.0",
437 + "setprototypeof": "1.2.0",
438 + "statuses": "2.0.1",
439 + "type-is": "~1.6.18",
440 + "utils-merge": "1.0.1",
441 + "vary": "~1.1.2"
442 + }
443 + },
444 + "extend": {
445 + "version": "3.0.2",
446 + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
447 + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
448 + },
449 + "extsprintf": {
450 + "version": "1.3.0",
451 + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
452 + "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g=="
453 + },
454 + "fast-deep-equal": {
455 + "version": "3.1.3",
456 + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
457 + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
458 + },
459 + "fast-json-stable-stringify": {
460 + "version": "2.1.0",
461 + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
462 + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
463 + },
464 + "fecha": {
465 + "version": "4.2.3",
466 + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz",
467 + "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw=="
468 + },
469 + "file-stream-rotator": {
470 + "version": "0.6.1",
471 + "resolved": "https://registry.npmjs.org/file-stream-rotator/-/file-stream-rotator-0.6.1.tgz",
472 + "integrity": "sha512-u+dBid4PvZw17PmDeRcNOtCP9CCK/9lRN2w+r1xIS7yOL9JFrIBKTvrYsxT4P0pGtThYTn++QS5ChHaUov3+zQ==",
473 + "requires": {
474 + "moment": "^2.29.1"
475 + }
476 + },
477 + "filelist": {
478 + "version": "1.0.4",
479 + "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz",
480 + "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==",
481 + "requires": {
482 + "minimatch": "^5.0.1"
483 + },
484 + "dependencies": {
485 + "minimatch": {
486 + "version": "5.1.0",
487 + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz",
488 + "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==",
489 + "requires": {
490 + "brace-expansion": "^2.0.1"
491 + }
492 + }
493 + }
494 + },
495 + "finalhandler": {
496 + "version": "1.2.0",
497 + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz",
498 + "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==",
499 + "requires": {
500 + "debug": "2.6.9",
501 + "encodeurl": "~1.0.2",
502 + "escape-html": "~1.0.3",
503 + "on-finished": "2.4.1",
504 + "parseurl": "~1.3.3",
505 + "statuses": "2.0.1",
506 + "unpipe": "~1.0.0"
507 + }
508 + },
509 + "fn.name": {
510 + "version": "1.1.0",
511 + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz",
512 + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw=="
513 + },
514 + "forever-agent": {
515 + "version": "0.6.1",
516 + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
517 + "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw=="
518 + },
519 + "form-data": {
520 + "version": "2.3.3",
521 + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
522 + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
523 + "requires": {
524 + "asynckit": "^0.4.0",
525 + "combined-stream": "^1.0.6",
526 + "mime-types": "^2.1.12"
527 + }
528 + },
529 + "forwarded": {
530 + "version": "0.2.0",
531 + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
532 + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="
533 + },
534 + "fresh": {
535 + "version": "0.5.2",
536 + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
537 + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q=="
538 + },
539 + "function-bind": {
540 + "version": "1.1.1",
541 + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
542 + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
543 + },
544 + "generate-function": {
545 + "version": "2.3.1",
546 + "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz",
547 + "integrity": "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==",
548 + "requires": {
549 + "is-property": "^1.0.2"
550 + }
551 + },
552 + "get-intrinsic": {
553 + "version": "1.1.1",
554 + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz",
555 + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==",
556 + "requires": {
557 + "function-bind": "^1.1.1",
558 + "has": "^1.0.3",
559 + "has-symbols": "^1.0.1"
560 + }
561 + },
562 + "getpass": {
563 + "version": "0.1.7",
564 + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
565 + "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==",
566 + "requires": {
567 + "assert-plus": "^1.0.0"
568 + }
569 + },
570 + "har-schema": {
571 + "version": "2.0.0",
572 + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
573 + "integrity": "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q=="
574 + },
575 + "har-validator": {
576 + "version": "5.1.5",
577 + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz",
578 + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==",
579 + "requires": {
580 + "ajv": "^6.12.3",
581 + "har-schema": "^2.0.0"
582 + }
583 + },
584 + "has": {
585 + "version": "1.0.3",
586 + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
587 + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
588 + "requires": {
589 + "function-bind": "^1.1.1"
590 + }
591 + },
592 + "has-flag": {
593 + "version": "4.0.0",
594 + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
595 + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
596 + },
597 + "has-symbols": {
598 + "version": "1.0.3",
599 + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
600 + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A=="
601 + },
602 + "http-errors": {
603 + "version": "2.0.0",
604 + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
605 + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
606 + "requires": {
607 + "depd": "2.0.0",
608 + "inherits": "2.0.4",
609 + "setprototypeof": "1.2.0",
610 + "statuses": "2.0.1",
611 + "toidentifier": "1.0.1"
612 + }
613 + },
614 + "http-signature": {
615 + "version": "1.2.0",
616 + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
617 + "integrity": "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==",
618 + "requires": {
619 + "assert-plus": "^1.0.0",
620 + "jsprim": "^1.2.2",
621 + "sshpk": "^1.7.0"
622 + }
623 + },
624 + "iconv-lite": {
625 + "version": "0.4.24",
626 + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
627 + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
628 + "requires": {
629 + "safer-buffer": ">= 2.1.2 < 3"
630 + }
631 + },
632 + "inherits": {
633 + "version": "2.0.4",
634 + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
635 + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
636 + },
637 + "ipaddr.js": {
638 + "version": "1.9.1",
639 + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
640 + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
641 + },
642 + "is-arrayish": {
643 + "version": "0.3.2",
644 + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
645 + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="
646 + },
647 + "is-property": {
648 + "version": "1.0.2",
649 + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz",
650 + "integrity": "sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g=="
651 + },
652 + "is-stream": {
653 + "version": "2.0.1",
654 + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
655 + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg=="
656 + },
657 + "is-typedarray": {
658 + "version": "1.0.0",
659 + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
660 + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA=="
661 + },
662 + "isarray": {
663 + "version": "1.0.0",
664 + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
665 + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ=="
666 + },
667 + "isstream": {
668 + "version": "0.1.2",
669 + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
670 + "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g=="
671 + },
672 + "jake": {
673 + "version": "10.8.5",
674 + "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz",
675 + "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==",
676 + "requires": {
677 + "async": "^3.2.3",
678 + "chalk": "^4.0.2",
679 + "filelist": "^1.0.1",
680 + "minimatch": "^3.0.4"
681 + }
682 + },
683 + "jsbn": {
684 + "version": "0.1.1",
685 + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
686 + "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg=="
687 + },
688 + "json-schema": {
689 + "version": "0.4.0",
690 + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
691 + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA=="
692 + },
693 + "json-schema-traverse": {
694 + "version": "0.4.1",
695 + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
696 + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
697 + },
698 + "json-stringify-safe": {
699 + "version": "5.0.1",
700 + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
701 + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA=="
702 + },
703 + "jsonwebtoken": {
704 + "version": "8.5.1",
705 + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz",
706 + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==",
707 + "requires": {
708 + "jws": "^3.2.2",
709 + "lodash.includes": "^4.3.0",
710 + "lodash.isboolean": "^3.0.3",
711 + "lodash.isinteger": "^4.0.4",
712 + "lodash.isnumber": "^3.0.3",
713 + "lodash.isplainobject": "^4.0.6",
714 + "lodash.isstring": "^4.0.1",
715 + "lodash.once": "^4.0.0",
716 + "ms": "^2.1.1",
717 + "semver": "^5.6.0"
718 + },
719 + "dependencies": {
720 + "ms": {
721 + "version": "2.1.3",
722 + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
723 + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
724 + }
725 + }
726 + },
727 + "jsprim": {
728 + "version": "1.4.2",
729 + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz",
730 + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==",
731 + "requires": {
732 + "assert-plus": "1.0.0",
733 + "extsprintf": "1.3.0",
734 + "json-schema": "0.4.0",
735 + "verror": "1.10.0"
736 + }
737 + },
738 + "jwa": {
739 + "version": "1.4.1",
740 + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz",
741 + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==",
742 + "requires": {
743 + "buffer-equal-constant-time": "1.0.1",
744 + "ecdsa-sig-formatter": "1.0.11",
745 + "safe-buffer": "^5.0.1"
746 + }
747 + },
748 + "jws": {
749 + "version": "3.2.2",
750 + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz",
751 + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==",
752 + "requires": {
753 + "jwa": "^1.4.1",
754 + "safe-buffer": "^5.0.1"
755 + }
756 + },
757 + "kuler": {
758 + "version": "2.0.0",
759 + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz",
760 + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A=="
761 + },
762 + "lodash.includes": {
763 + "version": "4.3.0",
764 + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz",
765 + "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w=="
766 + },
767 + "lodash.isboolean": {
768 + "version": "3.0.3",
769 + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz",
770 + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg=="
771 + },
772 + "lodash.isinteger": {
773 + "version": "4.0.4",
774 + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz",
775 + "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA=="
776 + },
777 + "lodash.isnumber": {
778 + "version": "3.0.3",
779 + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz",
780 + "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw=="
781 + },
782 + "lodash.isplainobject": {
783 + "version": "4.0.6",
784 + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
785 + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA=="
786 + },
787 + "lodash.isstring": {
788 + "version": "4.0.1",
789 + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz",
790 + "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw=="
791 + },
792 + "lodash.once": {
793 + "version": "4.1.1",
794 + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz",
795 + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg=="
796 + },
797 + "logform": {
798 + "version": "2.4.0",
799 + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz",
800 + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==",
801 + "requires": {
802 + "@colors/colors": "1.5.0",
803 + "fecha": "^4.2.0",
804 + "ms": "^2.1.1",
805 + "safe-stable-stringify": "^2.3.1",
806 + "triple-beam": "^1.3.0"
807 + },
808 + "dependencies": {
809 + "ms": {
810 + "version": "2.1.3",
811 + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
812 + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
813 + }
814 + }
815 + },
816 + "long": {
817 + "version": "4.0.0",
818 + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz",
819 + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA=="
820 + },
821 + "lru-cache": {
822 + "version": "6.0.0",
823 + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
824 + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
825 + "requires": {
826 + "yallist": "^4.0.0"
827 + }
828 + },
829 + "media-typer": {
830 + "version": "0.3.0",
831 + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
832 + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
833 + },
834 + "merge-descriptors": {
835 + "version": "1.0.1",
836 + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
837 + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w=="
838 + },
839 + "method-override": {
840 + "version": "3.0.0",
841 + "resolved": "https://registry.npmjs.org/method-override/-/method-override-3.0.0.tgz",
842 + "integrity": "sha512-IJ2NNN/mSl9w3kzWB92rcdHpz+HjkxhDJWNDBqSlas+zQdP8wBiJzITPg08M/k2uVvMow7Sk41atndNtt/PHSA==",
843 + "requires": {
844 + "debug": "3.1.0",
845 + "methods": "~1.1.2",
846 + "parseurl": "~1.3.2",
847 + "vary": "~1.1.2"
848 + },
849 + "dependencies": {
850 + "debug": {
851 + "version": "3.1.0",
852 + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
853 + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
854 + "requires": {
855 + "ms": "2.0.0"
856 + }
857 + }
858 + }
859 + },
860 + "methods": {
861 + "version": "1.1.2",
862 + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
863 + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w=="
864 + },
865 + "mime": {
866 + "version": "1.6.0",
867 + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
868 + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
869 + },
870 + "mime-db": {
871 + "version": "1.52.0",
872 + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
873 + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="
874 + },
875 + "mime-types": {
876 + "version": "2.1.35",
877 + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
878 + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
879 + "requires": {
880 + "mime-db": "1.52.0"
881 + }
882 + },
883 + "minimatch": {
884 + "version": "3.1.2",
885 + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
886 + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
887 + "requires": {
888 + "brace-expansion": "^1.1.7"
889 + },
890 + "dependencies": {
891 + "brace-expansion": {
892 + "version": "1.1.11",
893 + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
894 + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
895 + "requires": {
896 + "balanced-match": "^1.0.0",
897 + "concat-map": "0.0.1"
898 + }
899 + }
900 + }
901 + },
902 + "moment": {
903 + "version": "2.29.3",
904 + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz",
905 + "integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw=="
906 + },
907 + "ms": {
908 + "version": "2.0.0",
909 + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
910 + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
911 + },
912 + "mysql": {
913 + "version": "2.18.1",
914 + "resolved": "https://registry.npmjs.org/mysql/-/mysql-2.18.1.tgz",
915 + "integrity": "sha512-Bca+gk2YWmqp2Uf6k5NFEurwY/0td0cpebAucFpY/3jhrwrVGuxU2uQFCHjU19SJfje0yQvi+rVWdq78hR5lig==",
916 + "requires": {
917 + "bignumber.js": "9.0.0",
918 + "readable-stream": "2.3.7",
919 + "safe-buffer": "5.1.2",
920 + "sqlstring": "2.3.1"
921 + },
922 + "dependencies": {
923 + "safe-buffer": {
924 + "version": "5.1.2",
925 + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
926 + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
927 + }
928 + }
929 + },
930 + "mysql2": {
931 + "version": "2.3.3",
932 + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-2.3.3.tgz",
933 + "integrity": "sha512-wxJUev6LgMSgACDkb/InIFxDprRa6T95+VEoR+xPvtngtccNH2dGjEB/fVZ8yg1gWv1510c9CvXuJHi5zUm0ZA==",
934 + "requires": {
935 + "denque": "^2.0.1",
936 + "generate-function": "^2.3.1",
937 + "iconv-lite": "^0.6.3",
938 + "long": "^4.0.0",
939 + "lru-cache": "^6.0.0",
940 + "named-placeholders": "^1.1.2",
941 + "seq-queue": "^0.0.5",
942 + "sqlstring": "^2.3.2"
943 + },
944 + "dependencies": {
945 + "iconv-lite": {
946 + "version": "0.6.3",
947 + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
948 + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
949 + "requires": {
950 + "safer-buffer": ">= 2.1.2 < 3.0.0"
951 + }
952 + },
953 + "sqlstring": {
954 + "version": "2.3.3",
955 + "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.3.tgz",
956 + "integrity": "sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg=="
957 + }
958 + }
959 + },
960 + "named-placeholders": {
961 + "version": "1.1.2",
962 + "resolved": "https://registry.npmjs.org/named-placeholders/-/named-placeholders-1.1.2.tgz",
963 + "integrity": "sha512-wiFWqxoLL3PGVReSZpjLVxyJ1bRqe+KKJVbr4hGs1KWfTZTQyezHFBbuKj9hsizHyGV2ne7EMjHdxEGAybD5SA==",
964 + "requires": {
965 + "lru-cache": "^4.1.3"
966 + },
967 + "dependencies": {
968 + "lru-cache": {
969 + "version": "4.1.5",
970 + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
971 + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
972 + "requires": {
973 + "pseudomap": "^1.0.2",
974 + "yallist": "^2.1.2"
975 + }
976 + },
977 + "yallist": {
978 + "version": "2.1.2",
979 + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
980 + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI="
981 + }
982 + }
983 + },
984 + "negotiator": {
985 + "version": "0.6.3",
986 + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
987 + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg=="
988 + },
989 + "oauth-sign": {
990 + "version": "0.9.0",
991 + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
992 + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
993 + },
994 + "object-assign": {
995 + "version": "4.1.1",
996 + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
997 + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="
998 + },
999 + "object-hash": {
1000 + "version": "2.2.0",
1001 + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz",
1002 + "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw=="
1003 + },
1004 + "object-inspect": {
1005 + "version": "1.12.2",
1006 + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz",
1007 + "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ=="
1008 + },
1009 + "on-finished": {
1010 + "version": "2.4.1",
1011 + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
1012 + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
1013 + "requires": {
1014 + "ee-first": "1.1.1"
1015 + }
1016 + },
1017 + "on-headers": {
1018 + "version": "1.0.2",
1019 + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",
1020 + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA=="
1021 + },
1022 + "one-time": {
1023 + "version": "1.0.0",
1024 + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz",
1025 + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==",
1026 + "requires": {
1027 + "fn.name": "1.x.x"
1028 + }
1029 + },
1030 + "parseurl": {
1031 + "version": "1.3.3",
1032 + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
1033 + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
1034 + },
1035 + "path-to-regexp": {
1036 + "version": "0.1.7",
1037 + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
1038 + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ=="
1039 + },
1040 + "performance-now": {
1041 + "version": "2.1.0",
1042 + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
1043 + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow=="
1044 + },
1045 + "process-nextick-args": {
1046 + "version": "2.0.1",
1047 + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
1048 + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
1049 + },
1050 + "proxy-addr": {
1051 + "version": "2.0.7",
1052 + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
1053 + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
1054 + "requires": {
1055 + "forwarded": "0.2.0",
1056 + "ipaddr.js": "1.9.1"
1057 + }
1058 + },
1059 + "pseudomap": {
1060 + "version": "1.0.2",
1061 + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
1062 + "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ=="
1063 + },
1064 + "psl": {
1065 + "version": "1.8.0",
1066 + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
1067 + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
1068 + },
1069 + "punycode": {
1070 + "version": "2.1.1",
1071 + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
1072 + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
1073 + },
1074 + "qs": {
1075 + "version": "6.10.3",
1076 + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz",
1077 + "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==",
1078 + "requires": {
1079 + "side-channel": "^1.0.4"
1080 + }
1081 + },
1082 + "range-parser": {
1083 + "version": "1.2.1",
1084 + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
1085 + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
1086 + },
1087 + "raw-body": {
1088 + "version": "2.5.1",
1089 + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz",
1090 + "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==",
1091 + "requires": {
1092 + "bytes": "3.1.2",
1093 + "http-errors": "2.0.0",
1094 + "iconv-lite": "0.4.24",
1095 + "unpipe": "1.0.0"
1096 + }
1097 + },
1098 + "readable-stream": {
1099 + "version": "2.3.7",
1100 + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
1101 + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
1102 + "requires": {
1103 + "core-util-is": "~1.0.0",
1104 + "inherits": "~2.0.3",
1105 + "isarray": "~1.0.0",
1106 + "process-nextick-args": "~2.0.0",
1107 + "safe-buffer": "~5.1.1",
1108 + "string_decoder": "~1.1.1",
1109 + "util-deprecate": "~1.0.1"
1110 + },
1111 + "dependencies": {
1112 + "safe-buffer": {
1113 + "version": "5.1.2",
1114 + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
1115 + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
1116 + }
1117 + }
1118 + },
1119 + "regex-email": {
1120 + "version": "1.0.2",
1121 + "resolved": "https://registry.npmjs.org/regex-email/-/regex-email-1.0.2.tgz",
1122 + "integrity": "sha1-1nKFy9FvML5e+vaEF1wVPwy8gSE="
1123 + },
1124 + "request": {
1125 + "version": "2.88.2",
1126 + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz",
1127 + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==",
1128 + "requires": {
1129 + "aws-sign2": "~0.7.0",
1130 + "aws4": "^1.8.0",
1131 + "caseless": "~0.12.0",
1132 + "combined-stream": "~1.0.6",
1133 + "extend": "~3.0.2",
1134 + "forever-agent": "~0.6.1",
1135 + "form-data": "~2.3.2",
1136 + "har-validator": "~5.1.3",
1137 + "http-signature": "~1.2.0",
1138 + "is-typedarray": "~1.0.0",
1139 + "isstream": "~0.1.2",
1140 + "json-stringify-safe": "~5.0.1",
1141 + "mime-types": "~2.1.19",
1142 + "oauth-sign": "~0.9.0",
1143 + "performance-now": "^2.1.0",
1144 + "qs": "~6.5.2",
1145 + "safe-buffer": "^5.1.2",
1146 + "tough-cookie": "~2.5.0",
1147 + "tunnel-agent": "^0.6.0",
1148 + "uuid": "^3.3.2"
1149 + },
1150 + "dependencies": {
1151 + "qs": {
1152 + "version": "6.5.3",
1153 + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz",
1154 + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA=="
1155 + }
1156 + }
1157 + },
1158 + "safe-buffer": {
1159 + "version": "5.2.1",
1160 + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
1161 + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
1162 + },
1163 + "safe-stable-stringify": {
1164 + "version": "2.3.1",
1165 + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz",
1166 + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg=="
1167 + },
1168 + "safer-buffer": {
1169 + "version": "2.1.2",
1170 + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
1171 + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
1172 + },
1173 + "semver": {
1174 + "version": "5.7.1",
1175 + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
1176 + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
1177 + },
1178 + "send": {
1179 + "version": "0.18.0",
1180 + "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz",
1181 + "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==",
1182 + "requires": {
1183 + "debug": "2.6.9",
1184 + "depd": "2.0.0",
1185 + "destroy": "1.2.0",
1186 + "encodeurl": "~1.0.2",
1187 + "escape-html": "~1.0.3",
1188 + "etag": "~1.8.1",
1189 + "fresh": "0.5.2",
1190 + "http-errors": "2.0.0",
1191 + "mime": "1.6.0",
1192 + "ms": "2.1.3",
1193 + "on-finished": "2.4.1",
1194 + "range-parser": "~1.2.1",
1195 + "statuses": "2.0.1"
1196 + },
1197 + "dependencies": {
1198 + "ms": {
1199 + "version": "2.1.3",
1200 + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
1201 + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
1202 + }
1203 + }
1204 + },
1205 + "seq-queue": {
1206 + "version": "0.0.5",
1207 + "resolved": "https://registry.npmjs.org/seq-queue/-/seq-queue-0.0.5.tgz",
1208 + "integrity": "sha1-1WgS4cAXpuTnw+Ojeh2m143TyT4="
1209 + },
1210 + "serve-static": {
1211 + "version": "1.15.0",
1212 + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz",
1213 + "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==",
1214 + "requires": {
1215 + "encodeurl": "~1.0.2",
1216 + "escape-html": "~1.0.3",
1217 + "parseurl": "~1.3.3",
1218 + "send": "0.18.0"
1219 + }
1220 + },
1221 + "setprototypeof": {
1222 + "version": "1.2.0",
1223 + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
1224 + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
1225 + },
1226 + "side-channel": {
1227 + "version": "1.0.4",
1228 + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
1229 + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
1230 + "requires": {
1231 + "call-bind": "^1.0.0",
1232 + "get-intrinsic": "^1.0.2",
1233 + "object-inspect": "^1.9.0"
1234 + }
1235 + },
1236 + "simple-swizzle": {
1237 + "version": "0.2.2",
1238 + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
1239 + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=",
1240 + "requires": {
1241 + "is-arrayish": "^0.3.1"
1242 + }
1243 + },
1244 + "sqlstring": {
1245 + "version": "2.3.1",
1246 + "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz",
1247 + "integrity": "sha1-R1OT/56RR5rqYtyvDKPRSYOn+0A="
1248 + },
1249 + "sshpk": {
1250 + "version": "1.17.0",
1251 + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz",
1252 + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==",
1253 + "requires": {
1254 + "asn1": "~0.2.3",
1255 + "assert-plus": "^1.0.0",
1256 + "bcrypt-pbkdf": "^1.0.0",
1257 + "dashdash": "^1.12.0",
1258 + "ecc-jsbn": "~0.1.1",
1259 + "getpass": "^0.1.1",
1260 + "jsbn": "~0.1.0",
1261 + "safer-buffer": "^2.0.2",
1262 + "tweetnacl": "~0.14.0"
1263 + }
1264 + },
1265 + "stack-trace": {
1266 + "version": "0.0.10",
1267 + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
1268 + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA="
1269 + },
1270 + "statuses": {
1271 + "version": "2.0.1",
1272 + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
1273 + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ=="
1274 + },
1275 + "string_decoder": {
1276 + "version": "1.1.1",
1277 + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
1278 + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
1279 + "requires": {
1280 + "safe-buffer": "~5.1.0"
1281 + },
1282 + "dependencies": {
1283 + "safe-buffer": {
1284 + "version": "5.1.2",
1285 + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
1286 + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
1287 + }
1288 + }
1289 + },
1290 + "supports-color": {
1291 + "version": "7.2.0",
1292 + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
1293 + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
1294 + "requires": {
1295 + "has-flag": "^4.0.0"
1296 + }
1297 + },
1298 + "text-hex": {
1299 + "version": "1.0.0",
1300 + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz",
1301 + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg=="
1302 + },
1303 + "toidentifier": {
1304 + "version": "1.0.1",
1305 + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
1306 + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="
1307 + },
1308 + "tough-cookie": {
1309 + "version": "2.5.0",
1310 + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",
1311 + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",
1312 + "requires": {
1313 + "psl": "^1.1.28",
1314 + "punycode": "^2.1.1"
1315 + }
1316 + },
1317 + "triple-beam": {
1318 + "version": "1.3.0",
1319 + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz",
1320 + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw=="
1321 + },
1322 + "tunnel-agent": {
1323 + "version": "0.6.0",
1324 + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
1325 + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
1326 + "requires": {
1327 + "safe-buffer": "^5.0.1"
1328 + }
1329 + },
1330 + "tweetnacl": {
1331 + "version": "0.14.5",
1332 + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
1333 + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
1334 + },
1335 + "type-is": {
1336 + "version": "1.6.18",
1337 + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
1338 + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
1339 + "requires": {
1340 + "media-typer": "0.3.0",
1341 + "mime-types": "~2.1.24"
1342 + }
1343 + },
1344 + "unpipe": {
1345 + "version": "1.0.0",
1346 + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
1347 + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
1348 + },
1349 + "uri-js": {
1350 + "version": "4.4.1",
1351 + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
1352 + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
1353 + "requires": {
1354 + "punycode": "^2.1.0"
1355 + }
1356 + },
1357 + "util-deprecate": {
1358 + "version": "1.0.2",
1359 + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1360 + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
1361 + },
1362 + "utils-merge": {
1363 + "version": "1.0.1",
1364 + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
1365 + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
1366 + },
1367 + "uuid": {
1368 + "version": "3.4.0",
1369 + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
1370 + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
1371 + },
1372 + "vary": {
1373 + "version": "1.1.2",
1374 + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
1375 + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
1376 + },
1377 + "verror": {
1378 + "version": "1.10.0",
1379 + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
1380 + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
1381 + "requires": {
1382 + "assert-plus": "^1.0.0",
1383 + "core-util-is": "1.0.2",
1384 + "extsprintf": "^1.2.0"
1385 + },
1386 + "dependencies": {
1387 + "core-util-is": {
1388 + "version": "1.0.2",
1389 + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
1390 + "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ=="
1391 + }
1392 + }
1393 + },
1394 + "winston": {
1395 + "version": "3.7.2",
1396 + "resolved": "https://registry.npmjs.org/winston/-/winston-3.7.2.tgz",
1397 + "integrity": "sha512-QziIqtojHBoyzUOdQvQiar1DH0Xp9nF1A1y7NVy2DGEsz82SBDtOalS0ulTRGVT14xPX3WRWkCsdcJKqNflKng==",
1398 + "requires": {
1399 + "@dabh/diagnostics": "^2.0.2",
1400 + "async": "^3.2.3",
1401 + "is-stream": "^2.0.0",
1402 + "logform": "^2.4.0",
1403 + "one-time": "^1.0.0",
1404 + "readable-stream": "^3.4.0",
1405 + "safe-stable-stringify": "^2.3.1",
1406 + "stack-trace": "0.0.x",
1407 + "triple-beam": "^1.3.0",
1408 + "winston-transport": "^4.5.0"
1409 + },
1410 + "dependencies": {
1411 + "readable-stream": {
1412 + "version": "3.6.0",
1413 + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
1414 + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
1415 + "requires": {
1416 + "inherits": "^2.0.3",
1417 + "string_decoder": "^1.1.1",
1418 + "util-deprecate": "^1.0.1"
1419 + }
1420 + }
1421 + }
1422 + },
1423 + "winston-daily-rotate-file": {
1424 + "version": "4.7.1",
1425 + "resolved": "https://registry.npmjs.org/winston-daily-rotate-file/-/winston-daily-rotate-file-4.7.1.tgz",
1426 + "integrity": "sha512-7LGPiYGBPNyGHLn9z33i96zx/bd71pjBn9tqQzO3I4Tayv94WPmBNwKC7CO1wPHdP9uvu+Md/1nr6VSH9h0iaA==",
1427 + "requires": {
1428 + "file-stream-rotator": "^0.6.1",
1429 + "object-hash": "^2.0.1",
1430 + "triple-beam": "^1.3.0",
1431 + "winston-transport": "^4.4.0"
1432 + }
1433 + },
1434 + "winston-transport": {
1435 + "version": "4.5.0",
1436 + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz",
1437 + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==",
1438 + "requires": {
1439 + "logform": "^2.3.2",
1440 + "readable-stream": "^3.6.0",
1441 + "triple-beam": "^1.3.0"
1442 + },
1443 + "dependencies": {
1444 + "readable-stream": {
1445 + "version": "3.6.0",
1446 + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
1447 + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
1448 + "requires": {
1449 + "inherits": "^2.0.3",
1450 + "string_decoder": "^1.1.1",
1451 + "util-deprecate": "^1.0.1"
1452 + }
1453 + }
1454 + }
1455 + },
1456 + "yallist": {
1457 + "version": "4.0.0",
1458 + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
1459 + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
1460 + }
1461 + }
1462 +}
1 +{
2 + "name": "login",
3 + "version": "1.0.0",
4 + "main": "app.js",
5 + "bin": {
6 + "login": "www.js"
7 + },
8 + "dependencies": {
9 + "body-parser": "^1.20.0",
10 + "compression": "^1.7.4",
11 + "cors": "^2.8.5",
12 + "crypto": "^1.0.1",
13 + "dateformat": "^4.3.1",
14 + "dotenv": "^16.0.1",
15 + "ejs": "^3.1.8",
16 + "express": "^4.18.1",
17 + "jsonwebtoken": "^8.5.1",
18 + "method-override": "^3.0.0",
19 + "mysql": "^2.18.1",
20 + "mysql2": "^2.0.0",
21 + "regex-email": "^1.0.2",
22 + "request": "^2.88.2",
23 + "winston": "^3.2.1",
24 + "winston-daily-rotate-file": "^4.2.1"
25 + },
26 + "devDependencies": {},
27 + "scripts": {
28 + "start": "nodemon ./bin/www.js",
29 + "test": "echo \"Error: no test specified\" && exit 1"
30 + },
31 + "author": "",
32 + "license": "ISC",
33 + "keywords": [],
34 + "description": ""
35 +}
1 +const mysql = require("mysql");
2 +
3 +const db = mysql.createConnection({
4 + host: process.env.DB_HOST,
5 + user: process.env.DB_USER,
6 + password: process.env.DB_PASSWORD,
7 + database: process.env.DB_DATABASE, //schema
8 +});
9 +
10 +db.connect();
11 +
12 +module.exports = db;
...\ No newline at end of file ...\ No newline at end of file
1 +const jwt = require("jsonwebtoken");
2 +const secret_config = require("./db");
3 +const jwtMiddleware = function (req, res, next) {
4 + // read the token from header or url
5 + const token = req.headers["x-access-token"] || req.query.token;
6 + // token does not exist
7 + if (!token) {
8 + return res.status(403).json({
9 + isSuccess: false,
10 + code: 403,
11 + message: "로그인이 되어 있지 않습니다.",
12 + });
13 + }
14 +
15 + try {
16 + const verifiedToken = jwt.verify(token, secret_config.jwtsecret);
17 + req.verifiedToken = verifiedToken;
18 + next();
19 + } catch {
20 + res.status(403).json({
21 + isSuccess: false,
22 + code: 403,
23 + message: "검증 실패",
24 + });
25 + }
26 +};
27 +
28 +module.exports = jwtMiddleware;
1 +const { createLogger, format, transports } = require('winston');
2 +require('winston-daily-rotate-file');
3 +const fs = require('fs');
4 +
5 +const env = process.env.NODE_ENV || 'development';
6 +const logDir = 'log';
7 +
8 +// https://lovemewithoutall.github.io/it/winston-example/
9 +// Create the log directory if it does not exist
10 +if (!fs.existsSync(logDir)) {
11 + fs.mkdirSync(logDir)
12 +}
13 +
14 +const dailyRotateFileTransport = new transports.DailyRotateFile({
15 + level: 'debug',
16 + filename: `${logDir}/%DATE%-smart-push.log`,
17 + datePattern: 'YYYY-MM-DD',
18 + zippedArchive: true,
19 + maxSize: '20m',
20 + maxFiles: '14d'
21 +});
22 +
23 +const logger = createLogger({
24 + level: env === 'development' ? 'debug' : 'info',
25 + format: format.combine(
26 + format.timestamp({
27 + format: 'YYYY-MM-DD HH:mm:ss'
28 + }),
29 + format.json()
30 + ),
31 + transports: [
32 + new transports.Console({
33 + level: 'info',
34 + format: format.combine(
35 + format.colorize(),
36 + format.printf(
37 + info => `${info.timestamp} ${info.level}: ${info.message}`
38 + )
39 + )
40 + }),
41 + dailyRotateFileTransport
42 + ]
43 +});
44 +
45 +module.exports = {
46 + logger: logger
47 +};
...\ No newline at end of file ...\ No newline at end of file
1 +'use strict';
2 +//for DB manipulate
3 +const RestaurantStorage = require("./RestaurantStorage");
4 +
5 +const { db } = require("../config/db");
6 +const { logger } = require("../config/winston");
7 +const jwt = require("jsonwebtoken");
8 +//controller가 db에 접근하기 위해 Dao folder
9 +//controller 실행하다가 db 접근해야하는 일 있을 때 Dao들어가서 query 실행하고 그 값을 반환
10 +// const indexDao = require("../dao/indexDao");
11 +
12 +
13 +class Restaurant {
14 + constructor(body) {
15 + this.body = body;
16 + }
17 +}
18 +
19 +// ex. 식당 테이블 조회
20 +exports.readRestaurants = async function (req, res){
21 + const {category} = req.query;
22 +
23 + if (category) {
24 + const validCategory = ["한식", "중식", "일식", "양식", "분식", "구이", "회/초밥", "기타",];
25 +
26 + if (!validCategory.includes(category)) {
27 + return res.send({
28 + isSuccess: false,
29 + code: 400,
30 + message: "유효한 카테고리가 아닙니다.",
31 + });
32 + }
33 + }
34 +
35 + try {
36 + const connection = await pool.getConnection(async (conn) => conn);
37 + try {
38 + //mysql접속 관련 부분 정의하는 함수
39 + //es6 비구조할당
40 + //indexDao에 selectRestaurants 정의해줘야 함. 그리고 거기서 query문.
41 + const [rows] = await indexDao.selectRestaurants(connection, category);
42 +
43 + return res.send({
44 + result: rows,
45 + isSuccess: true,
46 + code: 200, // 요청 성공시 200번대 코드를 뿌려주고, 실패시 400번대 코드
47 + message: "식당 목록 요청 성공",
48 + });
49 + } catch (err) {
50 + logger.error(`readRestaurants Query error\n: ${JSON.stringify(err)}`);
51 + return false;
52 + } finally {
53 + connection.release();
54 + }
55 + } catch (err) {
56 + logger.error(`readRestaurants DB Connection error\n: ${JSON.stringify(err)}`);
57 + return false;
58 + }
59 +
60 +}
...\ No newline at end of file ...\ No newline at end of file
1 +'use strict';
2 +//for DB CRUD
3 +const db = require("../config/db");
4 +
5 +
6 +// class RestaurantStorage {
7 +
8 +// static getRestaurantInfo(id) {
9 +// return new Promise((resolve, reject) => {
10 +// const query = "SELECT * FROM users WHERE id = ?;";
11 +// db.query(query, [id], (err, data) => {
12 +// if (err) reject(`${err}`);
13 +// // console.log(data[0]);
14 +// resolve(data[0]);
15 +// });
16 +// });
17 +// }
18 +
19 +// static async save(userInfo) {
20 +// return new Promise((resolve, reject) => {
21 +// const query = "INSERT INTO users(id, name, password) VALUES(?, ?, ?);";
22 +// db.query(
23 +// query,
24 +// [userInfo.id, userInfo.name, userInfo.password],
25 +// (err, data) => {
26 +// if (err) reject(`${err}`);
27 +// // console.log(data[0]);
28 +// resolve({ success: true});
29 +// }
30 +// );
31 +// });
32 +// }
33 +// }
34 +
35 +// module.exports = UserStorage;
...\ No newline at end of file ...\ No newline at end of file
1 +'use strict';
2 +//for DB manipulate
3 +const UserStorage = require("./UserStorage");
4 +
5 +class User {
6 + constructor(body) {
7 + this.body = body;
8 + }
9 +
10 + async login() {
11 + const client = this.body;
12 + try {
13 +
14 + const {id, password} = await UserStorage.getUserInfo(client.id);
15 + // console.log(id, password);
16 +
17 + if (id) {
18 + if (id === client.id && password === client.password) {
19 + return { success: true};
20 + }
21 + return { success : false, msg: "비밀번호가 틀렸습니다."};
22 + }
23 + return {success: false, msg: "존재하지 않는 아이디입니다."};
24 + } catch (err) {
25 + return {success: false, msg: err};
26 + }
27 + }
28 +
29 + async register() {
30 + const client = this.body;
31 + try {
32 + const response = await UserStorage.save(client);
33 + // console.log(response);
34 + return response;
35 + } catch (err) {
36 +
37 + return {success: false, msg : err};
38 + }
39 + }
40 +}
41 +
42 +module.exports = User;
...\ No newline at end of file ...\ No newline at end of file
1 +'use strict';
2 +//for DB CRUD
3 +const db = require("../config/db");
4 +
5 +
6 +class UserStorage {
7 +
8 + static getUserInfo(id) {
9 + return new Promise((resolve, reject) => {
10 + const query = "SELECT * FROM users WHERE id = ?;";
11 + db.query(query, [id], (err, data) => {
12 + if (err) reject(`${err}`);
13 + // console.log(data[0]);
14 + resolve(data[0]);
15 + });
16 + });
17 + }
18 +
19 + static async save(userInfo) {
20 + return new Promise((resolve, reject) => {
21 + const query = "INSERT INTO users(id, name, password) VALUES(?, ?, ?);";
22 + db.query(
23 + query,
24 + [userInfo.id, userInfo.name, userInfo.password],
25 + (err, data) => {
26 + if (err) reject(`${err}`);
27 + // console.log(data[0]);
28 + resolve({ success: true});
29 + }
30 + );
31 + });
32 + }
33 +}
34 +
35 +module.exports = UserStorage;
...\ No newline at end of file ...\ No newline at end of file
1 +@font-face {
2 + font-family: 'Noto Sans KR', sans-serif;
3 + src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap');
4 + font-weight: normal;
5 + font-style: normal;
6 + }
7 +
8 + * {
9 + padding: 0;
10 + margin: 0;
11 + box-sizing: border-box;
12 + }
13 +
14 + html {
15 + font-size: 10px;
16 + font-family: 'Noto Sans KR', sans-serif;
17 + }
18 +
19 + nav {
20 + /* background-color: #e69a06; */
21 + }
22 +
23 + .nav-container {
24 + padding: 1rem 0;
25 + display: flex;
26 + flex-direction: row;
27 + justify-content: space-between;
28 + align-items: center;
29 + }
30 +
31 + .nav-title {
32 + font-size: 2.5rem;
33 + color :rebeccapurple;
34 + }
35 +
36 + .nav-contact {
37 + font-size: 1.5rem;
38 + border: 0;
39 + background: none;
40 + cursor: pointer;
41 + font-family: inherit;
42 + color :lightslategray;
43 + margin-right: 30px;
44 + }
45 +
46 + .category-title {
47 + font-size: 2rem;
48 + padding : 0 30%;
49 + }
50 +
51 + .category-list {
52 + padding: 15px 1rem;
53 + }
54 +
55 + .category-item {
56 + width: 24%;
57 + height: 5rem;
58 + background: none;
59 + border: none;
60 + font-family: inherit;
61 + font-size: 1.6rem;
62 + }
63 +
64 + .category-item:hover {
65 + color: #e69a06;
66 + cursor: pointer;
67 + }
68 +
69 + .inner {
70 + padding: 0 1.5rem;
71 + }
72 +
73 + @media all and (min-width: 1024px) {
74 + .inner {
75 + max-width: 1024px;
76 + margin: 0 auto;
77 + }
78 + }
79 +
80 + /* 카카오맵 CSS */
81 +
82 + body {
83 + height: 100vh;
84 + }
85 +
86 + nav {
87 + height: 59px;
88 + }
89 +
90 + main {
91 + padding-top: 1.5rem;
92 + height: calc(100% - 59px);
93 + display: flex;
94 + flex-direction: column;
95 + }
96 +
97 + #map {
98 + flex-grow: 1;
99 + width: 100%;
100 + height: 100%;
101 + }
...\ No newline at end of file ...\ No newline at end of file
1 +@import url(https://fonts.googleapis.com/css?family=Roboto:300);
2 +
3 +.login-page {
4 + width: 360px;
5 + padding: 12% 0 0;
6 + margin: auto;
7 +}
8 +.form {
9 + position: relative;
10 + z-index: 1;
11 + background: #FFFFFF;
12 + max-width: 360px;
13 + margin: 0 auto 100px;
14 + padding: 45px;
15 + text-align: center;
16 + box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
17 +}
18 +.form input {
19 + font-family: "Roboto", sans-serif;
20 + outline: 0;
21 + background: #f2f2f2;
22 + width: 100%;
23 + border: 0;
24 + margin: 0 0 15px;
25 + padding: 15px;
26 + box-sizing: border-box;
27 + font-size: 14px;
28 +}
29 +.form #button {
30 + font-family: "Roboto", sans-serif;
31 + text-transform: uppercase;
32 + outline: 0;
33 + background: rebeccapurple;
34 + width: 89%;
35 + border: 0;
36 + margin: 0 auto;
37 + padding: 15px;
38 + color: #FFFFFF;
39 + font-size: 14px;
40 + -webkit-transition: all 0.3 ease;
41 + transition: all 0.3 ease;
42 + cursor: pointer;
43 +}
44 +.form #button:hover,.form #button:active,.form #button:focus {
45 + background: rebeccapurple;
46 +}
47 +.form .message {
48 + margin: 15px 0 0;
49 + color: #b3b3b3;
50 + font-size: 12px;
51 +}
52 +.form .message a {
53 + color: rebeccapurple;
54 + text-decoration: none;
55 +}
56 +.form .register-form {
57 + display: none;
58 +}
59 +.container {
60 + position: relative;
61 + z-index: 1;
62 + max-width: 300px;
63 + margin: 0 auto;
64 +}
65 +.container:before, .container:after {
66 + content: "";
67 + display: block;
68 + clear: both;
69 +}
70 +.container .info {
71 + margin: 50px auto;
72 + text-align: center;
73 +}
74 +.container .info h1 {
75 + margin: 0 0 15px;
76 + padding: 0;
77 + font-size: 36px;
78 + font-weight: 300;
79 + color: #1a1a1a;
80 +}
81 +.container .info span {
82 + color: #4d4d4d;
83 + font-size: 12px;
84 +}
85 +.container .info span a {
86 + color: #000000;
87 + text-decoration: none;
88 +}
89 +.container .info span .fa {
90 + color: #EF3B3A;
91 +}
92 +
93 +/* #id::placeholder #password::placeholder {
94 + color: black;
95 + font-style: italic;
96 + font-weight: bold;
97 +} */
98 +
99 +body {
100 + background: rebeccapurple; /* fallback for old browsers */
101 + /* background: rebeccapurple; */
102 + background: linear-gradient(90deg, rebeccapurple 0%, rebeccapurple 0%);
103 + font-family: "Roboto", sans-serif;
104 + -webkit-font-smoothing: antialiased;
105 + -moz-osx-font-smoothing: grayscale;
106 +}
107 +
108 +/* Copyright (c) 2022 by Aigars Silkalns (https://codepen.io/colorlib/pen/rxddKy) */
...\ No newline at end of file ...\ No newline at end of file
1 +/*인포윈도우 설정*/
2 +.infowindow {
3 + width : 25rem;
4 + border : 1px solid black;
5 + border-radius: 5px;
6 + background-color : white;
7 +}
8 +
9 +.infowindow-title {
10 + font-size: 3rem;
11 +}
12 +
13 +.infowindow-address {
14 + font-size: 1.6rem;
15 +}
16 +
17 +.infowindow-btn {
18 + font-size: 1.6rem;
19 +}
...\ No newline at end of file ...\ No newline at end of file
1 +@import url(https://fonts.googleapis.com/css?family=Roboto:300);
2 +
3 +.login-page {
4 + width: 360px;
5 + padding: 8% 0 0;
6 + margin: auto;
7 +}
8 +.form {
9 + position: relative;
10 + z-index: 1;
11 + background: #FFFFFF;
12 + max-width: 360px;
13 + margin: 0 auto 100px;
14 + padding: 45px;
15 + text-align: center;
16 + box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
17 +}
18 +.form input {
19 + font-family: "Roboto", sans-serif;
20 + outline: 0;
21 + background: #f2f2f2;
22 + width: 100%;
23 + border: 0;
24 + margin: 0 0 15px;
25 + padding: 15px;
26 + box-sizing: border-box;
27 + font-size: 14px;
28 +}
29 +.form #button {
30 + font-family: "Roboto", sans-serif;
31 + text-transform: uppercase;
32 + outline: 0;
33 + background: rebeccapurple;
34 + width: 89%;
35 + border: 0;
36 + margin: 0 auto;
37 + padding: 15px;
38 + color: #FFFFFF;
39 + font-size: 14px;
40 + -webkit-transition: all 0.3 ease;
41 + transition: all 0.3 ease;
42 + cursor: pointer;
43 +}
44 +.form #button:hover,.form #button:active,.form #button:focus {
45 + background: rebeccapurple;
46 +}
47 +.form .message {
48 + margin: 15px 0 0;
49 + color: #b3b3b3;
50 + font-size: 12px;
51 +}
52 +.form .message a {
53 + color: rebeccapurple;
54 + text-decoration: none;
55 +}
56 +.form .register-form {
57 + display: none;
58 +}
59 +.container {
60 + position: relative;
61 + z-index: 1;
62 + max-width: 300px;
63 + margin: 0 auto;
64 +}
65 +.container:before, .container:after {
66 + content: "";
67 + display: block;
68 + clear: both;
69 +}
70 +.container .info {
71 + margin: 50px auto;
72 + text-align: center;
73 +}
74 +.container .info h1 {
75 + margin: 0 0 15px;
76 + padding: 0;
77 + font-size: 36px;
78 + font-weight: 300;
79 + color: #1a1a1a;
80 +}
81 +.container .info span {
82 + color: #4d4d4d;
83 + font-size: 12px;
84 +}
85 +.container .info span a {
86 + color: #000000;
87 + text-decoration: none;
88 +}
89 +.container .info span .fa {
90 + color: #EF3B3A;
91 +}
92 +
93 +/* #id::placeholder #password::placeholder {
94 + color: black;
95 + font-style: italic;
96 + font-weight: bold;
97 +} */
98 +
99 +body {
100 + background: rebeccapurple; /* fallback for old browsers */
101 + /* background: rebeccapurple; */
102 + background: linear-gradient(90deg, rebeccapurple 0%, rebeccapurple 0%);
103 + font-family: "Roboto", sans-serif;
104 + -webkit-font-smoothing: antialiased;
105 + -moz-osx-font-smoothing: grayscale;
106 +}
107 +
108 +/* Copyright (c) 2022 by Aigars Silkalns (https://codepen.io/colorlib/pen/rxddKy) */
...\ No newline at end of file ...\ No newline at end of file
1 +/*********************************************************************************
2 + * 1. 지도 생성 및 확대 축소 컨트롤러
3 + */
4 +
5 + var container = document.getElementById('map'); //지도를 담을 영역의 DOM 레퍼런스
6 + var options = { //지도를 생성할 때 필요한 기본 옵션
7 + center: new kakao.maps.LatLng(37.54, 126.96), //지도의 중심좌표.
8 + level: 7 //지도의 레벨(확대, 축소 정도)
9 + };
10 +
11 + var map = new kakao.maps.Map(container, options); //지도 생성 및 객체 리턴
12 +
13 + // 확대 축소 컨트롤러
14 + var zoomControl = new kakao.maps.ZoomControl();
15 + map.addControl(zoomControl, kakao.maps.ControlPosition.RIGHT);
16 +
17 + /******************************************************************************
18 + * 2. 데이터 준비하기(제목, 주소, 카테고리)
19 + */
20 +
21 + async function getDataSet(category) {
22 + let qs = category;
23 + if(!qs) {
24 + qs = "";
25 + }
26 +
27 + const dataSet = await axios({
28 + method: "get", // http method
29 + url: `http://localhost:3000/restaurants?category=${qs}`,
30 + headers: {},
31 + data: {},
32 + });
33 +
34 + return dataSet.data.result;
35 + }
36 +
37 + getDataSet();
38 +
39 + /******************************************************************************
40 + * 3. 여러개 마커찍기
41 + */
42 +
43 + // 주소-좌표 변환 객체를 생성합니다
44 + var geocoder = new kakao.maps.services.Geocoder();
45 +
46 + function getCoordsByAddress(address) {
47 + return new Promise((resolve, reject) => {
48 + // 주소로 좌표를 검색합니다
49 + geocoder.addressSearch(address, function (result, status) {
50 + // 정상적으로 검색이 완료됐으면
51 + if (status === kakao.maps.services.Status.OK) {
52 + var coords = new kakao.maps.LatLng(result[0].y, result[0].x);
53 + return resolve(coords);
54 + }
55 + reject(new Error("getCoordsByAddress Error: not valid Address"));
56 + });
57 + });
58 + }
59 +
60 + setMap(dataSet);
61 +
62 + /*
63 + *************************************************************
64 + 4. 마커에 인포윈도우 붙이기
65 + */
66 +
67 + function getContent(data) {
68 + // 인포윈도우 가공하기
69 + return `
70 + <div class="infowindow">
71 + <div class="infowindow-body">
72 + <h5 class="infowindow-title">${data.title}</h5>
73 + <p class="infowindow-address">${data.address}</p>
74 + <a href='/chat' class="infowindow-btn" target="_blank">채팅방이동</a>
75 + </div>
76 + </div>
77 + `;
78 + }
79 +
80 + async function setMap(dataSet) {
81 + for (var i = 0; i < dataSet.length; i++) {
82 + // 마커를 생성합니다
83 + let coords = await getCoordsByAddress(dataSet[i].address);
84 + var marker = new kakao.maps.Marker({
85 + map: map, // 마커를 표시할 지도
86 + position: coords,
87 + });
88 +
89 + markerArray.push(marker);
90 +
91 + // 마커에 표시할 인포윈도우를 생성합니다
92 + var infowindow = new kakao.maps.InfoWindow({
93 + content: getContent(dataSet[i]),// 인포윈도우에 표시할 내용
94 + });
95 +
96 + infowindowArray.push(infowindow);
97 +
98 + // 마커에 mouseover 이벤트와 mouseout 이벤트를 등록합니다
99 + // 이벤트 리스너로는 클로저를 만들어 등록합니다
100 + // for문에서 클로저를 만들어 주지 않으면 마지막 마커에만 이벤트가 등록됩니다
101 + kakao.maps.event.addListener(marker, 'click', makeOverListener(map, marker, infowindow, coords));
102 + kakao.maps.event.addListener(map, 'click', makeOutListener(infowindow));
103 + }
104 + }
105 +
106 + // 인포윈도우를 표시하는 클로저를 만드는 함수입니다
107 + function makeOverListener(map, marker, infowindow, coords) {
108 + return function() {
109 + // 1. 클릭시 다른 인포윈도우 닫기
110 + closeInfoWindow();
111 + infowindow.open(map, marker);
112 + // 2. 클릭한 곳으로 지도 중심 옮기기
113 + map.panTo(coords);
114 + };
115 + }
116 +
117 + let infowindowArray = [];
118 + function closeInfoWindow() {
119 + for (let infowindow of infowindowArray) {
120 + infowindow.close();
121 + }
122 + }
123 +
124 + // 인포윈도우를 닫는 클로저를 만드는 함수입니다
125 + function makeOutListener(infowindow) {
126 + return function() {
127 + infowindow.close();
128 + };
129 + }
130 +
131 + /*
132 + **********************************************
133 + 5. 카테고리 분류
134 + */
135 +
136 + // 카테고리
137 + const categoryMap = {
138 + korea: "한식",
139 + china: "중식",
140 + japan: "일식",
141 + america: "양식",
142 + wheat: "분식",
143 + meat: "구이",
144 + sushi: "회/초밥",
145 + etc: "기타",
146 + };
147 +
148 + const categoryList = document.querySelector(".category-list");
149 + categoryList.addEventListener("click", categoryHandler);
150 +
151 + async function categoryHandler(event) {
152 + const categoryId = event.target.id;
153 + const category = categoryMap[categoryId];
154 +
155 + try {
156 + // 데이터 분류
157 + let categorizedDataSet = await getDataSet(category);
158 +
159 + // 기존 마커 삭제
160 + closeMarker();
161 +
162 + // 기존 인포윈도우 닫기
163 + closeInfoWindow();
164 +
165 + setMap(categorizedDataSet);
166 +
167 + } catch (error) {
168 + console.error(error);
169 + }
170 + }
171 +
172 + let markerArray = [];
173 + function closeMarker() {
174 + for (marker of markerArray) {
175 + marker.setMap(null);
176 + }
177 + }
178 +
179 + async function setting() {
180 + try {
181 + const dataSet = await getDataSet();
182 + setMap(dataSet);
183 +
184 + } catch (error) {
185 + console.error(error);
186 + }
187 + }
188 +
189 + setting();
...\ No newline at end of file ...\ No newline at end of file
1 +'use strict';
2 +
3 +const id = document.querySelector("#id"),
4 + password = document.querySelector("#password"),
5 + loginBtn = document.querySelector("#button");
6 +
7 +loginBtn.addEventListener("click", login);
8 +
9 +function login() {
10 + const req = {
11 + id : id.value,
12 + password : password.value,
13 + };
14 +
15 + fetch("/login", {
16 + method: "POST",
17 + headers: {
18 + "Content-Type": "application/json"
19 + },
20 + body: JSON.stringify(req),
21 + })
22 + .then((res) => res.json())
23 + .then((res) => {
24 + if (res.success) {
25 + //성공하면 이동
26 + location.href = "/";
27 + } else {
28 + alert(res.msg);
29 + }
30 + })
31 + .catch((err) => {
32 + console.error("로그인 중 에러 발생");
33 + });
34 +}
...\ No newline at end of file ...\ No newline at end of file
1 +'use strict';
2 +
3 +const id = document.querySelector("#id"),
4 + name = document.querySelector("#name"),
5 + password = document.querySelector("#password"),
6 + confirmPassword = document.querySelector("#confirm-password"),
7 + registerBtn = document.querySelector("#button");
8 +
9 +registerBtn.addEventListener("click", register);
10 +
11 +function register() {
12 + if(!id.value) {
13 + return alert("아이디를 입력해주세요.")
14 + }
15 +
16 + if(!name.value) {
17 + return alert("이름을 입력해주세요.")
18 + }
19 + if(!password.value) {
20 + return alert("비밀번호를 입력해주세요.")
21 + }
22 + if(!confirmPassword.value) {
23 + return alert("비밀번호를 확인해주세요.")
24 + }
25 + if (password.value !== confirmPassword.value) {
26 + return alert("비밀번호가 일치하지 않습니다.")
27 + }
28 +
29 + const req = {
30 + id : id.value,
31 + name : name.value,
32 + password : password.value,
33 + };
34 +
35 + fetch("/register", {
36 + method: "POST",
37 + headers: {
38 + "Content-Type": "application/json"
39 + },
40 + body: JSON.stringify(req),
41 + })
42 + .then((res) => res.json())
43 + .then((res) => {
44 + if (res.success) {
45 + //성공하면 이동
46 + location.href = "/login";
47 + } else {
48 + alert(res.msg);
49 + }
50 + })
51 + .catch((err) => {
52 + console.error("회원가입 중 에러 발생");
53 + });
54 +}
...\ No newline at end of file ...\ No newline at end of file
1 +"use strict";
2 +
3 +const User = require("../../models/User");
4 +const Restaurant = require("../../models/Restaurant");
5 +
6 +const output = {
7 + hello: (req, res) => {
8 + res.render("home/index");
9 + },
10 +
11 + login: (req, res) => {
12 + res.render("home/login");
13 + },
14 +
15 + register: (req, res) => {
16 + res.render("home/register");
17 + },
18 +
19 + restaurants: (req, res) => {
20 + res.render("home/restaurants");
21 + }
22 +};
23 +
24 +const process = {
25 + login: async (req, res) => {
26 + const user = new User(req.body);
27 + const response = await user.login();
28 + return res.json(response);
29 + },
30 +
31 + register: async (req, res) => {
32 + const user = new User(req.body);
33 + const response = await user.register();
34 + return res.json(response);
35 + },
36 +
37 + // restaurants: async (req, res) => {
38 + // const restaurant = new Restaurant(req.body);
39 + // const response = await restaurant.restaurants();
40 + // return res.json(response);
41 + // },
42 + // const id = req.body.id,
43 + // password = req.body.password;
44 + // const users = UserStorage.getUsers("id", "password");
45 + // // console.log(UserStorage.getUsers("id", "password","name"));
46 + // const response = {};
47 +
48 + // if (users.id.includes(id)) {
49 + // const idx = users.id.indexOf(id);
50 + // if (users.password[idx] === password) {
51 + // response.success = true;
52 + // return res.json(response);
53 + // }
54 + // }
55 +
56 + // response.success = false;
57 + // response.msg = "로그인에 실패하였습니다."
58 + // return res.json(response);
59 +};
60 +
61 +module.exports = {
62 + output,
63 + process,
64 +};
...\ No newline at end of file ...\ No newline at end of file
1 +"use strict";
2 +
3 +const express = require("express");
4 +const router = express.Router();
5 +// const index = require("../../controllers/indexController");
6 +
7 +const ctrl = require("./home.ctrl");
8 +
9 +router.get("/", ctrl.output.hello);
10 +router.get("/login", ctrl.output.login);
11 +router.get("/register", ctrl.output.register);
12 +router.get("/restaurants", ctrl.output.restaurants);
13 +
14 +router.post("/login", ctrl.process.login);
15 +router.post("/register", ctrl.process.register);
16 +
17 +module.exports = router;
...\ No newline at end of file ...\ No newline at end of file
1 +<!DOCTYPE html>
2 +<html lang="en">
3 + <head>
4 + <meta charset="UTF-8" />
5 + <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 + <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 + <title>채팅</title>
8 + </head>
9 + <body></body>
10 +</html>
1 +<!DOCTYPE html>
2 +<html lang="en">
3 + <head>
4 + <meta charset="UTF-8" />
5 + <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 + <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 + <title>맛집지도</title>
8 + <meta name="author" content="양주미" />
9 + <meta name="description" content="맛집지도 서비스" />
10 + <meta name="keywords" content="맛집지도, 맛집추천, 실시간채팅" />
11 + <link rel="stylesheet" href="/css/home/index.css" />
12 + <script src="/js/home/axios-index.js"></script>
13 + </head>
14 + <body>
15 + <nav>
16 + <div class="inner">
17 + <div class="nav-container">
18 + <h1 class="nav-title">맛집지도</h1>
19 + <button class="nav-contact">Chatting Rooms</button>
20 + </div>
21 + </div>
22 + </nav>
23 +
24 + <main>
25 + <section id="category">
26 + <div class="inner">
27 + <div class="category-container">
28 + <h2 class="category-title">💜맛집지도 카테고리를 선택해보세요💜</h2>
29 + <div class="category-list">
30 + <button class="category-item" id="korea">한식🍚</button>
31 + <button class="category-item" id="china">중식🍜</button>
32 + <button class="category-item" id="japan">일식🍙</button>
33 + <button class="category-item" id="america">양식🍝</button>
34 + <button class="category-item" id="wheat">분식🍭</button>
35 + <button class="category-item" id="meat">구이🍖</button>
36 + <button class="category-item" id="sushi">회/초밥🍣</button>
37 + <button class="category-item" id="etc">기타🍴</button>
38 + </div>
39 + </div>
40 + </div>
41 + </section>
42 + <!-- 카테고리 -->
43 + <div id="map" class="inner"></div>
44 +
45 + <!-- 카카오지도 -->
46 + </main>
47 +
48 + <script
49 + type="text/javascript"
50 + src="//dapi.kakao.com/v2/maps/sdk.js?appkey=e55f753363b95e27b799aa6286a6c398&libraries=services"
51 + ></script>
52 + <script
53 + src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.0.0-alpha.1/axios.min.js"
54 + integrity="sha512-xIPqqrfvUAc/Cspuj7Bq0UtHNo/5qkdyngx6Vwt+tmbvTLDszzXM0G6c91LXmGrRx8KEPulT+AfOOez+TeVylg=="
55 + crossorigin="anonymous"
56 + referrerpolicy="no-referrer"
57 + ></script>
58 + </body>
59 +</html>
1 +<!DOCTYPE html>
2 +<html lang="ko">
3 + <head>
4 + <meta charset="UTF-8" />
5 + <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 + <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 + <link rel="stylesheet" href="/css/home/login.css" />
8 + <script src="/js/home/login.js" defer></script>
9 + <title>로그인</title>
10 + </head>
11 + <body>
12 + <div class="login-page">
13 + <div class="form">
14 + <!-- <form class="register-form">
15 + <input type="text" placeholder="name" />
16 + <input type="password" placeholder="password" />
17 + <input type="text" placeholder="email address" />
18 + <button>create</button>
19 + <p class="message">Already registered? <a href="#">Sign In</a></p>
20 + </form> -->
21 + <form class="login-form">
22 + <input id="id" type="text" placeholder="아이디" />
23 + <input id="password" type="password" placeholder="비밀번호" />
24 + <p id="button">LOGIN</p>
25 + <p class="message">
26 + 계정이 없으신가요? <a href="/register">회원가입</a>
27 + </p>
28 + </form>
29 + </div>
30 + </div>
31 + </body>
32 +</html>
33 +
34 +<!-- Copyright (c) 2022 by Aigars Silkalns (https://codepen.io/colorlib/pen/rxddKy) -->
1 +<!DOCTYPE html>
2 +<html lang="ko">
3 + <head>
4 + <meta charset="UTF-8" />
5 + <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 + <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 + <link rel="stylesheet" href="/css/home/register.css" />
8 + <script src="/js/home/register.js" defer></script>
9 + <title>회원가입</title>
10 + </head>
11 + <body>
12 + <div class="login-page">
13 + <div class="form">
14 + <!-- <form class="register-form">
15 + <input type="text" placeholder="name" />
16 + <input type="password" placeholder="password" />
17 + <input type="text" placeholder="email address" />
18 + <button>create</button>
19 + <p class="message">Already registered? <a href="#">Sign In</a></p>
20 + </form> -->
21 + <form class="login-form">
22 + <input id="id" type="text" placeholder="아이디" />
23 + <input id="name" type="text" placeholder="이름" />
24 + <input id="password" type="password" placeholder="비밀번호" />
25 + <input
26 + id="confirm-password"
27 + type="password"
28 + placeholder="비밀번호 확인"
29 + />
30 + <p id="button">SIGN UP</p>
31 + <p class="message">계정이 있으신가요? <a href="/login">로그인</a></p>
32 + </form>
33 + </div>
34 + </div>
35 + </body>
36 +</html>
37 +
38 +<!-- Copyright (c) 2022 by Aigars Silkalns (https://codepen.io/colorlib/pen/rxddKy) -->
1 +{
2 + "lockfileVersion": 1
3 +}