[Pkg-javascript-commits] [uglifyjs] 05/07: drop patch 020150722~905b601.patch
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Sep 5 07:21:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository uglifyjs.
commit 7267a364d9f819db3e78871a361a4bf3a9333f42
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Mon Sep 5 12:25:42 2016 +0530
drop patch 020150722~905b601.patch
---
debian/changelog | 1 +
debian/patches/020150722~905b601.patch | 50 ----------------------------------
debian/patches/series | 1 -
3 files changed, 1 insertion(+), 51 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 42359c2..ac71490 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ uglifyjs (2.7.3-1) UNRELEASED; urgency=medium
* Team upload
* New upstream version (Closes: #836722)
+ * Drop patch: 020150722~905b601.patch (included upstream)
-- Pirate Praveen <praveen at debian.org> Mon, 05 Sep 2016 12:15:11 +0530
diff --git a/debian/patches/020150722~905b601.patch b/debian/patches/020150722~905b601.patch
deleted file mode 100644
index f6cc0ef..0000000
--- a/debian/patches/020150722~905b601.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-Description: Don't attempt to negate non-boolean AST_Binary
-Origin: upstream, https://github.com/mishoo/UglifyJS2/commit/905b601
-Author: Mihai Bazon <mihai.bazon at gmail.com>
-Forwarded: yes
-Bug: https://github.com/mishoo/UglifyJS2/issues/751
-Last-Update: 2015-08-26
-
---- a/lib/compress.js
-+++ b/lib/compress.js
-@@ -2099,7 +2099,7 @@
- }
- break;
- }
-- if (compressor.option("comparisons")) {
-+ if (compressor.option("comparisons") && self.is_boolean()) {
- if (!(compressor.parent() instanceof AST_Binary)
- || compressor.parent() instanceof AST_Assign) {
- var negated = make_node(AST_UnaryPrefix, self, {
---- /dev/null
-+++ b/test/compress/issue-751.js
-@@ -0,0 +1,29 @@
-+negate_booleans_1: {
-+ options = {
-+ comparisons: true
-+ };
-+ input: {
-+ var a = !a || !b || !c || !d || !e || !f;
-+ }
-+ expect: {
-+ var a = !(a && b && c && d && e && f);
-+ }
-+}
-+
-+negate_booleans_2: {
-+ options = {
-+ comparisons: true
-+ };
-+ input: {
-+ var match = !x && // should not touch this one
-+ (!z || c) &&
-+ (!k || d) &&
-+ the_stuff();
-+ }
-+ expect: {
-+ var match = !x &&
-+ (!z || c) &&
-+ (!k || d) &&
-+ the_stuff();
-+ }
-+}
diff --git a/debian/patches/series b/debian/patches/series
index 8215b27..bc69ea9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
-020150722~905b601.patch
1001_break_dep_loop.patch
2002_node_conflict.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git
More information about the Pkg-javascript-commits
mailing list