ericcornelissen/js-regex-security-scanner

Prevent having to update snapshots for releases

Closed this issue · 0 comments

Relates to #46


Summary

Per the Release Guidelines when creating a release it's necessary to update the test snapshots. This is because the scanner output always includes the current version number.

It's not really necessary to always output the version number, and having to update snapshots every release just for this reason is not ideal. Hence, ideally this is fixed by either:

  1. Updating the tests so that the snapshots don't need to be updated.
  2. Updating the scanner to not output the version number by default. (preferred)