Skip to content

[CLOSED - Duplicate of #4904]#4903

Closed
tjhub1983 wants to merge 1 commit into
anchore:mainfrom
tjhub1983:fix/deno-versions-v3
Closed

[CLOSED - Duplicate of #4904]#4903
tjhub1983 wants to merge 1 commit into
anchore:mainfrom
tjhub1983:fix/deno-versions-v3

Conversation

@tjhub1983
Copy link
Copy Markdown

@tjhub1983 tjhub1983 commented May 8, 2026

Duplicate of #4904, closing to avoid confusion

Fixes anchore#4865

The deno-binary classifier only matched the Deno/X.Y.Z string pattern
found in newer deno binaries (1.32.3+). Versions 1.10.3 through 1.32.2
embed the version differently (via Rust binary metadata), causing syft
to report deno with no version.

Added a secondary FileContentsVersionMatcher pattern:
  deno[\s\-]*(?P<version>[0-9]+\.[0-9]+\.[0-9]+)

This catches Rust-embedded version strings in older deno binaries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: tjhub1983 <tjhub1983@users.noreply.github.com>
@tjhub1983 tjhub1983 changed the title fix(binary): support deno versions 1.10.3 - 1.32.2 in binary cataloger [CLOSED - Duplicate of #4904] May 9, 2026
@tjhub1983 tjhub1983 closed this May 9, 2026
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.

1 participant