From 5f687897535975fa0448ea916fdb8e0c41d20d60 Mon Sep 17 00:00:00 2001 From: Marcel Bochtler Date: Thu, 5 Oct 2023 09:41:06 +0200 Subject: [PATCH] feat(pnpm): Add support for PNPM 8.x According to [1] the only breaking change in PNPM 8.0.0 is that the support for Node.js 14 was dropped, which is not relevant for ORT's PNPM implementation. [1]: https://github.com/pnpm/pnpm/blob/main/pnpm/CHANGELOG.md#800 Signed-off-by: Marcel Bochtler --- plugins/package-managers/node/src/main/kotlin/Pnpm.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/package-managers/node/src/main/kotlin/Pnpm.kt b/plugins/package-managers/node/src/main/kotlin/Pnpm.kt index caa9d87b0cb23..b910af567bca3 100644 --- a/plugins/package-managers/node/src/main/kotlin/Pnpm.kt +++ b/plugins/package-managers/node/src/main/kotlin/Pnpm.kt @@ -70,7 +70,7 @@ class Pnpm( override fun command(workingDir: File?) = if (Os.isWindows) "pnpm.cmd" else "pnpm" - override fun getVersionRequirement(): RangesList = RangesListFactory.create("5.* - 7.*") + override fun getVersionRequirement(): RangesList = RangesListFactory.create("5.* - 8.*") override fun mapDefinitionFiles(definitionFiles: List) = mapDefinitionFilesForPnpm(definitionFiles).toList()