Alex Lam S.L
5f269cd573
fix corner case in collapse_vars ( #4445 )
...
fixes #4444
2020-12-24 10:56:22 +08:00
Alex Lam S.L
6988cd9558
replace keep_fargs default to false ( #4443 )
2020-12-24 09:56:02 +08:00
Alex Lam S.L
87cf715213
fix corner case with destructuring catch ( #4421 )
...
fixes #4420
2020-12-20 05:47:01 +08:00
Alex Lam S.L
2c9c72e06c
suppress false positives in ufuzz ( #4419 )
2020-12-20 02:31:09 +08:00
Alex Lam S.L
a96f087ac3
support arrow function ( #4385 )
2020-12-17 18:23:41 +08:00
Alex Lam S.L
8c000033d3
clarify corner case in object literal ( #4371 )
...
closes #4366
2020-12-12 07:42:29 +08:00
Alex Lam S.L
57105b299e
fix corner cases with spread syntax ( #4358 )
2020-12-11 06:59:21 +08:00
Alex Lam S.L
c587d7917d
introduce spread ( #4346 )
...
fixes #4345
2020-12-08 06:51:20 +08:00
Alex Lam S.L
645d5a348b
workaround Safari quirks ( #4314 )
...
fixes #1753
2020-11-21 10:30:46 +08:00
Alex Lam S.L
02459cddf9
gate galio workaround ( #4310 )
2020-11-21 03:37:33 +08:00
Alex Lam S.L
e5f80afc53
support destructured literals ( #4278 )
2020-11-17 08:01:24 +08:00
Alex Lam S.L
96bf7fceab
support let ( #4227 )
2020-10-19 08:32:39 +08:00
Alex Lam S.L
38a46c86d7
enhance side_effects ( #4124 )
...
- add documentation for `merge_vars`
2020-09-18 21:35:29 +08:00
Alex Lam S.L
45ab3b51d8
clarify toplevel & global variable aliasing ( #4046 )
2020-08-10 06:39:28 +08:00
Alex Lam S.L
6bf1486935
update links to repository after rename ( #3847 )
2020-05-05 21:07:33 +08:00
Alex Lam S.L
83f42ede36
support optional output of names in source maps ( #3784 )
2020-04-17 07:20:48 +08:00
Marco Gonzalez
31a7bf2a22
Updated "Output options" > "comments" in README.md ( #3717 )
...
Expanded the current documentation to include:
- What the value of `"some"` means based on `lib/output.js`.
- Information about the `Function` overload parameters and expected output.
2020-02-15 15:10:58 +00:00
Alex Lam S.L
e9e76dcf04
fix corner case in string concatenations ( #3692 )
...
- migrate de-facto compression to `conditionals` & `strings`
fixes #3689
2020-01-28 07:33:11 +08:00
Alex Lam S.L
5d258259a4
introduce --output-opts CLI option ( #3678 )
...
closes #3675
2020-01-08 20:44:03 +08:00
Alex Lam S.L
552be61c4d
introduce eager evaluation ( #3587 )
2019-11-16 06:10:47 +08:00
Alex Lam S.L
bad664c632
compress object literals ( #3546 )
2019-10-29 16:53:48 +08:00
Alex Lam S.L
2e4fbdeb08
enhance keep_fargs ( #3409 )
2019-05-13 21:58:04 +08:00
Alex Lam S.L
354fec8a9c
make enclose & wrap work with sourceMap ( #3396 )
...
fixes #3313
2019-05-04 20:25:52 +08:00
Alex Lam S.L
5172ba5f2a
introduce functions ( #3360 )
...
`var f = function() {};` => `function f() {}`
2019-04-15 22:23:11 +08:00
Alex Lam S.L
615ae37ca3
introduce assignments ( #3345 )
2019-03-18 21:28:41 +08:00
Seul-gi Choi(Chase)
c6fa39b482
Update README.md ( #3311 )
...
fix anchor for mangle-options
2019-03-13 05:31:04 +08:00
Alex Lam S.L
bcebacbb9e
fix corner cases in preserve_line ( #3212 )
2018-07-13 01:51:10 +08:00
Alex Lam S.L
76df77c08c
implement directives ( #3203 )
...
fixes #3166
2018-06-28 18:16:49 +08:00
Jiavan
b39043f3ab
re-introduce enclose ( #3163 )
...
fixes #2443
2018-06-01 16:47:11 +08:00
exvisory
0b7c70f726
Update README.md to clarify --source-map filename option ( #3137 )
...
Clarify that the --source-map filename option does NOT change the source map output filename but does set the 'file' attribute within the output source map. This was already documented in the API section of the README so I just copied that to the CLI options section, and a fragment to the CLI summary.
2018-05-18 15:50:36 +08:00
Alex Lam S.L
c71ed91e63
update AST documentation ( #3094 )
...
fixes #2622
2018-04-24 14:39:12 +08:00
Alex Lam S.L
183da16896
handle pure_funcs under inline & reduce_vars correctly ( #3066 )
...
fixes #3065
2018-04-10 02:46:38 +08:00
Alex Lam S.L
b29d435bb5
refactor brackets to braces ( #3005 )
2018-03-15 15:46:45 +08:00
Alex Lam S.L
d8fc281915
update dependencies ( #3002 )
...
acorn 5.5.3
commander 2.15.0
Miscellaneous
- drop unmaintained package from README
2018-03-14 15:54:41 +08:00
Alex Lam S.L
fc6ebd04a5
preserve case when inline_script ( #2991 )
...
fixes #2989
2018-03-11 05:11:12 +08:00
Alex Lam S.L
a75a046abb
compress arguments[index] ( #2967 )
...
- always replace with existing parameter
- only introduce new parameter if `keep_fargs` is disabled
2018-03-02 11:22:09 +08:00
Alex Lam S.L
0daa199fa8
migrate safe transformations out of unsafe_comps ( #2962 )
...
fixes #2959
2018-02-28 22:02:24 +08:00
Dan
cb0257dbbf
describe a few compiler assumptions ( #2883 )
2018-02-06 14:19:03 +08:00
Alex Lam S.L
069df27bf1
enable unsafe for test/ufuzz.js ( #2819 )
...
- introduce `unsafe_undefined`
- safer `.toString()` compression
Miscellaneous
- rename `unsafe_Function`
2018-01-19 23:47:42 +08:00
Joël Galeran
424173d311
fix typo in README ( #2792 )
2018-01-16 10:29:38 +08:00
Alex Lam S.L
7d3cddf9d6
inline functions with AST_Var ( #2688 )
2018-01-03 01:54:44 +08:00
Alex Lam S.L
86ae5881b7
disable hoist_funs by default ( #2626 )
2017-12-20 17:05:40 +08:00
Alex Lam S.L
ef618332ea
fold cascade functionality into collapse_vars ( #2586 )
2017-12-14 01:20:36 +08:00
Alex Lam S.L
97c464dbf5
fix wording and formatting ( #2512 )
2017-11-25 19:07:46 +08:00
Alex Lam S.L
b80062c490
enable hoist_props by default ( #2492 )
2017-11-19 14:56:23 +08:00
kzc
6142117cdd
document the webkit output option ( #2490 )
...
- workaround for WebKit bugs
- PhantomJS users should enable this output option
closes #2489
2017-11-17 13:46:49 +08:00
kzc
557636f3b7
update documentation for reduce_funcs ( #2478 )
2017-11-14 16:03:25 +08:00
Alex Lam S.L
3c74047368
implement compress option reduce_funcs ( #2466 )
...
- inline single-use function declarations as expressions when permissible
- depend on `reduce_vars`
- enabled by default
- disable for speed critical code
fixes #2464
2017-11-11 05:59:35 +08:00
kzc
ae67a49850
document compress option hoist_props ( #2399 )
2017-10-25 14:03:43 +08:00
Tom MacWright
1968203d83
docs: Fix spelling and style ( #2395 )
2017-10-24 04:59:12 +08:00