From 8444a3280d3b96cfaf1176eb28cf76f94821fc3e Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sun, 1 Sep 2024 08:23:12 -0400 Subject: [PATCH] fix: add pnpm-lock.yaml to default scan set (#407) --- .../owasp/dependencycheck/gradle/tasks/AbstractAnalyze.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/groovy/org/owasp/dependencycheck/gradle/tasks/AbstractAnalyze.groovy b/src/main/groovy/org/owasp/dependencycheck/gradle/tasks/AbstractAnalyze.groovy index 5f84746..9665daf 100644 --- a/src/main/groovy/org/owasp/dependencycheck/gradle/tasks/AbstractAnalyze.groovy +++ b/src/main/groovy/org/owasp/dependencycheck/gradle/tasks/AbstractAnalyze.groovy @@ -441,7 +441,7 @@ abstract class AbstractAnalyze extends ConfiguredTask { List toScan = ['src/main/resources', 'src/main/webapp', './package.json', './package-lock.json', './npm-shrinkwrap.json', './yarn.lock', - './pnpm.lock', './Gopkg.lock', './go.mod'] + './pnpm.lock', 'pnpm-lock.yaml', './Gopkg.lock', './go.mod'] toScan.each { File f = project.file it if (f.exists()) {