Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies & fix vulnerabilities #215

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kabachook
Copy link
Contributor

@kabachook kabachook commented Jun 3, 2021

Major bumps:
migrate-mongo: ^7.2.2 -> ^8.2.2, dropes Node 10 support
amqplib: ^0.5.6 -> ^0.8.0, dropes Node 10 support
dotenv: ^8 -> ^10, dropes Node 10 support

Other changes:

  • remove dotenv in hawk-worker-archiver, since global workspace already depends on it

TODO:

  • update deps in our projects
yarn audit v1.22.10
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ high          │ Server-Side Request Forgery                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ axios                                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=0.21.1                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @hawk.so/nodejs                                              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ @hawk.so/nodejs > axios                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/1594                        │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ high          │ Server-Side Request Forgery                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ axios                                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=0.21.1                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ codex-accounting-sdk                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ codex-accounting-sdk > axios                                 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/1594                        │
└───────────────┴──────────────────────────────────────────────────────────────┘
2 vulnerabilities found - Packages audited: 1225
  • move common dependencies to global workspace: ts-node,typescript,webpack,@types/node,axios,webpack

@kabachook kabachook force-pushed the kabachook/update-deps branch from d96dd3a to 8602d20 Compare June 7, 2021 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant