@contrast/contrast 2.1.3 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,7 @@ export const HIGH = 'HIGH';
17
17
  export const CRITICAL = 'CRITICAL';
18
18
  // App
19
19
  export const APP_NAME = 'contrast';
20
- const APP_VERSION = '2.1.3';
20
+ const APP_VERSION = '2.1.5';
21
21
  export const TIMEOUT = 120000;
22
22
  export const CRITICAL_PRIORITY = 1;
23
23
  export const HIGH_PRIORITY = 2;
@@ -108,7 +108,7 @@ export const en_locales = () => {
108
108
  populateProjectIdMessage: 'project ID is %s',
109
109
  genericServiceError: 'returned with status code %s',
110
110
  permissionsError: 'You do not have the correct permissions here. \n Contact support@contrastsecurity.com to get this fixed.',
111
- scanErrorFileMessage: 'We only accept the following file types: \nJava - .jar, .war \nSource Code - .zip files',
111
+ scanErrorFileMessage: 'We only accept the following file types: \nJava - .jar, .war \nSource Code - .js or .zip files',
112
112
  helpAuthSummary: 'Authenticate Contrast using your Github or Google account OR include credentials if you are an existing licensed Contrast user.',
113
113
  helpAuditSummary: 'Searches for a suitable file in the working directory to perform a security audit of dependencies and returns the results. \n[audit --help for options] Java, .NET, Node, Ruby, Python, Go, PHP are supported. ',
114
114
  helpScanSummary: 'Searches for a .jar, .war, .js, or .zip file in the working directory, uploads files for analysis, and returns the results. \n[scan --help for options] Java, .NET, .NET Core, JavaScript are supported. ',
@@ -39,7 +39,6 @@ export const readFilesToBase64 = (languageFiles, project) => {
39
39
  };
40
40
  export const buildRequest = (languageFiles, project) => {
41
41
  const base64Files = readFilesToBase64(languageFiles, project);
42
- console.log(base64Files);
43
42
  return {
44
43
  type: project.projectType,
45
44
  files: base64Files
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/contrast",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "description": "Contrast Security's command line tool",
5
5
  "exports": "./dist/index.js",
6
6
  "type": "module",
@@ -83,7 +83,8 @@
83
83
  "string-builder": "0.1.8",
84
84
  "string-multiple-replace": "1.0.5",
85
85
  "xml2js": "0.6.1",
86
- "yarn-lockfile": "1.1.1"
86
+ "yarn-lockfile": "1.1.1",
87
+ "pkginfo": "0.4.1"
87
88
  },
88
89
  "devDependencies": {
89
90
  "@babel/core": "7.21.8",