0

I'm maintaining some large NodeJS applications(micro-services, apps), which consume many(at least 100+) dependencies. Updating those dependencies to fix a security vulnerability forces me to spend valuable development time.

Is there any way to automate package updates across repositories?
We're using GitLab for SCM.

I had thought of some options like:

  1. Separating out core dependencies into a base level library.
  2. Maintain a repository that specifies security-cleared dependency versions and repositories to be updated whenever the cleared list changes.

Any additional suggestions/examples?

the-petrolhead
  • 597
  • 1
  • 5
  • 16

1 Answers1

3

Just to help shortlist approaches mentioned in the question:

1. Separating core dependencies into a "Core" library.

  • This can reduce the number of updates. But the libraries based on "Core" sill still have their own dependencies, which may be prone to vulnerabilities and the update cycle must be repeated for them manually. This approach just procrastinate the manual updates.

2. Maintain a repository that specifies security-cleared dependency versions and repositories to be updated whenever the cleared list changes.

the-petrolhead
  • 597
  • 1
  • 5
  • 16