[agent] Filed by Claude Code on behalf of Mikola Lysenko (@mikolalysenko) while adding Maven patch SBOM annotations to depscan. Reproduced with a release build of socket-patch 3efdc31d (sha256 dc5fb57f…), a stub patch API, and real Apache Maven 2.2.1 through 4.0.0-rc-7 (13 lines) on macOS arm64 / JDK 26.
Severity: low (cosmetic; noisy diffs, and some repos enforce line endings).
Cells: crlf × all 7 modes, all 13 lines (91 cells; optional check lineEndingsPreserved false).
Repro: a CRLF-only pom.xml depending on commons-text 1.9, then scan --mode hosted or get --mode vendored. The
result has 30 lines, of which 13 end in bare \n: the whole inserted <repositories> block. The hosted version
rewrite itself keeps CRLF. Likely sources: insert_maven_repository (patch/redirect/mod.rs:6268, a \n-joined
block) and vendor/maven_repo.rs::repository_block. Other ecosystems' rewriters were not checked.
[agent] Filed by Claude Code on behalf of Mikola Lysenko (@mikolalysenko) while adding Maven patch SBOM annotations to depscan. Reproduced with a release build of socket-patch
3efdc31d(sha256dc5fb57f…), a stub patch API, and real Apache Maven 2.2.1 through 4.0.0-rc-7 (13 lines) on macOS arm64 / JDK 26.Severity: low (cosmetic; noisy diffs, and some repos enforce line endings).
Cells:
crlf× all 7 modes, all 13 lines (91 cells; optional checklineEndingsPreservedfalse).Repro: a CRLF-only
pom.xmldepending on commons-text 1.9, thenscan --mode hostedorget --mode vendored. Theresult has 30 lines, of which 13 end in bare
\n: the whole inserted<repositories>block. The hosted versionrewrite itself keeps CRLF. Likely sources:
insert_maven_repository(patch/redirect/mod.rs:6268, a\n-joinedblock) and
vendor/maven_repo.rs::repository_block. Other ecosystems' rewriters were not checked.