@contrast/contrast 3.0.0 → 3.2.0
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/auditRequests.js +2 -2
- package/dist/auth/auth.js +8 -4
- package/dist/common/autoDetection.js +1 -1
- package/dist/constants/constants.js +1 -1
- package/dist/github/projectGroup.js +1 -1
- package/dist/index.js +3 -1
- package/dist/scaAnalysis/dotnet/index.js +4 -0
- package/dist/scaAnalysis/dotnet/scaServiceParser.js +17 -0
- package/dist/scaAnalysis/java/analysis.js +3 -0
- package/dist/scaAnalysis/scaAnalysis.js +4 -9
- package/dist/scan/processScan.js +22 -13
- package/dist/scan/scan.js +1 -1
- package/dist/scan/scanController.js +30 -26
- package/dist/scan/scanRequests.js +8 -6
- package/dist/scan/scanResults.js +2 -4
- package/package.json +14 -14
|
@@ -42,7 +42,7 @@ const retrieveProjectByOrganizationIdUrl = (config) => {
|
|
|
42
42
|
? baseUrl.concat(`?name=${config.name}`)
|
|
43
43
|
: baseUrl.concat(`?name=${config.fileName}`);
|
|
44
44
|
baseUrl = config.language
|
|
45
|
-
? baseUrl.concat(`&language=${config.language}`)
|
|
45
|
+
? baseUrl.concat(`&language=${config.language === 'DOTNET' ? 'DOT_NET' : config.language}`)
|
|
46
46
|
: baseUrl;
|
|
47
47
|
baseUrl = config.language ? baseUrl.concat(`&source=SCA`) : baseUrl;
|
|
48
48
|
baseUrl = config.repo
|
|
@@ -54,7 +54,7 @@ export async function registerProjectGroup(config, requestBody) {
|
|
|
54
54
|
const options = buildBaseRequestOptions(config, ErrorType.GENERIC);
|
|
55
55
|
options.url = registerProjectGroupUrl(config);
|
|
56
56
|
options.json = requestBody;
|
|
57
|
-
logDebug(config,
|
|
57
|
+
logDebug(config, `registerProjectGroup ${options.json}`);
|
|
58
58
|
logDebug(config, `url ${options.url}`);
|
|
59
59
|
try {
|
|
60
60
|
return await got.post(options);
|
package/dist/auth/auth.js
CHANGED
|
@@ -2,7 +2,7 @@ import { v4 as uuidv4 } from 'uuid';
|
|
|
2
2
|
import i18n from 'i18n';
|
|
3
3
|
import { failSpinner, returnOra, startSpinner, succeedSpinner } from '../utils/oraWrapper.js';
|
|
4
4
|
import { en_locales } from '../constants/locales.js';
|
|
5
|
-
import { AUTH_UI_URL, TIMEOUT } from '../constants/constants.js';
|
|
5
|
+
import { AUTH_UI_URL, CE_URL, TIMEOUT } from '../constants/constants.js';
|
|
6
6
|
import { setConfigValues } from '../utils/getConfig.js';
|
|
7
7
|
import commandLineUsage from 'command-line-usage';
|
|
8
8
|
import { commonMessageFormatter } from '../common/errorHandling.js';
|
|
@@ -14,6 +14,10 @@ import { logDebug, logInfo } from '../common/logging.js';
|
|
|
14
14
|
const messages = en_locales();
|
|
15
15
|
export const processAuth = async (argv, config) => {
|
|
16
16
|
const authParams = await getCommandLineArgsCustom(config, 'auth', argv, commandLineDefinitions.authOptionDefinitions);
|
|
17
|
+
if (authParams.host === CE_URL) {
|
|
18
|
+
logInfo(i18n.__('codeSecEoL'));
|
|
19
|
+
process.exit(0);
|
|
20
|
+
}
|
|
17
21
|
if (authParams.help) {
|
|
18
22
|
logInfo(authUsageGuide);
|
|
19
23
|
process.exit(0);
|
|
@@ -76,9 +80,9 @@ const authUsageGuide = commandLineUsage([
|
|
|
76
80
|
}
|
|
77
81
|
]);
|
|
78
82
|
const checkForCustomCredentials = (authParams) => {
|
|
79
|
-
const hasSomeKeys = authParams.apiKey
|
|
80
|
-
authParams.organizationId
|
|
81
|
-
authParams.host
|
|
83
|
+
const hasSomeKeys = authParams.apiKey ??
|
|
84
|
+
authParams.organizationId ??
|
|
85
|
+
authParams.host ??
|
|
82
86
|
authParams.authorization;
|
|
83
87
|
const hasAllKeys = authParams.apiKey &&
|
|
84
88
|
authParams.organizationId &&
|
|
@@ -54,7 +54,7 @@ export const detectPackageManager = array => {
|
|
|
54
54
|
i['language'] = PYTHON;
|
|
55
55
|
i['packageManager'] = 'PYPI';
|
|
56
56
|
}
|
|
57
|
-
if (i.filePath && i.filePath.includes('
|
|
57
|
+
if (i.filePath && i.filePath.includes('packages-lock.json')) {
|
|
58
58
|
i['language'] = DOTNET;
|
|
59
59
|
i['packageManager'] = 'NUGET';
|
|
60
60
|
}
|
|
@@ -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 = '3.
|
|
20
|
+
const APP_VERSION = '3.2.0';
|
|
21
21
|
export const TIMEOUT = 120000;
|
|
22
22
|
export const CRITICAL_PRIORITY = 1;
|
|
23
23
|
export const HIGH_PRIORITY = 2;
|
|
@@ -74,7 +74,7 @@ export const createProject = (param, shortenedProjectName) => {
|
|
|
74
74
|
path: param.fileName,
|
|
75
75
|
name: param.repo ? shortenedProjectName : getProjectName(param),
|
|
76
76
|
source: 'SCA',
|
|
77
|
-
language: param.language,
|
|
77
|
+
language: param.language === 'DOTNET' ? 'DOT_NET' : param.language,
|
|
78
78
|
packageManager: param.packageManager,
|
|
79
79
|
target: 'SCA',
|
|
80
80
|
sourceId: ''
|
package/dist/index.js
CHANGED
|
@@ -18,6 +18,7 @@ import { processSarif } from './sarif/generateSarif.js';
|
|
|
18
18
|
import { logInfo } from './common/logging.js';
|
|
19
19
|
import { generateYamlConfiguration } from './generateYaml/index.js';
|
|
20
20
|
import i18n from 'i18n';
|
|
21
|
+
import { exit } from 'process';
|
|
21
22
|
const config = localConfig(APP_NAME, getAppVersion());
|
|
22
23
|
const getMainOption = () => {
|
|
23
24
|
const mainOptions = commandLineArgs(commandLineDefinitions.mainDefinition, {
|
|
@@ -25,7 +26,7 @@ const getMainOption = () => {
|
|
|
25
26
|
camelCase: true,
|
|
26
27
|
caseInsensitive: true
|
|
27
28
|
});
|
|
28
|
-
const argv = mainOptions._unknown
|
|
29
|
+
const argv = mainOptions._unknown ?? [];
|
|
29
30
|
return {
|
|
30
31
|
mainOptions,
|
|
31
32
|
argv
|
|
@@ -62,6 +63,7 @@ const start = async () => {
|
|
|
62
63
|
}
|
|
63
64
|
if (config.get('host') === CE_URL) {
|
|
64
65
|
logInfo(i18n.__('codeSecEoL'));
|
|
66
|
+
exit(0);
|
|
65
67
|
}
|
|
66
68
|
if (command === 'lambda') {
|
|
67
69
|
return await processLambda(argvMain);
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { getDotNetDeps } from './analysis.js';
|
|
2
2
|
import { createDotNetTSMessage } from '../common/formatMessage.js';
|
|
3
|
+
import { parseDotNet } from './scaServiceParser.js';
|
|
3
4
|
export const dotNetAnalysis = (config, languageFiles) => {
|
|
4
5
|
const dotNetDeps = getDotNetDeps(config, languageFiles.DOTNET);
|
|
6
|
+
if (config.legacy === false) {
|
|
7
|
+
return parseDotNet(dotNetDeps);
|
|
8
|
+
}
|
|
5
9
|
return createDotNetTSMessage(dotNetDeps);
|
|
6
10
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const parseDotNet = rawNode => {
|
|
2
|
+
let dependencyTree = {};
|
|
3
|
+
const dependencies = rawNode?.lockFile?.dependencies || {};
|
|
4
|
+
for (const [framework, frameworkDeps] of Object.entries(dependencies)) {
|
|
5
|
+
for (const [depName, depDetails] of Object.entries(frameworkDeps)) {
|
|
6
|
+
dependencyTree[depName] = {
|
|
7
|
+
group: depName,
|
|
8
|
+
name: `${depName}.dll`,
|
|
9
|
+
directDependency: 'true',
|
|
10
|
+
version: depDetails.resolved,
|
|
11
|
+
dependencies: Object.keys(depDetails.dependencies || []).map(key => `"${key}"`),
|
|
12
|
+
productionDependency: depDetails.type === 'Direct' || depDetails.type === 'Transitive'
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return dependencyTree;
|
|
17
|
+
};
|
|
@@ -74,6 +74,9 @@ export const calculateMavenCommand = projectData => {
|
|
|
74
74
|
else {
|
|
75
75
|
projectData.mvnCommand = 'mvn';
|
|
76
76
|
}
|
|
77
|
+
if (projectData.mvnCommand.includes('//')) {
|
|
78
|
+
projectData.mvnCommand = projectData.mvnCommand.replace(/\/+/g, '/');
|
|
79
|
+
}
|
|
77
80
|
};
|
|
78
81
|
export function checkForErrors(cmdDepTree, config) {
|
|
79
82
|
checkMavenExists(cmdDepTree, config);
|
|
@@ -71,15 +71,10 @@ export const processSca = async (config) => {
|
|
|
71
71
|
messageToSend = await determineFlow(config, filesFound, goAnalysis);
|
|
72
72
|
break;
|
|
73
73
|
case DOTNET:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
else {
|
|
79
|
-
messageToSend = dotNetAnalysis(config, filesFound[0]);
|
|
80
|
-
config.language = DOTNET;
|
|
81
|
-
break;
|
|
82
|
-
}
|
|
74
|
+
config.language = DOTNET;
|
|
75
|
+
config.packageManager = 'NUGET';
|
|
76
|
+
messageToSend = dotNetAnalysis(config, filesFound[0]);
|
|
77
|
+
break;
|
|
83
78
|
default:
|
|
84
79
|
//something is wrong
|
|
85
80
|
logInfo('No supported language detected in project path');
|
package/dist/scan/processScan.js
CHANGED
|
@@ -1,30 +1,39 @@
|
|
|
1
1
|
import scanConfig from './scanConfig.js';
|
|
2
|
-
import { startScan } from './scanController.js';
|
|
2
|
+
import { startScan, startScanWithResults } from './scanController.js';
|
|
3
3
|
import { saveScanFile } from '../utils/saveFile.js';
|
|
4
4
|
import { ScanResultsModel } from './models/scanResultsModel.js';
|
|
5
5
|
import { formatScanOutput } from './formatScanOutput.js';
|
|
6
6
|
import { sendTelemetryConfigAsObject } from '../telemetry/telemetry.js';
|
|
7
7
|
import { processFail } from '../common/fail.js';
|
|
8
8
|
import { postRunMessage } from '../common/commonHelp.js';
|
|
9
|
-
import { logInfo } from '../common/logging.js';
|
|
9
|
+
import { logDebug, logInfo } from '../common/logging.js';
|
|
10
10
|
import { validateHost } from '../utils/validationCheck.js';
|
|
11
11
|
export const processScan = async (contrastConf, argv) => {
|
|
12
12
|
let config = await scanConfig.getScanConfig(contrastConf, 'scan', argv);
|
|
13
13
|
validateHost(config);
|
|
14
|
-
let
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
output = formatScanOutput(scanResults);
|
|
19
|
-
}
|
|
20
|
-
if (config.save !== undefined) {
|
|
21
|
-
await saveScanFile(config, scanResults);
|
|
14
|
+
let scanResults;
|
|
15
|
+
if (config.ff) {
|
|
16
|
+
logDebug(config, 'Is fire and forget request');
|
|
17
|
+
await startScan(config);
|
|
22
18
|
}
|
|
23
19
|
else {
|
|
24
|
-
|
|
20
|
+
scanResults = new ScanResultsModel(await startScanWithResults(config));
|
|
25
21
|
}
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
await sendTelemetryConfigAsObject(config, 'scan', argv, 'SUCCESS', config.ff ? 'UNKNOWN' : scanResults.scanDetail.language);
|
|
23
|
+
if (!config.ff) {
|
|
24
|
+
let output;
|
|
25
|
+
if (scanResults.scanResultsInstances !== undefined) {
|
|
26
|
+
output = formatScanOutput(scanResults);
|
|
27
|
+
}
|
|
28
|
+
if (config.save !== undefined) {
|
|
29
|
+
await saveScanFile(config, scanResults);
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
logInfo('\nUse contrast scan --save to save results as a SARIF');
|
|
33
|
+
}
|
|
34
|
+
if (config.fail) {
|
|
35
|
+
processFail(config, output);
|
|
36
|
+
}
|
|
28
37
|
}
|
|
29
38
|
postRunMessage('scan');
|
|
30
39
|
};
|
package/dist/scan/scan.js
CHANGED
|
@@ -13,7 +13,7 @@ export const isFileAllowed = (scanOption) => {
|
|
|
13
13
|
});
|
|
14
14
|
return valid;
|
|
15
15
|
};
|
|
16
|
-
export const
|
|
16
|
+
export const uploadArtifact = async (config) => {
|
|
17
17
|
if (!isFileAllowed(config.file)) {
|
|
18
18
|
const message = i18n.__('scanErrorFileMessage');
|
|
19
19
|
logDebug(config, message);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import i18n from 'i18n';
|
|
2
2
|
import { populateProjectId } from './populateProjectIdAndProjectName.js';
|
|
3
|
-
import {
|
|
3
|
+
import { uploadArtifact } from './scan.js';
|
|
4
4
|
import { performance } from 'perf_hooks';
|
|
5
5
|
import { fileExists, fileIsEmpty } from './fileUtils.js';
|
|
6
6
|
import { returnOra, startSpinner, stopSpinner, succeedSpinner } from '../utils/oraWrapper.js';
|
|
7
7
|
import { returnScanResults } from './scanResults.js';
|
|
8
8
|
import { autoDetectFileAndLanguage } from '../common/autoDetection.js';
|
|
9
|
-
import { getScanResultsInstances } from './scanRequests.js';
|
|
9
|
+
import { submitScanForArtifact, getScanResultsInstances } from './scanRequests.js';
|
|
10
10
|
import { logDebug, logInfo } from '../common/logging.js';
|
|
11
11
|
const getTimeout = config => {
|
|
12
12
|
if (config.timeout) {
|
|
@@ -40,7 +40,6 @@ export const fileAndLanguageLogic = async (configToUse) => {
|
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
export const startScan = async (configToUse) => {
|
|
43
|
-
const startTime = performance.now();
|
|
44
43
|
await fileAndLanguageLogic(configToUse);
|
|
45
44
|
let newProject;
|
|
46
45
|
if (!configToUse.projectId) {
|
|
@@ -51,28 +50,33 @@ export const startScan = async (configToUse) => {
|
|
|
51
50
|
else {
|
|
52
51
|
newProject = false;
|
|
53
52
|
}
|
|
54
|
-
const codeArtifactId = await
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
53
|
+
const codeArtifactId = await uploadArtifact(configToUse);
|
|
54
|
+
const scanId = await submitScanForArtifact(configToUse, codeArtifactId);
|
|
55
|
+
logDebug(configToUse, `For proj: ${configToUse.projectId}, is new: ${newProject}, new scanId submitted: ${scanId}`);
|
|
56
|
+
return { newProject, scanId };
|
|
57
|
+
};
|
|
58
|
+
export const startScanWithResults = async (configToUse) => {
|
|
59
|
+
const startTime = performance.now();
|
|
60
|
+
const { newProject, scanId } = await startScan(configToUse);
|
|
61
|
+
const startScanSpinner = returnOra('🚀 Contrast Scan started');
|
|
62
|
+
startSpinner(startScanSpinner);
|
|
63
|
+
const scanDetail = await returnScanResults(configToUse, scanId, newProject, getTimeout(configToUse), startScanSpinner);
|
|
64
|
+
const scanResultsInstances = await getScanResultsInstances(configToUse, scanDetail.id);
|
|
65
|
+
const endTime = performance.now();
|
|
66
|
+
const scanDurationMs = endTime - startTime;
|
|
67
|
+
if (scanResultsInstances.statusCode !== 200) {
|
|
68
|
+
stopSpinner(startScanSpinner);
|
|
69
|
+
const message = 'Result Service is unavailable, please try again later';
|
|
70
|
+
logInfo(message);
|
|
71
|
+
logDebug(configToUse, message);
|
|
72
|
+
process.exit(1);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
succeedSpinner(startScanSpinner, 'Contrast Scan complete');
|
|
76
|
+
logInfo(`----- Scan completed in ${(scanDurationMs / 1000).toFixed(2)}s -----`);
|
|
77
|
+
return {
|
|
78
|
+
scanDetail,
|
|
79
|
+
scanResultsInstances: scanResultsInstances.body
|
|
80
|
+
};
|
|
77
81
|
}
|
|
78
82
|
};
|
|
@@ -2,6 +2,7 @@ import { buildBaseRequestOptions, ErrorType } from '../common/baseRequest.js';
|
|
|
2
2
|
import { got } from 'got';
|
|
3
3
|
import fs from 'fs';
|
|
4
4
|
import FormData from 'form-data';
|
|
5
|
+
import { logDebug } from '../common/logging.js';
|
|
5
6
|
export function createProjectId(config) {
|
|
6
7
|
const options = buildBaseRequestOptions(config, ErrorType.SCAN);
|
|
7
8
|
options.json = {
|
|
@@ -38,17 +39,18 @@ export async function sendArtifact(config) {
|
|
|
38
39
|
function createHarmonyUrl(config) {
|
|
39
40
|
return `${config.host}/Contrast/api/sast/v1/organizations/${config.organizationId}/projects/${config.projectId}/code-artifacts`;
|
|
40
41
|
}
|
|
41
|
-
export
|
|
42
|
+
export const submitScanForArtifact = async (config, codeArtifactId) => {
|
|
42
43
|
const options = buildBaseRequestOptions(config, ErrorType.SCAN);
|
|
43
44
|
options.url = createGetScanIdURL(config);
|
|
44
45
|
options.json = {
|
|
45
46
|
codeArtifactId: codeArtifactId,
|
|
46
|
-
label: config.label
|
|
47
|
-
? config.label
|
|
48
|
-
: `Started by CLI tool at ${new Date().toString()}`
|
|
47
|
+
label: config.label ?? `Started by CLI tool at ${new Date().toString()}`
|
|
49
48
|
};
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
logDebug(config, `Kicked off scan for project ${config.projectId} and codeArtifact: ${codeArtifactId}`);
|
|
50
|
+
const post = (await got.post(options));
|
|
51
|
+
const body = post.body;
|
|
52
|
+
return body.id;
|
|
53
|
+
};
|
|
52
54
|
const createGetScanIdURL = (config) => {
|
|
53
55
|
return `${config.host}/Contrast/api/sast/v1/organizations/${config.organizationId}/projects/${config.projectId}/scans/`;
|
|
54
56
|
};
|
package/dist/scan/scanResults.js
CHANGED
|
@@ -2,15 +2,13 @@ import { sleep, millisToSeconds, timeOutError } from '../utils/requestUtils.js';
|
|
|
2
2
|
import i18n from 'i18n';
|
|
3
3
|
import readline from 'readline';
|
|
4
4
|
import { failSpinner, stopSpinner } from '../utils/oraWrapper.js';
|
|
5
|
-
import { createNewEvent,
|
|
5
|
+
import { createNewEvent, getSpecificScanResult } from './scanRequests.js';
|
|
6
6
|
import { logDebug, logInfo } from '../common/logging.js';
|
|
7
7
|
export const pollScanResults = async (config, scanId) => {
|
|
8
8
|
await sleep(5000);
|
|
9
9
|
return getSpecificScanResult(config, scanId);
|
|
10
10
|
};
|
|
11
|
-
export const returnScanResults = async (config,
|
|
12
|
-
const scanIdRes = await getScanId(config, codeArtifactId);
|
|
13
|
-
const scanId = scanIdRes.body.id;
|
|
11
|
+
export const returnScanResults = async (config, scanId, newProject, timeout, startScanSpinner) => {
|
|
14
12
|
// send metrics event to sast-event-collector
|
|
15
13
|
if (process.env.CODESEC_INVOCATION_ENVIRONMENT &&
|
|
16
14
|
process.env.CODESEC_INVOCATION_ENVIRONMENT.toUpperCase() === 'GITHUB') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/contrast",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Contrast Security's command line tool",
|
|
5
5
|
"exports": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@aws-sdk/client-iam": "3.370.0",
|
|
57
|
-
"@aws-sdk/client-lambda": "3.
|
|
57
|
+
"@aws-sdk/client-lambda": "3.782.0",
|
|
58
58
|
"@aws-sdk/config-resolver": "^3.374.0",
|
|
59
59
|
"@aws-sdk/credential-provider-ini": "3.370.0",
|
|
60
60
|
"@aws-sdk/middleware-signing": "3.370.0",
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
"cli-table3": "0.6.3",
|
|
65
65
|
"command-line-args": "5.2.1",
|
|
66
66
|
"command-line-usage": "6.1.3",
|
|
67
|
-
"conf": "
|
|
68
|
-
"cross-spawn": "7.0.
|
|
67
|
+
"conf": "13.1.0",
|
|
68
|
+
"cross-spawn": "7.0.6",
|
|
69
69
|
"fast-glob": "3.3.1",
|
|
70
|
-
"fast-xml-parser": "
|
|
70
|
+
"fast-xml-parser": "5.2.0",
|
|
71
71
|
"form-data": "4.0.0",
|
|
72
72
|
"g": "^2.0.1",
|
|
73
|
-
"got": "
|
|
73
|
+
"got": "14.4.7",
|
|
74
74
|
"gradle-to-js": "2.0.1",
|
|
75
75
|
"hpagent": "1.2.0",
|
|
76
76
|
"i18n": "0.15.1",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"yarn-lockfile": "1.1.1"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
|
-
"@babel/core": "7.
|
|
91
|
+
"@babel/core": "7.23.2",
|
|
92
92
|
"@babel/preset-modules": "0.1.6",
|
|
93
93
|
"@types/command-line-args": "5.2.0",
|
|
94
94
|
"@types/command-line-usage": "5.0.2",
|
|
@@ -101,13 +101,13 @@
|
|
|
101
101
|
"@typescript-eslint/parser": "5.62.0",
|
|
102
102
|
"@vitest/coverage-v8": "0.34.3",
|
|
103
103
|
"csv-writer": "1.6.0",
|
|
104
|
-
"dotenv": "16.
|
|
105
|
-
"esbuild": "0.
|
|
106
|
-
"eslint": "
|
|
107
|
-
"eslint-config-prettier": "
|
|
108
|
-
"eslint-plugin-prettier": "
|
|
104
|
+
"dotenv": "16.4.7",
|
|
105
|
+
"esbuild": "0.25.2",
|
|
106
|
+
"eslint": "9.24.0",
|
|
107
|
+
"eslint-config-prettier": "10.1.1",
|
|
108
|
+
"eslint-plugin-prettier": "5.2.6",
|
|
109
109
|
"husky": "3.1.0",
|
|
110
|
-
"mocha": "
|
|
110
|
+
"mocha": "11.1.0",
|
|
111
111
|
"nock": "13.3.2",
|
|
112
112
|
"npm-license-crawler": "0.2.1",
|
|
113
113
|
"prettier": "2.8.8",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"ts-node": "^10.9.2",
|
|
117
117
|
"typescript": "5.1.6",
|
|
118
118
|
"uuid": "9.0.0",
|
|
119
|
-
"vitest": "1.
|
|
119
|
+
"vitest": "1.6.1"
|
|
120
120
|
},
|
|
121
121
|
"resolutions": {
|
|
122
122
|
"faker": "5.5.3",
|