@diffblue/java-combiner
Advanced tools
Comparing version 0.1.1 to 0.1.2-rc1
@@ -56,7 +56,8 @@ "use strict"; | ||
for (const test of tests) { | ||
const testName = test.name; | ||
const testName = test.name || test.testName; | ||
const numberTestOccurances = testNames.get(testName) || 0; | ||
testNames.set(testName, numberTestOccurances + 1); | ||
const newTestName = numberTestOccurances > 0 ? `${testName}${numberTestOccurances}` : testName; | ||
test.body = test.body.replace(test.id, newTestName); | ||
let body = test.body || test.test; | ||
body = body.replace(test.id, newTestName); | ||
dedupedTests.push(test); | ||
@@ -63,0 +64,0 @@ } |
{ | ||
"name": "@diffblue/java-combiner", | ||
"description": "Java test combining library", | ||
"version": "0.1.1", | ||
"version": "0.1.2-rc1", | ||
"main": "build/index.js", | ||
@@ -6,0 +6,0 @@ "types": "build/index.d.ts", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89830
37
1441
6
1