package unmarshal

import (
	"io"

	"github.com/anchore/grype/grype/db/internal/provider/unmarshal/nvd"
)

type (
	NVDVulnerability = nvd.CveItem
)

func NvdVulnerabilityEntries(reader io.Reader) ([]nvd.Vulnerability, error) {
	return unmarshalSingleOrMulti[nvd.Vulnerability](reader)
}
