Skip to content

Reject malformed max-findings input - #5

Merged
GhosTnever-lkm merged 1 commit into
mainfrom
audit/diffshield-main-20261024
Oct 24, 2026
Merged

GhosTnever-lkm merged 1 commit into
mainfrom
audit/diffshield-main-20261024

Conversation

@GhosTnever-lkm

Copy link
Copy Markdown
Owner

Summary

  • Parse max-findings strictly so values such as 2oops and 1.5 fail validation instead of being silently truncated.
  • Add regression coverage for malformed and out-of-range values; update package version and changelog for v1.0.5.

Validation

  • node --check src/scan.mjs
  • node --check test/scan.test.mjs
  • node --test test/scan.test.mjs (8/8 passed)
  • git diff --check

@GhosTnever-lkm
GhosTnever-lkm merged commit 09834b2 into main Oct 24, 2026
1 check passed
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