Skip to content

fix: recognize modern binary media formats - #46

Merged
royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
Yurii201811:fix/modern-binary-formats
Sep 23, 2026
Merged

royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
Yurii201811:fix/modern-binary-formats

Conversation

@Yurii201811

Copy link
Copy Markdown
Contributor

What does this PR do?

I added the eight media extensions listed in #43 to binary classification. These files now skip text reads and contribute zero text tokens; the regressions cover uppercase extensions and the full and partial read paths.

Closes #43.

Checklist

  • Tests pass (node --test)
  • Updated docs / README if behavior changed
  • Added a CHANGELOG.md entry
  • Followed the existing code style

Notes

29 tests pass with Node 20.20.0, plus the fixture CLI JSON smoke. Both new regressions failed on unchanged main before the fix.

I bumped the patch version as required and removed the existing conflict markers from package-lock.json while synchronizing its version. No runtime dependencies were added.

Prepared with assistance from Codex.

@royalpinto007
royalpinto007 merged commit 142ff30 into AgentPostmortem:main Sep 23, 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.

BINARY_EXT misses modern formats, binaries read as UTF-8 text

2 participants