diff --git a/package-lock.json b/package-lock.json index f29c708..de70a47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "opengrep-playground", - "version": "1.10.2", + "version": "1.11.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "opengrep-playground", - "version": "1.10.2", + "version": "1.11.5", "license": "MIT", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.7.2", diff --git a/package.json b/package.json index 92ad9c4..ae72fde 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "opengrep-playground", "productName": "opengrep-playground", - "version": "1.10.2", + "version": "1.11.5", "description": "Opengrep Playgorund Editor", "main": ".vite/build/main.js", "scripts": { diff --git a/src/components/RuleResults.vue b/src/components/RuleResults.vue index 2216264..6d0a7e6 100644 --- a/src/components/RuleResults.vue +++ b/src/components/RuleResults.vue @@ -155,6 +155,7 @@ async function runBinaryForScan(binaryPath, runScanWithoutMatchingExplanations) '--json', '--dataflow-traces', '--experimental', + '--taint-intrafile', ]; if (!runScanWithoutMatchingExplanations) { @@ -185,7 +186,9 @@ function extractScanErrors(jsonOutput) { } async function runBinaryForTests(binaryPath) { - const testArgs = ['scan --test', `-f "${store.ruleFilePath}" "${store.codeSampleFilePath}"`, '--json', '--experimental']; + const testArgs = + ['scan --test', `-f "${store.ruleFilePath}" "${store.codeSampleFilePath}"`, + '--json', '--experimental', '--taint-intrafile']; const testResponse = await runBinary(`"${binaryPath}"`, testArgs) const testResults = JSON.parse(testResponse.output);