├── .env.example
├── .gitignore
├── PetRide.postman_collection.json
├── Procfile
├── README.md
├── images
├── bearer.png
├── cats_and_dogs.jpeg
├── getMotoristaByCidade.png
├── getMotoristasAtivos.png
├── getMotoristasByCidadeByAtivos.png
├── getMotoristasByHorario.png
├── loginTutores.png
├── petride_logo.png
├── postMotoristas.png
└── postTutores.png
├── license.md
├── package-lock.json
├── package.json
├── server.js
└── src
├── app.js
├── controllers
├── motoristasController.js
└── tutoresController.js
├── models
├── motoristas.js
└── tutores.js
└── routes
├── index.js
├── motoristasRoute.js
└── tutoresRoute.js
/.env.example:
--------------------------------------------------------------------------------
1 | SECRET=
2 | MONGODB_URL=
3 | PORT=
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | .env
--------------------------------------------------------------------------------
/PetRide.postman_collection.json:
--------------------------------------------------------------------------------
1 | {
2 | "info": {
3 | "_postman_id": "8b030847-7a6d-447d-9022-95b5c1c8e92f",
4 | "name": "PetRide",
5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6 | },
7 | "item": [
8 | {
9 | "name": "create tutores",
10 | "request": {
11 | "method": "POST",
12 | "header": [],
13 | "body": {
14 | "mode": "raw",
15 | "raw": "{\r\n \"id\": 1,\r\n \"nomeTutor\": \"Audry Ávalos\",\r\n \"nomePet\": \"Khira\",\r\n \"porte\": \"pequeno\",\r\n \"telefone\": \"5581996431463\",\r\n \"email\": \"aavalos@icint.com\",\r\n \"senha\": \"Hyale@12\"\r\n}",
16 | "options": {
17 | "raw": {
18 | "language": "json"
19 | }
20 | }
21 | },
22 | "url": {
23 | "raw": "https://app-petride.herokuapp.com/tutores",
24 | "protocol": "https",
25 | "host": [
26 | "app-petride",
27 | "herokuapp",
28 | "com"
29 | ],
30 | "path": [
31 | "tutores"
32 | ]
33 | }
34 | },
35 | "response": []
36 | },
37 | {
38 | "name": "login tutores",
39 | "request": {
40 | "method": "POST",
41 | "header": [
42 | {
43 | "key": "Authorization",
44 | "value": "Bearer ",
45 | "type": "text",
46 | "disabled": true
47 | }
48 | ],
49 | "body": {
50 | "mode": "raw",
51 | "raw": "{\r\n \"email\": \"aavalos@icint.com\",\r\n \"senha\": \"Hyale@12\"\r\n}",
52 | "options": {
53 | "raw": {
54 | "language": "json"
55 | }
56 | }
57 | },
58 | "url": {
59 | "raw": "https://app-petride.herokuapp.com/tutores/login",
60 | "protocol": "https",
61 | "host": [
62 | "app-petride",
63 | "herokuapp",
64 | "com"
65 | ],
66 | "path": [
67 | "tutores",
68 | "login"
69 | ]
70 | }
71 | },
72 | "response": []
73 | },
74 | {
75 | "name": "post motorista",
76 | "request": {
77 | "method": "POST",
78 | "header": [
79 | {
80 | "key": "Authorization",
81 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFhdmFsb3NAaWNpbnQuY29tIiwiaWF0IjoxNjA3NjM5NjY5fQ.NSjpSfnC2_mIFEODLo6j8QeYcwxR4AfBMXfOsxxP95Q",
82 | "type": "text"
83 | }
84 | ],
85 | "body": {
86 | "mode": "raw",
87 | "raw": "{\r\n \"id\": 1,\r\n \"nome\": \"Priscilla Carolina da Conceição\",\r\n \"email\": \"priscilacc11@onset.com.br\",\r\n \"telefone\": \"81999580950\",\r\n \"bairros\": [\"Boa Viagem\", \"Setúbal\", \"Pina\"],\r\n \"horarios\": [\"10h\", \"11h\", \"12h\"],\r\n \"diasSemana\": [ \"segunda\", \"quarta\", \"sexta\"],\r\n \"tipoVeiculo\": \"passeio\",\r\n \"placaVeiculo\": \"MOK6503\",\r\n \"cidade\": \"Recife\",\r\n \"estado\": \"Pernambuco\",\r\n \"despesaTrajeto\": \"R$ 5,00\",\r\n \"ativo\": true\r\n}",
88 | "options": {
89 | "raw": {
90 | "language": "json"
91 | }
92 | }
93 | },
94 | "url": {
95 | "raw": "https://app-petride.herokuapp.com/motoristas",
96 | "protocol": "https",
97 | "host": [
98 | "app-petride",
99 | "herokuapp",
100 | "com"
101 | ],
102 | "path": [
103 | "motoristas"
104 | ]
105 | }
106 | },
107 | "response": []
108 | },
109 | {
110 | "name": "get motoristas",
111 | "protocolProfileBehavior": {
112 | "disableBodyPruning": true
113 | },
114 | "request": {
115 | "method": "GET",
116 | "header": [
117 | {
118 | "key": "Authorization",
119 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFhdmFsb3NAaWNpbnQuY29tIiwiaWF0IjoxNjA3NjM5NjY5fQ.NSjpSfnC2_mIFEODLo6j8QeYcwxR4AfBMXfOsxxP95Q",
120 | "type": "text"
121 | }
122 | ],
123 | "body": {
124 | "mode": "raw",
125 | "raw": "",
126 | "options": {
127 | "raw": {
128 | "language": "json"
129 | }
130 | }
131 | },
132 | "url": {
133 | "raw": "https://app-petride.herokuapp.com/motoristas/motoristas",
134 | "protocol": "https",
135 | "host": [
136 | "app-petride",
137 | "herokuapp",
138 | "com"
139 | ],
140 | "path": [
141 | "motoristas",
142 | "motoristas"
143 | ]
144 | }
145 | },
146 | "response": []
147 | },
148 | {
149 | "name": "get by id",
150 | "protocolProfileBehavior": {
151 | "disableBodyPruning": true
152 | },
153 | "request": {
154 | "method": "GET",
155 | "header": [
156 | {
157 | "key": "Authorization",
158 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFhdmFsb3NAaWNpbnQuY29tIiwiaWF0IjoxNjA3NjM5NjY5fQ.NSjpSfnC2_mIFEODLo6j8QeYcwxR4AfBMXfOsxxP95Q",
159 | "type": "text"
160 | }
161 | ],
162 | "body": {
163 | "mode": "raw",
164 | "raw": "",
165 | "options": {
166 | "raw": {
167 | "language": "json"
168 | }
169 | }
170 | },
171 | "url": {
172 | "raw": "https://app-petride.herokuapp.com/motoristas/2",
173 | "protocol": "https",
174 | "host": [
175 | "app-petride",
176 | "herokuapp",
177 | "com"
178 | ],
179 | "path": [
180 | "motoristas",
181 | "2"
182 | ]
183 | }
184 | },
185 | "response": []
186 | },
187 | {
188 | "name": "get motoristas by bairro",
189 | "protocolProfileBehavior": {
190 | "disableBodyPruning": true
191 | },
192 | "request": {
193 | "method": "GET",
194 | "header": [
195 | {
196 | "key": "Authorization",
197 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFhdmFsb3NAaWNpbnQuY29tIiwiaWF0IjoxNjA3NjM5NjY5fQ.NSjpSfnC2_mIFEODLo6j8QeYcwxR4AfBMXfOsxxP95Q",
198 | "type": "text"
199 | }
200 | ],
201 | "body": {
202 | "mode": "raw",
203 | "raw": "",
204 | "options": {
205 | "raw": {
206 | "language": "json"
207 | }
208 | }
209 | },
210 | "url": {
211 | "raw": "https://app-petride.herokuapp.com/motoristas?bairro=Pina",
212 | "protocol": "https",
213 | "host": [
214 | "app-petride",
215 | "herokuapp",
216 | "com"
217 | ],
218 | "path": [
219 | "motoristas"
220 | ],
221 | "query": [
222 | {
223 | "key": "bairro",
224 | "value": "Pina"
225 | }
226 | ]
227 | }
228 | },
229 | "response": []
230 | },
231 | {
232 | "name": "delete motorista",
233 | "request": {
234 | "method": "DELETE",
235 | "header": [
236 | {
237 | "key": "Authorization",
238 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFhdmFsb3NAaWNpbnQuY29tIiwiaWF0IjoxNjA3NjM5NjY5fQ.NSjpSfnC2_mIFEODLo6j8QeYcwxR4AfBMXfOsxxP95Q",
239 | "type": "text"
240 | }
241 | ],
242 | "body": {
243 | "mode": "raw",
244 | "raw": "",
245 | "options": {
246 | "raw": {
247 | "language": "json"
248 | }
249 | }
250 | },
251 | "url": {
252 | "raw": "https://app-petride.herokuapp.com/motoristas/5",
253 | "protocol": "https",
254 | "host": [
255 | "app-petride",
256 | "herokuapp",
257 | "com"
258 | ],
259 | "path": [
260 | "motoristas",
261 | "5"
262 | ]
263 | }
264 | },
265 | "response": []
266 | },
267 | {
268 | "name": "put motorista",
269 | "request": {
270 | "method": "PUT",
271 | "header": [
272 | {
273 | "key": "Authorization",
274 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFhdmFsb3NAaWNpbnQuY29tIiwiaWF0IjoxNjA3NjM5NjY5fQ.NSjpSfnC2_mIFEODLo6j8QeYcwxR4AfBMXfOsxxP95Q",
275 | "type": "text"
276 | }
277 | ],
278 | "body": {
279 | "mode": "raw",
280 | "raw": "{\r\n \"bairros\": [\r\n \"Boa Viagem\",\r\n \"Pina\",\r\n \"Massangana\"\r\n ],\r\n \"horarios\": [\r\n \"18h\",\r\n \"19h\",\r\n \"20h\"\r\n ],\r\n \"diasSemana\": [\r\n \"terça\",\r\n \"quinta\"\r\n ],\r\n \"_id\": \"5fd2a4c2fb6c170004986934\",\r\n \"id\": 4,\r\n \"nome\": \"João Augusto Cordeiro de Paula\",\r\n \"email\": \"ja_dePaula@dunprel.com.br\",\r\n \"telefone\": \"81931390950\",\r\n \"tipoVeiculo\": \"passeio\",\r\n \"placaVeiculo\": \"JYU1133\",\r\n \"cidade\": \"Recife\",\r\n \"estado\": \"Pernambuco\",\r\n \"despesaTrajeto\": \"R$ 7,00\",\r\n \"ativo\": true\r\n}",
281 | "options": {
282 | "raw": {
283 | "language": "json"
284 | }
285 | }
286 | },
287 | "url": {
288 | "raw": "https://app-petride.herokuapp.com/motoristas/4",
289 | "protocol": "https",
290 | "host": [
291 | "app-petride",
292 | "herokuapp",
293 | "com"
294 | ],
295 | "path": [
296 | "motoristas",
297 | "4"
298 | ]
299 | }
300 | },
301 | "response": []
302 | },
303 | {
304 | "name": "get motoristas by cidade",
305 | "protocolProfileBehavior": {
306 | "disableBodyPruning": true
307 | },
308 | "request": {
309 | "method": "GET",
310 | "header": [
311 | {
312 | "key": "Authorization",
313 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFhdmFsb3NAaWNpbnQuY29tIiwiaWF0IjoxNjA3NjM5NjY5fQ.NSjpSfnC2_mIFEODLo6j8QeYcwxR4AfBMXfOsxxP95Q",
314 | "type": "text"
315 | }
316 | ],
317 | "body": {
318 | "mode": "raw",
319 | "raw": "",
320 | "options": {
321 | "raw": {
322 | "language": "json"
323 | }
324 | }
325 | },
326 | "url": {
327 | "raw": "https://app-petride.herokuapp.com/motoristas/cidade?cidade=Olinda",
328 | "protocol": "https",
329 | "host": [
330 | "app-petride",
331 | "herokuapp",
332 | "com"
333 | ],
334 | "path": [
335 | "motoristas",
336 | "cidade"
337 | ],
338 | "query": [
339 | {
340 | "key": "cidade",
341 | "value": "Olinda"
342 | }
343 | ]
344 | }
345 | },
346 | "response": []
347 | },
348 | {
349 | "name": "get motoristas ativos",
350 | "protocolProfileBehavior": {
351 | "disableBodyPruning": true
352 | },
353 | "request": {
354 | "method": "GET",
355 | "header": [
356 | {
357 | "key": "Authorization",
358 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFhdmFsb3NAaWNpbnQuY29tIiwiaWF0IjoxNjA3NjM5NjY5fQ.NSjpSfnC2_mIFEODLo6j8QeYcwxR4AfBMXfOsxxP95Q",
359 | "type": "text"
360 | }
361 | ],
362 | "body": {
363 | "mode": "raw",
364 | "raw": "",
365 | "options": {
366 | "raw": {
367 | "language": "json"
368 | }
369 | }
370 | },
371 | "url": {
372 | "raw": "https://app-petride.herokuapp.com/motoristas/ativos",
373 | "protocol": "https",
374 | "host": [
375 | "app-petride",
376 | "herokuapp",
377 | "com"
378 | ],
379 | "path": [
380 | "motoristas",
381 | "ativos"
382 | ]
383 | }
384 | },
385 | "response": []
386 | },
387 | {
388 | "name": "get tutores",
389 | "protocolProfileBehavior": {
390 | "disableBodyPruning": true
391 | },
392 | "request": {
393 | "method": "GET",
394 | "header": [
395 | {
396 | "key": "Authorization",
397 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRoaWFnb19Nb3JhZXM3OEBzdXBsYWlyLmNvbSIsImlhdCI6MTYwNzY0NzY0MH0.mSZzuhIkukVJ2rdSnjaoy2kLUenRpbi4Na-76tIPlrU",
398 | "type": "text"
399 | }
400 | ],
401 | "body": {
402 | "mode": "raw",
403 | "raw": "",
404 | "options": {
405 | "raw": {
406 | "language": "json"
407 | }
408 | }
409 | },
410 | "url": {
411 | "raw": "https://app-petride.herokuapp.com/tutores",
412 | "protocol": "https",
413 | "host": [
414 | "app-petride",
415 | "herokuapp",
416 | "com"
417 | ],
418 | "path": [
419 | "tutores"
420 | ]
421 | }
422 | },
423 | "response": []
424 | },
425 | {
426 | "name": "get motoristas by horario",
427 | "request": {
428 | "method": "GET",
429 | "header": [
430 | {
431 | "key": "Authorization",
432 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRoaWFnb19Nb3JhZXM3OEBzdXBsYWlyLmNvbSIsImlhdCI6MTYwNzY0NzY0MH0.mSZzuhIkukVJ2rdSnjaoy2kLUenRpbi4Na-76tIPlrU",
433 | "type": "text"
434 | }
435 | ],
436 | "url": {
437 | "raw": "https://app-petride.herokuapp.com/motoristas/horarios?horario=10h",
438 | "protocol": "https",
439 | "host": [
440 | "app-petride",
441 | "herokuapp",
442 | "com"
443 | ],
444 | "path": [
445 | "motoristas",
446 | "horarios"
447 | ],
448 | "query": [
449 | {
450 | "key": "horario",
451 | "value": "10h"
452 | }
453 | ]
454 | }
455 | },
456 | "response": []
457 | },
458 | {
459 | "name": "delete tutor",
460 | "request": {
461 | "method": "DELETE",
462 | "header": [
463 | {
464 | "key": "Authorization",
465 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFhdmFsb3NAaWNpbnQuY29tIiwiaWF0IjoxNjA3NzI3MjY1fQ.xoYQg208YPgxtkANppMnPI7-1qR9e24ZvvX7Es-JIGM",
466 | "type": "text"
467 | }
468 | ],
469 | "url": {
470 | "raw": "https://app-petride.herokuapp.com/tutores/1",
471 | "protocol": "https",
472 | "host": [
473 | "app-petride",
474 | "herokuapp",
475 | "com"
476 | ],
477 | "path": [
478 | "tutores",
479 | "1"
480 | ]
481 | }
482 | },
483 | "response": []
484 | },
485 | {
486 | "name": "get motoristas by cidade filtrada by ativo true",
487 | "protocolProfileBehavior": {
488 | "disableBodyPruning": true
489 | },
490 | "request": {
491 | "method": "GET",
492 | "header": [
493 | {
494 | "key": "Authorization",
495 | "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFhdmFsb3NAaWNpbnQuY29tIiwiaWF0IjoxNjA3NzI3MjY1fQ.xoYQg208YPgxtkANppMnPI7-1qR9e24ZvvX7Es-JIGM",
496 | "type": "text"
497 | }
498 | ],
499 | "body": {
500 | "mode": "raw",
501 | "raw": "",
502 | "options": {
503 | "raw": {
504 | "language": "json"
505 | }
506 | }
507 | },
508 | "url": {
509 | "raw": "https://app-petride.herokuapp.com/motoristas/cidade?cidade=Olinda&&ativo=true",
510 | "protocol": "https",
511 | "host": [
512 | "app-petride",
513 | "herokuapp",
514 | "com"
515 | ],
516 | "path": [
517 | "motoristas",
518 | "cidade"
519 | ],
520 | "query": [
521 | {
522 | "key": "cidade",
523 | "value": "Olinda"
524 | },
525 | {
526 | "key": null,
527 | "value": null
528 | },
529 | {
530 | "key": "ativo",
531 | "value": "true"
532 | }
533 | ]
534 | }
535 | },
536 | "response": []
537 | }
538 | ],
539 | "protocolProfileBehavior": {}
540 | }
--------------------------------------------------------------------------------
/Procfile:
--------------------------------------------------------------------------------
1 | web: npm install && node server.js
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Projeto Final {Reprograma} - PetRide
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | ### Proposta do Projeto PetRide:
19 |
20 | O projeto PetRide é uma API REST que permite que tutores de pets ou ONGs possam se cadastrar e realizar buscas por motoristas que oferecem ajuda no transporte solidário de animais.
21 |
22 | A interface é um CRUD completo integrado com um banco de dados, onde é possível listar os motoristas cadastrados na base de dados; cadastrar novos motoristas; atualizar dados; visualizar horários, dias disponíveis, bairros onde o motorista se propõe a transportar, e se o motorista está ativo ou inativo no Banco de Dados.
23 |
24 | **E Como funciona?**
25 |
26 | O tutor ou a ONG deve fazer o login no sistema onde será gerado um TOKEN que viabilizará acessar as rotas do banco de dados. Caso o TOKEN não seja igual, o usuário receberá uma mensagem de erro por ausência da mesma, ou por não conferir com a que está rgistrada pelo sistema.
27 | ### Recursos e tecnologias utilizadas para a construção da API:
28 |
29 | * **Node.Js** - versão 12.18.3;
30 | * Gerenciador de pacotes Node.Js **npm** - versão 6.14.6;
31 | * Dependências Node.Js:
32 | * **Express** - versão 4.17.1;
33 | * **Body-parser** - versão 1.19.0;
34 | * **Mongoose** - versão 5.10.17;
35 | * **Dotenv-safe** - versão 8.2.0;
36 | * **Jsonwebtoken** - versão 8.5.1;
37 | * **Bcrypt** - versão 5.0.0;
38 | * **Nodemon** - versão 2.0.6;
39 | * **MongoDB**;
40 | * **MongoDB Atlas**;
41 | * **Git**;
42 | * **Visual Studio Code**;
43 | * **Postman**;
44 | * **Heroku**;
45 |
46 | ### Como usar este projeto:
47 |
48 | ### Testando as rotas na sua máquina:
49 |
50 | 1. Abra o aplicativo [POSTMAN](https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop/related?hl=pt-BR);
51 |
52 | 2. Teste as rotas usando este endereço na URL do Postman: https://app-petride.herokuapp.com/
53 |
54 | 3. As rotas/endpoints só estarão disponiveis após o cadastro do tutor e registro de uma senha de acesso. Para isso deve-se usar a URL https://app-petride.herokuapp.com/tutores no Postman cadastrar o tutor, clicando em *body* e posteriormente em *raw*, para trocar a combobox *text* para *JSON* e apertar *Send*.
55 |
56 | 4. Após cadastro, o tutor deve fazer login através da URL https://app-petride.herokuapp.com/tutores/login e copiar o TOKEN gerado como *result* do Postman após o envio da requisição. Conforme imagem abaixo:
57 |
58 | 
59 |
60 | 5. O TOKEN é o que dará permissão para acessar os endpoints dos motoristas, para isso deve-se criar um *header* chamado **"Authorization"** e passar como valor **"Bearer + TOKEN copiado"**. Conforme imagem abaixo:
61 |
62 | 
63 | ### Criar seu próprio Banco de Dados:
64 |
65 | 1. Clone o projeto através do comando:
66 | `$git clone https://github.com/Audry-prog/projeto-final-backend-reprograma.git`
67 |
68 | 2. Inicialize o package.json com todas as configurações do projeto através do comando:
69 | `$npm install`
70 |
71 | 3. Inicialize o servidor do projeto com o comando:
72 | `$npm run dev`
73 |
74 | 4. Renomeie o arquivo `.env.exemple` para `.env` e crie as variáveis de ambiente.
75 |
76 | 5. Para criar a variável SECRET do arquivo `.env`, gere uma chave pública RSA atravé do site https://travistidwell.com/jsencrypt/demo/
77 |
78 | ### Estrututura de Arquivos da API:
79 |
80 | ```
81 | ├── src
82 | │ ├── controllers
83 | | | ├── motoristasController.js
84 | | | ├── tutoresController.js
85 | │ ├── models
86 | | | ├── motoristas.js
87 | | | ├── tutores.js
88 | │ ├── routes
89 | │ | ├── index.js
90 | | | ├── index.js
91 | │ | ├── motoristasRoute.js
92 | | | ├── tutoresRoute.js
93 | | ├── app.js
94 | ├── .env.example
95 | ├── package.json
96 | ├── server.js
97 | ```
98 | ### Manipulação das Rotas de Motoristas:
99 |
100 | | Método HTTP | Endpoint | Descrição |
101 | | ----------- | ---------------------------- | --------------------------------------------- |
102 | | POST | `/motoristas` | Cria um novo motorista |
103 | | GET | `/` | Retorna todos os motoristas por bairro |
104 | | GET | `/motoristas/motoristas` | Retorna todos os motoristas |
105 | | GET | `/motoristas/:id` | Retorna um motorista específico por id |
106 | | GET | `/motoristas/cidade` | Retorna todos os motoristas por cidade |
107 | | GET | `/motoristas/bairros` | Retorna todos os motoristas ativos |
108 | | GET | `/motoristas/ativos` | Retorna todos os motoristas ativos |
109 | | GET | `/motoristas/cidade/ativos` | Retorna todos os motoristas ativos por cidade |
110 | | GET | `/motoristas/horarios` | Retorna todos os motoristas por horário |
111 | | PUT | `/motoristas/:id` | Altera informações de um motorista |
112 | | DELET | `/motoristas/:id` | Remove um motorista específico |
113 |
114 | ### Manipulação das Rotas de Tutores:
115 |
116 | | Método HTTP | Endpoint | Descrição |
117 | | ----------- | ---------------------------- | ------------------------------------------ |
118 | | POST | `/tutores` | Cria um novo tutor no Banco de Dados |
119 | | POST | `/tutores/login` | Autoriza o acesso ao Banco de Dados |
120 | | GET | `/tutores` | Retorna todos os tutores do Banco de Dados |
121 | | DELET | `/tutores/:id` | Remove o cadastro de um tutor específico |
122 |
123 | ### Alguns prints das requisições feitas no Postman:
124 |
125 | | POST | `/tutores` | Cria um novo tutor no Banco |
126 |
127 | 
128 |
129 | | GET | `/motoristas/cidade` | Retorna todos os motoristas por cidade |
130 |
131 | 
132 |
133 | | GET | `/motoristas/ativos` | Retorna todos os motoristas ativos |
134 |
135 | 
136 |
137 | | GET | `/motoristas/cidade/ativos` | Retorna todos os motoristas ativos por cidade |
138 |
139 | 
140 |
141 | | GET | `/motoristas/horarios` | Retorna todos os motoristas por horário |
142 |
143 | 
144 |
145 | | POST | `/motoristas` | Cria um novo motorista |
146 |
147 | 
148 |
149 | ### Futuras melhorias:
150 |
151 | A ideia para a PetRide é que no futuro o tutor possa solicitar viagem ao motorista cadastrado e a API tenha suas rotas integradas com geolocalização, e possa fazer o pagamento da taxa solidária da viagem ao motorista.
152 |
153 | Outra implementação que se pretende no futuro é desenvolver as interfaces Front-end de comunicação com o código.
154 |
155 | Caso queira contribuir com meu projeto, será totalmente bem-vindo!!!
156 |
157 |
158 |
159 |
160 |
161 |
--------------------------------------------------------------------------------
/images/bearer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Audry-prog/projeto-final-backend-reprograma/eb6e1c8c3864e9995b1eff59f514054d7ce891ec/images/bearer.png
--------------------------------------------------------------------------------
/images/cats_and_dogs.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Audry-prog/projeto-final-backend-reprograma/eb6e1c8c3864e9995b1eff59f514054d7ce891ec/images/cats_and_dogs.jpeg
--------------------------------------------------------------------------------
/images/getMotoristaByCidade.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Audry-prog/projeto-final-backend-reprograma/eb6e1c8c3864e9995b1eff59f514054d7ce891ec/images/getMotoristaByCidade.png
--------------------------------------------------------------------------------
/images/getMotoristasAtivos.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Audry-prog/projeto-final-backend-reprograma/eb6e1c8c3864e9995b1eff59f514054d7ce891ec/images/getMotoristasAtivos.png
--------------------------------------------------------------------------------
/images/getMotoristasByCidadeByAtivos.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Audry-prog/projeto-final-backend-reprograma/eb6e1c8c3864e9995b1eff59f514054d7ce891ec/images/getMotoristasByCidadeByAtivos.png
--------------------------------------------------------------------------------
/images/getMotoristasByHorario.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Audry-prog/projeto-final-backend-reprograma/eb6e1c8c3864e9995b1eff59f514054d7ce891ec/images/getMotoristasByHorario.png
--------------------------------------------------------------------------------
/images/loginTutores.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Audry-prog/projeto-final-backend-reprograma/eb6e1c8c3864e9995b1eff59f514054d7ce891ec/images/loginTutores.png
--------------------------------------------------------------------------------
/images/petride_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Audry-prog/projeto-final-backend-reprograma/eb6e1c8c3864e9995b1eff59f514054d7ce891ec/images/petride_logo.png
--------------------------------------------------------------------------------
/images/postMotoristas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Audry-prog/projeto-final-backend-reprograma/eb6e1c8c3864e9995b1eff59f514054d7ce891ec/images/postMotoristas.png
--------------------------------------------------------------------------------
/images/postTutores.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Audry-prog/projeto-final-backend-reprograma/eb6e1c8c3864e9995b1eff59f514054d7ce891ec/images/postTutores.png
--------------------------------------------------------------------------------
/license.md:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) [2020] [Audry Ávalos]
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6 |
7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "projeto-final-backend-reprograma",
3 | "version": "1.0.0",
4 | "lockfileVersion": 1,
5 | "requires": true,
6 | "dependencies": {
7 | "@sindresorhus/is": {
8 | "version": "0.14.0",
9 | "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
10 | "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ=="
11 | },
12 | "@szmarczak/http-timer": {
13 | "version": "1.1.2",
14 | "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
15 | "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
16 | "requires": {
17 | "defer-to-connect": "^1.0.1"
18 | }
19 | },
20 | "abbrev": {
21 | "version": "1.1.1",
22 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
23 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
24 | },
25 | "abs": {
26 | "version": "1.3.14",
27 | "resolved": "https://registry.npmjs.org/abs/-/abs-1.3.14.tgz",
28 | "integrity": "sha512-PrS26IzwKLWwuURpiKl8wRmJ2KdR/azaVrLEBWG/TALwT20Y7qjtYp1qcMLHA4206hBHY5phv3w4pjf9NPv4Vw==",
29 | "requires": {
30 | "ul": "^5.0.0"
31 | }
32 | },
33 | "accepts": {
34 | "version": "1.3.7",
35 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
36 | "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
37 | "requires": {
38 | "mime-types": "~2.1.24",
39 | "negotiator": "0.6.2"
40 | }
41 | },
42 | "ansi-align": {
43 | "version": "3.0.0",
44 | "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz",
45 | "integrity": "sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw==",
46 | "requires": {
47 | "string-width": "^3.0.0"
48 | },
49 | "dependencies": {
50 | "string-width": {
51 | "version": "3.1.0",
52 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
53 | "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
54 | "requires": {
55 | "emoji-regex": "^7.0.1",
56 | "is-fullwidth-code-point": "^2.0.0",
57 | "strip-ansi": "^5.1.0"
58 | }
59 | }
60 | }
61 | },
62 | "ansi-regex": {
63 | "version": "4.1.0",
64 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
65 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
66 | },
67 | "ansi-styles": {
68 | "version": "4.3.0",
69 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
70 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
71 | "requires": {
72 | "color-convert": "^2.0.1"
73 | }
74 | },
75 | "anymatch": {
76 | "version": "3.1.1",
77 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",
78 | "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==",
79 | "requires": {
80 | "normalize-path": "^3.0.0",
81 | "picomatch": "^2.0.4"
82 | }
83 | },
84 | "aproba": {
85 | "version": "1.2.0",
86 | "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
87 | "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="
88 | },
89 | "are-we-there-yet": {
90 | "version": "1.1.5",
91 | "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz",
92 | "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",
93 | "requires": {
94 | "delegates": "^1.0.0",
95 | "readable-stream": "^2.0.6"
96 | }
97 | },
98 | "array-flatten": {
99 | "version": "1.1.1",
100 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
101 | "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
102 | },
103 | "balanced-match": {
104 | "version": "1.0.0",
105 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
106 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
107 | },
108 | "bcrypt": {
109 | "version": "5.0.0",
110 | "resolved": "https://registry.npmjs.org/bcrypt/-/bcrypt-5.0.0.tgz",
111 | "integrity": "sha512-jB0yCBl4W/kVHM2whjfyqnxTmOHkCX4kHEa5nYKSoGeYe8YrjTYTc87/6bwt1g8cmV0QrbhKriETg9jWtcREhg==",
112 | "requires": {
113 | "node-addon-api": "^3.0.0",
114 | "node-pre-gyp": "0.15.0"
115 | }
116 | },
117 | "binary-extensions": {
118 | "version": "2.1.0",
119 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz",
120 | "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ=="
121 | },
122 | "bl": {
123 | "version": "2.2.1",
124 | "resolved": "https://registry.npmjs.org/bl/-/bl-2.2.1.tgz",
125 | "integrity": "sha512-6Pesp1w0DEX1N550i/uGV/TqucVL4AM/pgThFSN/Qq9si1/DF9aIHs1BxD8V/QU0HoeHO6cQRTAuYnLPKq1e4g==",
126 | "requires": {
127 | "readable-stream": "^2.3.5",
128 | "safe-buffer": "^5.1.1"
129 | }
130 | },
131 | "bluebird": {
132 | "version": "3.5.1",
133 | "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz",
134 | "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA=="
135 | },
136 | "body-parser": {
137 | "version": "1.19.0",
138 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
139 | "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
140 | "requires": {
141 | "bytes": "3.1.0",
142 | "content-type": "~1.0.4",
143 | "debug": "2.6.9",
144 | "depd": "~1.1.2",
145 | "http-errors": "1.7.2",
146 | "iconv-lite": "0.4.24",
147 | "on-finished": "~2.3.0",
148 | "qs": "6.7.0",
149 | "raw-body": "2.4.0",
150 | "type-is": "~1.6.17"
151 | }
152 | },
153 | "boxen": {
154 | "version": "4.2.0",
155 | "resolved": "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz",
156 | "integrity": "sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ==",
157 | "requires": {
158 | "ansi-align": "^3.0.0",
159 | "camelcase": "^5.3.1",
160 | "chalk": "^3.0.0",
161 | "cli-boxes": "^2.2.0",
162 | "string-width": "^4.1.0",
163 | "term-size": "^2.1.0",
164 | "type-fest": "^0.8.1",
165 | "widest-line": "^3.1.0"
166 | }
167 | },
168 | "brace-expansion": {
169 | "version": "1.1.11",
170 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
171 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
172 | "requires": {
173 | "balanced-match": "^1.0.0",
174 | "concat-map": "0.0.1"
175 | }
176 | },
177 | "braces": {
178 | "version": "3.0.2",
179 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
180 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
181 | "requires": {
182 | "fill-range": "^7.0.1"
183 | }
184 | },
185 | "bson": {
186 | "version": "1.1.5",
187 | "resolved": "https://registry.npmjs.org/bson/-/bson-1.1.5.tgz",
188 | "integrity": "sha512-kDuEzldR21lHciPQAIulLs1LZlCXdLziXI6Mb/TDkwXhb//UORJNPXgcRs2CuO4H0DcMkpfT3/ySsP3unoZjBg=="
189 | },
190 | "buffer-equal-constant-time": {
191 | "version": "1.0.1",
192 | "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",
193 | "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk="
194 | },
195 | "bytes": {
196 | "version": "3.1.0",
197 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
198 | "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="
199 | },
200 | "cacheable-request": {
201 | "version": "6.1.0",
202 | "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
203 | "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
204 | "requires": {
205 | "clone-response": "^1.0.2",
206 | "get-stream": "^5.1.0",
207 | "http-cache-semantics": "^4.0.0",
208 | "keyv": "^3.0.0",
209 | "lowercase-keys": "^2.0.0",
210 | "normalize-url": "^4.1.0",
211 | "responselike": "^1.0.2"
212 | },
213 | "dependencies": {
214 | "get-stream": {
215 | "version": "5.2.0",
216 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
217 | "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
218 | "requires": {
219 | "pump": "^3.0.0"
220 | }
221 | },
222 | "lowercase-keys": {
223 | "version": "2.0.0",
224 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
225 | "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
226 | }
227 | }
228 | },
229 | "camelcase": {
230 | "version": "5.3.1",
231 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
232 | "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
233 | },
234 | "capture-stack-trace": {
235 | "version": "1.0.1",
236 | "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz",
237 | "integrity": "sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw=="
238 | },
239 | "chalk": {
240 | "version": "3.0.0",
241 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
242 | "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
243 | "requires": {
244 | "ansi-styles": "^4.1.0",
245 | "supports-color": "^7.1.0"
246 | },
247 | "dependencies": {
248 | "has-flag": {
249 | "version": "4.0.0",
250 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
251 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
252 | },
253 | "supports-color": {
254 | "version": "7.2.0",
255 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
256 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
257 | "requires": {
258 | "has-flag": "^4.0.0"
259 | }
260 | }
261 | }
262 | },
263 | "chokidar": {
264 | "version": "3.4.3",
265 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz",
266 | "integrity": "sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ==",
267 | "requires": {
268 | "anymatch": "~3.1.1",
269 | "braces": "~3.0.2",
270 | "fsevents": "~2.1.2",
271 | "glob-parent": "~5.1.0",
272 | "is-binary-path": "~2.1.0",
273 | "is-glob": "~4.0.1",
274 | "normalize-path": "~3.0.0",
275 | "readdirp": "~3.5.0"
276 | }
277 | },
278 | "chownr": {
279 | "version": "1.1.4",
280 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
281 | "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
282 | },
283 | "ci-info": {
284 | "version": "2.0.0",
285 | "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",
286 | "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ=="
287 | },
288 | "cli-boxes": {
289 | "version": "2.2.1",
290 | "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz",
291 | "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw=="
292 | },
293 | "clone-response": {
294 | "version": "1.0.2",
295 | "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
296 | "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",
297 | "requires": {
298 | "mimic-response": "^1.0.0"
299 | }
300 | },
301 | "code-point-at": {
302 | "version": "1.1.0",
303 | "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
304 | "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c="
305 | },
306 | "color-convert": {
307 | "version": "2.0.1",
308 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
309 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
310 | "requires": {
311 | "color-name": "~1.1.4"
312 | }
313 | },
314 | "color-name": {
315 | "version": "1.1.4",
316 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
317 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
318 | },
319 | "concat-map": {
320 | "version": "0.0.1",
321 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
322 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
323 | },
324 | "configstore": {
325 | "version": "5.0.1",
326 | "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz",
327 | "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==",
328 | "requires": {
329 | "dot-prop": "^5.2.0",
330 | "graceful-fs": "^4.1.2",
331 | "make-dir": "^3.0.0",
332 | "unique-string": "^2.0.0",
333 | "write-file-atomic": "^3.0.0",
334 | "xdg-basedir": "^4.0.0"
335 | }
336 | },
337 | "console-control-strings": {
338 | "version": "1.1.0",
339 | "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
340 | "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="
341 | },
342 | "content-disposition": {
343 | "version": "0.5.3",
344 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
345 | "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
346 | "requires": {
347 | "safe-buffer": "5.1.2"
348 | }
349 | },
350 | "content-type": {
351 | "version": "1.0.4",
352 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
353 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
354 | },
355 | "cookie": {
356 | "version": "0.4.0",
357 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
358 | "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg=="
359 | },
360 | "cookie-signature": {
361 | "version": "1.0.6",
362 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
363 | "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
364 | },
365 | "core-util-is": {
366 | "version": "1.0.2",
367 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
368 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
369 | },
370 | "create-error-class": {
371 | "version": "3.0.2",
372 | "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz",
373 | "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=",
374 | "requires": {
375 | "capture-stack-trace": "^1.0.0"
376 | }
377 | },
378 | "crypto-random-string": {
379 | "version": "2.0.0",
380 | "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz",
381 | "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA=="
382 | },
383 | "debug": {
384 | "version": "2.6.9",
385 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
386 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
387 | "requires": {
388 | "ms": "2.0.0"
389 | }
390 | },
391 | "decompress-response": {
392 | "version": "3.3.0",
393 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",
394 | "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=",
395 | "requires": {
396 | "mimic-response": "^1.0.0"
397 | }
398 | },
399 | "deep-extend": {
400 | "version": "0.6.0",
401 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
402 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA=="
403 | },
404 | "defer-to-connect": {
405 | "version": "1.1.3",
406 | "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",
407 | "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ=="
408 | },
409 | "deffy": {
410 | "version": "2.2.4",
411 | "resolved": "https://registry.npmjs.org/deffy/-/deffy-2.2.4.tgz",
412 | "integrity": "sha512-pLc9lsbsWjr6RxmJ2OLyvm+9l4j1yK69h+TML/gUit/t3vTijpkNGh8LioaJYTGO7F25m6HZndADcUOo2PsiUg==",
413 | "requires": {
414 | "typpy": "^2.0.0"
415 | }
416 | },
417 | "delegates": {
418 | "version": "1.0.0",
419 | "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
420 | "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o="
421 | },
422 | "denque": {
423 | "version": "1.4.1",
424 | "resolved": "https://registry.npmjs.org/denque/-/denque-1.4.1.tgz",
425 | "integrity": "sha512-OfzPuSZKGcgr96rf1oODnfjqBFmr1DVoc/TrItj3Ohe0Ah1C5WX5Baquw/9U9KovnQ88EqmJbD66rKYUQYN1tQ=="
426 | },
427 | "depd": {
428 | "version": "1.1.2",
429 | "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
430 | "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="
431 | },
432 | "destroy": {
433 | "version": "1.0.4",
434 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
435 | "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
436 | },
437 | "detect-libc": {
438 | "version": "1.0.3",
439 | "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
440 | "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups="
441 | },
442 | "dot-prop": {
443 | "version": "5.3.0",
444 | "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz",
445 | "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==",
446 | "requires": {
447 | "is-obj": "^2.0.0"
448 | }
449 | },
450 | "dotenv": {
451 | "version": "8.2.0",
452 | "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.2.0.tgz",
453 | "integrity": "sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw=="
454 | },
455 | "dotenv-safe": {
456 | "version": "8.2.0",
457 | "resolved": "https://registry.npmjs.org/dotenv-safe/-/dotenv-safe-8.2.0.tgz",
458 | "integrity": "sha512-uWwWWdUQkSs5a3mySDB22UtNwyEYi0JtEQu+vDzIqr9OjbDdC2Ip13PnSpi/fctqlYmzkxCeabiyCAOROuAIaA==",
459 | "requires": {
460 | "dotenv": "^8.2.0"
461 | }
462 | },
463 | "duplexer2": {
464 | "version": "0.1.4",
465 | "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz",
466 | "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=",
467 | "requires": {
468 | "readable-stream": "^2.0.2"
469 | }
470 | },
471 | "duplexer3": {
472 | "version": "0.1.4",
473 | "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
474 | "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI="
475 | },
476 | "ecdsa-sig-formatter": {
477 | "version": "1.0.11",
478 | "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz",
479 | "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==",
480 | "requires": {
481 | "safe-buffer": "^5.0.1"
482 | }
483 | },
484 | "ee-first": {
485 | "version": "1.1.1",
486 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
487 | "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
488 | },
489 | "emoji-regex": {
490 | "version": "7.0.3",
491 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
492 | "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
493 | },
494 | "encodeurl": {
495 | "version": "1.0.2",
496 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
497 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
498 | },
499 | "end-of-stream": {
500 | "version": "1.4.4",
501 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
502 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
503 | "requires": {
504 | "once": "^1.4.0"
505 | }
506 | },
507 | "err": {
508 | "version": "1.1.1",
509 | "resolved": "https://registry.npmjs.org/err/-/err-1.1.1.tgz",
510 | "integrity": "sha1-65KOLhGjFmSPeCgz0PlyWLpDwvg=",
511 | "requires": {
512 | "typpy": "^2.2.0"
513 | }
514 | },
515 | "error-ex": {
516 | "version": "1.3.2",
517 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
518 | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
519 | "requires": {
520 | "is-arrayish": "^0.2.1"
521 | }
522 | },
523 | "escape-goat": {
524 | "version": "2.1.1",
525 | "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz",
526 | "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q=="
527 | },
528 | "escape-html": {
529 | "version": "1.0.3",
530 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
531 | "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
532 | },
533 | "etag": {
534 | "version": "1.8.1",
535 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
536 | "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
537 | },
538 | "exec-limiter": {
539 | "version": "3.2.13",
540 | "resolved": "https://registry.npmjs.org/exec-limiter/-/exec-limiter-3.2.13.tgz",
541 | "integrity": "sha512-86Ri699bwiHZVBzTzNj8gspqAhCPchg70zPVWIh3qzUOA1pUMcb272Em3LPk8AE0mS95B9yMJhtqF8vFJAn0dA==",
542 | "requires": {
543 | "limit-it": "^3.0.0",
544 | "typpy": "^2.1.0"
545 | }
546 | },
547 | "express": {
548 | "version": "4.17.1",
549 | "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
550 | "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
551 | "requires": {
552 | "accepts": "~1.3.7",
553 | "array-flatten": "1.1.1",
554 | "body-parser": "1.19.0",
555 | "content-disposition": "0.5.3",
556 | "content-type": "~1.0.4",
557 | "cookie": "0.4.0",
558 | "cookie-signature": "1.0.6",
559 | "debug": "2.6.9",
560 | "depd": "~1.1.2",
561 | "encodeurl": "~1.0.2",
562 | "escape-html": "~1.0.3",
563 | "etag": "~1.8.1",
564 | "finalhandler": "~1.1.2",
565 | "fresh": "0.5.2",
566 | "merge-descriptors": "1.0.1",
567 | "methods": "~1.1.2",
568 | "on-finished": "~2.3.0",
569 | "parseurl": "~1.3.3",
570 | "path-to-regexp": "0.1.7",
571 | "proxy-addr": "~2.0.5",
572 | "qs": "6.7.0",
573 | "range-parser": "~1.2.1",
574 | "safe-buffer": "5.1.2",
575 | "send": "0.17.1",
576 | "serve-static": "1.14.1",
577 | "setprototypeof": "1.1.1",
578 | "statuses": "~1.5.0",
579 | "type-is": "~1.6.18",
580 | "utils-merge": "1.0.1",
581 | "vary": "~1.1.2"
582 | }
583 | },
584 | "fill-range": {
585 | "version": "7.0.1",
586 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
587 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
588 | "requires": {
589 | "to-regex-range": "^5.0.1"
590 | }
591 | },
592 | "finalhandler": {
593 | "version": "1.1.2",
594 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
595 | "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
596 | "requires": {
597 | "debug": "2.6.9",
598 | "encodeurl": "~1.0.2",
599 | "escape-html": "~1.0.3",
600 | "on-finished": "~2.3.0",
601 | "parseurl": "~1.3.3",
602 | "statuses": "~1.5.0",
603 | "unpipe": "~1.0.0"
604 | }
605 | },
606 | "forwarded": {
607 | "version": "0.1.2",
608 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
609 | "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ="
610 | },
611 | "fresh": {
612 | "version": "0.5.2",
613 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
614 | "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
615 | },
616 | "fs-minipass": {
617 | "version": "1.2.7",
618 | "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz",
619 | "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==",
620 | "requires": {
621 | "minipass": "^2.6.0"
622 | }
623 | },
624 | "fs.realpath": {
625 | "version": "1.0.0",
626 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
627 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
628 | },
629 | "fsevents": {
630 | "version": "2.1.3",
631 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",
632 | "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==",
633 | "optional": true
634 | },
635 | "function-bind": {
636 | "version": "1.1.1",
637 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
638 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
639 | },
640 | "function.name": {
641 | "version": "1.0.13",
642 | "resolved": "https://registry.npmjs.org/function.name/-/function.name-1.0.13.tgz",
643 | "integrity": "sha512-mVrqdoy5npWZyoXl4DxCeuVF6delDcQjVS9aPdvLYlBxtMTZDR2B5GVEQEoM1jJyspCqg3C0v4ABkLE7tp9xFA==",
644 | "requires": {
645 | "noop6": "^1.0.1"
646 | }
647 | },
648 | "gauge": {
649 | "version": "2.7.4",
650 | "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
651 | "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
652 | "requires": {
653 | "aproba": "^1.0.3",
654 | "console-control-strings": "^1.0.0",
655 | "has-unicode": "^2.0.0",
656 | "object-assign": "^4.1.0",
657 | "signal-exit": "^3.0.0",
658 | "string-width": "^1.0.1",
659 | "strip-ansi": "^3.0.1",
660 | "wide-align": "^1.1.0"
661 | },
662 | "dependencies": {
663 | "ansi-regex": {
664 | "version": "2.1.1",
665 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
666 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
667 | },
668 | "is-fullwidth-code-point": {
669 | "version": "1.0.0",
670 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
671 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
672 | "requires": {
673 | "number-is-nan": "^1.0.0"
674 | }
675 | },
676 | "string-width": {
677 | "version": "1.0.2",
678 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
679 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
680 | "requires": {
681 | "code-point-at": "^1.0.0",
682 | "is-fullwidth-code-point": "^1.0.0",
683 | "strip-ansi": "^3.0.0"
684 | }
685 | },
686 | "strip-ansi": {
687 | "version": "3.0.1",
688 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
689 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
690 | "requires": {
691 | "ansi-regex": "^2.0.0"
692 | }
693 | }
694 | }
695 | },
696 | "get-stream": {
697 | "version": "4.1.0",
698 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
699 | "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
700 | "requires": {
701 | "pump": "^3.0.0"
702 | }
703 | },
704 | "git-package-json": {
705 | "version": "1.4.10",
706 | "resolved": "https://registry.npmjs.org/git-package-json/-/git-package-json-1.4.10.tgz",
707 | "integrity": "sha512-DRAcvbzd2SxGK7w8OgYfvKqhFliT5keX0lmSmVdgScgf1kkl5tbbo7Pam6uYoCa1liOiipKxQZG8quCtGWl/fA==",
708 | "requires": {
709 | "deffy": "^2.2.1",
710 | "err": "^1.1.1",
711 | "gry": "^5.0.0",
712 | "normalize-package-data": "^2.3.5",
713 | "oargv": "^3.4.1",
714 | "one-by-one": "^3.1.0",
715 | "r-json": "^1.2.1",
716 | "r-package-json": "^1.0.0",
717 | "tmp": "0.0.28"
718 | }
719 | },
720 | "git-source": {
721 | "version": "1.1.10",
722 | "resolved": "https://registry.npmjs.org/git-source/-/git-source-1.1.10.tgz",
723 | "integrity": "sha512-XZZ7ZgnLL35oLgM/xjnLYgtlKlxJG0FohC1kWDvGkU7s1VKGXK0pFF/g1itQEwQ3D+uTQzBnzPi8XbqOv7Wc1Q==",
724 | "requires": {
725 | "git-url-parse": "^5.0.1"
726 | }
727 | },
728 | "git-up": {
729 | "version": "1.2.1",
730 | "resolved": "https://registry.npmjs.org/git-up/-/git-up-1.2.1.tgz",
731 | "integrity": "sha1-JkSAoAax2EJhrB/gmjpRacV+oZ0=",
732 | "requires": {
733 | "is-ssh": "^1.0.0",
734 | "parse-url": "^1.0.0"
735 | }
736 | },
737 | "git-url-parse": {
738 | "version": "5.0.1",
739 | "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-5.0.1.tgz",
740 | "integrity": "sha1-/j15xnRq4FBIz6UIyB553du6OEM=",
741 | "requires": {
742 | "git-up": "^1.0.0"
743 | }
744 | },
745 | "glob": {
746 | "version": "7.1.6",
747 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
748 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
749 | "requires": {
750 | "fs.realpath": "^1.0.0",
751 | "inflight": "^1.0.4",
752 | "inherits": "2",
753 | "minimatch": "^3.0.4",
754 | "once": "^1.3.0",
755 | "path-is-absolute": "^1.0.0"
756 | }
757 | },
758 | "glob-parent": {
759 | "version": "5.1.1",
760 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
761 | "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
762 | "requires": {
763 | "is-glob": "^4.0.1"
764 | }
765 | },
766 | "global-dirs": {
767 | "version": "2.0.1",
768 | "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.0.1.tgz",
769 | "integrity": "sha512-5HqUqdhkEovj2Of/ms3IeS/EekcO54ytHRLV4PEY2rhRwrHXLQjeVEES0Lhka0xwNDtGYn58wyC4s5+MHsOO6A==",
770 | "requires": {
771 | "ini": "^1.3.5"
772 | }
773 | },
774 | "got": {
775 | "version": "9.6.0",
776 | "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
777 | "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
778 | "requires": {
779 | "@sindresorhus/is": "^0.14.0",
780 | "@szmarczak/http-timer": "^1.1.2",
781 | "cacheable-request": "^6.0.0",
782 | "decompress-response": "^3.3.0",
783 | "duplexer3": "^0.1.4",
784 | "get-stream": "^4.1.0",
785 | "lowercase-keys": "^1.0.1",
786 | "mimic-response": "^1.0.1",
787 | "p-cancelable": "^1.0.0",
788 | "to-readable-stream": "^1.0.0",
789 | "url-parse-lax": "^3.0.0"
790 | }
791 | },
792 | "graceful-fs": {
793 | "version": "4.2.4",
794 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
795 | "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw=="
796 | },
797 | "gry": {
798 | "version": "5.0.8",
799 | "resolved": "https://registry.npmjs.org/gry/-/gry-5.0.8.tgz",
800 | "integrity": "sha512-meq9ZjYVpLzZh3ojhTg7IMad9grGsx6rUUKHLqPnhLXzJkRQvEL2U3tQpS5/WentYTtHtxkT3Ew/mb10D6F6/g==",
801 | "requires": {
802 | "abs": "^1.2.1",
803 | "exec-limiter": "^3.0.0",
804 | "one-by-one": "^3.0.0",
805 | "ul": "^5.0.0"
806 | }
807 | },
808 | "has": {
809 | "version": "1.0.3",
810 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
811 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
812 | "requires": {
813 | "function-bind": "^1.1.1"
814 | }
815 | },
816 | "has-flag": {
817 | "version": "3.0.0",
818 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
819 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
820 | },
821 | "has-unicode": {
822 | "version": "2.0.1",
823 | "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
824 | "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="
825 | },
826 | "has-yarn": {
827 | "version": "2.1.0",
828 | "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz",
829 | "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw=="
830 | },
831 | "hosted-git-info": {
832 | "version": "2.8.8",
833 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz",
834 | "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg=="
835 | },
836 | "http-cache-semantics": {
837 | "version": "4.1.0",
838 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",
839 | "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ=="
840 | },
841 | "http-errors": {
842 | "version": "1.7.2",
843 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
844 | "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
845 | "requires": {
846 | "depd": "~1.1.2",
847 | "inherits": "2.0.3",
848 | "setprototypeof": "1.1.1",
849 | "statuses": ">= 1.5.0 < 2",
850 | "toidentifier": "1.0.0"
851 | }
852 | },
853 | "iconv-lite": {
854 | "version": "0.4.24",
855 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
856 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
857 | "requires": {
858 | "safer-buffer": ">= 2.1.2 < 3"
859 | }
860 | },
861 | "ignore-by-default": {
862 | "version": "1.0.1",
863 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz",
864 | "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk="
865 | },
866 | "ignore-walk": {
867 | "version": "3.0.3",
868 | "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz",
869 | "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==",
870 | "requires": {
871 | "minimatch": "^3.0.4"
872 | }
873 | },
874 | "import-lazy": {
875 | "version": "2.1.0",
876 | "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz",
877 | "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM="
878 | },
879 | "imurmurhash": {
880 | "version": "0.1.4",
881 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
882 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o="
883 | },
884 | "inflight": {
885 | "version": "1.0.6",
886 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
887 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
888 | "requires": {
889 | "once": "^1.3.0",
890 | "wrappy": "1"
891 | }
892 | },
893 | "inherits": {
894 | "version": "2.0.3",
895 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
896 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
897 | },
898 | "ini": {
899 | "version": "1.3.8",
900 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
901 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
902 | },
903 | "ipaddr.js": {
904 | "version": "1.9.1",
905 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
906 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
907 | },
908 | "is-arrayish": {
909 | "version": "0.2.1",
910 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
911 | "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
912 | },
913 | "is-binary-path": {
914 | "version": "2.1.0",
915 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
916 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
917 | "requires": {
918 | "binary-extensions": "^2.0.0"
919 | }
920 | },
921 | "is-ci": {
922 | "version": "2.0.0",
923 | "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz",
924 | "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==",
925 | "requires": {
926 | "ci-info": "^2.0.0"
927 | }
928 | },
929 | "is-core-module": {
930 | "version": "2.2.0",
931 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz",
932 | "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==",
933 | "requires": {
934 | "has": "^1.0.3"
935 | }
936 | },
937 | "is-extglob": {
938 | "version": "2.1.1",
939 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
940 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI="
941 | },
942 | "is-fullwidth-code-point": {
943 | "version": "2.0.0",
944 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
945 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
946 | },
947 | "is-glob": {
948 | "version": "4.0.1",
949 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
950 | "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
951 | "requires": {
952 | "is-extglob": "^2.1.1"
953 | }
954 | },
955 | "is-installed-globally": {
956 | "version": "0.3.2",
957 | "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz",
958 | "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==",
959 | "requires": {
960 | "global-dirs": "^2.0.1",
961 | "is-path-inside": "^3.0.1"
962 | }
963 | },
964 | "is-npm": {
965 | "version": "4.0.0",
966 | "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz",
967 | "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig=="
968 | },
969 | "is-number": {
970 | "version": "7.0.0",
971 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
972 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
973 | },
974 | "is-obj": {
975 | "version": "2.0.0",
976 | "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
977 | "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w=="
978 | },
979 | "is-path-inside": {
980 | "version": "3.0.2",
981 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz",
982 | "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg=="
983 | },
984 | "is-redirect": {
985 | "version": "1.0.0",
986 | "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz",
987 | "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ="
988 | },
989 | "is-retry-allowed": {
990 | "version": "1.2.0",
991 | "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz",
992 | "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg=="
993 | },
994 | "is-ssh": {
995 | "version": "1.3.2",
996 | "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.3.2.tgz",
997 | "integrity": "sha512-elEw0/0c2UscLrNG+OAorbP539E3rhliKPg+hDMWN9VwrDXfYK+4PBEykDPfxlYYtQvl84TascnQyobfQLHEhQ==",
998 | "requires": {
999 | "protocols": "^1.1.0"
1000 | }
1001 | },
1002 | "is-stream": {
1003 | "version": "1.1.0",
1004 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
1005 | "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="
1006 | },
1007 | "is-typedarray": {
1008 | "version": "1.0.0",
1009 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
1010 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
1011 | },
1012 | "is-yarn-global": {
1013 | "version": "0.3.0",
1014 | "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz",
1015 | "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw=="
1016 | },
1017 | "isarray": {
1018 | "version": "1.0.0",
1019 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
1020 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
1021 | },
1022 | "iterate-object": {
1023 | "version": "1.3.4",
1024 | "resolved": "https://registry.npmjs.org/iterate-object/-/iterate-object-1.3.4.tgz",
1025 | "integrity": "sha512-4dG1D1x/7g8PwHS9aK6QV5V94+ZvyP4+d19qDv43EzImmrndysIl4prmJ1hWWIGCqrZHyaHBm6BSEWHOLnpoNw=="
1026 | },
1027 | "json-buffer": {
1028 | "version": "3.0.0",
1029 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
1030 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg="
1031 | },
1032 | "jsonwebtoken": {
1033 | "version": "8.5.1",
1034 | "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz",
1035 | "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==",
1036 | "requires": {
1037 | "jws": "^3.2.2",
1038 | "lodash.includes": "^4.3.0",
1039 | "lodash.isboolean": "^3.0.3",
1040 | "lodash.isinteger": "^4.0.4",
1041 | "lodash.isnumber": "^3.0.3",
1042 | "lodash.isplainobject": "^4.0.6",
1043 | "lodash.isstring": "^4.0.1",
1044 | "lodash.once": "^4.0.0",
1045 | "ms": "^2.1.1",
1046 | "semver": "^5.6.0"
1047 | },
1048 | "dependencies": {
1049 | "ms": {
1050 | "version": "2.1.3",
1051 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
1052 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
1053 | }
1054 | }
1055 | },
1056 | "jwa": {
1057 | "version": "1.4.1",
1058 | "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz",
1059 | "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==",
1060 | "requires": {
1061 | "buffer-equal-constant-time": "1.0.1",
1062 | "ecdsa-sig-formatter": "1.0.11",
1063 | "safe-buffer": "^5.0.1"
1064 | }
1065 | },
1066 | "jws": {
1067 | "version": "3.2.2",
1068 | "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz",
1069 | "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==",
1070 | "requires": {
1071 | "jwa": "^1.4.1",
1072 | "safe-buffer": "^5.0.1"
1073 | }
1074 | },
1075 | "kareem": {
1076 | "version": "2.3.1",
1077 | "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.3.1.tgz",
1078 | "integrity": "sha512-l3hLhffs9zqoDe8zjmb/mAN4B8VT3L56EUvKNqLFVs9YlFA+zx7ke1DO8STAdDyYNkeSo1nKmjuvQeI12So8Xw=="
1079 | },
1080 | "keyv": {
1081 | "version": "3.1.0",
1082 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
1083 | "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==",
1084 | "requires": {
1085 | "json-buffer": "3.0.0"
1086 | }
1087 | },
1088 | "latest-version": {
1089 | "version": "5.1.0",
1090 | "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz",
1091 | "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==",
1092 | "requires": {
1093 | "package-json": "^6.3.0"
1094 | }
1095 | },
1096 | "limit-it": {
1097 | "version": "3.2.10",
1098 | "resolved": "https://registry.npmjs.org/limit-it/-/limit-it-3.2.10.tgz",
1099 | "integrity": "sha512-T0NK99pHnkimldr1WUqvbGV1oWDku/xC9J/OqzJFsV1jeOS6Bwl8W7vkeQIBqwiON9dTALws+rX/XPMQqWerDQ==",
1100 | "requires": {
1101 | "typpy": "^2.0.0"
1102 | }
1103 | },
1104 | "lodash.includes": {
1105 | "version": "4.3.0",
1106 | "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz",
1107 | "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8="
1108 | },
1109 | "lodash.isboolean": {
1110 | "version": "3.0.3",
1111 | "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz",
1112 | "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY="
1113 | },
1114 | "lodash.isinteger": {
1115 | "version": "4.0.4",
1116 | "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz",
1117 | "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M="
1118 | },
1119 | "lodash.isnumber": {
1120 | "version": "3.0.3",
1121 | "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz",
1122 | "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w="
1123 | },
1124 | "lodash.isplainobject": {
1125 | "version": "4.0.6",
1126 | "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
1127 | "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs="
1128 | },
1129 | "lodash.isstring": {
1130 | "version": "4.0.1",
1131 | "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz",
1132 | "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE="
1133 | },
1134 | "lodash.once": {
1135 | "version": "4.1.1",
1136 | "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz",
1137 | "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w="
1138 | },
1139 | "lowercase-keys": {
1140 | "version": "1.0.1",
1141 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
1142 | "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
1143 | },
1144 | "make-dir": {
1145 | "version": "3.1.0",
1146 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
1147 | "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
1148 | "requires": {
1149 | "semver": "^6.0.0"
1150 | },
1151 | "dependencies": {
1152 | "semver": {
1153 | "version": "6.3.0",
1154 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
1155 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
1156 | }
1157 | }
1158 | },
1159 | "media-typer": {
1160 | "version": "0.3.0",
1161 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
1162 | "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
1163 | },
1164 | "memory-pager": {
1165 | "version": "1.5.0",
1166 | "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz",
1167 | "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==",
1168 | "optional": true
1169 | },
1170 | "merge-descriptors": {
1171 | "version": "1.0.1",
1172 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
1173 | "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
1174 | },
1175 | "methods": {
1176 | "version": "1.1.2",
1177 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
1178 | "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
1179 | },
1180 | "mime": {
1181 | "version": "1.6.0",
1182 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
1183 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
1184 | },
1185 | "mime-db": {
1186 | "version": "1.44.0",
1187 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
1188 | "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg=="
1189 | },
1190 | "mime-types": {
1191 | "version": "2.1.27",
1192 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
1193 | "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
1194 | "requires": {
1195 | "mime-db": "1.44.0"
1196 | }
1197 | },
1198 | "mimic-response": {
1199 | "version": "1.0.1",
1200 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
1201 | "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ=="
1202 | },
1203 | "minimatch": {
1204 | "version": "3.0.4",
1205 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
1206 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
1207 | "requires": {
1208 | "brace-expansion": "^1.1.7"
1209 | }
1210 | },
1211 | "minimist": {
1212 | "version": "1.2.5",
1213 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
1214 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
1215 | },
1216 | "minipass": {
1217 | "version": "2.9.0",
1218 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz",
1219 | "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==",
1220 | "requires": {
1221 | "safe-buffer": "^5.1.2",
1222 | "yallist": "^3.0.0"
1223 | }
1224 | },
1225 | "minizlib": {
1226 | "version": "1.3.3",
1227 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz",
1228 | "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==",
1229 | "requires": {
1230 | "minipass": "^2.9.0"
1231 | }
1232 | },
1233 | "mkdirp": {
1234 | "version": "0.5.5",
1235 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
1236 | "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
1237 | "requires": {
1238 | "minimist": "^1.2.5"
1239 | }
1240 | },
1241 | "mongodb": {
1242 | "version": "3.6.3",
1243 | "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.3.tgz",
1244 | "integrity": "sha512-rOZuR0QkodZiM+UbQE5kDsJykBqWi0CL4Ec2i1nrGrUI3KO11r6Fbxskqmq3JK2NH7aW4dcccBuUujAP0ERl5w==",
1245 | "requires": {
1246 | "bl": "^2.2.1",
1247 | "bson": "^1.1.4",
1248 | "denque": "^1.4.1",
1249 | "require_optional": "^1.0.1",
1250 | "safe-buffer": "^5.1.2",
1251 | "saslprep": "^1.0.0"
1252 | }
1253 | },
1254 | "mongoose": {
1255 | "version": "5.10.17",
1256 | "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.10.17.tgz",
1257 | "integrity": "sha512-B7kcEaXbgdTQiloKfr9qQMdo5WOrTKEqIoWY9RWiMMAvbn+8n/vBjBKIH9wc/U+8Y4SIvfRf6kenfWbjLVe2YA==",
1258 | "requires": {
1259 | "bson": "^1.1.4",
1260 | "kareem": "2.3.1",
1261 | "mongodb": "3.6.3",
1262 | "mongoose-legacy-pluralize": "1.0.2",
1263 | "mpath": "0.7.0",
1264 | "mquery": "3.2.2",
1265 | "ms": "2.1.2",
1266 | "regexp-clone": "1.0.0",
1267 | "safe-buffer": "5.2.1",
1268 | "sift": "7.0.1",
1269 | "sliced": "1.0.1"
1270 | },
1271 | "dependencies": {
1272 | "ms": {
1273 | "version": "2.1.2",
1274 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
1275 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
1276 | },
1277 | "safe-buffer": {
1278 | "version": "5.2.1",
1279 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
1280 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
1281 | }
1282 | }
1283 | },
1284 | "mongoose-legacy-pluralize": {
1285 | "version": "1.0.2",
1286 | "resolved": "https://registry.npmjs.org/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz",
1287 | "integrity": "sha512-Yo/7qQU4/EyIS8YDFSeenIvXxZN+ld7YdV9LqFVQJzTLye8unujAWPZ4NWKfFA+RNjh+wvTWKY9Z3E5XM6ZZiQ=="
1288 | },
1289 | "mpath": {
1290 | "version": "0.7.0",
1291 | "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.7.0.tgz",
1292 | "integrity": "sha512-Aiq04hILxhz1L+f7sjGyn7IxYzWm1zLNNXcfhDtx04kZ2Gk7uvFdgZ8ts1cWa/6d0TQmag2yR8zSGZUmp0tFNg=="
1293 | },
1294 | "mquery": {
1295 | "version": "3.2.2",
1296 | "resolved": "https://registry.npmjs.org/mquery/-/mquery-3.2.2.tgz",
1297 | "integrity": "sha512-XB52992COp0KP230I3qloVUbkLUxJIu328HBP2t2EsxSFtf4W1HPSOBWOXf1bqxK4Xbb66lfMJ+Bpfd9/yZE1Q==",
1298 | "requires": {
1299 | "bluebird": "3.5.1",
1300 | "debug": "3.1.0",
1301 | "regexp-clone": "^1.0.0",
1302 | "safe-buffer": "5.1.2",
1303 | "sliced": "1.0.1"
1304 | },
1305 | "dependencies": {
1306 | "debug": {
1307 | "version": "3.1.0",
1308 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
1309 | "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
1310 | "requires": {
1311 | "ms": "2.0.0"
1312 | }
1313 | }
1314 | }
1315 | },
1316 | "ms": {
1317 | "version": "2.0.0",
1318 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
1319 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
1320 | },
1321 | "needle": {
1322 | "version": "2.5.2",
1323 | "resolved": "https://registry.npmjs.org/needle/-/needle-2.5.2.tgz",
1324 | "integrity": "sha512-LbRIwS9BfkPvNwNHlsA41Q29kL2L/6VaOJ0qisM5lLWsTV3nP15abO5ITL6L81zqFhzjRKDAYjpcBcwM0AVvLQ==",
1325 | "requires": {
1326 | "debug": "^3.2.6",
1327 | "iconv-lite": "^0.4.4",
1328 | "sax": "^1.2.4"
1329 | },
1330 | "dependencies": {
1331 | "debug": {
1332 | "version": "3.2.7",
1333 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
1334 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
1335 | "requires": {
1336 | "ms": "^2.1.1"
1337 | }
1338 | },
1339 | "ms": {
1340 | "version": "2.1.3",
1341 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
1342 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
1343 | }
1344 | }
1345 | },
1346 | "negotiator": {
1347 | "version": "0.6.2",
1348 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
1349 | "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="
1350 | },
1351 | "node-addon-api": {
1352 | "version": "3.0.2",
1353 | "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.0.2.tgz",
1354 | "integrity": "sha512-+D4s2HCnxPd5PjjI0STKwncjXTUKKqm74MDMz9OPXavjsGmjkvwgLtA5yoxJUdmpj52+2u+RrXgPipahKczMKg=="
1355 | },
1356 | "node-pre-gyp": {
1357 | "version": "0.15.0",
1358 | "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.15.0.tgz",
1359 | "integrity": "sha512-7QcZa8/fpaU/BKenjcaeFF9hLz2+7S9AqyXFhlH/rilsQ/hPZKK32RtR5EQHJElgu+q5RfbJ34KriI79UWaorA==",
1360 | "requires": {
1361 | "detect-libc": "^1.0.2",
1362 | "mkdirp": "^0.5.3",
1363 | "needle": "^2.5.0",
1364 | "nopt": "^4.0.1",
1365 | "npm-packlist": "^1.1.6",
1366 | "npmlog": "^4.0.2",
1367 | "rc": "^1.2.7",
1368 | "rimraf": "^2.6.1",
1369 | "semver": "^5.3.0",
1370 | "tar": "^4.4.2"
1371 | },
1372 | "dependencies": {
1373 | "nopt": {
1374 | "version": "4.0.3",
1375 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz",
1376 | "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==",
1377 | "requires": {
1378 | "abbrev": "1",
1379 | "osenv": "^0.1.4"
1380 | }
1381 | }
1382 | }
1383 | },
1384 | "node-status-codes": {
1385 | "version": "1.0.0",
1386 | "resolved": "https://registry.npmjs.org/node-status-codes/-/node-status-codes-1.0.0.tgz",
1387 | "integrity": "sha1-WuVUHQJGRdMqWPzdyc7s6nrjrC8="
1388 | },
1389 | "nodemon": {
1390 | "version": "2.0.6",
1391 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.6.tgz",
1392 | "integrity": "sha512-4I3YDSKXg6ltYpcnZeHompqac4E6JeAMpGm8tJnB9Y3T0ehasLa4139dJOcCrB93HHrUMsCrKtoAlXTqT5n4AQ==",
1393 | "requires": {
1394 | "chokidar": "^3.2.2",
1395 | "debug": "^3.2.6",
1396 | "ignore-by-default": "^1.0.1",
1397 | "minimatch": "^3.0.4",
1398 | "pstree.remy": "^1.1.7",
1399 | "semver": "^5.7.1",
1400 | "supports-color": "^5.5.0",
1401 | "touch": "^3.1.0",
1402 | "undefsafe": "^2.0.3",
1403 | "update-notifier": "^4.1.0"
1404 | },
1405 | "dependencies": {
1406 | "debug": {
1407 | "version": "3.2.7",
1408 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
1409 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
1410 | "requires": {
1411 | "ms": "^2.1.1"
1412 | }
1413 | },
1414 | "ms": {
1415 | "version": "2.1.2",
1416 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
1417 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
1418 | }
1419 | }
1420 | },
1421 | "noop6": {
1422 | "version": "1.0.9",
1423 | "resolved": "https://registry.npmjs.org/noop6/-/noop6-1.0.9.tgz",
1424 | "integrity": "sha512-DB3Hwyd89dPr5HqEPg3YHjzvwh/mCqizC1zZ8vyofqc+TQRyPDnT4wgXXbLGF4z9YAzwwTLi8pNLhGqcbSjgkA=="
1425 | },
1426 | "nopt": {
1427 | "version": "1.0.10",
1428 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz",
1429 | "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=",
1430 | "requires": {
1431 | "abbrev": "1"
1432 | }
1433 | },
1434 | "normalize-package-data": {
1435 | "version": "2.5.0",
1436 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
1437 | "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
1438 | "requires": {
1439 | "hosted-git-info": "^2.1.4",
1440 | "resolve": "^1.10.0",
1441 | "semver": "2 || 3 || 4 || 5",
1442 | "validate-npm-package-license": "^3.0.1"
1443 | }
1444 | },
1445 | "normalize-path": {
1446 | "version": "3.0.0",
1447 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
1448 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="
1449 | },
1450 | "normalize-url": {
1451 | "version": "4.5.0",
1452 | "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
1453 | "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ=="
1454 | },
1455 | "npm-bundled": {
1456 | "version": "1.1.1",
1457 | "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz",
1458 | "integrity": "sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA==",
1459 | "requires": {
1460 | "npm-normalize-package-bin": "^1.0.1"
1461 | }
1462 | },
1463 | "npm-normalize-package-bin": {
1464 | "version": "1.0.1",
1465 | "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz",
1466 | "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA=="
1467 | },
1468 | "npm-packlist": {
1469 | "version": "1.4.8",
1470 | "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.8.tgz",
1471 | "integrity": "sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==",
1472 | "requires": {
1473 | "ignore-walk": "^3.0.1",
1474 | "npm-bundled": "^1.0.1",
1475 | "npm-normalize-package-bin": "^1.0.1"
1476 | }
1477 | },
1478 | "npmlog": {
1479 | "version": "4.1.2",
1480 | "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
1481 | "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
1482 | "requires": {
1483 | "are-we-there-yet": "~1.1.2",
1484 | "console-control-strings": "~1.1.0",
1485 | "gauge": "~2.7.3",
1486 | "set-blocking": "~2.0.0"
1487 | }
1488 | },
1489 | "number-is-nan": {
1490 | "version": "1.0.1",
1491 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
1492 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0="
1493 | },
1494 | "oargv": {
1495 | "version": "3.4.10",
1496 | "resolved": "https://registry.npmjs.org/oargv/-/oargv-3.4.10.tgz",
1497 | "integrity": "sha512-SXaMANv9sr7S/dP0vj0+Ybipa47UE1ntTWQ2rpPRhC6Bsvfl+Jg03Xif7jfL0sWKOYWK8oPjcZ5eJ82t8AP/8g==",
1498 | "requires": {
1499 | "iterate-object": "^1.1.0",
1500 | "ul": "^5.0.0"
1501 | }
1502 | },
1503 | "obj-def": {
1504 | "version": "1.0.8",
1505 | "resolved": "https://registry.npmjs.org/obj-def/-/obj-def-1.0.8.tgz",
1506 | "integrity": "sha512-tU8EVxli5fm0BhPjoHoiyKieZBfUYbkxHQatVEyoYkd1oFQdwDx8qMRG2bTcFq1bJi4laE+xJvk6uTKnrxNK3g==",
1507 | "requires": {
1508 | "deffy": "^2.2.2"
1509 | }
1510 | },
1511 | "object-assign": {
1512 | "version": "4.1.1",
1513 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
1514 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
1515 | },
1516 | "on-finished": {
1517 | "version": "2.3.0",
1518 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
1519 | "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
1520 | "requires": {
1521 | "ee-first": "1.1.1"
1522 | }
1523 | },
1524 | "once": {
1525 | "version": "1.4.0",
1526 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
1527 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
1528 | "requires": {
1529 | "wrappy": "1"
1530 | }
1531 | },
1532 | "one-by-one": {
1533 | "version": "3.2.8",
1534 | "resolved": "https://registry.npmjs.org/one-by-one/-/one-by-one-3.2.8.tgz",
1535 | "integrity": "sha512-HR/pSzZdm46Xqj58K+Bu64kMbSTw8/u77AwWvV+rprO/OsuR++pPlkUJn+SmwqBGRgHKwSKQ974V3uls7crIeQ==",
1536 | "requires": {
1537 | "obj-def": "^1.0.0",
1538 | "sliced": "^1.0.1"
1539 | }
1540 | },
1541 | "os-homedir": {
1542 | "version": "1.0.2",
1543 | "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
1544 | "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
1545 | },
1546 | "os-tmpdir": {
1547 | "version": "1.0.2",
1548 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
1549 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ="
1550 | },
1551 | "osenv": {
1552 | "version": "0.1.5",
1553 | "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
1554 | "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
1555 | "requires": {
1556 | "os-homedir": "^1.0.0",
1557 | "os-tmpdir": "^1.0.0"
1558 | }
1559 | },
1560 | "p-cancelable": {
1561 | "version": "1.1.0",
1562 | "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
1563 | "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
1564 | },
1565 | "package-json": {
1566 | "version": "6.5.0",
1567 | "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz",
1568 | "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==",
1569 | "requires": {
1570 | "got": "^9.6.0",
1571 | "registry-auth-token": "^4.0.0",
1572 | "registry-url": "^5.0.0",
1573 | "semver": "^6.2.0"
1574 | },
1575 | "dependencies": {
1576 | "semver": {
1577 | "version": "6.3.0",
1578 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
1579 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
1580 | }
1581 | }
1582 | },
1583 | "package-json-path": {
1584 | "version": "1.0.9",
1585 | "resolved": "https://registry.npmjs.org/package-json-path/-/package-json-path-1.0.9.tgz",
1586 | "integrity": "sha512-uNu7f6Ef7tQHZRnkyVnCtzdSYVN9uBtge/sG7wzcUaawFWkPYUq67iXxRGrQSg/q0tzxIB8jSyIYUKjG2Jn//A==",
1587 | "requires": {
1588 | "abs": "^1.2.1"
1589 | }
1590 | },
1591 | "package.json": {
1592 | "version": "2.0.1",
1593 | "resolved": "https://registry.npmjs.org/package.json/-/package.json-2.0.1.tgz",
1594 | "integrity": "sha1-+IYFnSpJ7QduZIg2ldc7K0bSHW0=",
1595 | "requires": {
1596 | "git-package-json": "^1.4.0",
1597 | "git-source": "^1.1.0",
1598 | "package-json": "^2.3.1"
1599 | },
1600 | "dependencies": {
1601 | "got": {
1602 | "version": "5.7.1",
1603 | "resolved": "https://registry.npmjs.org/got/-/got-5.7.1.tgz",
1604 | "integrity": "sha1-X4FjWmHkplifGAVp6k44FoClHzU=",
1605 | "requires": {
1606 | "create-error-class": "^3.0.1",
1607 | "duplexer2": "^0.1.4",
1608 | "is-redirect": "^1.0.0",
1609 | "is-retry-allowed": "^1.0.0",
1610 | "is-stream": "^1.0.0",
1611 | "lowercase-keys": "^1.0.0",
1612 | "node-status-codes": "^1.0.0",
1613 | "object-assign": "^4.0.1",
1614 | "parse-json": "^2.1.0",
1615 | "pinkie-promise": "^2.0.0",
1616 | "read-all-stream": "^3.0.0",
1617 | "readable-stream": "^2.0.5",
1618 | "timed-out": "^3.0.0",
1619 | "unzip-response": "^1.0.2",
1620 | "url-parse-lax": "^1.0.0"
1621 | }
1622 | },
1623 | "package-json": {
1624 | "version": "2.4.0",
1625 | "resolved": "https://registry.npmjs.org/package-json/-/package-json-2.4.0.tgz",
1626 | "integrity": "sha1-DRW9Z9HLvduyyiIv8u24a8sxqLs=",
1627 | "requires": {
1628 | "got": "^5.0.0",
1629 | "registry-auth-token": "^3.0.1",
1630 | "registry-url": "^3.0.3",
1631 | "semver": "^5.1.0"
1632 | }
1633 | },
1634 | "prepend-http": {
1635 | "version": "1.0.4",
1636 | "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",
1637 | "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw="
1638 | },
1639 | "registry-auth-token": {
1640 | "version": "3.4.0",
1641 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.4.0.tgz",
1642 | "integrity": "sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A==",
1643 | "requires": {
1644 | "rc": "^1.1.6",
1645 | "safe-buffer": "^5.0.1"
1646 | }
1647 | },
1648 | "registry-url": {
1649 | "version": "3.1.0",
1650 | "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz",
1651 | "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=",
1652 | "requires": {
1653 | "rc": "^1.0.1"
1654 | }
1655 | },
1656 | "url-parse-lax": {
1657 | "version": "1.0.0",
1658 | "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz",
1659 | "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=",
1660 | "requires": {
1661 | "prepend-http": "^1.0.1"
1662 | }
1663 | }
1664 | }
1665 | },
1666 | "parse-json": {
1667 | "version": "2.2.0",
1668 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
1669 | "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
1670 | "requires": {
1671 | "error-ex": "^1.2.0"
1672 | }
1673 | },
1674 | "parse-url": {
1675 | "version": "1.3.11",
1676 | "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-1.3.11.tgz",
1677 | "integrity": "sha1-V8FUKKuKiSsfQ4aWRccR0OFEtVQ=",
1678 | "requires": {
1679 | "is-ssh": "^1.3.0",
1680 | "protocols": "^1.4.0"
1681 | }
1682 | },
1683 | "parseurl": {
1684 | "version": "1.3.3",
1685 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
1686 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
1687 | },
1688 | "path-is-absolute": {
1689 | "version": "1.0.1",
1690 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
1691 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
1692 | },
1693 | "path-parse": {
1694 | "version": "1.0.6",
1695 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
1696 | "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
1697 | },
1698 | "path-to-regexp": {
1699 | "version": "0.1.7",
1700 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
1701 | "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
1702 | },
1703 | "picomatch": {
1704 | "version": "2.2.2",
1705 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
1706 | "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg=="
1707 | },
1708 | "pinkie": {
1709 | "version": "2.0.4",
1710 | "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
1711 | "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA="
1712 | },
1713 | "pinkie-promise": {
1714 | "version": "2.0.1",
1715 | "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
1716 | "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
1717 | "requires": {
1718 | "pinkie": "^2.0.0"
1719 | }
1720 | },
1721 | "prepend-http": {
1722 | "version": "2.0.0",
1723 | "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
1724 | "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc="
1725 | },
1726 | "process-nextick-args": {
1727 | "version": "2.0.1",
1728 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
1729 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
1730 | },
1731 | "protocols": {
1732 | "version": "1.4.8",
1733 | "resolved": "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz",
1734 | "integrity": "sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg=="
1735 | },
1736 | "proxy-addr": {
1737 | "version": "2.0.6",
1738 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
1739 | "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==",
1740 | "requires": {
1741 | "forwarded": "~0.1.2",
1742 | "ipaddr.js": "1.9.1"
1743 | }
1744 | },
1745 | "pstree.remy": {
1746 | "version": "1.1.8",
1747 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz",
1748 | "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w=="
1749 | },
1750 | "pump": {
1751 | "version": "3.0.0",
1752 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
1753 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
1754 | "requires": {
1755 | "end-of-stream": "^1.1.0",
1756 | "once": "^1.3.1"
1757 | }
1758 | },
1759 | "pupa": {
1760 | "version": "2.1.1",
1761 | "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz",
1762 | "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==",
1763 | "requires": {
1764 | "escape-goat": "^2.0.0"
1765 | }
1766 | },
1767 | "qs": {
1768 | "version": "6.7.0",
1769 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
1770 | "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ=="
1771 | },
1772 | "r-json": {
1773 | "version": "1.2.10",
1774 | "resolved": "https://registry.npmjs.org/r-json/-/r-json-1.2.10.tgz",
1775 | "integrity": "sha512-hu9vyLjSlHXT62NAS7DjI9WazDlvjN0lgp3n431dCVnirVcLkZIpzSwA3orhZEKzdDD2jqNYI+w0yG0aFf4kpA=="
1776 | },
1777 | "r-package-json": {
1778 | "version": "1.0.9",
1779 | "resolved": "https://registry.npmjs.org/r-package-json/-/r-package-json-1.0.9.tgz",
1780 | "integrity": "sha512-G4Vpf1KImWmmPFGdtWQTU0L9zk0SjqEC4qs/jE7AQ+Ylmr5kizMzGeC4wnHp5+ijPqNN+2ZPpvyjVNdN1CDVcg==",
1781 | "requires": {
1782 | "package-json-path": "^1.0.0",
1783 | "r-json": "^1.2.1"
1784 | }
1785 | },
1786 | "range-parser": {
1787 | "version": "1.2.1",
1788 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
1789 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
1790 | },
1791 | "raw-body": {
1792 | "version": "2.4.0",
1793 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
1794 | "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
1795 | "requires": {
1796 | "bytes": "3.1.0",
1797 | "http-errors": "1.7.2",
1798 | "iconv-lite": "0.4.24",
1799 | "unpipe": "1.0.0"
1800 | }
1801 | },
1802 | "rc": {
1803 | "version": "1.2.8",
1804 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
1805 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
1806 | "requires": {
1807 | "deep-extend": "^0.6.0",
1808 | "ini": "~1.3.0",
1809 | "minimist": "^1.2.0",
1810 | "strip-json-comments": "~2.0.1"
1811 | }
1812 | },
1813 | "read-all-stream": {
1814 | "version": "3.1.0",
1815 | "resolved": "https://registry.npmjs.org/read-all-stream/-/read-all-stream-3.1.0.tgz",
1816 | "integrity": "sha1-NcPhd/IHjveJ7kv6+kNzB06u9Po=",
1817 | "requires": {
1818 | "pinkie-promise": "^2.0.0",
1819 | "readable-stream": "^2.0.0"
1820 | }
1821 | },
1822 | "readable-stream": {
1823 | "version": "2.3.7",
1824 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
1825 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
1826 | "requires": {
1827 | "core-util-is": "~1.0.0",
1828 | "inherits": "~2.0.3",
1829 | "isarray": "~1.0.0",
1830 | "process-nextick-args": "~2.0.0",
1831 | "safe-buffer": "~5.1.1",
1832 | "string_decoder": "~1.1.1",
1833 | "util-deprecate": "~1.0.1"
1834 | }
1835 | },
1836 | "readdirp": {
1837 | "version": "3.5.0",
1838 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz",
1839 | "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==",
1840 | "requires": {
1841 | "picomatch": "^2.2.1"
1842 | }
1843 | },
1844 | "regexp-clone": {
1845 | "version": "1.0.0",
1846 | "resolved": "https://registry.npmjs.org/regexp-clone/-/regexp-clone-1.0.0.tgz",
1847 | "integrity": "sha512-TuAasHQNamyyJ2hb97IuBEif4qBHGjPHBS64sZwytpLEqtBQ1gPJTnOaQ6qmpET16cK14kkjbazl6+p0RRv0yw=="
1848 | },
1849 | "registry-auth-token": {
1850 | "version": "4.2.1",
1851 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz",
1852 | "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==",
1853 | "requires": {
1854 | "rc": "^1.2.8"
1855 | }
1856 | },
1857 | "registry-url": {
1858 | "version": "5.1.0",
1859 | "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz",
1860 | "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==",
1861 | "requires": {
1862 | "rc": "^1.2.8"
1863 | }
1864 | },
1865 | "require_optional": {
1866 | "version": "1.0.1",
1867 | "resolved": "https://registry.npmjs.org/require_optional/-/require_optional-1.0.1.tgz",
1868 | "integrity": "sha512-qhM/y57enGWHAe3v/NcwML6a3/vfESLe/sGM2dII+gEO0BpKRUkWZow/tyloNqJyN6kXSl3RyyM8Ll5D/sJP8g==",
1869 | "requires": {
1870 | "resolve-from": "^2.0.0",
1871 | "semver": "^5.1.0"
1872 | }
1873 | },
1874 | "resolve": {
1875 | "version": "1.19.0",
1876 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz",
1877 | "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==",
1878 | "requires": {
1879 | "is-core-module": "^2.1.0",
1880 | "path-parse": "^1.0.6"
1881 | }
1882 | },
1883 | "resolve-from": {
1884 | "version": "2.0.0",
1885 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz",
1886 | "integrity": "sha1-lICrIOlP+h2egKgEx+oUdhGWa1c="
1887 | },
1888 | "responselike": {
1889 | "version": "1.0.2",
1890 | "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
1891 | "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",
1892 | "requires": {
1893 | "lowercase-keys": "^1.0.0"
1894 | }
1895 | },
1896 | "rimraf": {
1897 | "version": "2.7.1",
1898 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
1899 | "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
1900 | "requires": {
1901 | "glob": "^7.1.3"
1902 | }
1903 | },
1904 | "safe-buffer": {
1905 | "version": "5.1.2",
1906 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
1907 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
1908 | },
1909 | "safer-buffer": {
1910 | "version": "2.1.2",
1911 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
1912 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
1913 | },
1914 | "saslprep": {
1915 | "version": "1.0.3",
1916 | "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz",
1917 | "integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==",
1918 | "optional": true,
1919 | "requires": {
1920 | "sparse-bitfield": "^3.0.3"
1921 | }
1922 | },
1923 | "sax": {
1924 | "version": "1.2.4",
1925 | "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
1926 | "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
1927 | },
1928 | "semver": {
1929 | "version": "5.7.1",
1930 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
1931 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
1932 | },
1933 | "semver-diff": {
1934 | "version": "3.1.1",
1935 | "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz",
1936 | "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==",
1937 | "requires": {
1938 | "semver": "^6.3.0"
1939 | },
1940 | "dependencies": {
1941 | "semver": {
1942 | "version": "6.3.0",
1943 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
1944 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
1945 | }
1946 | }
1947 | },
1948 | "send": {
1949 | "version": "0.17.1",
1950 | "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
1951 | "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
1952 | "requires": {
1953 | "debug": "2.6.9",
1954 | "depd": "~1.1.2",
1955 | "destroy": "~1.0.4",
1956 | "encodeurl": "~1.0.2",
1957 | "escape-html": "~1.0.3",
1958 | "etag": "~1.8.1",
1959 | "fresh": "0.5.2",
1960 | "http-errors": "~1.7.2",
1961 | "mime": "1.6.0",
1962 | "ms": "2.1.1",
1963 | "on-finished": "~2.3.0",
1964 | "range-parser": "~1.2.1",
1965 | "statuses": "~1.5.0"
1966 | },
1967 | "dependencies": {
1968 | "ms": {
1969 | "version": "2.1.1",
1970 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
1971 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
1972 | }
1973 | }
1974 | },
1975 | "serve-static": {
1976 | "version": "1.14.1",
1977 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
1978 | "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
1979 | "requires": {
1980 | "encodeurl": "~1.0.2",
1981 | "escape-html": "~1.0.3",
1982 | "parseurl": "~1.3.3",
1983 | "send": "0.17.1"
1984 | }
1985 | },
1986 | "set-blocking": {
1987 | "version": "2.0.0",
1988 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
1989 | "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="
1990 | },
1991 | "setprototypeof": {
1992 | "version": "1.1.1",
1993 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
1994 | "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="
1995 | },
1996 | "sift": {
1997 | "version": "7.0.1",
1998 | "resolved": "https://registry.npmjs.org/sift/-/sift-7.0.1.tgz",
1999 | "integrity": "sha512-oqD7PMJ+uO6jV9EQCl0LrRw1OwsiPsiFQR5AR30heR+4Dl7jBBbDLnNvWiak20tzZlSE1H7RB30SX/1j/YYT7g=="
2000 | },
2001 | "signal-exit": {
2002 | "version": "3.0.3",
2003 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",
2004 | "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA=="
2005 | },
2006 | "sliced": {
2007 | "version": "1.0.1",
2008 | "resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz",
2009 | "integrity": "sha1-CzpmK10Ewxd7GSa+qCsD+Dei70E="
2010 | },
2011 | "sparse-bitfield": {
2012 | "version": "3.0.3",
2013 | "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz",
2014 | "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=",
2015 | "optional": true,
2016 | "requires": {
2017 | "memory-pager": "^1.0.2"
2018 | }
2019 | },
2020 | "spdx-correct": {
2021 | "version": "3.1.1",
2022 | "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz",
2023 | "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==",
2024 | "requires": {
2025 | "spdx-expression-parse": "^3.0.0",
2026 | "spdx-license-ids": "^3.0.0"
2027 | }
2028 | },
2029 | "spdx-exceptions": {
2030 | "version": "2.3.0",
2031 | "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz",
2032 | "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A=="
2033 | },
2034 | "spdx-expression-parse": {
2035 | "version": "3.0.1",
2036 | "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
2037 | "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
2038 | "requires": {
2039 | "spdx-exceptions": "^2.1.0",
2040 | "spdx-license-ids": "^3.0.0"
2041 | }
2042 | },
2043 | "spdx-license-ids": {
2044 | "version": "3.0.7",
2045 | "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz",
2046 | "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ=="
2047 | },
2048 | "statuses": {
2049 | "version": "1.5.0",
2050 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
2051 | "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow="
2052 | },
2053 | "string-width": {
2054 | "version": "4.2.0",
2055 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
2056 | "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
2057 | "requires": {
2058 | "emoji-regex": "^8.0.0",
2059 | "is-fullwidth-code-point": "^3.0.0",
2060 | "strip-ansi": "^6.0.0"
2061 | },
2062 | "dependencies": {
2063 | "ansi-regex": {
2064 | "version": "5.0.0",
2065 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
2066 | "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg=="
2067 | },
2068 | "emoji-regex": {
2069 | "version": "8.0.0",
2070 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
2071 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
2072 | },
2073 | "is-fullwidth-code-point": {
2074 | "version": "3.0.0",
2075 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
2076 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
2077 | },
2078 | "strip-ansi": {
2079 | "version": "6.0.0",
2080 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
2081 | "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
2082 | "requires": {
2083 | "ansi-regex": "^5.0.0"
2084 | }
2085 | }
2086 | }
2087 | },
2088 | "string_decoder": {
2089 | "version": "1.1.1",
2090 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
2091 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
2092 | "requires": {
2093 | "safe-buffer": "~5.1.0"
2094 | }
2095 | },
2096 | "strip-ansi": {
2097 | "version": "5.2.0",
2098 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
2099 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
2100 | "requires": {
2101 | "ansi-regex": "^4.1.0"
2102 | }
2103 | },
2104 | "strip-json-comments": {
2105 | "version": "2.0.1",
2106 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
2107 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo="
2108 | },
2109 | "supports-color": {
2110 | "version": "5.5.0",
2111 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
2112 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
2113 | "requires": {
2114 | "has-flag": "^3.0.0"
2115 | }
2116 | },
2117 | "tar": {
2118 | "version": "4.4.13",
2119 | "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz",
2120 | "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==",
2121 | "requires": {
2122 | "chownr": "^1.1.1",
2123 | "fs-minipass": "^1.2.5",
2124 | "minipass": "^2.8.6",
2125 | "minizlib": "^1.2.1",
2126 | "mkdirp": "^0.5.0",
2127 | "safe-buffer": "^5.1.2",
2128 | "yallist": "^3.0.3"
2129 | }
2130 | },
2131 | "term-size": {
2132 | "version": "2.2.1",
2133 | "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz",
2134 | "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg=="
2135 | },
2136 | "timed-out": {
2137 | "version": "3.1.3",
2138 | "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-3.1.3.tgz",
2139 | "integrity": "sha1-lYYL/MXHbCd/j4Mm/Q9bLiDrohc="
2140 | },
2141 | "tmp": {
2142 | "version": "0.0.28",
2143 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.28.tgz",
2144 | "integrity": "sha1-Fyc1t/YU6nrzlmT6hM8N5OUV0SA=",
2145 | "requires": {
2146 | "os-tmpdir": "~1.0.1"
2147 | }
2148 | },
2149 | "to-readable-stream": {
2150 | "version": "1.0.0",
2151 | "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
2152 | "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q=="
2153 | },
2154 | "to-regex-range": {
2155 | "version": "5.0.1",
2156 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
2157 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
2158 | "requires": {
2159 | "is-number": "^7.0.0"
2160 | }
2161 | },
2162 | "toidentifier": {
2163 | "version": "1.0.0",
2164 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
2165 | "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="
2166 | },
2167 | "touch": {
2168 | "version": "3.1.0",
2169 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz",
2170 | "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==",
2171 | "requires": {
2172 | "nopt": "~1.0.10"
2173 | }
2174 | },
2175 | "type-fest": {
2176 | "version": "0.8.1",
2177 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
2178 | "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA=="
2179 | },
2180 | "type-is": {
2181 | "version": "1.6.18",
2182 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
2183 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
2184 | "requires": {
2185 | "media-typer": "0.3.0",
2186 | "mime-types": "~2.1.24"
2187 | }
2188 | },
2189 | "typedarray-to-buffer": {
2190 | "version": "3.1.5",
2191 | "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
2192 | "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",
2193 | "requires": {
2194 | "is-typedarray": "^1.0.0"
2195 | }
2196 | },
2197 | "typpy": {
2198 | "version": "2.3.12",
2199 | "resolved": "https://registry.npmjs.org/typpy/-/typpy-2.3.12.tgz",
2200 | "integrity": "sha512-VginyZYxadNyFnB763lvFGNUqsIRtJt2V33pLfdnjRreObbKaxexUC+39EVb3MavWU9ggekvT1ojEU0kvtumfA==",
2201 | "requires": {
2202 | "function.name": "^1.0.3"
2203 | }
2204 | },
2205 | "ul": {
2206 | "version": "5.2.15",
2207 | "resolved": "https://registry.npmjs.org/ul/-/ul-5.2.15.tgz",
2208 | "integrity": "sha512-svLEUy8xSCip5IWnsRa0UOg+2zP0Wsj4qlbjTmX6GJSmvKMHADBuHOm1dpNkWqWPIGuVSqzUkV3Cris5JrlTRQ==",
2209 | "requires": {
2210 | "deffy": "^2.2.2",
2211 | "typpy": "^2.3.4"
2212 | }
2213 | },
2214 | "undefsafe": {
2215 | "version": "2.0.3",
2216 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.3.tgz",
2217 | "integrity": "sha512-nrXZwwXrD/T/JXeygJqdCO6NZZ1L66HrxM/Z7mIq2oPanoN0F1nLx3lwJMu6AwJY69hdixaFQOuoYsMjE5/C2A==",
2218 | "requires": {
2219 | "debug": "^2.2.0"
2220 | }
2221 | },
2222 | "unique-string": {
2223 | "version": "2.0.0",
2224 | "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz",
2225 | "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==",
2226 | "requires": {
2227 | "crypto-random-string": "^2.0.0"
2228 | }
2229 | },
2230 | "unpipe": {
2231 | "version": "1.0.0",
2232 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
2233 | "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
2234 | },
2235 | "unzip-response": {
2236 | "version": "1.0.2",
2237 | "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-1.0.2.tgz",
2238 | "integrity": "sha1-uYTwh3/AqJwsdzzB73tbIytbBv4="
2239 | },
2240 | "update-notifier": {
2241 | "version": "4.1.3",
2242 | "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz",
2243 | "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==",
2244 | "requires": {
2245 | "boxen": "^4.2.0",
2246 | "chalk": "^3.0.0",
2247 | "configstore": "^5.0.1",
2248 | "has-yarn": "^2.1.0",
2249 | "import-lazy": "^2.1.0",
2250 | "is-ci": "^2.0.0",
2251 | "is-installed-globally": "^0.3.1",
2252 | "is-npm": "^4.0.0",
2253 | "is-yarn-global": "^0.3.0",
2254 | "latest-version": "^5.0.0",
2255 | "pupa": "^2.0.1",
2256 | "semver-diff": "^3.1.1",
2257 | "xdg-basedir": "^4.0.0"
2258 | }
2259 | },
2260 | "url-parse-lax": {
2261 | "version": "3.0.0",
2262 | "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
2263 | "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",
2264 | "requires": {
2265 | "prepend-http": "^2.0.0"
2266 | }
2267 | },
2268 | "util-deprecate": {
2269 | "version": "1.0.2",
2270 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
2271 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
2272 | },
2273 | "utils-merge": {
2274 | "version": "1.0.1",
2275 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
2276 | "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
2277 | },
2278 | "validate-npm-package-license": {
2279 | "version": "3.0.4",
2280 | "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
2281 | "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
2282 | "requires": {
2283 | "spdx-correct": "^3.0.0",
2284 | "spdx-expression-parse": "^3.0.0"
2285 | }
2286 | },
2287 | "vary": {
2288 | "version": "1.1.2",
2289 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
2290 | "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
2291 | },
2292 | "wide-align": {
2293 | "version": "1.1.3",
2294 | "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",
2295 | "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
2296 | "requires": {
2297 | "string-width": "^1.0.2 || 2"
2298 | },
2299 | "dependencies": {
2300 | "ansi-regex": {
2301 | "version": "3.0.0",
2302 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
2303 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg="
2304 | },
2305 | "string-width": {
2306 | "version": "2.1.1",
2307 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
2308 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
2309 | "requires": {
2310 | "is-fullwidth-code-point": "^2.0.0",
2311 | "strip-ansi": "^4.0.0"
2312 | }
2313 | },
2314 | "strip-ansi": {
2315 | "version": "4.0.0",
2316 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
2317 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
2318 | "requires": {
2319 | "ansi-regex": "^3.0.0"
2320 | }
2321 | }
2322 | }
2323 | },
2324 | "widest-line": {
2325 | "version": "3.1.0",
2326 | "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz",
2327 | "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==",
2328 | "requires": {
2329 | "string-width": "^4.0.0"
2330 | }
2331 | },
2332 | "wrappy": {
2333 | "version": "1.0.2",
2334 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
2335 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
2336 | },
2337 | "write-file-atomic": {
2338 | "version": "3.0.3",
2339 | "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz",
2340 | "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==",
2341 | "requires": {
2342 | "imurmurhash": "^0.1.4",
2343 | "is-typedarray": "^1.0.0",
2344 | "signal-exit": "^3.0.2",
2345 | "typedarray-to-buffer": "^3.1.5"
2346 | }
2347 | },
2348 | "xdg-basedir": {
2349 | "version": "4.0.0",
2350 | "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz",
2351 | "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q=="
2352 | },
2353 | "yallist": {
2354 | "version": "3.1.1",
2355 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
2356 | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="
2357 | }
2358 | }
2359 | }
2360 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "projeto-final-backend-reprograma",
3 | "version": "1.0.0",
4 | "description": "PetRide",
5 | "main": "server.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1",
8 | "start": "node server.js",
9 | "dev": "nodemon server.js"
10 | },
11 | "repository": {
12 | "type": "git",
13 | "url": "git+https://github.com/Audry-prog/projeto-final-backend-reprograma.git"
14 | },
15 | "author": "Audry Ávalos",
16 | "license": "ISC",
17 | "bugs": {
18 | "url": "https://github.com/Audry-prog/projeto-final-backend-reprograma/issues"
19 | },
20 | "homepage": "https://github.com/Audry-prog/projeto-final-backend-reprograma#readme",
21 | "devDependencies": {
22 | "express": "^4.17.1",
23 | "nodemon": "^2.0.6"
24 | },
25 | "dependencies": {
26 | "bcrypt": "^5.0.0",
27 | "body-parser": "^1.19.0",
28 | "dotenv-safe": "^8.2.0",
29 | "express": "^4.17.1",
30 | "jsonwebtoken": "^8.5.1",
31 | "mongoose": "^5.10.17 ",
32 | "nodemon": "^2.0.6",
33 | "package.json": "^2.0.1"
34 | },
35 | "engines": {
36 | "node": "v12.18.3"
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/server.js:
--------------------------------------------------------------------------------
1 | const app = require("./src/app");
2 | const port = 8080;
3 |
4 | app.listen(process.env.PORT || port, () => {
5 | console.log(`Servidor rodando na porta ${port}`)
6 | })
--------------------------------------------------------------------------------
/src/app.js:
--------------------------------------------------------------------------------
1 | require('dotenv-safe').config();
2 |
3 | const express = require('express');
4 | const bodyParser = require('body-parser');
5 | const mongoose = require('mongoose');
6 |
7 | const app = express();
8 |
9 | mongoose.connect(`${process.env.MONGODB_URL}`, {
10 | useNewUrlParser: true,
11 | useUnifiedTopology: true,
12 | });
13 |
14 | let db = mongoose.connection;
15 | db.on('error', console.log.bind(console, 'connection error:'));
16 | db.once('open', function () {
17 | console.log('Conexão realizada com sucesso.');
18 | });
19 |
20 | //rotas
21 | const index = require('./routes/index');
22 | const motoristas = require('./routes/motoristasRoute');
23 | const tutores = require('./routes/tutoresRoute');
24 |
25 | app.use(bodyParser.json());
26 |
27 | app.use(function (req, res, next) {
28 | res.header('Access-Control-Allow-Origin', '*');
29 | res.header('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept');
30 | next();
31 | });
32 |
33 | app.use('/', index);
34 | app.use('/motoristas', motoristas);
35 | app.use('/tutores', tutores);
36 |
37 | module.exports = app;
--------------------------------------------------------------------------------
/src/controllers/motoristasController.js:
--------------------------------------------------------------------------------
1 | const motoristas = require('../models/motoristas');
2 | const SECRET = process.env.SECRET;
3 | const jwt = require('jsonwebtoken');
4 |
5 | const getMotoristasByBairro = (req, res) => {
6 | const authHeader = req.get('authorization');
7 | if (!authHeader) {
8 | return res.status(401).send('Header não encontrado.');
9 | }
10 | const token = authHeader.split(' ')[1];
11 | jwt.verify(token, SECRET, function (err) {
12 | if (err) {
13 | return res.status(403).send('Token inválido.');
14 | }
15 | const bairro = req.query.bairro;
16 | motoristas.find({ bairros: bairro }, function (err, motoristas) {
17 | if (err) {
18 | res.status(500).send({ message: err.message });
19 | }
20 | res.status(200).send(motoristas);
21 | });
22 | });
23 | };
24 |
25 | const getMotoristasByCidade = (req, res) => {
26 | const authHeader = req.get('authorization');
27 | if (!authHeader) {
28 | return res.status(401).send('Header não encontrado.');
29 | }
30 | const token = authHeader.split(' ')[1];
31 | jwt.verify(token, SECRET, function (err) {
32 | if (err) {
33 | return res.status(403).send('Token inválido.');
34 | }
35 | const cidade = req.query.cidade;
36 | motoristas.find({ cidade: cidade }, function (err, motoristas) {
37 | if (err) {
38 | res.status(500).send({ message: err.message });
39 | }
40 | res.status(200).send(motoristas);
41 | });
42 | });
43 | };
44 |
45 | const getMotoristasByHorario = (req, res) => {
46 | const authHeader = req.get('authorization');
47 | if (!authHeader) {
48 | return res.status(401).send('Header não encontrado.');
49 | }
50 | const token = authHeader.split(' ')[1];
51 | jwt.verify(token, SECRET, function (err) {
52 | if (err) {
53 | return res.status(403).send('Token inválido.');
54 | }
55 | const horario = req.query.horario;
56 | motoristas.find({ horarios: horario }, function (err, motoristas) {
57 | if (err) {
58 | res.status(500).send({ message: err.message });
59 | }
60 | res.status(200).send(motoristas);
61 | });
62 | });
63 | };
64 |
65 | const getAll = (req, res) => {
66 | const authHeader = req.get('authorization');
67 | if (!authHeader) {
68 | return res.status(401).send('Header não encontrado.');
69 | }
70 | const token = authHeader.split(' ')[1];
71 | jwt.verify(token, SECRET, function (err) {
72 | if (err) {
73 | return res.status(403).send('Token inválido.');
74 | }
75 | motoristas.find(function (err, motoristas) {
76 | err ? res.status(424).send({ message: err.message }) : res.status(200).send(motoristas);
77 | });
78 | });
79 | };
80 |
81 | const getMotoristasAtivos = (req, res) => {
82 | const authHeader = req.get('authorization');
83 | if (!authHeader) {
84 | return res.status(401).send('Header não encontrado.');
85 | }
86 | const token = authHeader.split(' ')[1];
87 | jwt.verify(token, SECRET, function (err) {
88 | if (err) {
89 | return res.status(403).send('Token inválido.');
90 | }
91 | motoristas.find({ ativo: true }, function (err, motoristas) {
92 | if (err) {
93 | res.status(424).send({ message: err.message });
94 | } else {
95 | res.status(200).send(motoristas);
96 | }
97 | });
98 | });
99 | };
100 |
101 | const getMotoristasByCidadeByAtivos = (req, res) => {
102 | const authHeader = req.get('authorization');
103 | if (!authHeader) {
104 | return res.status(401).send('Header não encontrado.');
105 | }
106 | const token = authHeader.split(' ')[1];
107 | jwt.verify(token, SECRET, function (err) {
108 | if (err) {
109 | return res.status(403).send('Token inválido.');
110 | }
111 | const cidade = req.query.cidade;
112 | const ativo = req.query.ativo;
113 | motoristas.find({ cidade: cidade, ativo: ativo }, function (err, motoristas) {
114 | if (err) {
115 | res.status(500).send({ message: err.message });
116 | }
117 | res.status(200).send(motoristas);
118 | });
119 | });
120 | };
121 |
122 | const postMotorista = (req, res) => {
123 | const authHeader = req.get('authorization');
124 | if (!authHeader) {
125 | return res.status(401).send('Header não encontrado.');
126 | }
127 | const token = authHeader.split(' ')[1];
128 | jwt.verify(token, SECRET, function (err) {
129 | if (err) {
130 | return res.status(403).send('Token inválido.');
131 | }
132 | let motorista = new motoristas(req.body);
133 | motorista.save((err) => {
134 | err ? res.status(424).send({ message: err.message }) : res.status(201).send({
135 | status: true,
136 | message: 'Novo Motorista cadastrado com sucesso',
137 | });
138 | });
139 | });
140 | };
141 |
142 | const getById = (req, res) => {
143 | const authHeader = req.get('authorization');
144 | if (!authHeader) {
145 | return res.status(401).send('Header não encontrado.');
146 | }
147 | const token = authHeader.split(' ')[1];
148 | jwt.verify(token, SECRET, function (err) {
149 | if (err) {
150 | return res.status(403).send('Token inválido.');
151 | }
152 | const id = req.params.id;
153 | motoristas.find({ id }, (err, motoristas) => {
154 | if (err) {
155 | res.status(424).send({ message: err.message });
156 | } else {
157 | res.status(200).send(motoristas);
158 | }
159 | });
160 | });
161 | };
162 |
163 | const deleteMotorista = (req, res) => {
164 | const authHeader = req.get('authorization');
165 | if (!authHeader) {
166 | return res.status(401).send('Header não encontrado.');
167 | }
168 | const token = authHeader.split(' ')[1];
169 | jwt.verify(token, SECRET, function (err) {
170 | if (err) {
171 | return res.status(403).send('Token inválido.');
172 | }
173 | const id = req.params.id;
174 | motoristas.find({ id }, (err, motorista) => {
175 | if (motorista.length > 0) {
176 | motoristas.deleteOne({ id }, (err) => {
177 | err ? res.status(424).send({ message: err.message }) : res.status(200).send({
178 | status: true,
179 | mensagem: 'Motorista excluído com sucesso',
180 | });
181 | });
182 | } else {
183 | res.status(404).send('Motorista não encontrado');
184 | }
185 | });
186 | });
187 | };
188 |
189 | const putMotorista = (req, res) => {
190 | const authHeader = req.get('authorization');
191 | if (!authHeader) {
192 | return res.status(401).send('Header não encontrado.');
193 | }
194 | const token = authHeader.split(' ')[1];
195 | jwt.verify(token, SECRET, function (err) {
196 | if (err) {
197 | return res.status(403).send('Token inválido.');
198 | }
199 | const id = req.params.id;
200 | motoristas.updateMany({ id }, { $set: req.body }, function (err, motoristas) {
201 | if (err) {
202 | res.status(500).send({ message: err.message });
203 | } else {
204 | res.status(200).send({ message: 'Motorista atualizado com sucesso!' });
205 | }
206 | });
207 | });
208 | };
209 |
210 | module.exports = {
211 | getMotoristasByBairro,
212 | getMotoristasByCidade,
213 | getMotoristasByHorario,
214 | getAll,
215 | getMotoristasAtivos,
216 | getMotoristasByCidadeByAtivos,
217 | postMotorista,
218 | getById,
219 | deleteMotorista,
220 | putMotorista,
221 | };
--------------------------------------------------------------------------------
/src/controllers/tutoresController.js:
--------------------------------------------------------------------------------
1 | const tutores = require('../models/tutores');
2 | const bcrypt = require('bcrypt');
3 | const jwt = require('jsonwebtoken');
4 | const SECRET = process.env.SECRET;
5 |
6 | const create = (req, res) => {
7 | const senhaComHash = bcrypt.hashSync(req.body.senha, 10);
8 | req.body.senha = senhaComHash;
9 | const tutor = new tutores(req.body);
10 | tutor.save(function(err) {
11 | if (err) {
12 | res.status(424).send({ message: err.message })
13 | }
14 | res.status(201).send(tutor.toJSON())
15 | });
16 | };
17 |
18 | const getAll = (req, res) => {
19 | const authHeader = req.get('authorization');
20 | if (!authHeader) {
21 | return res.status(401).send('Header não encontrado');
22 | };
23 | const token = authHeader.split(' ')[1];
24 | jwt.verify(token, SECRET, err => {
25 | if (err) {
26 | return res.status(403).send('Token inválido');
27 | };
28 | tutores.find((err, tutores) => {
29 | if(err) {
30 | return res.status(424).send({ message: err.message });
31 | };
32 | return res.status(200).send(tutores);
33 | });
34 | });
35 | };
36 |
37 | const login = (req, res) => {
38 | tutores.findOne({ email: req.body.email }, function(error, tutor) {
39 | if (!tutor) {
40 | return res.status(404).send(`Não existe tutor com o email ${req.body.email}`);
41 | }
42 | const senhaValida = bcrypt.compareSync(req.body.senha, tutor.senha);
43 | if (!senhaValida) {
44 | return res.status(403).send('Senha não confere.');
45 | }
46 | const token = jwt.sign({ email: req.body.email }, SECRET);
47 | return res.status(200).send(token);
48 | });
49 | };
50 |
51 | const deleteTutor = (req, res) => {
52 | const authHeader = req.get('authorization');
53 | if (!authHeader) {
54 | return res.status(401).send('Header não encontrado.');
55 | }
56 | const token = authHeader.split(' ')[1];
57 | jwt.verify(token, SECRET, function (err) {
58 | if (err) {
59 | return res.status(403).send('Token inválido.');
60 | }
61 | const id = req.params.id;
62 | tutores.find({ id }, (err, tutor) => {
63 | if (tutor.length > 0) {
64 | tutores.deleteOne({ id }, (err) => {
65 | err ? res.status(424).send({ message: err.message }) : res.status(200).send({
66 | status: true,
67 | mensagem: 'Tutor excluído com sucesso',
68 | });
69 | });
70 | } else {
71 | res.status(404).send('Tutor não encontrado');
72 | }
73 | });
74 | });
75 | };
76 |
77 | module.exports = {
78 | create,
79 | getAll,
80 | login,
81 | deleteTutor
82 | };
--------------------------------------------------------------------------------
/src/models/motoristas.js:
--------------------------------------------------------------------------------
1 | const mongoose = require('mongoose');
2 |
3 | const motoristasSchema = new mongoose.Schema({
4 | id: { type: Number },
5 | nome: { type: String, required: true },
6 | email: { type: String, required: true },
7 | telefone: { type: String },
8 | bairros: [{ type: String }],
9 | horarios: [{ type: String }],
10 | diasSemana: [{ type: String }],
11 | tipoVeiculo: { type: String },
12 | placaVeiculo: { type: String, required: true },
13 | cidade: { type: String },
14 | estado: { type: String },
15 | despesaTrajeto: { type: String },
16 | ativo: { type: Boolean }
17 | },{
18 | versionKey: false
19 | });
20 |
21 | const motoristas = mongoose.model('motoristas', motoristasSchema);
22 |
23 | module.exports = motoristas;
--------------------------------------------------------------------------------
/src/models/tutores.js:
--------------------------------------------------------------------------------
1 | const mongoose = require('mongoose');
2 |
3 | const tutoresSchema = new mongoose.Schema({
4 | id: { type: Number },
5 | nomeTutor: { type: String },
6 | nomePet: { type: String },
7 | porte: { type: String },
8 | telefone: { type: String },
9 | email: { type: String, required: true },
10 | senha: { type: String, required: true },
11 | },{
12 | //gera por padrão uma versão para cada atualização do documento
13 | versionKey: false
14 | });
15 |
16 | const tutores = mongoose.model('tutores', tutoresSchema);
17 |
18 | module.exports = tutores;
--------------------------------------------------------------------------------
/src/routes/index.js:
--------------------------------------------------------------------------------
1 | const express = require("express")
2 | const router = express.Router()
3 |
4 | router.get("/", function (req, res) {
5 | res.status(200).send({
6 | title: "Projeto Final {Reprograma} - PetRide",
7 | author: "Audry Ávalos",
8 | version: "1.0.0"
9 | })
10 | });
11 |
12 | module.exports = router;
--------------------------------------------------------------------------------
/src/routes/motoristasRoute.js:
--------------------------------------------------------------------------------
1 | const express = require("express");
2 | const router = express.Router();
3 | const controller = require("../controllers/motoristasController");
4 |
5 | router.get("/", controller.getMotoristasByBairro);
6 | router.get("/cidade", controller.getMotoristasByCidade);
7 | router.get("/horarios", controller.getMotoristasByHorario);
8 | router.get("/cidade/ativos", controller.getMotoristasByCidadeByAtivos);
9 | router.get("/ativos", controller.getMotoristasAtivos);
10 | router.get("/motoristas", controller.getAll);
11 | router.get("/:id", controller.getById);
12 | router.post("/", controller.postMotorista);
13 | router.delete("/:id", controller.deleteMotorista);
14 | router.put("/:id", controller.putMotorista);
15 |
16 | module.exports = router;
--------------------------------------------------------------------------------
/src/routes/tutoresRoute.js:
--------------------------------------------------------------------------------
1 | const express = require("express");
2 | const router = express.Router();
3 | const controller = require('../controllers/tutoresController');
4 |
5 | router.get('/', controller.getAll);
6 | router.post('/', controller.create);
7 | router.post('/login', controller.login);
8 | router.delete('/:id', controller.deleteTutor);
9 |
10 | module.exports = router;
--------------------------------------------------------------------------------