From 97647fc2b4563adda9d64d8d8fd4f89c8fb13a94 Mon Sep 17 00:00:00 2001 From: Ilya Siamionau Date: Tue, 28 Nov 2023 13:12:01 +0100 Subject: [PATCH 1/2] CM-29616 - Add Elixir support for SCA --- src/constants.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/constants.ts b/src/constants.ts index 735f7b2..3ccc713 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -34,6 +34,8 @@ const _SCA_CONFIGURATION_SCAN_SUPPORTED_FILES: ReadonlyArray = [ 'pipfile.lock', 'requirements.txt', 'setup.py', + 'mix.exs', + 'mix.lock', ]; // keep in lowercase. based on _SCA_CONFIGURATION_SCAN_SUPPORTED_FILES @@ -50,6 +52,7 @@ const _SCA_CONFIGURATION_SCAN_LOCK_FILE_TO_PACKAGE_FILE: { [key: string]: string 'build.sbt.lock': 'build.sbt', // and build.scala? 'poetry.lock': 'pyproject.toml', 'pipfile.lock': 'pipfile', + 'mix.lock': 'mix.exs', }; const _SCA_CONFIGURATION_SCAN_SUPPORTED_LOCK_FILES: ReadonlyArray = From 3e24fa1db566dcf805e162a04e953563caf5d7a4 Mon Sep 17 00:00:00 2001 From: Ilya Siamionau Date: Tue, 28 Nov 2023 13:14:23 +0100 Subject: [PATCH 2/2] bump versions --- package.json | 2 +- src/cli-wrapper/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 216e938..0342d4e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/cycodehq/vscode-extension" }, "homepage": "https://cycode.com/", - "version": "1.0.1", + "version": "1.1.0", "publisher": "cycode", "engines": { "vscode": "^1.63.0" diff --git a/src/cli-wrapper/constants.ts b/src/cli-wrapper/constants.ts index c16dd41..1c774a6 100644 --- a/src/cli-wrapper/constants.ts +++ b/src/cli-wrapper/constants.ts @@ -20,4 +20,4 @@ export enum CommandParameters { SCAScanType = 'sca', } -export const MinCLIVersion = '1.2.0'; +export const MinCLIVersion = '1.5.0';