[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#931596: marked as done (buster-pu: package libjavascript-beautifier-perl/0.25-1+deb10u1)



Your message dated Sat, 07 Sep 2019 14:34:49 +0100
with message-id <[🔎] f49e2985d8466065c49c03185c24465a32228fb5.camel@adam-barratt.org.uk>
and subject line Closing bugs for fixes including in 10.1 point release
has caused the Debian Bug report #931596,
regarding buster-pu: package libjavascript-beautifier-perl/0.25-1+deb10u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
931596: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931596
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu

Hi all,

libjavascript-beautifier-perl don't understand Javascript ES6 "=>"
operator (#931379). This very simple patch fixes the problem (just
adding "=>" in operators list).

Cheers,
Xavier
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) unstable; 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

--- End Message ---
--- Begin Message ---
Version: 10.1

Hi,

The fixes referenced by each of these bugs were included in today's
buster point release.

Regards,

Adam

--- End Message ---

Reply to: