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
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
25801627be
parse let as symbol names correctly ( #5151 )
...
fixes #5149
2021-10-21 02:14:29 +08:00
Alex Lam S.L
f766babf5e
enhance templates ( #5131 )
...
closes #5125
2021-09-23 18:26:26 +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
f8b2215145
fix corner cases in parse & unused ( #5000 )
2021-06-13 00:10:01 +08:00
Alex Lam S.L
d2a45ba441
fix corner case in parsing private field/method ( #4952 )
...
fixes #4951
2021-05-22 10:12:37 +08:00
Alex Lam S.L
f0de9a8b5d
support optional chaining operator ( #4899 )
2021-05-03 10:08:29 +08:00
Alex Lam S.L
acf951a5bc
fix corner case with for [await]...of ( #4872 )
2021-04-26 05:10:22 +08:00
Alex Lam S.L
324587f769
upgrade AST<->ESTree translation ( #4870 )
...
fixes #968
2021-04-26 04:23:52 +08:00
Alex Lam S.L
80efaa2f33
fix corner case with export ( #4871 )
2021-04-25 22:37:26 +08:00
Alex Lam S.L
a37ca558dd
reject invalid for await syntax ( #4847 )
2021-04-07 22:37:15 +08:00
Alex Lam S.L
b179a2459f
parse octal literals correctly ( #4843 )
2021-04-07 02:23:35 +08:00
Alex Lam S.L
cf38b52afa
parse import.meta correctly ( #4836 )
2021-04-03 04:31:29 +08:00
Alex Lam S.L
f9055df44d
support logical assignment operators ( #4813 )
2021-03-23 04:59:43 +08:00
Alex Lam S.L
9fc0ff5953
parse extended Unicode literal correctly ( #4792 )
2021-03-17 10:34:50 +08:00
Alex Lam S.L
352a944868
fix corner cases with new.target ( #4784 )
2021-03-16 14:34:36 +08:00
Alex Lam S.L
aa6e33e208
parse out-of-range numerals correctly ( #4781 )
2021-03-16 06:52:21 +08:00
Alex Lam S.L
01aa078e9c
support **= ( #4778 )
2021-03-15 21:53:48 +08:00
Alex Lam S.L
e124ef57e3
parse parentheses-terminated statements correctly ( #4774 )
...
fixes #4772
2021-03-14 14:09:29 +08:00
Alex Lam S.L
3b5d5014e0
implement annotations ( #4763 )
2021-03-13 03:40:49 +08:00
Alex Lam S.L
862b1b77b5
fix corner cases in merge_vars & with exports ( #4762 )
...
fixes #4761
2021-03-11 09:16:16 +08:00
Alex Lam S.L
077512d151
fix corner case in inline ( #4754 )
...
fixes #4753
2021-03-08 12:38:53 +08:00
Alex Lam S.L
c7520b4b97
support new.target ( #4746 )
...
fixes #4745
2021-03-07 07:11:36 +08:00
Alex Lam S.L
62887f2c66
fix corner case with class ( #4713 )
2021-03-02 12:08:08 +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
ae09773ba0
parse dynamic import correctly ( #4671 )
2021-02-21 06:54:15 +08:00
Alex Lam S.L
5f60c1b830
fix corner cases in arrow functions & rests ( #4667 )
...
fixes #4666
2021-02-19 08:26:57 +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
c6e287331d
fix corner cases in inline ( #4640 )
...
fixes #4639
2021-02-10 20:40:57 +08:00
Alex Lam S.L
228cdf8e7e
reject invalid for...of syntax ( #4632 )
2021-02-10 05:42:27 +08:00
Alex Lam S.L
14fedbf123
fix corner case with template literals ( #4631 )
...
fixes #4630
2021-02-09 14:21:15 +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
f85a206b9e
fix corner case when parsing expression ( #4435 )
2020-12-23 02:16:04 +08:00
Alex Lam S.L
7aefe97083
parse destructuring under strict mode correctly ( #4429 )
2020-12-20 20:48:51 +08:00
Alex Lam S.L
b7c49b72b3
support async function within object literal ( #4424 )
2020-12-20 08:19:04 +08:00
Alex Lam S.L
e6dd471f8f
support destructuring of catch variable ( #4412 )
2020-12-19 12:28:38 +08:00
Alex Lam S.L
a96f087ac3
support arrow function ( #4385 )
2020-12-17 18:23:41 +08:00