장주현

study html

...@@ -43,4 +43,4 @@ function trans(message, totrans){ ...@@ -43,4 +43,4 @@ function trans(message, totrans){
43 totrans = body.message.result.translatedText; 43 totrans = body.message.result.translatedText;
44 } 44 }
45 }); 45 });
46 -}
...\ No newline at end of file ...\ No newline at end of file
46 +};
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -11,6 +11,17 @@ ...@@ -11,6 +11,17 @@
11 "negotiator": "0.6.2" 11 "negotiator": "0.6.2"
12 } 12 }
13 }, 13 },
14 + "ajv": {
15 + "version": "6.12.2",
16 + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz",
17 + "integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==",
18 + "requires": {
19 + "fast-deep-equal": "^3.1.1",
20 + "fast-json-stable-stringify": "^2.0.0",
21 + "json-schema-traverse": "^0.4.1",
22 + "uri-js": "^4.2.2"
23 + }
24 + },
14 "ansi-styles": { 25 "ansi-styles": {
15 "version": "3.2.1", 26 "version": "3.2.1",
16 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 27 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
...@@ -24,16 +35,52 @@ ...@@ -24,16 +35,52 @@
24 "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 35 "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
25 "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" 36 "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
26 }, 37 },
38 + "asn1": {
39 + "version": "0.2.4",
40 + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
41 + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
42 + "requires": {
43 + "safer-buffer": "~2.1.0"
44 + }
45 + },
46 + "assert-plus": {
47 + "version": "1.0.0",
48 + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
49 + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
50 + },
27 "async": { 51 "async": {
28 "version": "0.9.2", 52 "version": "0.9.2",
29 "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz", 53 "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz",
30 "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=" 54 "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0="
31 }, 55 },
56 + "asynckit": {
57 + "version": "0.4.0",
58 + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
59 + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
60 + },
61 + "aws-sign2": {
62 + "version": "0.7.0",
63 + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
64 + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
65 + },
66 + "aws4": {
67 + "version": "1.10.0",
68 + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.10.0.tgz",
69 + "integrity": "sha512-3YDiu347mtVtjpyV3u5kVqQLP242c06zwDOgpeRnybmXlYYsLbtTrUBUm8i8srONt+FWobl5aibnU1030PeeuA=="
70 + },
32 "balanced-match": { 71 "balanced-match": {
33 "version": "1.0.0", 72 "version": "1.0.0",
34 "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 73 "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
35 "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" 74 "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
36 }, 75 },
76 + "bcrypt-pbkdf": {
77 + "version": "1.0.2",
78 + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
79 + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
80 + "requires": {
81 + "tweetnacl": "^0.14.3"
82 + }
83 + },
37 "body-parser": { 84 "body-parser": {
38 "version": "1.19.0", 85 "version": "1.19.0",
39 "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", 86 "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
...@@ -65,6 +112,11 @@ ...@@ -65,6 +112,11 @@
65 "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", 112 "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
66 "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" 113 "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="
67 }, 114 },
115 + "caseless": {
116 + "version": "0.12.0",
117 + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
118 + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
119 + },
68 "chalk": { 120 "chalk": {
69 "version": "2.4.2", 121 "version": "2.4.2",
70 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 122 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
...@@ -88,6 +140,14 @@ ...@@ -88,6 +140,14 @@
88 "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 140 "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
89 "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" 141 "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
90 }, 142 },
143 + "combined-stream": {
144 + "version": "1.0.8",
145 + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
146 + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
147 + "requires": {
148 + "delayed-stream": "~1.0.0"
149 + }
150 + },
91 "concat-map": { 151 "concat-map": {
92 "version": "0.0.1", 152 "version": "0.0.1",
93 "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 153 "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
...@@ -116,6 +176,19 @@ ...@@ -116,6 +176,19 @@
116 "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 176 "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
117 "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" 177 "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
118 }, 178 },
179 + "core-util-is": {
180 + "version": "1.0.2",
181 + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
182 + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
183 + },
184 + "dashdash": {
185 + "version": "1.14.1",
186 + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
187 + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
188 + "requires": {
189 + "assert-plus": "^1.0.0"
190 + }
191 + },
119 "debug": { 192 "debug": {
120 "version": "2.6.9", 193 "version": "2.6.9",
121 "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 194 "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
...@@ -124,6 +197,11 @@ ...@@ -124,6 +197,11 @@
124 "ms": "2.0.0" 197 "ms": "2.0.0"
125 } 198 }
126 }, 199 },
200 + "delayed-stream": {
201 + "version": "1.0.0",
202 + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
203 + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
204 + },
127 "depd": { 205 "depd": {
128 "version": "1.1.2", 206 "version": "1.1.2",
129 "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", 207 "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
...@@ -134,6 +212,15 @@ ...@@ -134,6 +212,15 @@
134 "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", 212 "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
135 "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" 213 "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
136 }, 214 },
215 + "ecc-jsbn": {
216 + "version": "0.1.2",
217 + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
218 + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
219 + "requires": {
220 + "jsbn": "~0.1.0",
221 + "safer-buffer": "^2.1.0"
222 + }
223 + },
137 "ee-first": { 224 "ee-first": {
138 "version": "1.1.1", 225 "version": "1.1.1",
139 "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 226 "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
...@@ -204,6 +291,26 @@ ...@@ -204,6 +291,26 @@
204 "vary": "~1.1.2" 291 "vary": "~1.1.2"
205 } 292 }
206 }, 293 },
294 + "extend": {
295 + "version": "3.0.2",
296 + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
297 + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
298 + },
299 + "extsprintf": {
300 + "version": "1.3.0",
301 + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
302 + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
303 + },
304 + "fast-deep-equal": {
305 + "version": "3.1.3",
306 + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
307 + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
308 + },
309 + "fast-json-stable-stringify": {
310 + "version": "2.1.0",
311 + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
312 + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
313 + },
207 "filelist": { 314 "filelist": {
208 "version": "1.0.1", 315 "version": "1.0.1",
209 "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.1.tgz", 316 "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.1.tgz",
...@@ -226,6 +333,21 @@ ...@@ -226,6 +333,21 @@
226 "unpipe": "~1.0.0" 333 "unpipe": "~1.0.0"
227 } 334 }
228 }, 335 },
336 + "forever-agent": {
337 + "version": "0.6.1",
338 + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
339 + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
340 + },
341 + "form-data": {
342 + "version": "2.3.3",
343 + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
344 + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
345 + "requires": {
346 + "asynckit": "^0.4.0",
347 + "combined-stream": "^1.0.6",
348 + "mime-types": "^2.1.12"
349 + }
350 + },
229 "forwarded": { 351 "forwarded": {
230 "version": "0.1.2", 352 "version": "0.1.2",
231 "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", 353 "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
...@@ -236,6 +358,28 @@ ...@@ -236,6 +358,28 @@
236 "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 358 "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
237 "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" 359 "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
238 }, 360 },
361 + "getpass": {
362 + "version": "0.1.7",
363 + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
364 + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
365 + "requires": {
366 + "assert-plus": "^1.0.0"
367 + }
368 + },
369 + "har-schema": {
370 + "version": "2.0.0",
371 + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
372 + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
373 + },
374 + "har-validator": {
375 + "version": "5.1.3",
376 + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",
377 + "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",
378 + "requires": {
379 + "ajv": "^6.5.5",
380 + "har-schema": "^2.0.0"
381 + }
382 + },
239 "has-flag": { 383 "has-flag": {
240 "version": "3.0.0", 384 "version": "3.0.0",
241 "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 385 "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
...@@ -253,6 +397,16 @@ ...@@ -253,6 +397,16 @@
253 "toidentifier": "1.0.0" 397 "toidentifier": "1.0.0"
254 } 398 }
255 }, 399 },
400 + "http-signature": {
401 + "version": "1.2.0",
402 + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
403 + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
404 + "requires": {
405 + "assert-plus": "^1.0.0",
406 + "jsprim": "^1.2.2",
407 + "sshpk": "^1.7.0"
408 + }
409 + },
256 "iconv-lite": { 410 "iconv-lite": {
257 "version": "0.4.24", 411 "version": "0.4.24",
258 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 412 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
...@@ -271,6 +425,16 @@ ...@@ -271,6 +425,16 @@
271 "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 425 "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
272 "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" 426 "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
273 }, 427 },
428 + "is-typedarray": {
429 + "version": "1.0.0",
430 + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
431 + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
432 + },
433 + "isstream": {
434 + "version": "0.1.2",
435 + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
436 + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
437 + },
274 "jake": { 438 "jake": {
275 "version": "10.8.2", 439 "version": "10.8.2",
276 "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.2.tgz", 440 "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.2.tgz",
...@@ -282,6 +446,37 @@ ...@@ -282,6 +446,37 @@
282 "minimatch": "^3.0.4" 446 "minimatch": "^3.0.4"
283 } 447 }
284 }, 448 },
449 + "jsbn": {
450 + "version": "0.1.1",
451 + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
452 + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
453 + },
454 + "json-schema": {
455 + "version": "0.2.3",
456 + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
457 + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
458 + },
459 + "json-schema-traverse": {
460 + "version": "0.4.1",
461 + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
462 + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
463 + },
464 + "json-stringify-safe": {
465 + "version": "5.0.1",
466 + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
467 + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
468 + },
469 + "jsprim": {
470 + "version": "1.4.1",
471 + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
472 + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
473 + "requires": {
474 + "assert-plus": "1.0.0",
475 + "extsprintf": "1.3.0",
476 + "json-schema": "0.2.3",
477 + "verror": "1.10.0"
478 + }
479 + },
285 "media-typer": { 480 "media-typer": {
286 "version": "0.3.0", 481 "version": "0.3.0",
287 "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 482 "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
...@@ -333,6 +528,11 @@ ...@@ -333,6 +528,11 @@
333 "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", 528 "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
334 "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" 529 "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="
335 }, 530 },
531 + "oauth-sign": {
532 + "version": "0.9.0",
533 + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
534 + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
535 + },
336 "on-finished": { 536 "on-finished": {
337 "version": "2.3.0", 537 "version": "2.3.0",
338 "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", 538 "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
...@@ -351,6 +551,11 @@ ...@@ -351,6 +551,11 @@
351 "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 551 "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
352 "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" 552 "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
353 }, 553 },
554 + "performance-now": {
555 + "version": "2.1.0",
556 + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
557 + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
558 + },
354 "proxy-addr": { 559 "proxy-addr": {
355 "version": "2.0.6", 560 "version": "2.0.6",
356 "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", 561 "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
...@@ -360,6 +565,16 @@ ...@@ -360,6 +565,16 @@
360 "ipaddr.js": "1.9.1" 565 "ipaddr.js": "1.9.1"
361 } 566 }
362 }, 567 },
568 + "psl": {
569 + "version": "1.8.0",
570 + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
571 + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
572 + },
573 + "punycode": {
574 + "version": "2.1.1",
575 + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
576 + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
577 + },
363 "qs": { 578 "qs": {
364 "version": "6.7.0", 579 "version": "6.7.0",
365 "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", 580 "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
...@@ -381,6 +596,40 @@ ...@@ -381,6 +596,40 @@
381 "unpipe": "1.0.0" 596 "unpipe": "1.0.0"
382 } 597 }
383 }, 598 },
599 + "request": {
600 + "version": "2.88.2",
601 + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz",
602 + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==",
603 + "requires": {
604 + "aws-sign2": "~0.7.0",
605 + "aws4": "^1.8.0",
606 + "caseless": "~0.12.0",
607 + "combined-stream": "~1.0.6",
608 + "extend": "~3.0.2",
609 + "forever-agent": "~0.6.1",
610 + "form-data": "~2.3.2",
611 + "har-validator": "~5.1.3",
612 + "http-signature": "~1.2.0",
613 + "is-typedarray": "~1.0.0",
614 + "isstream": "~0.1.2",
615 + "json-stringify-safe": "~5.0.1",
616 + "mime-types": "~2.1.19",
617 + "oauth-sign": "~0.9.0",
618 + "performance-now": "^2.1.0",
619 + "qs": "~6.5.2",
620 + "safe-buffer": "^5.1.2",
621 + "tough-cookie": "~2.5.0",
622 + "tunnel-agent": "^0.6.0",
623 + "uuid": "^3.3.2"
624 + },
625 + "dependencies": {
626 + "qs": {
627 + "version": "6.5.2",
628 + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
629 + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA=="
630 + }
631 + }
632 + },
384 "safe-buffer": { 633 "safe-buffer": {
385 "version": "5.1.2", 634 "version": "5.1.2",
386 "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 635 "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
...@@ -434,6 +683,22 @@ ...@@ -434,6 +683,22 @@
434 "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", 683 "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
435 "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" 684 "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="
436 }, 685 },
686 + "sshpk": {
687 + "version": "1.16.1",
688 + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
689 + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
690 + "requires": {
691 + "asn1": "~0.2.3",
692 + "assert-plus": "^1.0.0",
693 + "bcrypt-pbkdf": "^1.0.0",
694 + "dashdash": "^1.12.0",
695 + "ecc-jsbn": "~0.1.1",
696 + "getpass": "^0.1.1",
697 + "jsbn": "~0.1.0",
698 + "safer-buffer": "^2.0.2",
699 + "tweetnacl": "~0.14.0"
700 + }
701 + },
437 "statuses": { 702 "statuses": {
438 "version": "1.5.0", 703 "version": "1.5.0",
439 "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", 704 "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
...@@ -452,6 +717,28 @@ ...@@ -452,6 +717,28 @@
452 "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", 717 "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
453 "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" 718 "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="
454 }, 719 },
720 + "tough-cookie": {
721 + "version": "2.5.0",
722 + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",
723 + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",
724 + "requires": {
725 + "psl": "^1.1.28",
726 + "punycode": "^2.1.1"
727 + }
728 + },
729 + "tunnel-agent": {
730 + "version": "0.6.0",
731 + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
732 + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
733 + "requires": {
734 + "safe-buffer": "^5.0.1"
735 + }
736 + },
737 + "tweetnacl": {
738 + "version": "0.14.5",
739 + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
740 + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
741 + },
455 "type-is": { 742 "type-is": {
456 "version": "1.6.18", 743 "version": "1.6.18",
457 "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 744 "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
...@@ -466,15 +753,38 @@ ...@@ -466,15 +753,38 @@
466 "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 753 "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
467 "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" 754 "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
468 }, 755 },
756 + "uri-js": {
757 + "version": "4.2.2",
758 + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
759 + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
760 + "requires": {
761 + "punycode": "^2.1.0"
762 + }
763 + },
469 "utils-merge": { 764 "utils-merge": {
470 "version": "1.0.1", 765 "version": "1.0.1",
471 "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 766 "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
472 "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" 767 "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
473 }, 768 },
769 + "uuid": {
770 + "version": "3.4.0",
771 + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
772 + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
773 + },
474 "vary": { 774 "vary": {
475 "version": "1.1.2", 775 "version": "1.1.2",
476 "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 776 "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
477 "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" 777 "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
778 + },
779 + "verror": {
780 + "version": "1.10.0",
781 + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
782 + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
783 + "requires": {
784 + "assert-plus": "^1.0.0",
785 + "core-util-is": "1.0.2",
786 + "extsprintf": "^1.2.0"
787 + }
478 } 788 }
479 } 789 }
480 } 790 }
......
1 -<input type="text" id="sample3_postcode" placeholder="우편번호"> 1 +
2 -<input type="button" onclick="sample3_execDaumPostcode()" value="우편번호 찾기"><br> 2 +
3 -<input type="text" id="sample3_address" placeholder="주소"><br> 3 +<form>
4 -<input type="text" id="sample3_detailAddress" placeholder="상세주소"> 4 + <input type="text" name="zipcode" id="sample3_postcode" placeholder="우편번호">
5 -<input type="text" id="sample3_extraAddress" placeholder="참고항목"> 5 + <input type="button" onclick="sample3_execDaumPostcode()" value="우편번호 찾기"><br>
6 + <input type="text" name="addressK" id="sample3_address" placeholder="주소"><br>
7 + <input type="text" name="detailaddressK" id="sample3_detailAddress" placeholder="상세주소">
8 + <input type="text" name="extraaddressK" id="sample3_extraAddress" placeholder="참고항목">
9 +
10 + <p> 사용할 해외 쇼핑몰 선택 후 변환</p>
11 + <input type="radio" id="selshop" name="os" value="amazon" checked="checked">Amazon
12 + <input type="radio" id="selshop" name="os" value="ebay">Ebay
13 + <input type="submit" value="주소 변환">
14 +</form>
15 +<p> 사용할 해외 쇼핑몰 선택 후 변환</p>
16 +<input type="radio" id="selshop" name="os" value="amazon" checked="checked">Amazon
17 +<input type="radio" id="selshop" name="os" value="ebay">Ebay
18 +<input type="button" value="주소 변환" onclick="translateprocess()">
19 +
20 +
21 +<input type="submit" value="주소 변환">
22 +
23 +
24 +Contry/Region: <input type="text" name="contry" placeholder="국가">
25 +
6 26
7 <div id="wrap" style="display:none;border:1px solid;width:500px;height:300px;margin:5px 0;position:relative"> 27 <div id="wrap" style="display:none;border:1px solid;width:500px;height:300px;margin:5px 0;position:relative">
8 <img src="//t1.daumcdn.net/postcode/resource/images/close.png" id="btnFoldWrap" style="cursor:pointer;position:absolute;right:0px;top:-1px;z-index:1" onclick="foldDaumPostcode()" alt="접기 버튼"> 28 <img src="//t1.daumcdn.net/postcode/resource/images/close.png" id="btnFoldWrap" style="cursor:pointer;position:absolute;right:0px;top:-1px;z-index:1" onclick="foldDaumPostcode()" alt="접기 버튼">
...@@ -12,6 +32,8 @@ ...@@ -12,6 +32,8 @@
12 <script> 32 <script>
13 // 우편번호 찾기 찾기 화면을 넣을 element 33 // 우편번호 찾기 찾기 화면을 넣을 element
14 var element_wrap = document.getElementById('wrap'); 34 var element_wrap = document.getElementById('wrap');
35 + var englishadd;
36 +
15 37
16 function foldDaumPostcode() { 38 function foldDaumPostcode() {
17 // iframe을 넣은 element를 안보이게 한다. 39 // iframe을 넣은 element를 안보이게 한다.
...@@ -37,6 +59,8 @@ ...@@ -37,6 +59,8 @@
37 addr = data.jibunAddress; 59 addr = data.jibunAddress;
38 } 60 }
39 61
62 + englishadd = data.roadAddressEnglish;
63 +
40 // 사용자가 선택한 주소가 도로명 타입일때 참고항목을 조합한다. 64 // 사용자가 선택한 주소가 도로명 타입일때 참고항목을 조합한다.
41 if(data.userSelectedType === 'R'){ 65 if(data.userSelectedType === 'R'){
42 // 법정동명이 있을 경우 추가한다. (법정리는 제외) 66 // 법정동명이 있을 경우 추가한다. (법정리는 제외)
...@@ -84,23 +108,25 @@ ...@@ -84,23 +108,25 @@
84 element_wrap.style.display = 'block'; 108 element_wrap.style.display = 'block';
85 } 109 }
86 </script> 110 </script>
87 -<p> 사용할 해외 쇼핑몰 선택 후 변환</p>
88 -<input type="radio" name="os" value="amazon" checked="checked">Amazon
89 -<input type="radio" name="os" value="ebay">Ebay
90 -<input type="button" value="주소 변환" onclick="translateprocess()">
91 111
92 <script> 112 <script>
93 function translateprocess(){ 113 function translateprocess(){
94 var rawaddress = sample3_address.value; 114 var rawaddress = sample3_address.value;
95 var rawdetailAddress = sample3_detailAddress.value; 115 var rawdetailAddress = sample3_detailAddress.value;
96 var rawextraAddress = sample3_extraAddress.value; 116 var rawextraAddress = sample3_extraAddress.value;
117 + //autoRoadAddressEnglish;
118 + var splitenglishadd = englishadd.split(", ");
119 + var streetaddressE = splitenglishadd[0] + ", " +splitenglishadd[1] + ", " + splitenglishadd[2];
120 + var cityE = splitenglishadd[3];
121 + var stateE = splitenglishadd[4];
97 122
123 +
98 var rawsplitaddress = rawaddress.split(" "); 124 var rawsplitaddress = rawaddress.split(" ");
99 125
126 +
127 +
100 128
101 - 129 + var text = "country/Region : \tKorea, Republic of" + "<br>Full name : \t영문이름" + "<br>Street address : \t" + streetaddressE + "<br>Street address : \t" + rawdetailAddress + rawextraAddress + "<br>City : \t" + cityE + "<br>State/ Province/ Region : \t" + stateE + "<br>Zip Code : \t\t" + sample3_postcode.value + "<br>Phone number : (+82)본인의 전화번호";
102 -
103 - var text = "country/Region : Korea, Republic of" + "<br>Full name : 영문이름" + "<br>Street address : " + rawaddress + "<br>Street address : " + rawdetailAddress + rawextraAddress + "<br>City : " + rawsplitaddress[0] + "<br>State/ Province/ Region :" + rawsplitaddress[1] + "<br>Zip Code : " + sample3_postcode.value + "<br>Phone number : (+82)본인의 전화번호";
104 document.getElementById("englishaddress").innerHTML = text; 130 document.getElementById("englishaddress").innerHTML = text;
105 131
106 } 132 }
......
...@@ -3,7 +3,6 @@ const router = express.Router(); ...@@ -3,7 +3,6 @@ const router = express.Router();
3 3
4 router.get('/', function(req, res){ 4 router.get('/', function(req, res){
5 res.render('index'); 5 res.render('index');
6 - console.log("trtt")
7 }); 6 });
8 7
9 module.exports = router; 8 module.exports = router;
...\ No newline at end of file ...\ No newline at end of file
......