곽교린

Update CommentLoadingTest.js, papago.js

modify papago.js import to require. add comment language(lang) in commen
tList by require papago.js in CommentLoadingTest.
1 +var papago = require("./papago.js");
2 +
1 var http = require('http'); 3 var http = require('http');
2 var fs = require('fs'); 4 var fs = require('fs');
3 var url = require('url'); 5 var url = require('url');
...@@ -8,6 +10,7 @@ const {google} = require("googleapis"); ...@@ -8,6 +10,7 @@ const {google} = require("googleapis");
8 const service = google.youtube('v3'); 10 const service = google.youtube('v3');
9 const apiKey = 'AIzaSyCjBrFKnBlGvxsfOD-qJP8nBkdEoqKRHu8'; //api키 11 const apiKey = 'AIzaSyCjBrFKnBlGvxsfOD-qJP8nBkdEoqKRHu8'; //api키
10 let videoNum = "TpPwI_Lo0YY"; //비디오 주소(예시) 12 let videoNum = "TpPwI_Lo0YY"; //비디오 주소(예시)
13 +const serverIP = "http://localhost:3000" //서버의 주소
11 var commentList = new Array(); 14 var commentList = new Array();
12 var commentNum = 0; 15 var commentNum = 0;
13 var savednpt = '' 16 var savednpt = ''
...@@ -29,7 +32,7 @@ function showcomment(response, VideoNum){ ...@@ -29,7 +32,7 @@ function showcomment(response, VideoNum){
29 <meta charset="utf-8"> 32 <meta charset="utf-8">
30 </head> 33 </head>
31 <body> 34 <body>
32 - <form action="http://localhost:3000/search" method="get"> 35 + <form action="${serverIP}/search" method="get">
33 <p> 36 <p>
34 <textarea name="videourl" placeholder="Write your video Url" >${VideoNum}</textarea> 37 <textarea name="videourl" placeholder="Write your video Url" >${VideoNum}</textarea>
35 </p> 38 </p>
...@@ -42,7 +45,7 @@ function showcomment(response, VideoNum){ ...@@ -42,7 +45,7 @@ function showcomment(response, VideoNum){
42 <iframe width="560" height="315" src="https://www.youtube.com/embed/${VideoNum}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> 45 <iframe width="560" height="315" src="https://www.youtube.com/embed/${VideoNum}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
43 46
44 <br> 47 <br>
45 - <a href="http://localhost:3000/search?videourl=${VideoNum}&nextpage=${savednpt}"><input type="button" value="댓글 더 불러오기"></a> 48 + <a href="${serverIP}/search?videourl=${VideoNum}&nextpage=${savednpt}"><input type="button" value="댓글 더 불러오기"></a>
46 <br> 49 <br>
47 ${commentDisplay} 50 ${commentDisplay}
48 </body> 51 </body>
...@@ -64,10 +67,12 @@ function loadcomment(ApiKey, VideoNum, npt, n, res){ ...@@ -64,10 +67,12 @@ function loadcomment(ApiKey, VideoNum, npt, n, res){
64 }).then(function(response) { 67 }).then(function(response) {
65 //console.log("Response", response); 68 //console.log("Response", response);
66 for(let iter = 0; iter < response.data.pageInfo.totalResults; iter++){ 69 for(let iter = 0; iter < response.data.pageInfo.totalResults; iter++){
70 + let templang = papago.getLang(response.data.items[iter].snippet.topLevelComment.snippet.textDisplay)
67 let tempComment = { 71 let tempComment = {
68 'name' : response.data.items[iter].snippet.topLevelComment.snippet.authorDisplayName, 72 'name' : response.data.items[iter].snippet.topLevelComment.snippet.authorDisplayName,
69 'image' : response.data.items[iter].snippet.topLevelComment.snippet.authorProfileImageUrl, 73 'image' : response.data.items[iter].snippet.topLevelComment.snippet.authorProfileImageUrl,
70 - 'text' : response.data.items[iter].snippet.topLevelComment.snippet.textDisplay 74 + 'text' : response.data.items[iter].snippet.topLevelComment.snippet.textDisplay,
75 + 'lang' : templang
71 } 76 }
72 commentList.push(tempComment); 77 commentList.push(tempComment);
73 commentNum += 1; 78 commentNum += 1;
...@@ -106,7 +111,7 @@ var app = http.createServer(function(request,response){ // request는 브라우 ...@@ -106,7 +111,7 @@ var app = http.createServer(function(request,response){ // request는 브라우
106 <meta charset="utf-8"> 111 <meta charset="utf-8">
107 </head> 112 </head>
108 <body> 113 <body>
109 - <form action="http://localhost:3000/search" method="get"> 114 + <form action="${serverIP}/search" method="get">
110 <p> 115 <p>
111 <textarea name="videourl" placeholder="Write your video Url"></textarea> 116 <textarea name="videourl" placeholder="Write your video Url"></textarea>
112 </p> 117 </p>
......
1 { 1 {
2 - "name": "termproject", 2 + "name": "youtube-comment-seperator",
3 "lockfileVersion": 2, 3 "lockfileVersion": 2,
4 "requires": true, 4 "requires": true,
5 "packages": { 5 "packages": {
6 "": { 6 "": {
7 "dependencies": { 7 "dependencies": {
8 + "franc": "^6.0.0",
8 "googleapis": "^100.0.0", 9 "googleapis": "^100.0.0",
10 + "langs": "^2.0.0",
11 + "request": "^2.88.2",
9 "youtube-v3-api": "^1.1.1" 12 "youtube-v3-api": "^1.1.1"
10 } 13 }
11 }, 14 },
...@@ -31,6 +34,21 @@ ...@@ -31,6 +34,21 @@
31 "node": ">= 6.0.0" 34 "node": ">= 6.0.0"
32 } 35 }
33 }, 36 },
37 + "node_modules/ajv": {
38 + "version": "6.12.6",
39 + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
40 + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
41 + "dependencies": {
42 + "fast-deep-equal": "^3.1.1",
43 + "fast-json-stable-stringify": "^2.0.0",
44 + "json-schema-traverse": "^0.4.1",
45 + "uri-js": "^4.2.2"
46 + },
47 + "funding": {
48 + "type": "github",
49 + "url": "https://github.com/sponsors/epoberezkin"
50 + }
51 + },
34 "node_modules/arrify": { 52 "node_modules/arrify": {
35 "version": "2.0.1", 53 "version": "2.0.1",
36 "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", 54 "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz",
...@@ -39,6 +57,40 @@ ...@@ -39,6 +57,40 @@
39 "node": ">=8" 57 "node": ">=8"
40 } 58 }
41 }, 59 },
60 + "node_modules/asn1": {
61 + "version": "0.2.6",
62 + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz",
63 + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==",
64 + "dependencies": {
65 + "safer-buffer": "~2.1.0"
66 + }
67 + },
68 + "node_modules/assert-plus": {
69 + "version": "1.0.0",
70 + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
71 + "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==",
72 + "engines": {
73 + "node": ">=0.8"
74 + }
75 + },
76 + "node_modules/asynckit": {
77 + "version": "0.4.0",
78 + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
79 + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
80 + },
81 + "node_modules/aws-sign2": {
82 + "version": "0.7.0",
83 + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
84 + "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==",
85 + "engines": {
86 + "node": "*"
87 + }
88 + },
89 + "node_modules/aws4": {
90 + "version": "1.11.0",
91 + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz",
92 + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA=="
93 + },
42 "node_modules/axios": { 94 "node_modules/axios": {
43 "version": "0.18.1", 95 "version": "0.18.1",
44 "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.1.tgz", 96 "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.1.tgz",
...@@ -68,6 +120,14 @@ ...@@ -68,6 +120,14 @@
68 } 120 }
69 ] 121 ]
70 }, 122 },
123 + "node_modules/bcrypt-pbkdf": {
124 + "version": "1.0.2",
125 + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
126 + "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==",
127 + "dependencies": {
128 + "tweetnacl": "^0.14.3"
129 + }
130 + },
71 "node_modules/bignumber.js": { 131 "node_modules/bignumber.js": {
72 "version": "9.0.2", 132 "version": "9.0.2",
73 "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", 133 "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz",
...@@ -93,6 +153,47 @@ ...@@ -93,6 +153,47 @@
93 "url": "https://github.com/sponsors/ljharb" 153 "url": "https://github.com/sponsors/ljharb"
94 } 154 }
95 }, 155 },
156 + "node_modules/caseless": {
157 + "version": "0.12.0",
158 + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
159 + "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw=="
160 + },
161 + "node_modules/collapse-white-space": {
162 + "version": "2.1.0",
163 + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-2.1.0.tgz",
164 + "integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==",
165 + "funding": {
166 + "type": "github",
167 + "url": "https://github.com/sponsors/wooorm"
168 + }
169 + },
170 + "node_modules/combined-stream": {
171 + "version": "1.0.8",
172 + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
173 + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
174 + "dependencies": {
175 + "delayed-stream": "~1.0.0"
176 + },
177 + "engines": {
178 + "node": ">= 0.8"
179 + }
180 + },
181 + "node_modules/core-util-is": {
182 + "version": "1.0.2",
183 + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
184 + "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ=="
185 + },
186 + "node_modules/dashdash": {
187 + "version": "1.14.1",
188 + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
189 + "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==",
190 + "dependencies": {
191 + "assert-plus": "^1.0.0"
192 + },
193 + "engines": {
194 + "node": ">=0.10"
195 + }
196 + },
96 "node_modules/debug": { 197 "node_modules/debug": {
97 "version": "4.3.4", 198 "version": "4.3.4",
98 "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 199 "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
...@@ -109,6 +210,23 @@ ...@@ -109,6 +210,23 @@
109 } 210 }
110 } 211 }
111 }, 212 },
213 + "node_modules/delayed-stream": {
214 + "version": "1.0.0",
215 + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
216 + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
217 + "engines": {
218 + "node": ">=0.4.0"
219 + }
220 + },
221 + "node_modules/ecc-jsbn": {
222 + "version": "0.1.2",
223 + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
224 + "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==",
225 + "dependencies": {
226 + "jsbn": "~0.1.0",
227 + "safer-buffer": "^2.1.0"
228 + }
229 + },
112 "node_modules/ecdsa-sig-formatter": { 230 "node_modules/ecdsa-sig-formatter": {
113 "version": "1.0.11", 231 "version": "1.0.11",
114 "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", 232 "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz",
...@@ -130,6 +248,24 @@ ...@@ -130,6 +248,24 @@
130 "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", 248 "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
131 "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" 249 "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
132 }, 250 },
251 + "node_modules/extsprintf": {
252 + "version": "1.3.0",
253 + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
254 + "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==",
255 + "engines": [
256 + "node >=0.6.0"
257 + ]
258 + },
259 + "node_modules/fast-deep-equal": {
260 + "version": "3.1.3",
261 + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
262 + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
263 + },
264 + "node_modules/fast-json-stable-stringify": {
265 + "version": "2.1.0",
266 + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
267 + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
268 + },
133 "node_modules/fast-text-encoding": { 269 "node_modules/fast-text-encoding": {
134 "version": "1.0.3", 270 "version": "1.0.3",
135 "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", 271 "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz",
...@@ -159,6 +295,39 @@ ...@@ -159,6 +295,39 @@
159 "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 295 "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
160 "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 296 "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
161 }, 297 },
298 + "node_modules/forever-agent": {
299 + "version": "0.6.1",
300 + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
301 + "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==",
302 + "engines": {
303 + "node": "*"
304 + }
305 + },
306 + "node_modules/form-data": {
307 + "version": "2.3.3",
308 + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
309 + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
310 + "dependencies": {
311 + "asynckit": "^0.4.0",
312 + "combined-stream": "^1.0.6",
313 + "mime-types": "^2.1.12"
314 + },
315 + "engines": {
316 + "node": ">= 0.12"
317 + }
318 + },
319 + "node_modules/franc": {
320 + "version": "6.0.0",
321 + "resolved": "https://registry.npmjs.org/franc/-/franc-6.0.0.tgz",
322 + "integrity": "sha512-kkdxPegeNzYrvZK0IiQUdJySzFeZkdXFdz8aqe076LtTMSrZk+G9MNsYWhoYEL+mX94VZaftJaxOMx/vlMM9IQ==",
323 + "dependencies": {
324 + "trigram-utils": "^2.0.0"
325 + },
326 + "funding": {
327 + "type": "github",
328 + "url": "https://github.com/sponsors/wooorm"
329 + }
330 + },
162 "node_modules/function-bind": { 331 "node_modules/function-bind": {
163 "version": "1.1.1", 332 "version": "1.1.1",
164 "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 333 "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
...@@ -204,6 +373,14 @@ ...@@ -204,6 +373,14 @@
204 "url": "https://github.com/sponsors/ljharb" 373 "url": "https://github.com/sponsors/ljharb"
205 } 374 }
206 }, 375 },
376 + "node_modules/getpass": {
377 + "version": "0.1.7",
378 + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
379 + "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==",
380 + "dependencies": {
381 + "assert-plus": "^1.0.0"
382 + }
383 + },
207 "node_modules/google-auth-library": { 384 "node_modules/google-auth-library": {
208 "version": "7.14.1", 385 "version": "7.14.1",
209 "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.14.1.tgz", 386 "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.14.1.tgz",
...@@ -278,6 +455,27 @@ ...@@ -278,6 +455,27 @@
278 "node": ">=10" 455 "node": ">=10"
279 } 456 }
280 }, 457 },
458 + "node_modules/har-schema": {
459 + "version": "2.0.0",
460 + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
461 + "integrity": "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==",
462 + "engines": {
463 + "node": ">=4"
464 + }
465 + },
466 + "node_modules/har-validator": {
467 + "version": "5.1.5",
468 + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz",
469 + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==",
470 + "deprecated": "this library is no longer supported",
471 + "dependencies": {
472 + "ajv": "^6.12.3",
473 + "har-schema": "^2.0.0"
474 + },
475 + "engines": {
476 + "node": ">=6"
477 + }
478 + },
281 "node_modules/has": { 479 "node_modules/has": {
282 "version": "1.0.3", 480 "version": "1.0.3",
283 "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 481 "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
...@@ -300,6 +498,20 @@ ...@@ -300,6 +498,20 @@
300 "url": "https://github.com/sponsors/ljharb" 498 "url": "https://github.com/sponsors/ljharb"
301 } 499 }
302 }, 500 },
501 + "node_modules/http-signature": {
502 + "version": "1.2.0",
503 + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
504 + "integrity": "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==",
505 + "dependencies": {
506 + "assert-plus": "^1.0.0",
507 + "jsprim": "^1.2.2",
508 + "sshpk": "^1.7.0"
509 + },
510 + "engines": {
511 + "node": ">=0.8",
512 + "npm": ">=1.3.7"
513 + }
514 + },
303 "node_modules/https-proxy-agent": { 515 "node_modules/https-proxy-agent": {
304 "version": "5.0.1", 516 "version": "5.0.1",
305 "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", 517 "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
...@@ -345,6 +557,21 @@ ...@@ -345,6 +557,21 @@
345 "url": "https://github.com/sponsors/sindresorhus" 557 "url": "https://github.com/sponsors/sindresorhus"
346 } 558 }
347 }, 559 },
560 + "node_modules/is-typedarray": {
561 + "version": "1.0.0",
562 + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
563 + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA=="
564 + },
565 + "node_modules/isstream": {
566 + "version": "0.1.2",
567 + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
568 + "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g=="
569 + },
570 + "node_modules/jsbn": {
571 + "version": "0.1.1",
572 + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
573 + "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg=="
574 + },
348 "node_modules/json-bigint": { 575 "node_modules/json-bigint": {
349 "version": "1.0.0", 576 "version": "1.0.0",
350 "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", 577 "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz",
...@@ -353,6 +580,35 @@ ...@@ -353,6 +580,35 @@
353 "bignumber.js": "^9.0.0" 580 "bignumber.js": "^9.0.0"
354 } 581 }
355 }, 582 },
583 + "node_modules/json-schema": {
584 + "version": "0.4.0",
585 + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
586 + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA=="
587 + },
588 + "node_modules/json-schema-traverse": {
589 + "version": "0.4.1",
590 + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
591 + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
592 + },
593 + "node_modules/json-stringify-safe": {
594 + "version": "5.0.1",
595 + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
596 + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA=="
597 + },
598 + "node_modules/jsprim": {
599 + "version": "1.4.2",
600 + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz",
601 + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==",
602 + "dependencies": {
603 + "assert-plus": "1.0.0",
604 + "extsprintf": "1.3.0",
605 + "json-schema": "0.4.0",
606 + "verror": "1.10.0"
607 + },
608 + "engines": {
609 + "node": ">=0.6.0"
610 + }
611 + },
356 "node_modules/jwa": { 612 "node_modules/jwa": {
357 "version": "2.0.0", 613 "version": "2.0.0",
358 "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", 614 "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz",
...@@ -372,6 +628,11 @@ ...@@ -372,6 +628,11 @@
372 "safe-buffer": "^5.0.1" 628 "safe-buffer": "^5.0.1"
373 } 629 }
374 }, 630 },
631 + "node_modules/langs": {
632 + "version": "2.0.0",
633 + "resolved": "https://registry.npmjs.org/langs/-/langs-2.0.0.tgz",
634 + "integrity": "sha512-v4pxOBEQVN1WBTfB1crhTtxzNLZU9HPWgadlwzWKISJtt6Ku/CnpBrwVy+jFv8StjxsPfwPFzO0CMwdZLJ0/BA=="
635 + },
375 "node_modules/lru-cache": { 636 "node_modules/lru-cache": {
376 "version": "6.0.0", 637 "version": "6.0.0",
377 "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", 638 "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
...@@ -383,11 +644,39 @@ ...@@ -383,11 +644,39 @@
383 "node": ">=10" 644 "node": ">=10"
384 } 645 }
385 }, 646 },
647 + "node_modules/mime-db": {
648 + "version": "1.52.0",
649 + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
650 + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
651 + "engines": {
652 + "node": ">= 0.6"
653 + }
654 + },
655 + "node_modules/mime-types": {
656 + "version": "2.1.35",
657 + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
658 + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
659 + "dependencies": {
660 + "mime-db": "1.52.0"
661 + },
662 + "engines": {
663 + "node": ">= 0.6"
664 + }
665 + },
386 "node_modules/ms": { 666 "node_modules/ms": {
387 "version": "2.1.2", 667 "version": "2.1.2",
388 "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 668 "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
389 "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 669 "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
390 }, 670 },
671 + "node_modules/n-gram": {
672 + "version": "2.0.1",
673 + "resolved": "https://registry.npmjs.org/n-gram/-/n-gram-2.0.1.tgz",
674 + "integrity": "sha512-ECtaRCOsPvqdTMI7SAFVaPaHv1ofhGqstphMFDWF3yrOaJcFsaCTpTREjYaPYpMC1nzJdewuiqvYXGM9W+Radw==",
675 + "funding": {
676 + "type": "github",
677 + "url": "https://github.com/sponsors/wooorm"
678 + }
679 + },
391 "node_modules/node-fetch": { 680 "node_modules/node-fetch": {
392 "version": "2.6.7", 681 "version": "2.6.7",
393 "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", 682 "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
...@@ -415,6 +704,14 @@ ...@@ -415,6 +704,14 @@
415 "node": ">= 6.13.0" 704 "node": ">= 6.13.0"
416 } 705 }
417 }, 706 },
707 + "node_modules/oauth-sign": {
708 + "version": "0.9.0",
709 + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
710 + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==",
711 + "engines": {
712 + "node": "*"
713 + }
714 + },
418 "node_modules/object-inspect": { 715 "node_modules/object-inspect": {
419 "version": "1.12.0", 716 "version": "1.12.0",
420 "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", 717 "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz",
...@@ -423,6 +720,24 @@ ...@@ -423,6 +720,24 @@
423 "url": "https://github.com/sponsors/ljharb" 720 "url": "https://github.com/sponsors/ljharb"
424 } 721 }
425 }, 722 },
723 + "node_modules/performance-now": {
724 + "version": "2.1.0",
725 + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
726 + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
727 + },
728 + "node_modules/psl": {
729 + "version": "1.8.0",
730 + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
731 + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
732 + },
733 + "node_modules/punycode": {
734 + "version": "2.1.1",
735 + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
736 + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
737 + "engines": {
738 + "node": ">=6"
739 + }
740 + },
426 "node_modules/qs": { 741 "node_modules/qs": {
427 "version": "6.10.3", 742 "version": "6.10.3",
428 "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", 743 "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz",
...@@ -437,6 +752,54 @@ ...@@ -437,6 +752,54 @@
437 "url": "https://github.com/sponsors/ljharb" 752 "url": "https://github.com/sponsors/ljharb"
438 } 753 }
439 }, 754 },
755 + "node_modules/request": {
756 + "version": "2.88.2",
757 + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz",
758 + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==",
759 + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142",
760 + "dependencies": {
761 + "aws-sign2": "~0.7.0",
762 + "aws4": "^1.8.0",
763 + "caseless": "~0.12.0",
764 + "combined-stream": "~1.0.6",
765 + "extend": "~3.0.2",
766 + "forever-agent": "~0.6.1",
767 + "form-data": "~2.3.2",
768 + "har-validator": "~5.1.3",
769 + "http-signature": "~1.2.0",
770 + "is-typedarray": "~1.0.0",
771 + "isstream": "~0.1.2",
772 + "json-stringify-safe": "~5.0.1",
773 + "mime-types": "~2.1.19",
774 + "oauth-sign": "~0.9.0",
775 + "performance-now": "^2.1.0",
776 + "qs": "~6.5.2",
777 + "safe-buffer": "^5.1.2",
778 + "tough-cookie": "~2.5.0",
779 + "tunnel-agent": "^0.6.0",
780 + "uuid": "^3.3.2"
781 + },
782 + "engines": {
783 + "node": ">= 6"
784 + }
785 + },
786 + "node_modules/request/node_modules/qs": {
787 + "version": "6.5.3",
788 + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz",
789 + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==",
790 + "engines": {
791 + "node": ">=0.6"
792 + }
793 + },
794 + "node_modules/request/node_modules/uuid": {
795 + "version": "3.4.0",
796 + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
797 + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
798 + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.",
799 + "bin": {
800 + "uuid": "bin/uuid"
801 + }
802 + },
440 "node_modules/safe-buffer": { 803 "node_modules/safe-buffer": {
441 "version": "5.2.1", 804 "version": "5.2.1",
442 "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 805 "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
...@@ -456,6 +819,11 @@ ...@@ -456,6 +819,11 @@
456 } 819 }
457 ] 820 ]
458 }, 821 },
822 + "node_modules/safer-buffer": {
823 + "version": "2.1.2",
824 + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
825 + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
826 + },
459 "node_modules/side-channel": { 827 "node_modules/side-channel": {
460 "version": "1.0.4", 828 "version": "1.0.4",
461 "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 829 "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
...@@ -469,11 +837,84 @@ ...@@ -469,11 +837,84 @@
469 "url": "https://github.com/sponsors/ljharb" 837 "url": "https://github.com/sponsors/ljharb"
470 } 838 }
471 }, 839 },
840 + "node_modules/sshpk": {
841 + "version": "1.17.0",
842 + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz",
843 + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==",
844 + "dependencies": {
845 + "asn1": "~0.2.3",
846 + "assert-plus": "^1.0.0",
847 + "bcrypt-pbkdf": "^1.0.0",
848 + "dashdash": "^1.12.0",
849 + "ecc-jsbn": "~0.1.1",
850 + "getpass": "^0.1.1",
851 + "jsbn": "~0.1.0",
852 + "safer-buffer": "^2.0.2",
853 + "tweetnacl": "~0.14.0"
854 + },
855 + "bin": {
856 + "sshpk-conv": "bin/sshpk-conv",
857 + "sshpk-sign": "bin/sshpk-sign",
858 + "sshpk-verify": "bin/sshpk-verify"
859 + },
860 + "engines": {
861 + "node": ">=0.10.0"
862 + }
863 + },
864 + "node_modules/tough-cookie": {
865 + "version": "2.5.0",
866 + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",
867 + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",
868 + "dependencies": {
869 + "psl": "^1.1.28",
870 + "punycode": "^2.1.1"
871 + },
872 + "engines": {
873 + "node": ">=0.8"
874 + }
875 + },
472 "node_modules/tr46": { 876 "node_modules/tr46": {
473 "version": "0.0.3", 877 "version": "0.0.3",
474 "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", 878 "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
475 "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" 879 "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o="
476 }, 880 },
881 + "node_modules/trigram-utils": {
882 + "version": "2.0.1",
883 + "resolved": "https://registry.npmjs.org/trigram-utils/-/trigram-utils-2.0.1.tgz",
884 + "integrity": "sha512-nfWIXHEaB+HdyslAfMxSqWKDdmqY9I32jS7GnqpdWQnLH89r6A5sdk3fDVYqGAZ0CrT8ovAFSAo6HRiWcWNIGQ==",
885 + "dependencies": {
886 + "collapse-white-space": "^2.0.0",
887 + "n-gram": "^2.0.0"
888 + },
889 + "funding": {
890 + "type": "github",
891 + "url": "https://github.com/sponsors/wooorm"
892 + }
893 + },
894 + "node_modules/tunnel-agent": {
895 + "version": "0.6.0",
896 + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
897 + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
898 + "dependencies": {
899 + "safe-buffer": "^5.0.1"
900 + },
901 + "engines": {
902 + "node": "*"
903 + }
904 + },
905 + "node_modules/tweetnacl": {
906 + "version": "0.14.5",
907 + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
908 + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
909 + },
910 + "node_modules/uri-js": {
911 + "version": "4.4.1",
912 + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
913 + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
914 + "dependencies": {
915 + "punycode": "^2.1.0"
916 + }
917 + },
477 "node_modules/url-template": { 918 "node_modules/url-template": {
478 "version": "2.0.8", 919 "version": "2.0.8",
479 "resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz", 920 "resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz",
...@@ -487,6 +928,19 @@ ...@@ -487,6 +928,19 @@
487 "uuid": "dist/bin/uuid" 928 "uuid": "dist/bin/uuid"
488 } 929 }
489 }, 930 },
931 + "node_modules/verror": {
932 + "version": "1.10.0",
933 + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
934 + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
935 + "engines": [
936 + "node >=0.6.0"
937 + ],
938 + "dependencies": {
939 + "assert-plus": "^1.0.0",
940 + "core-util-is": "1.0.2",
941 + "extsprintf": "^1.2.0"
942 + }
943 + },
490 "node_modules/webidl-conversions": { 944 "node_modules/webidl-conversions": {
491 "version": "3.0.1", 945 "version": "3.0.1",
492 "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", 946 "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
...@@ -532,11 +986,50 @@ ...@@ -532,11 +986,50 @@
532 "debug": "4" 986 "debug": "4"
533 } 987 }
534 }, 988 },
989 + "ajv": {
990 + "version": "6.12.6",
991 + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
992 + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
993 + "requires": {
994 + "fast-deep-equal": "^3.1.1",
995 + "fast-json-stable-stringify": "^2.0.0",
996 + "json-schema-traverse": "^0.4.1",
997 + "uri-js": "^4.2.2"
998 + }
999 + },
535 "arrify": { 1000 "arrify": {
536 "version": "2.0.1", 1001 "version": "2.0.1",
537 "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", 1002 "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz",
538 "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" 1003 "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug=="
539 }, 1004 },
1005 + "asn1": {
1006 + "version": "0.2.6",
1007 + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz",
1008 + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==",
1009 + "requires": {
1010 + "safer-buffer": "~2.1.0"
1011 + }
1012 + },
1013 + "assert-plus": {
1014 + "version": "1.0.0",
1015 + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
1016 + "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw=="
1017 + },
1018 + "asynckit": {
1019 + "version": "0.4.0",
1020 + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
1021 + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
1022 + },
1023 + "aws-sign2": {
1024 + "version": "0.7.0",
1025 + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
1026 + "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA=="
1027 + },
1028 + "aws4": {
1029 + "version": "1.11.0",
1030 + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz",
1031 + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA=="
1032 + },
540 "axios": { 1033 "axios": {
541 "version": "0.18.1", 1034 "version": "0.18.1",
542 "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.1.tgz", 1035 "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.1.tgz",
...@@ -551,6 +1044,14 @@ ...@@ -551,6 +1044,14 @@
551 "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", 1044 "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
552 "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" 1045 "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="
553 }, 1046 },
1047 + "bcrypt-pbkdf": {
1048 + "version": "1.0.2",
1049 + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
1050 + "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==",
1051 + "requires": {
1052 + "tweetnacl": "^0.14.3"
1053 + }
1054 + },
554 "bignumber.js": { 1055 "bignumber.js": {
555 "version": "9.0.2", 1056 "version": "9.0.2",
556 "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", 1057 "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz",
...@@ -570,6 +1071,37 @@ ...@@ -570,6 +1071,37 @@
570 "get-intrinsic": "^1.0.2" 1071 "get-intrinsic": "^1.0.2"
571 } 1072 }
572 }, 1073 },
1074 + "caseless": {
1075 + "version": "0.12.0",
1076 + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
1077 + "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw=="
1078 + },
1079 + "collapse-white-space": {
1080 + "version": "2.1.0",
1081 + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-2.1.0.tgz",
1082 + "integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw=="
1083 + },
1084 + "combined-stream": {
1085 + "version": "1.0.8",
1086 + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
1087 + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
1088 + "requires": {
1089 + "delayed-stream": "~1.0.0"
1090 + }
1091 + },
1092 + "core-util-is": {
1093 + "version": "1.0.2",
1094 + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
1095 + "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ=="
1096 + },
1097 + "dashdash": {
1098 + "version": "1.14.1",
1099 + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
1100 + "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==",
1101 + "requires": {
1102 + "assert-plus": "^1.0.0"
1103 + }
1104 + },
573 "debug": { 1105 "debug": {
574 "version": "4.3.4", 1106 "version": "4.3.4",
575 "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 1107 "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
...@@ -578,6 +1110,20 @@ ...@@ -578,6 +1110,20 @@
578 "ms": "2.1.2" 1110 "ms": "2.1.2"
579 } 1111 }
580 }, 1112 },
1113 + "delayed-stream": {
1114 + "version": "1.0.0",
1115 + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
1116 + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="
1117 + },
1118 + "ecc-jsbn": {
1119 + "version": "0.1.2",
1120 + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
1121 + "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==",
1122 + "requires": {
1123 + "jsbn": "~0.1.0",
1124 + "safer-buffer": "^2.1.0"
1125 + }
1126 + },
581 "ecdsa-sig-formatter": { 1127 "ecdsa-sig-formatter": {
582 "version": "1.0.11", 1128 "version": "1.0.11",
583 "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", 1129 "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz",
...@@ -596,6 +1142,21 @@ ...@@ -596,6 +1142,21 @@
596 "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", 1142 "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
597 "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" 1143 "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
598 }, 1144 },
1145 + "extsprintf": {
1146 + "version": "1.3.0",
1147 + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
1148 + "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g=="
1149 + },
1150 + "fast-deep-equal": {
1151 + "version": "3.1.3",
1152 + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
1153 + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
1154 + },
1155 + "fast-json-stable-stringify": {
1156 + "version": "2.1.0",
1157 + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
1158 + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
1159 + },
599 "fast-text-encoding": { 1160 "fast-text-encoding": {
600 "version": "1.0.3", 1161 "version": "1.0.3",
601 "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", 1162 "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz",
...@@ -624,6 +1185,29 @@ ...@@ -624,6 +1185,29 @@
624 } 1185 }
625 } 1186 }
626 }, 1187 },
1188 + "forever-agent": {
1189 + "version": "0.6.1",
1190 + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
1191 + "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw=="
1192 + },
1193 + "form-data": {
1194 + "version": "2.3.3",
1195 + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
1196 + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
1197 + "requires": {
1198 + "asynckit": "^0.4.0",
1199 + "combined-stream": "^1.0.6",
1200 + "mime-types": "^2.1.12"
1201 + }
1202 + },
1203 + "franc": {
1204 + "version": "6.0.0",
1205 + "resolved": "https://registry.npmjs.org/franc/-/franc-6.0.0.tgz",
1206 + "integrity": "sha512-kkdxPegeNzYrvZK0IiQUdJySzFeZkdXFdz8aqe076LtTMSrZk+G9MNsYWhoYEL+mX94VZaftJaxOMx/vlMM9IQ==",
1207 + "requires": {
1208 + "trigram-utils": "^2.0.0"
1209 + }
1210 + },
627 "function-bind": { 1211 "function-bind": {
628 "version": "1.1.1", 1212 "version": "1.1.1",
629 "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1213 "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
...@@ -660,6 +1244,14 @@ ...@@ -660,6 +1244,14 @@
660 "has-symbols": "^1.0.1" 1244 "has-symbols": "^1.0.1"
661 } 1245 }
662 }, 1246 },
1247 + "getpass": {
1248 + "version": "0.1.7",
1249 + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
1250 + "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==",
1251 + "requires": {
1252 + "assert-plus": "^1.0.0"
1253 + }
1254 + },
663 "google-auth-library": { 1255 "google-auth-library": {
664 "version": "7.14.1", 1256 "version": "7.14.1",
665 "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.14.1.tgz", 1257 "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.14.1.tgz",
...@@ -716,6 +1308,20 @@ ...@@ -716,6 +1308,20 @@
716 "jws": "^4.0.0" 1308 "jws": "^4.0.0"
717 } 1309 }
718 }, 1310 },
1311 + "har-schema": {
1312 + "version": "2.0.0",
1313 + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
1314 + "integrity": "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q=="
1315 + },
1316 + "har-validator": {
1317 + "version": "5.1.5",
1318 + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz",
1319 + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==",
1320 + "requires": {
1321 + "ajv": "^6.12.3",
1322 + "har-schema": "^2.0.0"
1323 + }
1324 + },
719 "has": { 1325 "has": {
720 "version": "1.0.3", 1326 "version": "1.0.3",
721 "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1327 "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
...@@ -729,6 +1335,16 @@ ...@@ -729,6 +1335,16 @@
729 "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 1335 "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
730 "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" 1336 "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A=="
731 }, 1337 },
1338 + "http-signature": {
1339 + "version": "1.2.0",
1340 + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
1341 + "integrity": "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==",
1342 + "requires": {
1343 + "assert-plus": "^1.0.0",
1344 + "jsprim": "^1.2.2",
1345 + "sshpk": "^1.7.0"
1346 + }
1347 + },
732 "https-proxy-agent": { 1348 "https-proxy-agent": {
733 "version": "5.0.1", 1349 "version": "5.0.1",
734 "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", 1350 "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
...@@ -748,6 +1364,21 @@ ...@@ -748,6 +1364,21 @@
748 "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", 1364 "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
749 "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" 1365 "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg=="
750 }, 1366 },
1367 + "is-typedarray": {
1368 + "version": "1.0.0",
1369 + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
1370 + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA=="
1371 + },
1372 + "isstream": {
1373 + "version": "0.1.2",
1374 + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
1375 + "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g=="
1376 + },
1377 + "jsbn": {
1378 + "version": "0.1.1",
1379 + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
1380 + "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg=="
1381 + },
751 "json-bigint": { 1382 "json-bigint": {
752 "version": "1.0.0", 1383 "version": "1.0.0",
753 "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", 1384 "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz",
...@@ -756,6 +1387,32 @@ ...@@ -756,6 +1387,32 @@
756 "bignumber.js": "^9.0.0" 1387 "bignumber.js": "^9.0.0"
757 } 1388 }
758 }, 1389 },
1390 + "json-schema": {
1391 + "version": "0.4.0",
1392 + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
1393 + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA=="
1394 + },
1395 + "json-schema-traverse": {
1396 + "version": "0.4.1",
1397 + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
1398 + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
1399 + },
1400 + "json-stringify-safe": {
1401 + "version": "5.0.1",
1402 + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
1403 + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA=="
1404 + },
1405 + "jsprim": {
1406 + "version": "1.4.2",
1407 + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz",
1408 + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==",
1409 + "requires": {
1410 + "assert-plus": "1.0.0",
1411 + "extsprintf": "1.3.0",
1412 + "json-schema": "0.4.0",
1413 + "verror": "1.10.0"
1414 + }
1415 + },
759 "jwa": { 1416 "jwa": {
760 "version": "2.0.0", 1417 "version": "2.0.0",
761 "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", 1418 "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz",
...@@ -775,6 +1432,11 @@ ...@@ -775,6 +1432,11 @@
775 "safe-buffer": "^5.0.1" 1432 "safe-buffer": "^5.0.1"
776 } 1433 }
777 }, 1434 },
1435 + "langs": {
1436 + "version": "2.0.0",
1437 + "resolved": "https://registry.npmjs.org/langs/-/langs-2.0.0.tgz",
1438 + "integrity": "sha512-v4pxOBEQVN1WBTfB1crhTtxzNLZU9HPWgadlwzWKISJtt6Ku/CnpBrwVy+jFv8StjxsPfwPFzO0CMwdZLJ0/BA=="
1439 + },
778 "lru-cache": { 1440 "lru-cache": {
779 "version": "6.0.0", 1441 "version": "6.0.0",
780 "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", 1442 "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
...@@ -783,11 +1445,29 @@ ...@@ -783,11 +1445,29 @@
783 "yallist": "^4.0.0" 1445 "yallist": "^4.0.0"
784 } 1446 }
785 }, 1447 },
1448 + "mime-db": {
1449 + "version": "1.52.0",
1450 + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
1451 + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="
1452 + },
1453 + "mime-types": {
1454 + "version": "2.1.35",
1455 + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
1456 + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
1457 + "requires": {
1458 + "mime-db": "1.52.0"
1459 + }
1460 + },
786 "ms": { 1461 "ms": {
787 "version": "2.1.2", 1462 "version": "2.1.2",
788 "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1463 "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
789 "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 1464 "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
790 }, 1465 },
1466 + "n-gram": {
1467 + "version": "2.0.1",
1468 + "resolved": "https://registry.npmjs.org/n-gram/-/n-gram-2.0.1.tgz",
1469 + "integrity": "sha512-ECtaRCOsPvqdTMI7SAFVaPaHv1ofhGqstphMFDWF3yrOaJcFsaCTpTREjYaPYpMC1nzJdewuiqvYXGM9W+Radw=="
1470 + },
791 "node-fetch": { 1471 "node-fetch": {
792 "version": "2.6.7", 1472 "version": "2.6.7",
793 "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", 1473 "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
...@@ -801,11 +1481,31 @@ ...@@ -801,11 +1481,31 @@
801 "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", 1481 "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz",
802 "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==" 1482 "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA=="
803 }, 1483 },
1484 + "oauth-sign": {
1485 + "version": "0.9.0",
1486 + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
1487 + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
1488 + },
804 "object-inspect": { 1489 "object-inspect": {
805 "version": "1.12.0", 1490 "version": "1.12.0",
806 "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", 1491 "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz",
807 "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==" 1492 "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g=="
808 }, 1493 },
1494 + "performance-now": {
1495 + "version": "2.1.0",
1496 + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
1497 + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
1498 + },
1499 + "psl": {
1500 + "version": "1.8.0",
1501 + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
1502 + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
1503 + },
1504 + "punycode": {
1505 + "version": "2.1.1",
1506 + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
1507 + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
1508 + },
809 "qs": { 1509 "qs": {
810 "version": "6.10.3", 1510 "version": "6.10.3",
811 "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", 1511 "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz",
...@@ -814,11 +1514,55 @@ ...@@ -814,11 +1514,55 @@
814 "side-channel": "^1.0.4" 1514 "side-channel": "^1.0.4"
815 } 1515 }
816 }, 1516 },
1517 + "request": {
1518 + "version": "2.88.2",
1519 + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz",
1520 + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==",
1521 + "requires": {
1522 + "aws-sign2": "~0.7.0",
1523 + "aws4": "^1.8.0",
1524 + "caseless": "~0.12.0",
1525 + "combined-stream": "~1.0.6",
1526 + "extend": "~3.0.2",
1527 + "forever-agent": "~0.6.1",
1528 + "form-data": "~2.3.2",
1529 + "har-validator": "~5.1.3",
1530 + "http-signature": "~1.2.0",
1531 + "is-typedarray": "~1.0.0",
1532 + "isstream": "~0.1.2",
1533 + "json-stringify-safe": "~5.0.1",
1534 + "mime-types": "~2.1.19",
1535 + "oauth-sign": "~0.9.0",
1536 + "performance-now": "^2.1.0",
1537 + "qs": "~6.5.2",
1538 + "safe-buffer": "^5.1.2",
1539 + "tough-cookie": "~2.5.0",
1540 + "tunnel-agent": "^0.6.0",
1541 + "uuid": "^3.3.2"
1542 + },
1543 + "dependencies": {
1544 + "qs": {
1545 + "version": "6.5.3",
1546 + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz",
1547 + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA=="
1548 + },
1549 + "uuid": {
1550 + "version": "3.4.0",
1551 + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
1552 + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
1553 + }
1554 + }
1555 + },
817 "safe-buffer": { 1556 "safe-buffer": {
818 "version": "5.2.1", 1557 "version": "5.2.1",
819 "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1558 "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
820 "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 1559 "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
821 }, 1560 },
1561 + "safer-buffer": {
1562 + "version": "2.1.2",
1563 + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
1564 + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
1565 + },
822 "side-channel": { 1566 "side-channel": {
823 "version": "1.0.4", 1567 "version": "1.0.4",
824 "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 1568 "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
...@@ -829,11 +1573,66 @@ ...@@ -829,11 +1573,66 @@
829 "object-inspect": "^1.9.0" 1573 "object-inspect": "^1.9.0"
830 } 1574 }
831 }, 1575 },
1576 + "sshpk": {
1577 + "version": "1.17.0",
1578 + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz",
1579 + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==",
1580 + "requires": {
1581 + "asn1": "~0.2.3",
1582 + "assert-plus": "^1.0.0",
1583 + "bcrypt-pbkdf": "^1.0.0",
1584 + "dashdash": "^1.12.0",
1585 + "ecc-jsbn": "~0.1.1",
1586 + "getpass": "^0.1.1",
1587 + "jsbn": "~0.1.0",
1588 + "safer-buffer": "^2.0.2",
1589 + "tweetnacl": "~0.14.0"
1590 + }
1591 + },
1592 + "tough-cookie": {
1593 + "version": "2.5.0",
1594 + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",
1595 + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",
1596 + "requires": {
1597 + "psl": "^1.1.28",
1598 + "punycode": "^2.1.1"
1599 + }
1600 + },
832 "tr46": { 1601 "tr46": {
833 "version": "0.0.3", 1602 "version": "0.0.3",
834 "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", 1603 "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
835 "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" 1604 "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o="
836 }, 1605 },
1606 + "trigram-utils": {
1607 + "version": "2.0.1",
1608 + "resolved": "https://registry.npmjs.org/trigram-utils/-/trigram-utils-2.0.1.tgz",
1609 + "integrity": "sha512-nfWIXHEaB+HdyslAfMxSqWKDdmqY9I32jS7GnqpdWQnLH89r6A5sdk3fDVYqGAZ0CrT8ovAFSAo6HRiWcWNIGQ==",
1610 + "requires": {
1611 + "collapse-white-space": "^2.0.0",
1612 + "n-gram": "^2.0.0"
1613 + }
1614 + },
1615 + "tunnel-agent": {
1616 + "version": "0.6.0",
1617 + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
1618 + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
1619 + "requires": {
1620 + "safe-buffer": "^5.0.1"
1621 + }
1622 + },
1623 + "tweetnacl": {
1624 + "version": "0.14.5",
1625 + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
1626 + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
1627 + },
1628 + "uri-js": {
1629 + "version": "4.4.1",
1630 + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
1631 + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
1632 + "requires": {
1633 + "punycode": "^2.1.0"
1634 + }
1635 + },
837 "url-template": { 1636 "url-template": {
838 "version": "2.0.8", 1637 "version": "2.0.8",
839 "resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz", 1638 "resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz",
...@@ -844,6 +1643,16 @@ ...@@ -844,6 +1643,16 @@
844 "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", 1643 "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
845 "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" 1644 "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="
846 }, 1645 },
1646 + "verror": {
1647 + "version": "1.10.0",
1648 + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
1649 + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
1650 + "requires": {
1651 + "assert-plus": "^1.0.0",
1652 + "core-util-is": "1.0.2",
1653 + "extsprintf": "^1.2.0"
1654 + }
1655 + },
847 "webidl-conversions": { 1656 "webidl-conversions": {
848 "version": "3.0.1", 1657 "version": "3.0.1",
849 "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", 1658 "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
......
1 { 1 {
2 "dependencies": { 2 "dependencies": {
3 - "googleapis": "^100.0.0",
4 - "youtube-v3-api": "^1.1.1",
5 "franc": "^6.0.0", 3 "franc": "^6.0.0",
6 - "langs": "^2.0.0" 4 + "googleapis": "^100.0.0",
7 - }, 5 + "langs": "^2.0.0",
8 - "type": "module" 6 + "request": "^2.88.2",
7 + "youtube-v3-api": "^1.1.1"
8 + }
9 } 9 }
......
1 -var express = require('express'); 1 +
2 -var app = express();
3 var client_id = '6hpmInU0TCrQIiiJwgJX'; 2 var client_id = '6hpmInU0TCrQIiiJwgJX';
4 var client_secret = 'jpYZbkj0_g'; 3 var client_secret = 'jpYZbkj0_g';
5 // var query = "언어를 감지할 문장을 입력하세요."; 4 // var query = "언어를 감지할 문장을 입력하세요.";
...@@ -51,8 +50,13 @@ async function findLanguage(sourceText) { ...@@ -51,8 +50,13 @@ async function findLanguage(sourceText) {
51 }); 50 });
52 }); 51 });
53 } 52 }
54 - 53 +/*
55 export async function getLang(comment) { 54 export async function getLang(comment) {
56 const lang = await findLanguage(comment); 55 const lang = await findLanguage(comment);
57 return lang; 56 return lang;
58 -}
...\ No newline at end of file ...\ No newline at end of file
57 +}
58 +*/
59 +exports.getLang = async function(comment) {
60 + const lang = await findLanguage(comment);
61 + return lang;
62 + }
...\ No newline at end of file ...\ No newline at end of file
......