use go.yaml.in/yaml (#4157)

Signed-off-by: Nikita Besperstov <n.bes@pm.me>
This commit is contained in:
n-bes
2025-08-26 11:24:23 -04:00
committed by GitHub
parent 7dc7c01c5c
commit 170c4c41f4
17 changed files with 19 additions and 16 deletions
@@ -11,7 +11,7 @@ import (
"strings"
"github.com/spf13/cobra"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/anchore/syft/syft/pkg/cataloger/binary/test-fixtures/manager/internal"
"github.com/anchore/syft/syft/pkg/cataloger/binary/test-fixtures/manager/internal/config"
@@ -8,7 +8,7 @@ import (
"github.com/hashicorp/go-multierror"
"github.com/scylladb/go-set/strset"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
const Path = "config.yaml"
@@ -6,7 +6,7 @@ import (
"strings"
"github.com/OneOfOne/xxhash"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
type BinaryFromImage struct {
@@ -5,7 +5,7 @@ import (
"os"
"strings"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
type SnippetMetadata struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"context"
"fmt"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/anchore/syft/syft/artifact"
"github.com/anchore/syft/syft/file"
@@ -7,7 +7,7 @@ import (
"regexp"
"sort"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/anchore/syft/internal/log"
"github.com/anchore/syft/internal/unknown"
@@ -5,7 +5,7 @@ import (
"fmt"
"io"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/anchore/syft/internal/unknown"
"github.com/anchore/syft/syft/artifact"
@@ -6,7 +6,7 @@ import (
"io"
"regexp"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/anchore/syft/internal/unknown"
"github.com/anchore/syft/syft/artifact"
@@ -6,7 +6,7 @@ import (
"io"
"strings"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/anchore/syft/internal/log"
"github.com/anchore/syft/internal/unknown"
@@ -5,7 +5,7 @@ import (
"fmt"
"io"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/anchore/syft/internal/log"
"github.com/anchore/syft/internal/unknown"
@@ -8,7 +8,7 @@ import (
"strconv"
"strings"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/anchore/syft/internal/log"
"github.com/anchore/syft/internal/unknown"
@@ -6,7 +6,7 @@ import (
"io"
"strings"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/anchore/syft/internal/unknown"
"github.com/anchore/syft/syft/artifact"