src/vs/platform/extensionManagement/common/extensionGalleryService.ts/ExtensionGalleryService/getLastValidExtensionVersion
class ExtensionGalleryService:	private async getLastValidExtensionVersion(extension: IRawGalleryExtension, versions: IRawGalleryExtensionVersion[]): Promise<IRawGalleryExtensionVersion | null> {
		const version = this.getLastValidExtensionVersionFromProperties(extension, versions);
		if (version) {
			return version;
		}
		return this.getLastValidExtensionVersionRecursively(extension, versions);
	}