From 066aadb4d1891fc90903d7081756421865b2bf2f Mon Sep 17 00:00:00 2001 From: witchcraze <67056980+witchcraze@users.noreply.github.com> Date: Tue, 12 Nov 2024 22:38:43 +0900 Subject: [PATCH] update node classifier (#3419) Signed-off-by: witchcraze --- syft/pkg/cataloger/binary/classifiers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syft/pkg/cataloger/binary/classifiers.go b/syft/pkg/cataloger/binary/classifiers.go index fdd7a6ab3..ddd17b26f 100644 --- a/syft/pkg/cataloger/binary/classifiers.go +++ b/syft/pkg/cataloger/binary/classifiers.go @@ -158,7 +158,7 @@ func DefaultClassifiers() []Classifier { // [NUL]v0.12.18[NUL] // [NUL]v4.9.1[NUL] // node.js/v22.9.0 - FileContentsVersionMatcher(`(?m)\x00(node )?v(?P(0|4|5)\.[0-9]+\.[0-9]+)\x00`), + FileContentsVersionMatcher(`(?m)\x00(node )?v(?P(0|4|5|6)\.[0-9]+\.[0-9]+)\x00`), FileContentsVersionMatcher(`(?m)node\.js\/v(?P[0-9]+\.[0-9]+\.[0-9]+)`), ), Package: "node",