├── .env
├── .gitignore
├── LICENSE
├── README.md
├── package-lock.json
├── package.json
└── src
├── app.js
├── controllers
└── pessoa.js
├── middleware.js
├── models
└── pessoa.js
└── routes
└── pessoa.js
/.env:
--------------------------------------------------------------------------------
1 | MONGO_STRING_CONNECTION=your-connection-string
2 | PORT=your-port
3 | ROUNDS=10
4 | SECRET=your-secret
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .env
2 | node_modules
3 | *.http
4 | .vscode
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2025 Francinaldo Batista
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 🔒 API Node.js + MongoDB: Autenticação Segura com JWT e Bcrypt
2 |
3 | Uma API RESTful com autenticação de usuários, desenvolvida em Node.js e MongoDB. **Projeto ideal para aprender os fundamentos de back-end, segurança e integração com banco de dados!**
4 | Todo o passo a passo de criação e desenvolvimento desse projeto se encontra em meu canal do youtube! **Acesse: [youtube.com/@Francinaldob](https://www.youtube.com/@Francinaldob)**
5 |
6 | [](https://opensource.org/licenses/MIT)
7 |
8 | ## ✍🏻 Autor
9 |
10 | 
11 |
12 | Olá, Sou **Francinaldo Batista**
13 |
14 | 📍 **Localidade:** Campina Grande, Paraíba
15 | 🎓 **Formação:** Sistemas de informação - UniFacisa, 4° Semestre
16 |
17 | Me encontre no **LinkedIn:**
18 |
19 |
20 | ## ✨ Funcionalidades
21 | - **Cadastro e autenticação de usuários** (JWT)
22 | - **Criptografia de senhas** com Bcrypt
23 | - CRUD de recursos protegidos por token
24 | - Configuração segura usando variáveis de ambiente (Dotenv)
25 | - Integração profissional com MongoDB (Mongoose)
26 |
27 | ## 🛠️ Tecnologias
28 | | Biblioteca | Finalidade |
29 | |-----------------|-------------------------------------|
30 | | Express | Servidor web e rotas |
31 | | Mongoose | Conexão e modelos do MongoDB |
32 | | Nodemon | Reinicialização automática (dev) |
33 | | Dotenv | Gerenciamento de variáveis de ambiente |
34 | | Bcrypt | Criptografia de senhas |
35 | | JSON Web Token | Autenticação stateless |
36 | | UUID | Geração de IDs únicos |
37 |
38 | ## 🚀 Começando
39 |
40 | ### Pré-requisitos
41 | - Node.js (v18+)
42 | - MongoDB (local ou Atlas)
43 | - Postman (para testar endpoints)
44 |
45 | ### Instalação
46 | ```bash
47 | # Clone o repositório
48 | git clone [https://github.com/Batissta/node-auth-api.git](https://github.com/Batissta/node-auth-api.git)
49 |
50 | # Instale as dependências
51 | npm install
52 |
53 | # Crie o arquivo .env (veja o exemplo abaixo)
54 | cp .env.example .env
55 | ```
56 |
57 | ### Configuração do Ambiente (.env)
58 | ```env
59 | PORT=3000
60 | MONGODB_URI=sua_uri_mongodb
61 | ```
62 |
63 | ### Executando a API
64 | ```bash
65 | # Modo desenvolvimento (com Nodemon)
66 | npm run dev
67 | ```
68 |
69 | ## 📡 Endpoints Principais
70 |
71 | ### Autenticação
72 | | Método | Endpoint | Descrição | Exemplo de Body |
73 | |--------|------------------|-------------------------|-----------------------------------|
74 | | POST | /usuarios | Registra novo usuário | `{ "apelido": "seuapelidomaiscriativo", "idade":19, "senha": "***" }` |
75 | | GET | /usuarios | Lista todos os usuários criados | `não é necessário` |
76 |
77 |
78 | ## 🔐 Boas Práticas de Segurança
79 | - **Senhas nunca armazenadas em texto puro** (hash com Bcrypt)
80 | - Tokens JWT com expiração e assinatura criptografada
81 | - Variáveis sensíveis isoladas em `.env`
82 | - IDs imutáveis gerados com UUID do node::crypto
83 |
84 | ## 🤝 Como Contribuir
85 | Deixa uma estrela no repositório! Depois disso:
86 | 1. Faça um fork do projeto
87 | 2. Crie sua branch (`git checkout -b feature/nova-funcionalidade`)
88 | 3. Commit suas mudanças (`git commit -m "Add nova funcionalidade Co-authored-by: Batissta "`)
89 | 5. Push para a branch (`git push origin feature/nova-funcionalidade`)
90 | 6. Abra um Pull Request
91 |
92 | ## 📄 Licença
93 | Este projeto está sob a licença MIT - veja o arquivo [LICENSE](LICENSE) para detalhes.
94 |
95 | ---
96 |
97 | **Feito por _[Francinaldo Batista]_**
98 | 📺 **Assista à série completa no YouTube:** [Youtube ->](https://youtu.be/fCQfRp_ME80?si=BcDL40gtHVuT0sDX)
99 |
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "node-auth-api",
3 | "lockfileVersion": 3,
4 | "requires": true,
5 | "packages": {
6 | "": {
7 | "dependencies": {
8 | "bcrypt": "^5.1.1",
9 | "dotenv": "^16.4.7",
10 | "express": "^4.21.2",
11 | "jsonwebtoken": "^9.0.2",
12 | "mongoose": "^8.10.2",
13 | "nodemon": "^3.1.9"
14 | }
15 | },
16 | "node_modules/@mapbox/node-pre-gyp": {
17 | "version": "1.0.11",
18 | "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz",
19 | "integrity": "sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==",
20 | "license": "BSD-3-Clause",
21 | "dependencies": {
22 | "detect-libc": "^2.0.0",
23 | "https-proxy-agent": "^5.0.0",
24 | "make-dir": "^3.1.0",
25 | "node-fetch": "^2.6.7",
26 | "nopt": "^5.0.0",
27 | "npmlog": "^5.0.1",
28 | "rimraf": "^3.0.2",
29 | "semver": "^7.3.5",
30 | "tar": "^6.1.11"
31 | },
32 | "bin": {
33 | "node-pre-gyp": "bin/node-pre-gyp"
34 | }
35 | },
36 | "node_modules/@mongodb-js/saslprep": {
37 | "version": "1.2.0",
38 | "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.2.0.tgz",
39 | "integrity": "sha512-+ywrb0AqkfaYuhHs6LxKWgqbh3I72EpEgESCw37o+9qPx9WTCkgDm2B+eMrwehGtHBWHFU4GXvnSCNiFhhausg==",
40 | "license": "MIT",
41 | "dependencies": {
42 | "sparse-bitfield": "^3.0.3"
43 | }
44 | },
45 | "node_modules/@types/webidl-conversions": {
46 | "version": "7.0.3",
47 | "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.3.tgz",
48 | "integrity": "sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==",
49 | "license": "MIT"
50 | },
51 | "node_modules/@types/whatwg-url": {
52 | "version": "11.0.5",
53 | "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.5.tgz",
54 | "integrity": "sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==",
55 | "license": "MIT",
56 | "dependencies": {
57 | "@types/webidl-conversions": "*"
58 | }
59 | },
60 | "node_modules/abbrev": {
61 | "version": "1.1.1",
62 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
63 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
64 | "license": "ISC"
65 | },
66 | "node_modules/accepts": {
67 | "version": "1.3.8",
68 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
69 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
70 | "license": "MIT",
71 | "dependencies": {
72 | "mime-types": "~2.1.34",
73 | "negotiator": "0.6.3"
74 | },
75 | "engines": {
76 | "node": ">= 0.6"
77 | }
78 | },
79 | "node_modules/agent-base": {
80 | "version": "6.0.2",
81 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
82 | "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
83 | "license": "MIT",
84 | "dependencies": {
85 | "debug": "4"
86 | },
87 | "engines": {
88 | "node": ">= 6.0.0"
89 | }
90 | },
91 | "node_modules/agent-base/node_modules/debug": {
92 | "version": "4.4.0",
93 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
94 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
95 | "license": "MIT",
96 | "dependencies": {
97 | "ms": "^2.1.3"
98 | },
99 | "engines": {
100 | "node": ">=6.0"
101 | },
102 | "peerDependenciesMeta": {
103 | "supports-color": {
104 | "optional": true
105 | }
106 | }
107 | },
108 | "node_modules/agent-base/node_modules/ms": {
109 | "version": "2.1.3",
110 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
111 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
112 | "license": "MIT"
113 | },
114 | "node_modules/ansi-regex": {
115 | "version": "5.0.1",
116 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
117 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
118 | "license": "MIT",
119 | "engines": {
120 | "node": ">=8"
121 | }
122 | },
123 | "node_modules/anymatch": {
124 | "version": "3.1.3",
125 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
126 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
127 | "license": "ISC",
128 | "dependencies": {
129 | "normalize-path": "^3.0.0",
130 | "picomatch": "^2.0.4"
131 | },
132 | "engines": {
133 | "node": ">= 8"
134 | }
135 | },
136 | "node_modules/aproba": {
137 | "version": "2.0.0",
138 | "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz",
139 | "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==",
140 | "license": "ISC"
141 | },
142 | "node_modules/are-we-there-yet": {
143 | "version": "2.0.0",
144 | "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz",
145 | "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==",
146 | "deprecated": "This package is no longer supported.",
147 | "license": "ISC",
148 | "dependencies": {
149 | "delegates": "^1.0.0",
150 | "readable-stream": "^3.6.0"
151 | },
152 | "engines": {
153 | "node": ">=10"
154 | }
155 | },
156 | "node_modules/array-flatten": {
157 | "version": "1.1.1",
158 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
159 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==",
160 | "license": "MIT"
161 | },
162 | "node_modules/balanced-match": {
163 | "version": "1.0.2",
164 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
165 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
166 | "license": "MIT"
167 | },
168 | "node_modules/bcrypt": {
169 | "version": "5.1.1",
170 | "resolved": "https://registry.npmjs.org/bcrypt/-/bcrypt-5.1.1.tgz",
171 | "integrity": "sha512-AGBHOG5hPYZ5Xl9KXzU5iKq9516yEmvCKDg3ecP5kX2aB6UqTeXZxk2ELnDgDm6BQSMlLt9rDB4LoSMx0rYwww==",
172 | "hasInstallScript": true,
173 | "license": "MIT",
174 | "dependencies": {
175 | "@mapbox/node-pre-gyp": "^1.0.11",
176 | "node-addon-api": "^5.0.0"
177 | },
178 | "engines": {
179 | "node": ">= 10.0.0"
180 | }
181 | },
182 | "node_modules/binary-extensions": {
183 | "version": "2.3.0",
184 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
185 | "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
186 | "license": "MIT",
187 | "engines": {
188 | "node": ">=8"
189 | },
190 | "funding": {
191 | "url": "https://github.com/sponsors/sindresorhus"
192 | }
193 | },
194 | "node_modules/body-parser": {
195 | "version": "1.20.3",
196 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
197 | "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
198 | "license": "MIT",
199 | "dependencies": {
200 | "bytes": "3.1.2",
201 | "content-type": "~1.0.5",
202 | "debug": "2.6.9",
203 | "depd": "2.0.0",
204 | "destroy": "1.2.0",
205 | "http-errors": "2.0.0",
206 | "iconv-lite": "0.4.24",
207 | "on-finished": "2.4.1",
208 | "qs": "6.13.0",
209 | "raw-body": "2.5.2",
210 | "type-is": "~1.6.18",
211 | "unpipe": "1.0.0"
212 | },
213 | "engines": {
214 | "node": ">= 0.8",
215 | "npm": "1.2.8000 || >= 1.4.16"
216 | }
217 | },
218 | "node_modules/brace-expansion": {
219 | "version": "1.1.11",
220 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
221 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
222 | "license": "MIT",
223 | "dependencies": {
224 | "balanced-match": "^1.0.0",
225 | "concat-map": "0.0.1"
226 | }
227 | },
228 | "node_modules/braces": {
229 | "version": "3.0.3",
230 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
231 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
232 | "license": "MIT",
233 | "dependencies": {
234 | "fill-range": "^7.1.1"
235 | },
236 | "engines": {
237 | "node": ">=8"
238 | }
239 | },
240 | "node_modules/bson": {
241 | "version": "6.10.3",
242 | "resolved": "https://registry.npmjs.org/bson/-/bson-6.10.3.tgz",
243 | "integrity": "sha512-MTxGsqgYTwfshYWTRdmZRC+M7FnG1b4y7RO7p2k3X24Wq0yv1m77Wsj0BzlPzd/IowgESfsruQCUToa7vbOpPQ==",
244 | "license": "Apache-2.0",
245 | "engines": {
246 | "node": ">=16.20.1"
247 | }
248 | },
249 | "node_modules/buffer-equal-constant-time": {
250 | "version": "1.0.1",
251 | "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",
252 | "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==",
253 | "license": "BSD-3-Clause"
254 | },
255 | "node_modules/bytes": {
256 | "version": "3.1.2",
257 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
258 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
259 | "license": "MIT",
260 | "engines": {
261 | "node": ">= 0.8"
262 | }
263 | },
264 | "node_modules/call-bind-apply-helpers": {
265 | "version": "1.0.2",
266 | "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
267 | "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
268 | "license": "MIT",
269 | "dependencies": {
270 | "es-errors": "^1.3.0",
271 | "function-bind": "^1.1.2"
272 | },
273 | "engines": {
274 | "node": ">= 0.4"
275 | }
276 | },
277 | "node_modules/call-bound": {
278 | "version": "1.0.3",
279 | "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz",
280 | "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==",
281 | "license": "MIT",
282 | "dependencies": {
283 | "call-bind-apply-helpers": "^1.0.1",
284 | "get-intrinsic": "^1.2.6"
285 | },
286 | "engines": {
287 | "node": ">= 0.4"
288 | },
289 | "funding": {
290 | "url": "https://github.com/sponsors/ljharb"
291 | }
292 | },
293 | "node_modules/chokidar": {
294 | "version": "3.6.0",
295 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
296 | "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
297 | "license": "MIT",
298 | "dependencies": {
299 | "anymatch": "~3.1.2",
300 | "braces": "~3.0.2",
301 | "glob-parent": "~5.1.2",
302 | "is-binary-path": "~2.1.0",
303 | "is-glob": "~4.0.1",
304 | "normalize-path": "~3.0.0",
305 | "readdirp": "~3.6.0"
306 | },
307 | "engines": {
308 | "node": ">= 8.10.0"
309 | },
310 | "funding": {
311 | "url": "https://paulmillr.com/funding/"
312 | },
313 | "optionalDependencies": {
314 | "fsevents": "~2.3.2"
315 | }
316 | },
317 | "node_modules/chownr": {
318 | "version": "2.0.0",
319 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
320 | "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==",
321 | "license": "ISC",
322 | "engines": {
323 | "node": ">=10"
324 | }
325 | },
326 | "node_modules/color-support": {
327 | "version": "1.1.3",
328 | "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz",
329 | "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==",
330 | "license": "ISC",
331 | "bin": {
332 | "color-support": "bin.js"
333 | }
334 | },
335 | "node_modules/concat-map": {
336 | "version": "0.0.1",
337 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
338 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
339 | "license": "MIT"
340 | },
341 | "node_modules/console-control-strings": {
342 | "version": "1.1.0",
343 | "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
344 | "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==",
345 | "license": "ISC"
346 | },
347 | "node_modules/content-disposition": {
348 | "version": "0.5.4",
349 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
350 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
351 | "license": "MIT",
352 | "dependencies": {
353 | "safe-buffer": "5.2.1"
354 | },
355 | "engines": {
356 | "node": ">= 0.6"
357 | }
358 | },
359 | "node_modules/content-type": {
360 | "version": "1.0.5",
361 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
362 | "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
363 | "license": "MIT",
364 | "engines": {
365 | "node": ">= 0.6"
366 | }
367 | },
368 | "node_modules/cookie": {
369 | "version": "0.7.1",
370 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",
371 | "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",
372 | "license": "MIT",
373 | "engines": {
374 | "node": ">= 0.6"
375 | }
376 | },
377 | "node_modules/cookie-signature": {
378 | "version": "1.0.6",
379 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
380 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==",
381 | "license": "MIT"
382 | },
383 | "node_modules/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 | "license": "MIT",
388 | "dependencies": {
389 | "ms": "2.0.0"
390 | }
391 | },
392 | "node_modules/delegates": {
393 | "version": "1.0.0",
394 | "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
395 | "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==",
396 | "license": "MIT"
397 | },
398 | "node_modules/depd": {
399 | "version": "2.0.0",
400 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
401 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
402 | "license": "MIT",
403 | "engines": {
404 | "node": ">= 0.8"
405 | }
406 | },
407 | "node_modules/destroy": {
408 | "version": "1.2.0",
409 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
410 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
411 | "license": "MIT",
412 | "engines": {
413 | "node": ">= 0.8",
414 | "npm": "1.2.8000 || >= 1.4.16"
415 | }
416 | },
417 | "node_modules/detect-libc": {
418 | "version": "2.0.3",
419 | "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
420 | "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==",
421 | "license": "Apache-2.0",
422 | "engines": {
423 | "node": ">=8"
424 | }
425 | },
426 | "node_modules/dotenv": {
427 | "version": "16.4.7",
428 | "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz",
429 | "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==",
430 | "license": "BSD-2-Clause",
431 | "engines": {
432 | "node": ">=12"
433 | },
434 | "funding": {
435 | "url": "https://dotenvx.com"
436 | }
437 | },
438 | "node_modules/dunder-proto": {
439 | "version": "1.0.1",
440 | "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
441 | "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
442 | "license": "MIT",
443 | "dependencies": {
444 | "call-bind-apply-helpers": "^1.0.1",
445 | "es-errors": "^1.3.0",
446 | "gopd": "^1.2.0"
447 | },
448 | "engines": {
449 | "node": ">= 0.4"
450 | }
451 | },
452 | "node_modules/ecdsa-sig-formatter": {
453 | "version": "1.0.11",
454 | "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz",
455 | "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==",
456 | "license": "Apache-2.0",
457 | "dependencies": {
458 | "safe-buffer": "^5.0.1"
459 | }
460 | },
461 | "node_modules/ee-first": {
462 | "version": "1.1.1",
463 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
464 | "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
465 | "license": "MIT"
466 | },
467 | "node_modules/emoji-regex": {
468 | "version": "8.0.0",
469 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
470 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
471 | "license": "MIT"
472 | },
473 | "node_modules/encodeurl": {
474 | "version": "2.0.0",
475 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
476 | "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
477 | "license": "MIT",
478 | "engines": {
479 | "node": ">= 0.8"
480 | }
481 | },
482 | "node_modules/es-define-property": {
483 | "version": "1.0.1",
484 | "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
485 | "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
486 | "license": "MIT",
487 | "engines": {
488 | "node": ">= 0.4"
489 | }
490 | },
491 | "node_modules/es-errors": {
492 | "version": "1.3.0",
493 | "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
494 | "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
495 | "license": "MIT",
496 | "engines": {
497 | "node": ">= 0.4"
498 | }
499 | },
500 | "node_modules/es-object-atoms": {
501 | "version": "1.1.1",
502 | "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
503 | "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
504 | "license": "MIT",
505 | "dependencies": {
506 | "es-errors": "^1.3.0"
507 | },
508 | "engines": {
509 | "node": ">= 0.4"
510 | }
511 | },
512 | "node_modules/escape-html": {
513 | "version": "1.0.3",
514 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
515 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
516 | "license": "MIT"
517 | },
518 | "node_modules/etag": {
519 | "version": "1.8.1",
520 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
521 | "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
522 | "license": "MIT",
523 | "engines": {
524 | "node": ">= 0.6"
525 | }
526 | },
527 | "node_modules/express": {
528 | "version": "4.21.2",
529 | "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz",
530 | "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==",
531 | "license": "MIT",
532 | "dependencies": {
533 | "accepts": "~1.3.8",
534 | "array-flatten": "1.1.1",
535 | "body-parser": "1.20.3",
536 | "content-disposition": "0.5.4",
537 | "content-type": "~1.0.4",
538 | "cookie": "0.7.1",
539 | "cookie-signature": "1.0.6",
540 | "debug": "2.6.9",
541 | "depd": "2.0.0",
542 | "encodeurl": "~2.0.0",
543 | "escape-html": "~1.0.3",
544 | "etag": "~1.8.1",
545 | "finalhandler": "1.3.1",
546 | "fresh": "0.5.2",
547 | "http-errors": "2.0.0",
548 | "merge-descriptors": "1.0.3",
549 | "methods": "~1.1.2",
550 | "on-finished": "2.4.1",
551 | "parseurl": "~1.3.3",
552 | "path-to-regexp": "0.1.12",
553 | "proxy-addr": "~2.0.7",
554 | "qs": "6.13.0",
555 | "range-parser": "~1.2.1",
556 | "safe-buffer": "5.2.1",
557 | "send": "0.19.0",
558 | "serve-static": "1.16.2",
559 | "setprototypeof": "1.2.0",
560 | "statuses": "2.0.1",
561 | "type-is": "~1.6.18",
562 | "utils-merge": "1.0.1",
563 | "vary": "~1.1.2"
564 | },
565 | "engines": {
566 | "node": ">= 0.10.0"
567 | },
568 | "funding": {
569 | "type": "opencollective",
570 | "url": "https://opencollective.com/express"
571 | }
572 | },
573 | "node_modules/fill-range": {
574 | "version": "7.1.1",
575 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
576 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
577 | "license": "MIT",
578 | "dependencies": {
579 | "to-regex-range": "^5.0.1"
580 | },
581 | "engines": {
582 | "node": ">=8"
583 | }
584 | },
585 | "node_modules/finalhandler": {
586 | "version": "1.3.1",
587 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz",
588 | "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==",
589 | "license": "MIT",
590 | "dependencies": {
591 | "debug": "2.6.9",
592 | "encodeurl": "~2.0.0",
593 | "escape-html": "~1.0.3",
594 | "on-finished": "2.4.1",
595 | "parseurl": "~1.3.3",
596 | "statuses": "2.0.1",
597 | "unpipe": "~1.0.0"
598 | },
599 | "engines": {
600 | "node": ">= 0.8"
601 | }
602 | },
603 | "node_modules/forwarded": {
604 | "version": "0.2.0",
605 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
606 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
607 | "license": "MIT",
608 | "engines": {
609 | "node": ">= 0.6"
610 | }
611 | },
612 | "node_modules/fresh": {
613 | "version": "0.5.2",
614 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
615 | "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
616 | "license": "MIT",
617 | "engines": {
618 | "node": ">= 0.6"
619 | }
620 | },
621 | "node_modules/fs-minipass": {
622 | "version": "2.1.0",
623 | "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
624 | "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
625 | "license": "ISC",
626 | "dependencies": {
627 | "minipass": "^3.0.0"
628 | },
629 | "engines": {
630 | "node": ">= 8"
631 | }
632 | },
633 | "node_modules/fs-minipass/node_modules/minipass": {
634 | "version": "3.3.6",
635 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
636 | "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
637 | "license": "ISC",
638 | "dependencies": {
639 | "yallist": "^4.0.0"
640 | },
641 | "engines": {
642 | "node": ">=8"
643 | }
644 | },
645 | "node_modules/fs.realpath": {
646 | "version": "1.0.0",
647 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
648 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
649 | "license": "ISC"
650 | },
651 | "node_modules/fsevents": {
652 | "version": "2.3.3",
653 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
654 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
655 | "hasInstallScript": true,
656 | "license": "MIT",
657 | "optional": true,
658 | "os": [
659 | "darwin"
660 | ],
661 | "engines": {
662 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
663 | }
664 | },
665 | "node_modules/function-bind": {
666 | "version": "1.1.2",
667 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
668 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
669 | "license": "MIT",
670 | "funding": {
671 | "url": "https://github.com/sponsors/ljharb"
672 | }
673 | },
674 | "node_modules/gauge": {
675 | "version": "3.0.2",
676 | "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz",
677 | "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==",
678 | "deprecated": "This package is no longer supported.",
679 | "license": "ISC",
680 | "dependencies": {
681 | "aproba": "^1.0.3 || ^2.0.0",
682 | "color-support": "^1.1.2",
683 | "console-control-strings": "^1.0.0",
684 | "has-unicode": "^2.0.1",
685 | "object-assign": "^4.1.1",
686 | "signal-exit": "^3.0.0",
687 | "string-width": "^4.2.3",
688 | "strip-ansi": "^6.0.1",
689 | "wide-align": "^1.1.2"
690 | },
691 | "engines": {
692 | "node": ">=10"
693 | }
694 | },
695 | "node_modules/get-intrinsic": {
696 | "version": "1.3.0",
697 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
698 | "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
699 | "license": "MIT",
700 | "dependencies": {
701 | "call-bind-apply-helpers": "^1.0.2",
702 | "es-define-property": "^1.0.1",
703 | "es-errors": "^1.3.0",
704 | "es-object-atoms": "^1.1.1",
705 | "function-bind": "^1.1.2",
706 | "get-proto": "^1.0.1",
707 | "gopd": "^1.2.0",
708 | "has-symbols": "^1.1.0",
709 | "hasown": "^2.0.2",
710 | "math-intrinsics": "^1.1.0"
711 | },
712 | "engines": {
713 | "node": ">= 0.4"
714 | },
715 | "funding": {
716 | "url": "https://github.com/sponsors/ljharb"
717 | }
718 | },
719 | "node_modules/get-proto": {
720 | "version": "1.0.1",
721 | "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
722 | "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
723 | "license": "MIT",
724 | "dependencies": {
725 | "dunder-proto": "^1.0.1",
726 | "es-object-atoms": "^1.0.0"
727 | },
728 | "engines": {
729 | "node": ">= 0.4"
730 | }
731 | },
732 | "node_modules/glob": {
733 | "version": "7.2.3",
734 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
735 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
736 | "deprecated": "Glob versions prior to v9 are no longer supported",
737 | "license": "ISC",
738 | "dependencies": {
739 | "fs.realpath": "^1.0.0",
740 | "inflight": "^1.0.4",
741 | "inherits": "2",
742 | "minimatch": "^3.1.1",
743 | "once": "^1.3.0",
744 | "path-is-absolute": "^1.0.0"
745 | },
746 | "engines": {
747 | "node": "*"
748 | },
749 | "funding": {
750 | "url": "https://github.com/sponsors/isaacs"
751 | }
752 | },
753 | "node_modules/glob-parent": {
754 | "version": "5.1.2",
755 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
756 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
757 | "license": "ISC",
758 | "dependencies": {
759 | "is-glob": "^4.0.1"
760 | },
761 | "engines": {
762 | "node": ">= 6"
763 | }
764 | },
765 | "node_modules/gopd": {
766 | "version": "1.2.0",
767 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
768 | "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
769 | "license": "MIT",
770 | "engines": {
771 | "node": ">= 0.4"
772 | },
773 | "funding": {
774 | "url": "https://github.com/sponsors/ljharb"
775 | }
776 | },
777 | "node_modules/has-flag": {
778 | "version": "3.0.0",
779 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
780 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
781 | "license": "MIT",
782 | "engines": {
783 | "node": ">=4"
784 | }
785 | },
786 | "node_modules/has-symbols": {
787 | "version": "1.1.0",
788 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
789 | "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
790 | "license": "MIT",
791 | "engines": {
792 | "node": ">= 0.4"
793 | },
794 | "funding": {
795 | "url": "https://github.com/sponsors/ljharb"
796 | }
797 | },
798 | "node_modules/has-unicode": {
799 | "version": "2.0.1",
800 | "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
801 | "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==",
802 | "license": "ISC"
803 | },
804 | "node_modules/hasown": {
805 | "version": "2.0.2",
806 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
807 | "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
808 | "license": "MIT",
809 | "dependencies": {
810 | "function-bind": "^1.1.2"
811 | },
812 | "engines": {
813 | "node": ">= 0.4"
814 | }
815 | },
816 | "node_modules/http-errors": {
817 | "version": "2.0.0",
818 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
819 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
820 | "license": "MIT",
821 | "dependencies": {
822 | "depd": "2.0.0",
823 | "inherits": "2.0.4",
824 | "setprototypeof": "1.2.0",
825 | "statuses": "2.0.1",
826 | "toidentifier": "1.0.1"
827 | },
828 | "engines": {
829 | "node": ">= 0.8"
830 | }
831 | },
832 | "node_modules/https-proxy-agent": {
833 | "version": "5.0.1",
834 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
835 | "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
836 | "license": "MIT",
837 | "dependencies": {
838 | "agent-base": "6",
839 | "debug": "4"
840 | },
841 | "engines": {
842 | "node": ">= 6"
843 | }
844 | },
845 | "node_modules/https-proxy-agent/node_modules/debug": {
846 | "version": "4.4.0",
847 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
848 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
849 | "license": "MIT",
850 | "dependencies": {
851 | "ms": "^2.1.3"
852 | },
853 | "engines": {
854 | "node": ">=6.0"
855 | },
856 | "peerDependenciesMeta": {
857 | "supports-color": {
858 | "optional": true
859 | }
860 | }
861 | },
862 | "node_modules/https-proxy-agent/node_modules/ms": {
863 | "version": "2.1.3",
864 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
865 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
866 | "license": "MIT"
867 | },
868 | "node_modules/iconv-lite": {
869 | "version": "0.4.24",
870 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
871 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
872 | "license": "MIT",
873 | "dependencies": {
874 | "safer-buffer": ">= 2.1.2 < 3"
875 | },
876 | "engines": {
877 | "node": ">=0.10.0"
878 | }
879 | },
880 | "node_modules/ignore-by-default": {
881 | "version": "1.0.1",
882 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz",
883 | "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==",
884 | "license": "ISC"
885 | },
886 | "node_modules/inflight": {
887 | "version": "1.0.6",
888 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
889 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
890 | "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
891 | "license": "ISC",
892 | "dependencies": {
893 | "once": "^1.3.0",
894 | "wrappy": "1"
895 | }
896 | },
897 | "node_modules/inherits": {
898 | "version": "2.0.4",
899 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
900 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
901 | "license": "ISC"
902 | },
903 | "node_modules/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 | "license": "MIT",
908 | "engines": {
909 | "node": ">= 0.10"
910 | }
911 | },
912 | "node_modules/is-binary-path": {
913 | "version": "2.1.0",
914 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
915 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
916 | "license": "MIT",
917 | "dependencies": {
918 | "binary-extensions": "^2.0.0"
919 | },
920 | "engines": {
921 | "node": ">=8"
922 | }
923 | },
924 | "node_modules/is-extglob": {
925 | "version": "2.1.1",
926 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
927 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
928 | "license": "MIT",
929 | "engines": {
930 | "node": ">=0.10.0"
931 | }
932 | },
933 | "node_modules/is-fullwidth-code-point": {
934 | "version": "3.0.0",
935 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
936 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
937 | "license": "MIT",
938 | "engines": {
939 | "node": ">=8"
940 | }
941 | },
942 | "node_modules/is-glob": {
943 | "version": "4.0.3",
944 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
945 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
946 | "license": "MIT",
947 | "dependencies": {
948 | "is-extglob": "^2.1.1"
949 | },
950 | "engines": {
951 | "node": ">=0.10.0"
952 | }
953 | },
954 | "node_modules/is-number": {
955 | "version": "7.0.0",
956 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
957 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
958 | "license": "MIT",
959 | "engines": {
960 | "node": ">=0.12.0"
961 | }
962 | },
963 | "node_modules/jsonwebtoken": {
964 | "version": "9.0.2",
965 | "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz",
966 | "integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==",
967 | "license": "MIT",
968 | "dependencies": {
969 | "jws": "^3.2.2",
970 | "lodash.includes": "^4.3.0",
971 | "lodash.isboolean": "^3.0.3",
972 | "lodash.isinteger": "^4.0.4",
973 | "lodash.isnumber": "^3.0.3",
974 | "lodash.isplainobject": "^4.0.6",
975 | "lodash.isstring": "^4.0.1",
976 | "lodash.once": "^4.0.0",
977 | "ms": "^2.1.1",
978 | "semver": "^7.5.4"
979 | },
980 | "engines": {
981 | "node": ">=12",
982 | "npm": ">=6"
983 | }
984 | },
985 | "node_modules/jsonwebtoken/node_modules/ms": {
986 | "version": "2.1.3",
987 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
988 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
989 | "license": "MIT"
990 | },
991 | "node_modules/jwa": {
992 | "version": "1.4.1",
993 | "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz",
994 | "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==",
995 | "license": "MIT",
996 | "dependencies": {
997 | "buffer-equal-constant-time": "1.0.1",
998 | "ecdsa-sig-formatter": "1.0.11",
999 | "safe-buffer": "^5.0.1"
1000 | }
1001 | },
1002 | "node_modules/jws": {
1003 | "version": "3.2.2",
1004 | "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz",
1005 | "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==",
1006 | "license": "MIT",
1007 | "dependencies": {
1008 | "jwa": "^1.4.1",
1009 | "safe-buffer": "^5.0.1"
1010 | }
1011 | },
1012 | "node_modules/kareem": {
1013 | "version": "2.6.3",
1014 | "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.6.3.tgz",
1015 | "integrity": "sha512-C3iHfuGUXK2u8/ipq9LfjFfXFxAZMQJJq7vLS45r3D9Y2xQ/m4S8zaR4zMLFWh9AsNPXmcFfUDhTEO8UIC/V6Q==",
1016 | "license": "Apache-2.0",
1017 | "engines": {
1018 | "node": ">=12.0.0"
1019 | }
1020 | },
1021 | "node_modules/lodash.includes": {
1022 | "version": "4.3.0",
1023 | "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz",
1024 | "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==",
1025 | "license": "MIT"
1026 | },
1027 | "node_modules/lodash.isboolean": {
1028 | "version": "3.0.3",
1029 | "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz",
1030 | "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==",
1031 | "license": "MIT"
1032 | },
1033 | "node_modules/lodash.isinteger": {
1034 | "version": "4.0.4",
1035 | "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz",
1036 | "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==",
1037 | "license": "MIT"
1038 | },
1039 | "node_modules/lodash.isnumber": {
1040 | "version": "3.0.3",
1041 | "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz",
1042 | "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==",
1043 | "license": "MIT"
1044 | },
1045 | "node_modules/lodash.isplainobject": {
1046 | "version": "4.0.6",
1047 | "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
1048 | "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==",
1049 | "license": "MIT"
1050 | },
1051 | "node_modules/lodash.isstring": {
1052 | "version": "4.0.1",
1053 | "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz",
1054 | "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==",
1055 | "license": "MIT"
1056 | },
1057 | "node_modules/lodash.once": {
1058 | "version": "4.1.1",
1059 | "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz",
1060 | "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==",
1061 | "license": "MIT"
1062 | },
1063 | "node_modules/make-dir": {
1064 | "version": "3.1.0",
1065 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
1066 | "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
1067 | "license": "MIT",
1068 | "dependencies": {
1069 | "semver": "^6.0.0"
1070 | },
1071 | "engines": {
1072 | "node": ">=8"
1073 | },
1074 | "funding": {
1075 | "url": "https://github.com/sponsors/sindresorhus"
1076 | }
1077 | },
1078 | "node_modules/make-dir/node_modules/semver": {
1079 | "version": "6.3.1",
1080 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
1081 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
1082 | "license": "ISC",
1083 | "bin": {
1084 | "semver": "bin/semver.js"
1085 | }
1086 | },
1087 | "node_modules/math-intrinsics": {
1088 | "version": "1.1.0",
1089 | "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
1090 | "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
1091 | "license": "MIT",
1092 | "engines": {
1093 | "node": ">= 0.4"
1094 | }
1095 | },
1096 | "node_modules/media-typer": {
1097 | "version": "0.3.0",
1098 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
1099 | "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
1100 | "license": "MIT",
1101 | "engines": {
1102 | "node": ">= 0.6"
1103 | }
1104 | },
1105 | "node_modules/memory-pager": {
1106 | "version": "1.5.0",
1107 | "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz",
1108 | "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==",
1109 | "license": "MIT"
1110 | },
1111 | "node_modules/merge-descriptors": {
1112 | "version": "1.0.3",
1113 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz",
1114 | "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
1115 | "license": "MIT",
1116 | "funding": {
1117 | "url": "https://github.com/sponsors/sindresorhus"
1118 | }
1119 | },
1120 | "node_modules/methods": {
1121 | "version": "1.1.2",
1122 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
1123 | "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
1124 | "license": "MIT",
1125 | "engines": {
1126 | "node": ">= 0.6"
1127 | }
1128 | },
1129 | "node_modules/mime": {
1130 | "version": "1.6.0",
1131 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
1132 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
1133 | "license": "MIT",
1134 | "bin": {
1135 | "mime": "cli.js"
1136 | },
1137 | "engines": {
1138 | "node": ">=4"
1139 | }
1140 | },
1141 | "node_modules/mime-db": {
1142 | "version": "1.52.0",
1143 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
1144 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
1145 | "license": "MIT",
1146 | "engines": {
1147 | "node": ">= 0.6"
1148 | }
1149 | },
1150 | "node_modules/mime-types": {
1151 | "version": "2.1.35",
1152 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
1153 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
1154 | "license": "MIT",
1155 | "dependencies": {
1156 | "mime-db": "1.52.0"
1157 | },
1158 | "engines": {
1159 | "node": ">= 0.6"
1160 | }
1161 | },
1162 | "node_modules/minimatch": {
1163 | "version": "3.1.2",
1164 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
1165 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
1166 | "license": "ISC",
1167 | "dependencies": {
1168 | "brace-expansion": "^1.1.7"
1169 | },
1170 | "engines": {
1171 | "node": "*"
1172 | }
1173 | },
1174 | "node_modules/minipass": {
1175 | "version": "5.0.0",
1176 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
1177 | "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
1178 | "license": "ISC",
1179 | "engines": {
1180 | "node": ">=8"
1181 | }
1182 | },
1183 | "node_modules/minizlib": {
1184 | "version": "2.1.2",
1185 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
1186 | "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
1187 | "license": "MIT",
1188 | "dependencies": {
1189 | "minipass": "^3.0.0",
1190 | "yallist": "^4.0.0"
1191 | },
1192 | "engines": {
1193 | "node": ">= 8"
1194 | }
1195 | },
1196 | "node_modules/minizlib/node_modules/minipass": {
1197 | "version": "3.3.6",
1198 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
1199 | "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
1200 | "license": "ISC",
1201 | "dependencies": {
1202 | "yallist": "^4.0.0"
1203 | },
1204 | "engines": {
1205 | "node": ">=8"
1206 | }
1207 | },
1208 | "node_modules/mkdirp": {
1209 | "version": "1.0.4",
1210 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
1211 | "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
1212 | "license": "MIT",
1213 | "bin": {
1214 | "mkdirp": "bin/cmd.js"
1215 | },
1216 | "engines": {
1217 | "node": ">=10"
1218 | }
1219 | },
1220 | "node_modules/mongodb": {
1221 | "version": "6.13.1",
1222 | "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.13.1.tgz",
1223 | "integrity": "sha512-gdq40tX8StmhP6akMp1pPoEVv+9jTYFSrga/g23JxajPAQhH39ysZrHGzQCSd9PEOnuEQEdjIWqxO7ZSwC0w7Q==",
1224 | "license": "Apache-2.0",
1225 | "dependencies": {
1226 | "@mongodb-js/saslprep": "^1.1.9",
1227 | "bson": "^6.10.3",
1228 | "mongodb-connection-string-url": "^3.0.0"
1229 | },
1230 | "engines": {
1231 | "node": ">=16.20.1"
1232 | },
1233 | "peerDependencies": {
1234 | "@aws-sdk/credential-providers": "^3.632.0",
1235 | "@mongodb-js/zstd": "^1.1.0 || ^2.0.0",
1236 | "gcp-metadata": "^5.2.0",
1237 | "kerberos": "^2.0.1",
1238 | "mongodb-client-encryption": ">=6.0.0 <7",
1239 | "snappy": "^7.2.2",
1240 | "socks": "^2.7.1"
1241 | },
1242 | "peerDependenciesMeta": {
1243 | "@aws-sdk/credential-providers": {
1244 | "optional": true
1245 | },
1246 | "@mongodb-js/zstd": {
1247 | "optional": true
1248 | },
1249 | "gcp-metadata": {
1250 | "optional": true
1251 | },
1252 | "kerberos": {
1253 | "optional": true
1254 | },
1255 | "mongodb-client-encryption": {
1256 | "optional": true
1257 | },
1258 | "snappy": {
1259 | "optional": true
1260 | },
1261 | "socks": {
1262 | "optional": true
1263 | }
1264 | }
1265 | },
1266 | "node_modules/mongodb-connection-string-url": {
1267 | "version": "3.0.2",
1268 | "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.2.tgz",
1269 | "integrity": "sha512-rMO7CGo/9BFwyZABcKAWL8UJwH/Kc2x0g72uhDWzG48URRax5TCIcJ7Rc3RZqffZzO/Gwff/jyKwCU9TN8gehA==",
1270 | "license": "Apache-2.0",
1271 | "dependencies": {
1272 | "@types/whatwg-url": "^11.0.2",
1273 | "whatwg-url": "^14.1.0 || ^13.0.0"
1274 | }
1275 | },
1276 | "node_modules/mongoose": {
1277 | "version": "8.10.2",
1278 | "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.10.2.tgz",
1279 | "integrity": "sha512-DvqfK1s/JLwP39ogXULC8ygNDdmDber5ZbxZzELYtkzl9VGJ3K5T2MCLdpTs9I9J6DnkDyIHJwt7IOyMxh/Adw==",
1280 | "license": "MIT",
1281 | "dependencies": {
1282 | "bson": "^6.10.1",
1283 | "kareem": "2.6.3",
1284 | "mongodb": "~6.13.0",
1285 | "mpath": "0.9.0",
1286 | "mquery": "5.0.0",
1287 | "ms": "2.1.3",
1288 | "sift": "17.1.3"
1289 | },
1290 | "engines": {
1291 | "node": ">=16.20.1"
1292 | },
1293 | "funding": {
1294 | "type": "opencollective",
1295 | "url": "https://opencollective.com/mongoose"
1296 | }
1297 | },
1298 | "node_modules/mongoose/node_modules/ms": {
1299 | "version": "2.1.3",
1300 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
1301 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
1302 | "license": "MIT"
1303 | },
1304 | "node_modules/mpath": {
1305 | "version": "0.9.0",
1306 | "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.9.0.tgz",
1307 | "integrity": "sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==",
1308 | "license": "MIT",
1309 | "engines": {
1310 | "node": ">=4.0.0"
1311 | }
1312 | },
1313 | "node_modules/mquery": {
1314 | "version": "5.0.0",
1315 | "resolved": "https://registry.npmjs.org/mquery/-/mquery-5.0.0.tgz",
1316 | "integrity": "sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==",
1317 | "license": "MIT",
1318 | "dependencies": {
1319 | "debug": "4.x"
1320 | },
1321 | "engines": {
1322 | "node": ">=14.0.0"
1323 | }
1324 | },
1325 | "node_modules/mquery/node_modules/debug": {
1326 | "version": "4.4.0",
1327 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
1328 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
1329 | "license": "MIT",
1330 | "dependencies": {
1331 | "ms": "^2.1.3"
1332 | },
1333 | "engines": {
1334 | "node": ">=6.0"
1335 | },
1336 | "peerDependenciesMeta": {
1337 | "supports-color": {
1338 | "optional": true
1339 | }
1340 | }
1341 | },
1342 | "node_modules/mquery/node_modules/ms": {
1343 | "version": "2.1.3",
1344 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
1345 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
1346 | "license": "MIT"
1347 | },
1348 | "node_modules/ms": {
1349 | "version": "2.0.0",
1350 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
1351 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
1352 | "license": "MIT"
1353 | },
1354 | "node_modules/negotiator": {
1355 | "version": "0.6.3",
1356 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
1357 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
1358 | "license": "MIT",
1359 | "engines": {
1360 | "node": ">= 0.6"
1361 | }
1362 | },
1363 | "node_modules/node-addon-api": {
1364 | "version": "5.1.0",
1365 | "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz",
1366 | "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==",
1367 | "license": "MIT"
1368 | },
1369 | "node_modules/node-fetch": {
1370 | "version": "2.7.0",
1371 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
1372 | "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
1373 | "license": "MIT",
1374 | "dependencies": {
1375 | "whatwg-url": "^5.0.0"
1376 | },
1377 | "engines": {
1378 | "node": "4.x || >=6.0.0"
1379 | },
1380 | "peerDependencies": {
1381 | "encoding": "^0.1.0"
1382 | },
1383 | "peerDependenciesMeta": {
1384 | "encoding": {
1385 | "optional": true
1386 | }
1387 | }
1388 | },
1389 | "node_modules/node-fetch/node_modules/tr46": {
1390 | "version": "0.0.3",
1391 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
1392 | "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
1393 | "license": "MIT"
1394 | },
1395 | "node_modules/node-fetch/node_modules/webidl-conversions": {
1396 | "version": "3.0.1",
1397 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
1398 | "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",
1399 | "license": "BSD-2-Clause"
1400 | },
1401 | "node_modules/node-fetch/node_modules/whatwg-url": {
1402 | "version": "5.0.0",
1403 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
1404 | "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
1405 | "license": "MIT",
1406 | "dependencies": {
1407 | "tr46": "~0.0.3",
1408 | "webidl-conversions": "^3.0.0"
1409 | }
1410 | },
1411 | "node_modules/nodemon": {
1412 | "version": "3.1.9",
1413 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.9.tgz",
1414 | "integrity": "sha512-hdr1oIb2p6ZSxu3PB2JWWYS7ZQ0qvaZsc3hK8DR8f02kRzc8rjYmxAIvdz+aYC+8F2IjNaB7HMcSDg8nQpJxyg==",
1415 | "license": "MIT",
1416 | "dependencies": {
1417 | "chokidar": "^3.5.2",
1418 | "debug": "^4",
1419 | "ignore-by-default": "^1.0.1",
1420 | "minimatch": "^3.1.2",
1421 | "pstree.remy": "^1.1.8",
1422 | "semver": "^7.5.3",
1423 | "simple-update-notifier": "^2.0.0",
1424 | "supports-color": "^5.5.0",
1425 | "touch": "^3.1.0",
1426 | "undefsafe": "^2.0.5"
1427 | },
1428 | "bin": {
1429 | "nodemon": "bin/nodemon.js"
1430 | },
1431 | "engines": {
1432 | "node": ">=10"
1433 | },
1434 | "funding": {
1435 | "type": "opencollective",
1436 | "url": "https://opencollective.com/nodemon"
1437 | }
1438 | },
1439 | "node_modules/nodemon/node_modules/debug": {
1440 | "version": "4.4.0",
1441 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
1442 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
1443 | "license": "MIT",
1444 | "dependencies": {
1445 | "ms": "^2.1.3"
1446 | },
1447 | "engines": {
1448 | "node": ">=6.0"
1449 | },
1450 | "peerDependenciesMeta": {
1451 | "supports-color": {
1452 | "optional": true
1453 | }
1454 | }
1455 | },
1456 | "node_modules/nodemon/node_modules/ms": {
1457 | "version": "2.1.3",
1458 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
1459 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
1460 | "license": "MIT"
1461 | },
1462 | "node_modules/nopt": {
1463 | "version": "5.0.0",
1464 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
1465 | "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==",
1466 | "license": "ISC",
1467 | "dependencies": {
1468 | "abbrev": "1"
1469 | },
1470 | "bin": {
1471 | "nopt": "bin/nopt.js"
1472 | },
1473 | "engines": {
1474 | "node": ">=6"
1475 | }
1476 | },
1477 | "node_modules/normalize-path": {
1478 | "version": "3.0.0",
1479 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
1480 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
1481 | "license": "MIT",
1482 | "engines": {
1483 | "node": ">=0.10.0"
1484 | }
1485 | },
1486 | "node_modules/npmlog": {
1487 | "version": "5.0.1",
1488 | "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz",
1489 | "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==",
1490 | "deprecated": "This package is no longer supported.",
1491 | "license": "ISC",
1492 | "dependencies": {
1493 | "are-we-there-yet": "^2.0.0",
1494 | "console-control-strings": "^1.1.0",
1495 | "gauge": "^3.0.0",
1496 | "set-blocking": "^2.0.0"
1497 | }
1498 | },
1499 | "node_modules/object-assign": {
1500 | "version": "4.1.1",
1501 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
1502 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
1503 | "license": "MIT",
1504 | "engines": {
1505 | "node": ">=0.10.0"
1506 | }
1507 | },
1508 | "node_modules/object-inspect": {
1509 | "version": "1.13.4",
1510 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
1511 | "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",
1512 | "license": "MIT",
1513 | "engines": {
1514 | "node": ">= 0.4"
1515 | },
1516 | "funding": {
1517 | "url": "https://github.com/sponsors/ljharb"
1518 | }
1519 | },
1520 | "node_modules/on-finished": {
1521 | "version": "2.4.1",
1522 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
1523 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
1524 | "license": "MIT",
1525 | "dependencies": {
1526 | "ee-first": "1.1.1"
1527 | },
1528 | "engines": {
1529 | "node": ">= 0.8"
1530 | }
1531 | },
1532 | "node_modules/once": {
1533 | "version": "1.4.0",
1534 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
1535 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
1536 | "license": "ISC",
1537 | "dependencies": {
1538 | "wrappy": "1"
1539 | }
1540 | },
1541 | "node_modules/parseurl": {
1542 | "version": "1.3.3",
1543 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
1544 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
1545 | "license": "MIT",
1546 | "engines": {
1547 | "node": ">= 0.8"
1548 | }
1549 | },
1550 | "node_modules/path-is-absolute": {
1551 | "version": "1.0.1",
1552 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
1553 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
1554 | "license": "MIT",
1555 | "engines": {
1556 | "node": ">=0.10.0"
1557 | }
1558 | },
1559 | "node_modules/path-to-regexp": {
1560 | "version": "0.1.12",
1561 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz",
1562 | "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==",
1563 | "license": "MIT"
1564 | },
1565 | "node_modules/picomatch": {
1566 | "version": "2.3.1",
1567 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
1568 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
1569 | "license": "MIT",
1570 | "engines": {
1571 | "node": ">=8.6"
1572 | },
1573 | "funding": {
1574 | "url": "https://github.com/sponsors/jonschlinkert"
1575 | }
1576 | },
1577 | "node_modules/proxy-addr": {
1578 | "version": "2.0.7",
1579 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
1580 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
1581 | "license": "MIT",
1582 | "dependencies": {
1583 | "forwarded": "0.2.0",
1584 | "ipaddr.js": "1.9.1"
1585 | },
1586 | "engines": {
1587 | "node": ">= 0.10"
1588 | }
1589 | },
1590 | "node_modules/pstree.remy": {
1591 | "version": "1.1.8",
1592 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz",
1593 | "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==",
1594 | "license": "MIT"
1595 | },
1596 | "node_modules/punycode": {
1597 | "version": "2.3.1",
1598 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
1599 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
1600 | "license": "MIT",
1601 | "engines": {
1602 | "node": ">=6"
1603 | }
1604 | },
1605 | "node_modules/qs": {
1606 | "version": "6.13.0",
1607 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
1608 | "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
1609 | "license": "BSD-3-Clause",
1610 | "dependencies": {
1611 | "side-channel": "^1.0.6"
1612 | },
1613 | "engines": {
1614 | "node": ">=0.6"
1615 | },
1616 | "funding": {
1617 | "url": "https://github.com/sponsors/ljharb"
1618 | }
1619 | },
1620 | "node_modules/range-parser": {
1621 | "version": "1.2.1",
1622 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
1623 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
1624 | "license": "MIT",
1625 | "engines": {
1626 | "node": ">= 0.6"
1627 | }
1628 | },
1629 | "node_modules/raw-body": {
1630 | "version": "2.5.2",
1631 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
1632 | "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
1633 | "license": "MIT",
1634 | "dependencies": {
1635 | "bytes": "3.1.2",
1636 | "http-errors": "2.0.0",
1637 | "iconv-lite": "0.4.24",
1638 | "unpipe": "1.0.0"
1639 | },
1640 | "engines": {
1641 | "node": ">= 0.8"
1642 | }
1643 | },
1644 | "node_modules/readable-stream": {
1645 | "version": "3.6.2",
1646 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
1647 | "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
1648 | "license": "MIT",
1649 | "dependencies": {
1650 | "inherits": "^2.0.3",
1651 | "string_decoder": "^1.1.1",
1652 | "util-deprecate": "^1.0.1"
1653 | },
1654 | "engines": {
1655 | "node": ">= 6"
1656 | }
1657 | },
1658 | "node_modules/readdirp": {
1659 | "version": "3.6.0",
1660 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
1661 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
1662 | "license": "MIT",
1663 | "dependencies": {
1664 | "picomatch": "^2.2.1"
1665 | },
1666 | "engines": {
1667 | "node": ">=8.10.0"
1668 | }
1669 | },
1670 | "node_modules/rimraf": {
1671 | "version": "3.0.2",
1672 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
1673 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
1674 | "deprecated": "Rimraf versions prior to v4 are no longer supported",
1675 | "license": "ISC",
1676 | "dependencies": {
1677 | "glob": "^7.1.3"
1678 | },
1679 | "bin": {
1680 | "rimraf": "bin.js"
1681 | },
1682 | "funding": {
1683 | "url": "https://github.com/sponsors/isaacs"
1684 | }
1685 | },
1686 | "node_modules/safe-buffer": {
1687 | "version": "5.2.1",
1688 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
1689 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
1690 | "funding": [
1691 | {
1692 | "type": "github",
1693 | "url": "https://github.com/sponsors/feross"
1694 | },
1695 | {
1696 | "type": "patreon",
1697 | "url": "https://www.patreon.com/feross"
1698 | },
1699 | {
1700 | "type": "consulting",
1701 | "url": "https://feross.org/support"
1702 | }
1703 | ],
1704 | "license": "MIT"
1705 | },
1706 | "node_modules/safer-buffer": {
1707 | "version": "2.1.2",
1708 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
1709 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
1710 | "license": "MIT"
1711 | },
1712 | "node_modules/semver": {
1713 | "version": "7.7.1",
1714 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
1715 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
1716 | "license": "ISC",
1717 | "bin": {
1718 | "semver": "bin/semver.js"
1719 | },
1720 | "engines": {
1721 | "node": ">=10"
1722 | }
1723 | },
1724 | "node_modules/send": {
1725 | "version": "0.19.0",
1726 | "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz",
1727 | "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==",
1728 | "license": "MIT",
1729 | "dependencies": {
1730 | "debug": "2.6.9",
1731 | "depd": "2.0.0",
1732 | "destroy": "1.2.0",
1733 | "encodeurl": "~1.0.2",
1734 | "escape-html": "~1.0.3",
1735 | "etag": "~1.8.1",
1736 | "fresh": "0.5.2",
1737 | "http-errors": "2.0.0",
1738 | "mime": "1.6.0",
1739 | "ms": "2.1.3",
1740 | "on-finished": "2.4.1",
1741 | "range-parser": "~1.2.1",
1742 | "statuses": "2.0.1"
1743 | },
1744 | "engines": {
1745 | "node": ">= 0.8.0"
1746 | }
1747 | },
1748 | "node_modules/send/node_modules/encodeurl": {
1749 | "version": "1.0.2",
1750 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
1751 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
1752 | "license": "MIT",
1753 | "engines": {
1754 | "node": ">= 0.8"
1755 | }
1756 | },
1757 | "node_modules/send/node_modules/ms": {
1758 | "version": "2.1.3",
1759 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
1760 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
1761 | "license": "MIT"
1762 | },
1763 | "node_modules/serve-static": {
1764 | "version": "1.16.2",
1765 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz",
1766 | "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==",
1767 | "license": "MIT",
1768 | "dependencies": {
1769 | "encodeurl": "~2.0.0",
1770 | "escape-html": "~1.0.3",
1771 | "parseurl": "~1.3.3",
1772 | "send": "0.19.0"
1773 | },
1774 | "engines": {
1775 | "node": ">= 0.8.0"
1776 | }
1777 | },
1778 | "node_modules/set-blocking": {
1779 | "version": "2.0.0",
1780 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
1781 | "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==",
1782 | "license": "ISC"
1783 | },
1784 | "node_modules/setprototypeof": {
1785 | "version": "1.2.0",
1786 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
1787 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
1788 | "license": "ISC"
1789 | },
1790 | "node_modules/side-channel": {
1791 | "version": "1.1.0",
1792 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",
1793 | "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",
1794 | "license": "MIT",
1795 | "dependencies": {
1796 | "es-errors": "^1.3.0",
1797 | "object-inspect": "^1.13.3",
1798 | "side-channel-list": "^1.0.0",
1799 | "side-channel-map": "^1.0.1",
1800 | "side-channel-weakmap": "^1.0.2"
1801 | },
1802 | "engines": {
1803 | "node": ">= 0.4"
1804 | },
1805 | "funding": {
1806 | "url": "https://github.com/sponsors/ljharb"
1807 | }
1808 | },
1809 | "node_modules/side-channel-list": {
1810 | "version": "1.0.0",
1811 | "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz",
1812 | "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==",
1813 | "license": "MIT",
1814 | "dependencies": {
1815 | "es-errors": "^1.3.0",
1816 | "object-inspect": "^1.13.3"
1817 | },
1818 | "engines": {
1819 | "node": ">= 0.4"
1820 | },
1821 | "funding": {
1822 | "url": "https://github.com/sponsors/ljharb"
1823 | }
1824 | },
1825 | "node_modules/side-channel-map": {
1826 | "version": "1.0.1",
1827 | "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",
1828 | "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",
1829 | "license": "MIT",
1830 | "dependencies": {
1831 | "call-bound": "^1.0.2",
1832 | "es-errors": "^1.3.0",
1833 | "get-intrinsic": "^1.2.5",
1834 | "object-inspect": "^1.13.3"
1835 | },
1836 | "engines": {
1837 | "node": ">= 0.4"
1838 | },
1839 | "funding": {
1840 | "url": "https://github.com/sponsors/ljharb"
1841 | }
1842 | },
1843 | "node_modules/side-channel-weakmap": {
1844 | "version": "1.0.2",
1845 | "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",
1846 | "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",
1847 | "license": "MIT",
1848 | "dependencies": {
1849 | "call-bound": "^1.0.2",
1850 | "es-errors": "^1.3.0",
1851 | "get-intrinsic": "^1.2.5",
1852 | "object-inspect": "^1.13.3",
1853 | "side-channel-map": "^1.0.1"
1854 | },
1855 | "engines": {
1856 | "node": ">= 0.4"
1857 | },
1858 | "funding": {
1859 | "url": "https://github.com/sponsors/ljharb"
1860 | }
1861 | },
1862 | "node_modules/sift": {
1863 | "version": "17.1.3",
1864 | "resolved": "https://registry.npmjs.org/sift/-/sift-17.1.3.tgz",
1865 | "integrity": "sha512-Rtlj66/b0ICeFzYTuNvX/EF1igRbbnGSvEyT79McoZa/DeGhMyC5pWKOEsZKnpkqtSeovd5FL/bjHWC3CIIvCQ==",
1866 | "license": "MIT"
1867 | },
1868 | "node_modules/signal-exit": {
1869 | "version": "3.0.7",
1870 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
1871 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
1872 | "license": "ISC"
1873 | },
1874 | "node_modules/simple-update-notifier": {
1875 | "version": "2.0.0",
1876 | "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz",
1877 | "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==",
1878 | "license": "MIT",
1879 | "dependencies": {
1880 | "semver": "^7.5.3"
1881 | },
1882 | "engines": {
1883 | "node": ">=10"
1884 | }
1885 | },
1886 | "node_modules/sparse-bitfield": {
1887 | "version": "3.0.3",
1888 | "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz",
1889 | "integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==",
1890 | "license": "MIT",
1891 | "dependencies": {
1892 | "memory-pager": "^1.0.2"
1893 | }
1894 | },
1895 | "node_modules/statuses": {
1896 | "version": "2.0.1",
1897 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
1898 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
1899 | "license": "MIT",
1900 | "engines": {
1901 | "node": ">= 0.8"
1902 | }
1903 | },
1904 | "node_modules/string_decoder": {
1905 | "version": "1.3.0",
1906 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
1907 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
1908 | "license": "MIT",
1909 | "dependencies": {
1910 | "safe-buffer": "~5.2.0"
1911 | }
1912 | },
1913 | "node_modules/string-width": {
1914 | "version": "4.2.3",
1915 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
1916 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
1917 | "license": "MIT",
1918 | "dependencies": {
1919 | "emoji-regex": "^8.0.0",
1920 | "is-fullwidth-code-point": "^3.0.0",
1921 | "strip-ansi": "^6.0.1"
1922 | },
1923 | "engines": {
1924 | "node": ">=8"
1925 | }
1926 | },
1927 | "node_modules/strip-ansi": {
1928 | "version": "6.0.1",
1929 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
1930 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
1931 | "license": "MIT",
1932 | "dependencies": {
1933 | "ansi-regex": "^5.0.1"
1934 | },
1935 | "engines": {
1936 | "node": ">=8"
1937 | }
1938 | },
1939 | "node_modules/supports-color": {
1940 | "version": "5.5.0",
1941 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
1942 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
1943 | "license": "MIT",
1944 | "dependencies": {
1945 | "has-flag": "^3.0.0"
1946 | },
1947 | "engines": {
1948 | "node": ">=4"
1949 | }
1950 | },
1951 | "node_modules/tar": {
1952 | "version": "6.2.1",
1953 | "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz",
1954 | "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==",
1955 | "license": "ISC",
1956 | "dependencies": {
1957 | "chownr": "^2.0.0",
1958 | "fs-minipass": "^2.0.0",
1959 | "minipass": "^5.0.0",
1960 | "minizlib": "^2.1.1",
1961 | "mkdirp": "^1.0.3",
1962 | "yallist": "^4.0.0"
1963 | },
1964 | "engines": {
1965 | "node": ">=10"
1966 | }
1967 | },
1968 | "node_modules/to-regex-range": {
1969 | "version": "5.0.1",
1970 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
1971 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
1972 | "license": "MIT",
1973 | "dependencies": {
1974 | "is-number": "^7.0.0"
1975 | },
1976 | "engines": {
1977 | "node": ">=8.0"
1978 | }
1979 | },
1980 | "node_modules/toidentifier": {
1981 | "version": "1.0.1",
1982 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
1983 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
1984 | "license": "MIT",
1985 | "engines": {
1986 | "node": ">=0.6"
1987 | }
1988 | },
1989 | "node_modules/touch": {
1990 | "version": "3.1.1",
1991 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz",
1992 | "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==",
1993 | "license": "ISC",
1994 | "bin": {
1995 | "nodetouch": "bin/nodetouch.js"
1996 | }
1997 | },
1998 | "node_modules/tr46": {
1999 | "version": "5.0.0",
2000 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-5.0.0.tgz",
2001 | "integrity": "sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==",
2002 | "license": "MIT",
2003 | "dependencies": {
2004 | "punycode": "^2.3.1"
2005 | },
2006 | "engines": {
2007 | "node": ">=18"
2008 | }
2009 | },
2010 | "node_modules/type-is": {
2011 | "version": "1.6.18",
2012 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
2013 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
2014 | "license": "MIT",
2015 | "dependencies": {
2016 | "media-typer": "0.3.0",
2017 | "mime-types": "~2.1.24"
2018 | },
2019 | "engines": {
2020 | "node": ">= 0.6"
2021 | }
2022 | },
2023 | "node_modules/undefsafe": {
2024 | "version": "2.0.5",
2025 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz",
2026 | "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==",
2027 | "license": "MIT"
2028 | },
2029 | "node_modules/unpipe": {
2030 | "version": "1.0.0",
2031 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
2032 | "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
2033 | "license": "MIT",
2034 | "engines": {
2035 | "node": ">= 0.8"
2036 | }
2037 | },
2038 | "node_modules/util-deprecate": {
2039 | "version": "1.0.2",
2040 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
2041 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
2042 | "license": "MIT"
2043 | },
2044 | "node_modules/utils-merge": {
2045 | "version": "1.0.1",
2046 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
2047 | "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
2048 | "license": "MIT",
2049 | "engines": {
2050 | "node": ">= 0.4.0"
2051 | }
2052 | },
2053 | "node_modules/vary": {
2054 | "version": "1.1.2",
2055 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
2056 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
2057 | "license": "MIT",
2058 | "engines": {
2059 | "node": ">= 0.8"
2060 | }
2061 | },
2062 | "node_modules/webidl-conversions": {
2063 | "version": "7.0.0",
2064 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",
2065 | "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",
2066 | "license": "BSD-2-Clause",
2067 | "engines": {
2068 | "node": ">=12"
2069 | }
2070 | },
2071 | "node_modules/whatwg-url": {
2072 | "version": "14.1.1",
2073 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.1.1.tgz",
2074 | "integrity": "sha512-mDGf9diDad/giZ/Sm9Xi2YcyzaFpbdLpJPr+E9fSkyQ7KpQD4SdFcugkRQYzhmfI4KeV4Qpnn2sKPdo+kmsgRQ==",
2075 | "license": "MIT",
2076 | "dependencies": {
2077 | "tr46": "^5.0.0",
2078 | "webidl-conversions": "^7.0.0"
2079 | },
2080 | "engines": {
2081 | "node": ">=18"
2082 | }
2083 | },
2084 | "node_modules/wide-align": {
2085 | "version": "1.1.5",
2086 | "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",
2087 | "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",
2088 | "license": "ISC",
2089 | "dependencies": {
2090 | "string-width": "^1.0.2 || 2 || 3 || 4"
2091 | }
2092 | },
2093 | "node_modules/wrappy": {
2094 | "version": "1.0.2",
2095 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
2096 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
2097 | "license": "ISC"
2098 | },
2099 | "node_modules/yallist": {
2100 | "version": "4.0.0",
2101 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
2102 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
2103 | "license": "ISC"
2104 | }
2105 | }
2106 | }
2107 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "bcrypt": "^5.1.1",
4 | "dotenv": "^16.4.7",
5 | "express": "^4.21.2",
6 | "jsonwebtoken": "^9.0.2",
7 | "mongoose": "^8.10.2",
8 | "nodemon": "^3.1.9"
9 | },
10 | "scripts": {
11 | "dev": "nodemon ./src/app.js"
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/app.js:
--------------------------------------------------------------------------------
1 | const express = require("express");
2 | const mongoose = require("mongoose");
3 | require("dotenv").config();
4 | const middleware = require("./middleware");
5 | const pessoaRoute = require("./routes/pessoa");
6 | const app = express();
7 |
8 | app.use(express.json());
9 | app.use(middleware);
10 | app.use(pessoaRoute);
11 |
12 | mongoose
13 | .connect(process.env.MONGO_STRING_CONNECTION)
14 | .then(() => {
15 | console.log("O banco de dados está rodando!");
16 | app.emit("ok");
17 | })
18 | .catch(() => {
19 | console.log("A api não conseguiu se conectar com o banco de dados!");
20 | });
21 |
22 | app.on("ok", () => {
23 | app.listen(process.env.PORT, () => {
24 | console.log(`O servidor está rodando! Na porta ${process.env.PORT}.`);
25 | });
26 | });
27 |
--------------------------------------------------------------------------------
/src/controllers/pessoa.js:
--------------------------------------------------------------------------------
1 | const pessoaModel = require("../models/pessoa");
2 | const bcrypt = require("bcrypt");
3 | const jwt = require("jsonwebtoken");
4 | require("dotenv").config();
5 |
6 | module.exports = {
7 | criarPessoa: async (req, res) => {
8 | try {
9 | const { apelido, idade, senha } = req.body;
10 | const senhaCriptografada = bcrypt.hashSync(
11 | senha,
12 | Number(process.env.ROUNDS)
13 | );
14 | const pessoa = await pessoaModel.create({
15 | apelido,
16 | idade,
17 | senha: senhaCriptografada,
18 | });
19 | if (!pessoa)
20 | throw new Error(
21 | `Impossível criar a pessoa. Leia a documentação da API para saber como enviar a requisição corretamente: https://github.com/Batissta/node-auth-api`
22 | );
23 | res.status(201).json({
24 | mensagem: "Pessoa criada com sucesso!",
25 | pessoa: {
26 | apelido,
27 | idade,
28 | senha: senhaCriptografada,
29 | },
30 | });
31 | } catch (error) {
32 | res.status(400).json({
33 | mensagem: error.message,
34 | });
35 | }
36 | },
37 | listarPessoas: async (req, res) => {
38 | try {
39 | // Realizando busca de Pessoas
40 | const pessoas = await pessoaModel.find();
41 | // Retornando corretamente Pessoas
42 | return res.status(200).json({
43 | success: true,
44 | data: pessoas,
45 | quantidade: pessoas.length
46 | });
47 | // Capturando erro em caso de falha
48 | } catch (error) {
49 | return res.status(500).json({
50 | mensagem: "Algo deu errado... Faço contato com o suporte!",
51 | });
52 | }
53 | },
54 | login: async (req, res) => {
55 | try {
56 | const { apelido, senha } = req.body;
57 | const pessoa = await pessoaModel.findOne({ apelido });
58 | if (!pessoa)
59 | return res.status(400).json({
60 | mensagem: "Credenciais Inválidas!",
61 | });
62 | const isValid = bcrypt.compareSync(senha, pessoa.senha);
63 | if (!isValid)
64 | return res.status(400).json({
65 | mensagem: "Credenciais Inválidas!",
66 | });
67 | const token = jwt.sign({ apelido: apelido }, process.env.SECRET);
68 | return res.status(200).json({
69 | token,
70 | });
71 | } catch (error) {
72 | res.status(400).json({
73 | mensagem: "Credenciais Inválidas!",
74 | });
75 | }
76 | },
77 | };
78 |
--------------------------------------------------------------------------------
/src/middleware.js:
--------------------------------------------------------------------------------
1 | require("dotenv").config();
2 | const jwt = require("jsonwebtoken");
3 |
4 | const privateRoute = {
5 | url: "http://localhost:3000/pessoas",
6 | method: "PUT",
7 | };
8 |
9 | module.exports = async (req, res, next) => {
10 | try {
11 | console.log("Middleware rodando...");
12 |
13 | const isPrivate =
14 | privateRoute.url == req.originalUrl && privateRoute.method == req.method;
15 | if (!isPrivate) return next();
16 |
17 | const authorization = req.headers.authorization;
18 | if (!authorization || !authorization.startsWith("Bearer "))
19 | return res.status(401).json({
20 | mensagem: "Você não está autorizado a passar deste ponto!",
21 | });
22 | const token = authorization.split(" ")[1];
23 | const result = jwt.verify(token, process.env.SECRET);
24 | if (!result)
25 | return res.status(401).json({
26 | mensagem: "Você não está autorizado a passar deste ponto!",
27 | });
28 |
29 | return next();
30 | } catch (error) {
31 | return res.status(400).json({
32 | mensagem: error.message,
33 | });
34 | }
35 | };
36 |
--------------------------------------------------------------------------------
/src/models/pessoa.js:
--------------------------------------------------------------------------------
1 | const mongoose = require("mongoose");
2 |
3 | const pessoaSchema = new mongoose.Schema({
4 | apelido: { type: String, required: true, unique: true },
5 | idade: { type: Number, required: true },
6 | senha: { type: String, required: true },
7 | });
8 |
9 | module.exports = mongoose.model("pessoas", pessoaSchema);
10 |
--------------------------------------------------------------------------------
/src/routes/pessoa.js:
--------------------------------------------------------------------------------
1 | const Router = require("express").Router();
2 | const { criarPessoa, listarPessoas, login } = require("../controllers/pessoa");
3 |
4 | Router.route("/pessoas")
5 | .get(listarPessoas)
6 | .post(criarPessoa)
7 | .put(async (req, res) => {
8 | res.status(200).json({ message: "Modifiquei o usuário!" });
9 | });
10 |
11 | Router.route("/pessoas/login").post(login);
12 |
13 | module.exports = Router;
14 |
--------------------------------------------------------------------------------