8
0

Automatic update to JavaScript-Minifier-XS-0.16.tar.gz

This commit is contained in:
2026-06-29 10:01:05 +00:00
parent 6a8fa822f3
commit 2b2aa9651f
4 changed files with 31 additions and 10 deletions
+16
View File
@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Jun 29 10:01:04 UTC 2026 - Tina Müller <timueller+perl@suse.de>
- updated to 0.160.0 (0.16)
see /usr/share/doc/packages/perl-JavaScript-Minifier-XS/Changes
0.16 2026-06-28 14:10:28-07:00 America/Vancouver
- Fixes CVE-2026-56017, which caused Perl to SEGFAULT when calling
minify(). Thanks to CPANSec for raising the issue, and providing a
prototype fix.
- Fixes CVE-2026-56018, caused by a memory leak in minify() where each
tokenized Node's "contents" buffer were not properly freed, resulting in a
memory leak on every call.
- Updated author tests for "does the JS still compile?", to use "node"
instead of "jsl".
-------------------------------------------------------------------
Sun Oct 17 03:06:17 UTC 2021 - Tina Müller <timueller+perl@suse.de>
+12 -7
View File
@@ -1,7 +1,7 @@
#
# spec file for package perl-JavaScript-Minifier-XS
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,22 @@
%define cpan_name JavaScript-Minifier-XS
Name: perl-JavaScript-Minifier-XS
Version: 0.15
Version: 0.160.0
Release: 0
Summary: XS based JavaScript minifier
# 0.16 -> normalize -> 0.160.0
%define cpan_version 0.16
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: XS based JavaScript minifier
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/G/GT/GTERMARS/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/G/GT/GTERMARS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::DiagINC) >= 0.002
BuildRequires: perl(Test::DiagINC) >= 0.2
BuildRequires: perl(Test::More) >= 0.96
Provides: perl(JavaScript::Minifier::XS) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -42,8 +46,9 @@ also *not* breaking the JavaScript.
and not just pure Perl.
%prep
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d9b034f58f0b6ff5b64647bd3c5a9ce05b2a70edee339fbc3173aee747cc050
size 26201
Binary file not shown.