Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CM-29616 - Add Elixir support for SCA #61

Merged
merged 2 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/cli-wrapper/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ export enum CommandParameters {
SCAScanType = 'sca',
}

export const MinCLIVersion = '1.2.0';
export const MinCLIVersion = '1.5.0';
3 changes: 3 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ const _SCA_CONFIGURATION_SCAN_SUPPORTED_FILES: ReadonlyArray<string> = [
'pipfile.lock',
'requirements.txt',
'setup.py',
'mix.exs',
'mix.lock',
];

// keep in lowercase. based on _SCA_CONFIGURATION_SCAN_SUPPORTED_FILES
Expand All @@ -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<string> =
Expand Down