From 890ba59f982151f3897d3a83af36ff2d6b6dc954 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Wed, 4 Mar 2020 09:50:15 +0100 Subject: [PATCH] Yarn: Bump the supported version to the latest stable 1.x release Support for Yarn 2.x is pending, see https://github.com/heremaps/oss-review-toolkit/issues/2283. Signed-off-by: Sebastian Schuberth --- analyzer/src/main/kotlin/managers/Yarn.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzer/src/main/kotlin/managers/Yarn.kt b/analyzer/src/main/kotlin/managers/Yarn.kt index f2c1bba957f9f..0e0785bb3697b 100644 --- a/analyzer/src/main/kotlin/managers/Yarn.kt +++ b/analyzer/src/main/kotlin/managers/Yarn.kt @@ -55,7 +55,7 @@ class Yarn( override fun command(workingDir: File?) = if (Os.isWindows) "yarn.cmd" else "yarn" - override fun getVersionRequirement(): Requirement = Requirement.buildNPM("1.3.* - 1.21.*") + override fun getVersionRequirement(): Requirement = Requirement.buildNPM("1.3.* - 1.22.*") override fun mapDefinitionFiles(definitionFiles: List) = mapDefinitionFilesForYarn(definitionFiles).toList()