Tobias Speicher
c554214f33
chore: replace deprecated String.prototype.substr()
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-18 01:59:29 +01:00
Alex Lam S.L
18f00457f6
fix corner case in merge_vars ( #5320 )
...
fixes #5319
2022-01-28 16:05:57 +08:00
Alex Lam S.L
e4a91a89e0
support custom indentation ( #5318 )
...
closes #50
2022-01-28 08:38:11 +08:00
Alex Lam S.L
371d25944d
fix corner case in max_line_len ( #5313 )
...
- speed up `max_line_len` & `preserve_line`
2022-01-26 23:47:21 +08:00
Alex Lam S.L
caaa753861
minor clean-ups ( #5282 )
2022-01-10 13:02:26 +08:00
Alex Lam S.L
033d8d9405
reduce memory pressure via bit fields ( #5203 )
2021-12-06 11:30:05 +08:00
Alex Lam S.L
ae5c3ee8a1
fix corner cases in properties ( #5178 )
...
fixes #5177
2021-11-17 04:21:44 +08:00
Alex Lam S.L
9634a9d1fd
fix corner cases in optional_chains ( #5110 )
2021-08-20 10:10:10 +08:00
Alex Lam S.L
65adeba55d
extend keep_quoted_props over numeric keys ( #5094 )
...
fixes #5093
2021-07-22 06:12:57 +08:00
Alex Lam S.L
ef5f7fc25e
workaround various IE quirks ( #5084 )
...
fixes #5081
2021-07-17 20:20:56 +08:00
Alex Lam S.L
2340feff87
support destructured shorthand for default parameters ( #5059 )
...
closes #4990
2021-07-07 22:45:24 +08:00
Alex Lam S.L
668f96623c
tweak beautify output ( #5044 )
2021-07-03 23:10:39 +08:00
Alex Lam S.L
5d4e6e3bdc
enhance sourceMap ( #4953 )
2021-05-23 23:57:44 +08:00
Alex Lam S.L
60f3b55156
fix corner case with optional chain operator ( #4927 )
2021-05-12 10:12:19 +08:00
Alex Lam S.L
5d9224deb8
fix corner cases with template literals ( #4903 )
...
fixes #4902
2021-05-03 22:26:20 +08:00
Alex Lam S.L
f0de9a8b5d
support optional chaining operator ( #4899 )
2021-05-03 10:08:29 +08:00
Alex Lam S.L
d576495e5a
support #__PURE__ in ESTree ( #4879 )
2021-04-29 04:13:42 +08:00
Alex Lam S.L
a2b1b96752
fix corner case with yield ( #4867 )
2021-04-25 03:10:12 +08:00
Alex Lam S.L
73a564343b
preserve compatibility of quote_style ( #4845 )
2021-04-07 06:49:12 +08:00
Alex Lam S.L
4870747306
speed up OutputStream ( #4844 )
2021-04-07 02:57:23 +08:00
Alex Lam S.L
231c3d7c84
clean up OutputStream ( #4842 )
2021-04-06 21:34:27 +08:00
Alex Lam S.L
7d595e2eac
improve comment formatting logic ( #4794 )
2021-03-17 13:51:52 +08:00
Alex Lam S.L
176581d732
fix corner cases with template literals ( #4780 )
2021-03-15 21:54:05 +08:00
Alex Lam S.L
241113200e
support shorthand key-symbol output ( #4768 )
2021-03-13 15:37:01 +08:00
Alex Lam S.L
3b5d5014e0
implement annotations ( #4763 )
2021-03-13 03:40:49 +08:00
Alex Lam S.L
e6ebf827ce
fix corner cases with export ( #4699 )
...
fixes #4698
fixes #4700
fixes #4701
fixes #4702
2021-02-27 10:15:14 +08:00
Alex Lam S.L
ba4a771bbc
support limited ufuzz testing for export ( #4693 )
...
fixes #4692
2021-02-27 04:56:34 +08:00
Alex Lam S.L
c885660347
support nullish coalescing operator ( #4678 )
2021-02-24 05:57:11 +08:00
Alex Lam S.L
d68d155f93
support class literals ( #4658 )
2021-02-23 22:55:08 +08:00
Alex Lam S.L
b726e364c1
fix corner cases with export default ( #4673 )
2021-02-21 13:01:56 +08:00
Alex Lam S.L
c21f096ab8
support export statements ( #4650 )
2021-02-15 04:13:54 +08:00
Alex Lam S.L
b7219ac489
support import statements ( #4646 )
2021-02-14 04:26:43 +08:00
Alex Lam S.L
e13d1e9969
support for [await]...of statements ( #4627 )
2021-02-09 04:28:23 +08:00
Alex Lam S.L
fd4caf7a9c
support generator functions ( #4620 )
2021-02-08 06:44:20 +08:00
Alex Lam S.L
ba6e29d6fd
introduce templates ( #4603 )
2021-02-01 17:20:13 +08:00
Alex Lam S.L
d4685640a0
support template literals ( #4601 )
2021-02-01 10:36:45 +08:00
Alex Lam S.L
9d23ba0a22
support exponentiation operator ( #4593 )
2021-01-25 05:48:51 +08:00
Alex Lam S.L
8bfd891c09
support BigInt literals ( #4583 )
2021-01-24 09:51:18 +08:00
Alex Lam S.L
ba54d074d8
support asynchronous arrow functions ( #4530 )
2021-01-10 11:34:26 +08:00
Alex Lam S.L
c3d358a5b8
support rest parameters ( #4515 )
2021-01-07 10:04:09 +08:00
Alex Lam S.L
2390fae5c4
support default values ( #4442 )
2020-12-24 06:22:55 +08:00
Alex Lam S.L
7d9dad0289
fix corner case with parentheses ( #4409 )
...
fixes #4408
2020-12-19 01:01:49 +08:00
Alex Lam S.L
a96f087ac3
support arrow function ( #4385 )
2020-12-17 18:23:41 +08:00
Alex Lam S.L
336336f53f
fix corner case with parentheses around await ( #4344 )
2020-12-08 04:29:54 +08:00
Alex Lam S.L
2cbbf5c375
support async function ( #4333 )
2020-12-07 05:22:40 +08:00
Alex Lam S.L
1e4985ed9e
support spread syntax ( #4328 )
2020-12-06 05:19:31 +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
91fc1c82b5
support computed property name in object literal ( #4268 )
2020-11-08 23:38:32 +08:00
Alex Lam S.L
8ecaa40c6e
extend support for Unicode ( #4228 )
2020-10-19 09:34:17 +08:00