@contrast/contrast 1.0.19 → 1.0.20
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.
- package/dist/audit/report/commonReportingFunctions.js +3 -4
- package/dist/audit/report/models/reportListModel.js +2 -1
- package/dist/audit/report/reportingFeature.js +1 -1
- package/dist/audit/report/utils/reportUtils.js +30 -11
- package/dist/commands/audit/auditConfig.js +1 -2
- package/dist/commands/scan/sca/scaAnalysis.js +4 -2
- package/dist/constants/constants.js +1 -1
- package/dist/constants/locales.js +6 -2
- package/dist/scaAnalysis/common/auditReport.js +16 -60
- package/dist/scaAnalysis/common/commonReportingFunctionsSca.js +154 -0
- package/dist/scaAnalysis/common/models/ScaReportModel.js +45 -0
- package/dist/scaAnalysis/common/scaServicesUpload.js +4 -3
- package/dist/scaAnalysis/common/utils/reportUtilsSca.js +76 -0
- package/dist/scaAnalysis/java/analysis.js +1 -28
- package/dist/scaAnalysis/java/index.js +1 -13
- package/dist/scan/formatScanOutput.js +19 -13
- package/dist/utils/paramsUtil/configStoreParams.js +1 -12
- package/dist/utils/paramsUtil/paramHandler.js +1 -7
- package/package.json +5 -1
- package/src/audit/report/commonReportingFunctions.js +7 -5
- package/src/audit/report/models/reportListModel.ts +12 -2
- package/src/audit/report/reportingFeature.ts +1 -1
- package/src/audit/report/utils/reportUtils.ts +4 -4
- package/src/commands/audit/auditConfig.js +1 -2
- package/src/commands/scan/sca/scaAnalysis.js +7 -2
- package/src/constants/constants.js +1 -1
- package/src/constants/locales.js +6 -2
- package/src/scaAnalysis/common/auditReport.js +25 -80
- package/src/scaAnalysis/common/commonReportingFunctionsSca.js +276 -0
- package/src/scaAnalysis/common/models/ScaReportModel.ts +81 -0
- package/src/scaAnalysis/common/scaServicesUpload.js +5 -3
- package/src/scaAnalysis/common/utils/reportUtilsSca.ts +123 -0
- package/src/scaAnalysis/java/analysis.js +1 -28
- package/src/scaAnalysis/java/index.js +1 -18
- package/src/scan/formatScanOutput.ts +28 -17
- package/src/utils/getConfig.ts +0 -1
- package/src/utils/paramsUtil/configStoreParams.js +1 -14
- package/src/utils/paramsUtil/paramHandler.js +1 -9
package/src/utils/getConfig.ts
CHANGED
|
@@ -16,17 +16,4 @@ const getAuth = () => {
|
|
|
16
16
|
return ContrastConfToUse
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
const ContrastConf = config.localConfig(APP_NAME, APP_VERSION)
|
|
21
|
-
let ContrastConfToUse = {}
|
|
22
|
-
ContrastConfToUse.javaAgreement = ContrastConf.get('javaAgreement')
|
|
23
|
-
return ContrastConfToUse
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const setAgreement = agreement => {
|
|
27
|
-
const ContrastConf = config.localConfig(APP_NAME, APP_VERSION)
|
|
28
|
-
ContrastConf.set('javaAgreement', agreement)
|
|
29
|
-
return agreement
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
module.exports = { getAuth, getAgreement, setAgreement }
|
|
19
|
+
module.exports = { getAuth }
|
|
@@ -21,12 +21,4 @@ const getAuth = params => {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
return configStoreParams.getAgreement()
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
const setAgreement = answer => {
|
|
29
|
-
return configStoreParams.setAgreement(answer)
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
module.exports = { getAuth, getAgreement, setAgreement }
|
|
24
|
+
module.exports = { getAuth }
|