def METHOD_NAME(pkgs: List[str]) -> List[PackageURL]:
    for pkg in pkgs:
        if not pkg:
            continue
            # pkg is of the form "Firefox ESR 1.21" or "Thunderbird 2.21"
        name, _, version = pkg.rpartition(" ")
        if version and name:
            try:
                # count no of "." in version
                # if 3, then it is not a valid semver version
                if version.count(".") == 3:
                    continue
                fixed_version = SemverVersion(version)
                yield AffectedPackage(
                    package=PackageURL(
                        type="mozilla",
                        name=name,
                    ),
                    fixed_version=fixed_version,
                )
            except Exception:
                logger.exception(f"Error parsing version {version} for {name}")