From 52704814a32074450ec0552eb9048c586ccfe832 Mon Sep 17 00:00:00 2001 From: Assaf Attias <49212512+attiasas@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:43:02 +0300 Subject: [PATCH] Update Analyzer Manager to v1.8.8 (#485) --- src/main/scanLogic/scanRunners/analyzerManager.ts | 2 +- src/main/utils/utils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scanLogic/scanRunners/analyzerManager.ts b/src/main/scanLogic/scanRunners/analyzerManager.ts index 9c5412b0..1710a187 100644 --- a/src/main/scanLogic/scanRunners/analyzerManager.ts +++ b/src/main/scanLogic/scanRunners/analyzerManager.ts @@ -17,7 +17,7 @@ import { LogUtils } from '../../log/logUtils'; export class AnalyzerManager { private static readonly RELATIVE_DOWNLOAD_URL: string = '/xsc-gen-exe-analyzer-manager-local/v1'; private static readonly BINARY_NAME: string = 'analyzerManager'; - public static readonly ANALYZER_MANAGER_VERSION: string = '1.8.3'; + public static readonly ANALYZER_MANAGER_VERSION: string = '1.8.8'; public static readonly ANALYZER_MANAGER_PATH: string = Utils.addWinSuffixIfNeeded( path.join(ScanUtils.getIssuesPath(), AnalyzerManager.BINARY_NAME, AnalyzerManager.BINARY_NAME) ); diff --git a/src/main/utils/utils.ts b/src/main/utils/utils.ts index 933b2965..f2ddd034 100644 --- a/src/main/utils/utils.ts +++ b/src/main/utils/utils.ts @@ -5,7 +5,7 @@ import * as fs from 'fs'; import AdmZip, { IZipEntry } from 'adm-zip'; export class Utils { - private static readonly MAX_FILES_EXTRACTED_ZIP: number = 2500; + private static readonly MAX_FILES_EXTRACTED_ZIP: number = 4000; // 1 GB private static readonly MAX_SIZE_EXTRACTED_ZIP_BYTES: number = 1000000000; private static readonly COMPRESSION_THRESHOLD_RATIO: number = 100;