From f676b66f1d35653f81b9645508c30053b680a64b Mon Sep 17 00:00:00 2001
From: Ville Lautanala <lautis@gmail.com>
Date: Sun, 24 Jul 2016 20:29:43 +0300
Subject: [PATCH] Update UglifyJS to 2.7.0
---
CHANGELOG.md | 4 ++++
lib/uglify.js | 21 +++++++++++----------
spec/uglifier_spec.rb | 2 +-
vendor/uglifyjs | 2 +-
4 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/spec/uglifier_spec.rb b/spec/uglifier_spec.rb
index 7f0fdc1..8f2420e 100644
--- a/spec/uglifier_spec.rb
+++ b/spec/uglifier_spec.rb
@@ -19,7 +19,7 @@
end
it "doesn't omit null character in strings" do
- expect(Uglifier.new.compile('var foo="\0bar"')).to include("\\x00bar")
+ expect(Uglifier.new.compile('var foo="\0bar"')).to include("\\0bar")
end
it "adds trailing semicolon to minified source" do