Skip to content

fix(cli): bound list stdin input - #19

Merged
ralyodio merged 2 commits into
moshcoder:mainfrom
aiirvizionz:fix/list-stdin-bounds
Aug 10, 2026
Merged

fix(cli): bound list stdin input#19
ralyodio merged 2 commits into
moshcoder:mainfrom
aiirvizionz:fix/list-stdin-bounds

Conversation

@aiirvizionz

@aiirvizionz aiirvizionz commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • bound list stdin reads to the same 1 MiB and 1000-line limits as check and parse
  • apply the guard to both explicit list - and implicit stdin mode
  • return the existing machine-readable error instead of silently truncating oversized input

Verification

  • npm test (53 passing)
  • git diff --check

This is a small bugfix under the pinned-repositories task. Please merge if useful; invoice only after merge.

aiirvizionz and others added 2 commits August 9, 2026 18:19
PR moshcoder#18 added a mixed-stdin-input guard to the list command while this
branch swapped its unbounded readStdin() for the bounded
readCommandStdin(). Keep both: reject mixed inputs first, then read
stdin under the 1 MiB / MAX_BULK_TLDS caps.
@ralyodio
ralyodio merged commit 236b6c6 into moshcoder:main Aug 10, 2026
2 checks 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.

2 participants