EddieHubCommunity / api

API to manage our community data
https://api.eddiehub.io
MIT License
68 stars 63 forks source link

Fixed vulnerable packages and remove unused #287

Closed tbhaxor closed 2 years ago

tbhaxor commented 2 years ago

Fixes Issue

Closes #286

Changes proposed

Check List (Check all the applicable boxes)

Screenshots

Note to reviewers

eddiejaoude commented 2 years ago

GitHub Actions failed when installing dependencies, please can you take a look at the GitHub Action output

npm ERR! code ERESOLVE
[7](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:8)
npm ERR! ERESOLVE could not resolve
[8](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:9)
npm ERR! 
[9](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:10)
npm ERR! While resolving: @nestjs/core@7.5.5
[10](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:11)
npm ERR! Found: @nestjs/common@8.4.1
[11](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:12)
npm ERR! node_modules/@nestjs/common
[12](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:13)
npm ERR!   @nestjs/common@"^8.0.4" from the root project
[13](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:14)
npm ERR!   peer @nestjs/common@"^7.0.0 || ^8.0.0" from @nestjs/axios@0.0.8
[14](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:15)
npm ERR!   node_modules/@nestjs/axios
[15](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:16)
npm ERR!     @nestjs/axios@"^0.0.8" from the root project
[16](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:17)
npm ERR!   7 more (@nestjs/config, @nestjs/mapped-types, ...)
[17](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:18)
npm ERR! 
[18](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:19)
npm ERR! Could not resolve dependency:
[19](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:20)
npm ERR! peer @nestjs/common@"^7.0.0" from @nestjs/core@7.5.5
[20](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:21)
npm ERR! node_modules/@nestjs/core
[21](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:22)
npm ERR!   @nestjs/core@"^7.5.5" from the root project
[22](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:23)
npm ERR!   peer @nestjs/core@"^6.0.0 || ^7.0.0 || ^8.0.0" from @nestjs/mongoose@9.0.3
[23](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:24)
npm ERR!   node_modules/@nestjs/mongoose
[24](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:25)
npm ERR!     @nestjs/mongoose@"^9.0.1" from the root project
[25](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:26)
npm ERR!   4 more (@nestjs/platform-express, @nestjs/testing, ...)
[26](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:27)
npm ERR! 
[27](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:28)
npm ERR! Conflicting peer dependency: @nestjs/common@7.6.18
[28](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:29)
npm ERR! node_modules/@nestjs/common
[29](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:30)
npm ERR!   peer @nestjs/common@"^7.0.0" from @nestjs/core@7.5.5
[30](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:31)
npm ERR!   node_modules/@nestjs/core
[31](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:32)
npm ERR!     @nestjs/core@"^7.5.5" from the root project
[32](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:33)
npm ERR!     peer @nestjs/core@"^6.0.0 || ^7.0.0 || ^8.0.0" from @nestjs/mongoose@9.0.3
[33](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:34)
npm ERR!     node_modules/@nestjs/mongoose
[34](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:35)
npm ERR!       @nestjs/mongoose@"^9.0.1" from the root project
[35](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:36)
npm ERR!     4 more (@nestjs/platform-express, @nestjs/testing, ...)
[36](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:37)
npm ERR! 
[37](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:38)
npm ERR! Fix the upstream dependency conflict, or retry
[38](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:39)
npm ERR! this command with --force, or --legacy-peer-deps
[39](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:40)
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
[40](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:41)
npm ERR! 
[41](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:42)
npm ERR! See /home/runner/.npm/eresolve-report.txt for a full report.
[42](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:43)
[43](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:44)
npm ERR! A complete log of this run can be found in:
[44](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:45)
npm ERR!     /home/runner/.npm/_logs/2022-06-18T07_58_06_900Z-debug-0.log
[45](https://github.com/EddieHubCommunity/api/runs/6946796567?check_suite_focus=true#step:4:46)
Error: Process completed with exit code 1.
tbhaxor commented 2 years ago

Closing this because of no bandwidth to solve