corona-warn-app / cwa-documentation

Project overview, general documentation, and white papers. The CWA development ends on May 31, 2023. You still can warn other users until April 30, 2023. More information:
https://coronawarn.app/en/faq/#ramp_down
Apache License 2.0
3.28k stars 345 forks source link

Resolve minimist vulnerability #898

Closed MikeMcC399 closed 2 years ago

MikeMcC399 commented 2 years ago

This PR resolves the issue #897 "minimist package 1.2.5 has critical severity vulnerability".

  1. markdown-link-check is pinned to version ~3.8.7. If this step is omitted then running npm audit fix causes markdown-link-check to be updated to version 3.10.2, which causes npm run checklinks to fail.
  2. npm audit fix is executed.

The output of npm audit changes to

8 vulnerabilities (2 low, 3 moderate, 3 high).

Verification

This has been tested locally in a clone of cwa-documentation.

larswmh commented 2 years ago

@MikeMcC399 thanks!