Repository navigation
feat: rework plugin presets — ALL exhaustive, MODERN web-only, new MODERN_RAW - #34
Merged
Merged
Conversation
…s, add MODERN_RAW
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reworks the plugin presets so each does exactly what its name says:
ALL_PLUGINS— now literallyBUILTIN_PLUGINS(same array, same detection order): all 13 shipped parsers. Was a bare alias ofMODERN_PLUGINS.MODERN_PLUGINS— scoped to web image formats: JPEG, GIF, PNG, WebP, AVIF. Selection grounded in HTTP Archive's Web Almanac 2024 (~11M image requests: JPEG 32.4%, PNG 28.4%, GIF 16.8%, WebP 12%, AVIF 1.0% — ~91% of web image traffic). Drops TIFF-RAW/EXIF/EXV/ICC/XMP/netpbm from the preset.MODERN_RAW_PLUGINS(new) —tiffRawParser(TIFF/DNG/CR2/NEF/ARW/ORF/RW2/PEF/ERF/DCR/SRW) +xmpParserfor.xmpsidecar writes against RAW containers.Also: browser entry exports the new preset, plugins.test.ts pins the new semantics, README + docs API page updated (the mirror had drifted to v0.1.3 content), CHANGELOG Unreleased entry.
Verification: full suite 988/55 green,
tscclean, smoke test through the public API (ExifTool({ plugins: MODERN_RAW_PLUGINS })writes and re-reads an XMP file).🤖 Created by omp (session
2026-10-19T12-58-37-190Z_01a1543e-1506-7178-9c0a-c3f877831313)