Bug#931596: stretch-pu: package libjavascript-beautifier-perl/0.25-1+deb10u1
Control: tags - moreinfo
Le 22/07/2019 à 01:31, Jonathan Wiltshire a écrit :
> Control: tag -1 moreinfo
>
> Hi,
>
> On Mon, Jul 08, 2019 at 07:04:20AM +0200, Xavier Guimard wrote:
>> Package: release.debian.org
>> Severity: normal
>> Tags: buster
>> User: release.debian.org@packages.debian.org
>> Usertags: pu
>
> Your metadata above, bug title, and changelog target all disagree about
> whether you're targetting buster or stretch or sid. Which is it?
>
>> --- a/debian/changelog
>> +++ b/debian/changelog
>> @@ -1,3 +1,9 @@
>> +libjavascript-beautifier-perl (0.25-1+deb10u1) unstable; urgency=medium
Sorry,
title was already fixed, here is the debdiff fix for buster
diff --git a/debian/changelog b/debian/changelog
index d53fc65..531e69b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libjavascript-beautifier-perl (0.25-1+deb10u1) buster; urgency=medium
+
+ * Add missing "=>" operator (ES6) (Closes: #931379)
+
+ -- Xavier Guimard <yadd@debian.org> Wed, 03 Jul 2019 18:40:37 +0200
+
libjavascript-beautifier-perl (0.25-1) unstable; urgency=medium
* Import upstream version 0.25.
diff --git a/debian/patches/missing-operator.patch b/debian/patches/missing-operator.patch
new file mode 100644
index 0000000..54f0167
--- /dev/null
+++ b/debian/patches/missing-operator.patch
@@ -0,0 +1,18 @@
+Description: Add missing ES6 "=>" operator
+Author: Xavier Guimard <yadd@debian.org>
+Bug: https://rt.cpan.org/Ticket/Display.html?id=129976
+Bug-Debian: https://bugs.debian.org/931379
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=129976
+Last-Update: 2019-07-03
+
+--- a/lib/JavaScript/Beautifier.pm
++++ b/lib/JavaScript/Beautifier.pm
+@@ -18,7 +18,7 @@
+ my @wordchar = split('', 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$');
+ my @digits = split('', '0123456789');
+ # <!-- is a special case (ok, it's a minor hack actually)
+-my @punct = split(' ', '+ - * / % & ++ -- = += -= *= /= %= == === != !== > < >= <= >> << >>> >>>= >>= <<= && &= | || ! !! , : ? ^ ^= |= ::');
++my @punct = split(' ', '+ - * / % & ++ -- = += -= *= /= %= == === != !== > < >= <= => >> << >>> >>>= >>= <<= && &= | || ! !! , : ? ^ ^= |= ::');
+ # words which should always start on new line.
+ my @line_starter = split(',', 'continue,try,throw,return,var,if,switch,case,default,for,while,break,function');
+
diff --git a/debian/patches/series b/debian/patches/series
index bbc4133..73f2145 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
remove-pl-extension.patch
+missing-operator.patch
Reply to: