From a250daa18513f2d8b80c1cb9ecd50b9a7ca56dfb Mon Sep 17 00:00:00 2001 From: Dominik Hassler Date: Fri, 12 Jan 2024 16:07:20 +0000 Subject: [PATCH] pkgupd: fix node.js parser --- lib/OOCEapps/PkgUpd/NodeJS.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OOCEapps/PkgUpd/NodeJS.pm b/lib/OOCEapps/PkgUpd/NodeJS.pm index afb0d63..944a290 100644 --- a/lib/OOCEapps/PkgUpd/NodeJS.pm +++ b/lib/OOCEapps/PkgUpd/NodeJS.pm @@ -25,7 +25,7 @@ sub getVersions { ($name, $ver) = $self->extractNameMajVer($name); return [ - map { m!/v($ver\.(?:\d+\.?)*)! } map { $_->{version} } $res->json + map { m!v($ver\.(?:\d+\.?)*)! } map { $_->{version} } @{$res->json} ]; } @@ -35,7 +35,7 @@ __END__ =head1 COPYRIGHT -Copyright 2023 OmniOS Community Edition (OmniOSce) Association. +Copyright 2024 OmniOS Community Edition (OmniOSce) Association. =head1 LICENSE