Jeongmin Seo

merge release_v0.1.0 branch

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