Fixed
- #506: Fixed two XLSX-related issues (sadly, both are regression fixes):
- Stdin detection: Fixed type detection failing for XLSX files created by
various tools (e.g., theexcelizelibrary). These files have varying internal
ZIP structures that the previous detection couldn't handle. Detection now
scans ZIP local file headers instead of relying on fragile magic number
heuristics. - Output colorization: Fixed XLSX binary output (
--xlsx) being corrupted
when written tostdout. The colorization decorator was modifying the binary
data. XLSX format now bypasses colorization, like--rawoutput already does.
- Stdin detection: Fixed type detection failing for XLSX files created by
Changed
-
#504: Updated
golangci-linttov2.7.2, along with Go dependencies
and GitHub Actions workflow versions. Other tool versions have been updated too.Note that Go tool dependencies are now located in the
tools/directory, each
with its owngo.mod. Tools are invoked viago tool -modfile, e.g.
go tool -modfile=tools/golangci-lint/go.mod golangci-lint.See the Makefile and
tools/README.mdfor more detail.