uglifier 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/lib/uglifier/version.rb +1 -1
- data/lib/uglifier.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 350284c42a560eafc499f0a68248176ef718b893
|
4
|
+
data.tar.gz: 4c74efe756df3503abd158dd69d4c69acbd9ee50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9606692e319d099217729d2a4daf72d00a470940cca06a8b09d719d1adc3916dc697c1a59a65f2bf5aa403a9ea753456d86802d69d079163a5f6d620e8db5197
|
7
|
+
data.tar.gz: c201a37adbf81c2280c6dcc7fea05ac4dd7442525974f4870f0e5c79a880e6ce433e2f775ad5a10555c3a13a7c5f6bc20b6232d2ff3e92b6379dd92943b2d4c9
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -98,8 +98,8 @@ Available options and their defaults are
|
|
98
98
|
:if_return => true, # Optimizations for if/return and if/continue
|
99
99
|
:join_vars => true, # Join consecutive var statements
|
100
100
|
:cascade => true, # Cascade sequences
|
101
|
-
:collapse_vars =>
|
102
|
-
:reduce_vars =>
|
101
|
+
:collapse_vars => false, # Collapse single-use var and const definitions when possible.
|
102
|
+
:reduce_vars => false, # Collapse variables assigned with and used as constant values.
|
103
103
|
:negate_iife => true, # Negate immediately invoked function expressions to avoid extra parens
|
104
104
|
:pure_getters => false, # Assume that object property access does not have any side-effects
|
105
105
|
:pure_funcs => nil, # List of functions without side-effects. Can safely discard function calls when the result value is not used
|
data/lib/uglifier/version.rb
CHANGED
data/lib/uglifier.rb
CHANGED
@@ -72,7 +72,7 @@ class Uglifier
|
|
72
72
|
:join_vars => true, # Join consecutive var statements
|
73
73
|
:cascade => true, # Cascade sequences
|
74
74
|
:collapse_vars => true, # Collapse single-use var and const definitions when possible.
|
75
|
-
:reduce_vars =>
|
75
|
+
:reduce_vars => false, # Collapse variables assigned with and used as constant values.
|
76
76
|
:negate_iife => true, # Negate immediately invoked function expressions to avoid extra parens
|
77
77
|
:pure_getters => false, # Assume that object property access does not have any side-effects
|
78
78
|
:pure_funcs => nil, # List of functions without side-effects. Can safely discard function calls when the result value is not used
|