uglifier 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/CONTRIBUTING.md +1 -1
- data/README.md +2 -0
- data/Rakefile +3 -5
- data/lib/source-map.js +3055 -0
- data/lib/uglifier.js +3 -0
- data/lib/uglifier.rb +4 -1
- data/lib/uglifier/version.rb +1 -1
- data/lib/uglify.js +12 -3015
- data/spec/uglifier_spec.rb +1 -1
- metadata +3 -2
data/spec/uglifier_spec.rb
CHANGED
@@ -19,7 +19,7 @@ describe "Uglifier" do
|
|
19
19
|
end
|
20
20
|
|
21
21
|
it "doesn't omit null character in strings" do
|
22
|
-
expect(Uglifier.new.compile('var foo="\0bar"')).to include("\\
|
22
|
+
expect(Uglifier.new.compile('var foo="\0bar"')).to include("\\0bar")
|
23
23
|
end
|
24
24
|
|
25
25
|
it "adds trailing semicolon to minified source" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uglifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ville Lautanala
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|
@@ -115,6 +115,7 @@ files:
|
|
115
115
|
- gemfiles/rubyracer
|
116
116
|
- gemfiles/rubyrhino
|
117
117
|
- lib/es5.js
|
118
|
+
- lib/source-map.js
|
118
119
|
- lib/split.js
|
119
120
|
- lib/uglifier.js
|
120
121
|
- lib/uglifier.rb
|