From f8499ce8d57a07c68d13e07ace57c0ac8860940f Mon Sep 17 00:00:00 2001 From: Pierre Cavin Date: Sun, 29 Dec 2024 02:27:25 +0100 Subject: [PATCH] fix(hex): fix operators list --- lib/modules/versioning/hex/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/versioning/hex/index.ts b/lib/modules/versioning/hex/index.ts index f82d9f9b1b034b..6dc5af45df8a14 100644 --- a/lib/modules/versioning/hex/index.ts +++ b/lib/modules/versioning/hex/index.ts @@ -31,7 +31,7 @@ function npm2hex(input: string): string { .map((str) => str.trim()) .filter((str) => str !== ''); let output = ''; - const operators = ['^', '=', '>', '<', '<=', '>=', '~']; + const operators = ['^', '=', '>', '<', '<=', '>=', '~>']; for (let i = 0; i < res.length; i += 1) { if (i === res.length - 1) { output += res[i];