SWC Bot
b5be765a87
chore: Publish crates
2022-09-28 05:39:30 +00:00
SWC Bot
f655488cfa
chore: Publish crates
2022-09-27 13:57:39 +00:00
Finn Böger
1f892cd979
fix(es/compat): Fix unrolling of arrays in generator
( #5965 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5951 .
2022-09-27 13:53:51 +00:00
SWC Bot
1682095813
chore: Publish crates
2022-09-27 05:54:04 +00:00
SWC Bot
e001226674
chore: Publish crates
2022-09-26 09:21:39 +00:00
SWC Bot
e1f421b6af
chore: Publish crates
2022-09-25 01:36:48 +00:00
SWC Bot
e5ba9636ac
chore: Publish crates
2022-09-24 03:36:47 +00:00
SWC Bot
8a5ed1e0ba
chore: Publish crates
2022-09-23 07:50:26 +00:00
Donny/강동윤
5cddb4c734
feat(es/typescript): Support TS 4.9 ( #5938 )
...
**Description:**
This PR adds satisfaction expression to the AST and parser.
2022-09-23 16:41:56 +09:00
SWC Bot
4c3813dbcc
chore: Publish crates
2022-09-22 03:16:22 +00:00
SWC Bot
8a9cc7dd2a
chore: Publish crates
2022-09-21 07:33:40 +00:00
SWC Bot
5c2b1bb15d
chore: Publish crates
2022-09-20 03:51:28 +00:00
Donny/강동윤
1a182ef8d9
perf(es): Optimize memory layout of AST ( #5829 )
2022-09-20 12:47:21 +09:00
Donny/강동윤
f0ca487848
chore: Publish crates
2022-09-16 15:46:25 +09:00
SWC Bot
52c17f3056
chore: Publish crates
2022-09-15 14:49:03 +00:00
SWC Bot
1d633e8ba7
chore: Publish crates
2022-09-15 06:08:07 +00:00
SWC Bot
ec8bb432b9
chore: Publish crates
2022-09-15 05:23:46 +00:00
SWC Bot
73ee9d6784
chore: Publish crates
2022-09-15 03:06:15 +00:00
magic-akari
006c7fb56e
fix(es/compat): Fix handling of objects in generator ( #5861 )
2022-09-15 12:02:48 +09:00
Donny/강동윤
dfb01bde71
refactor: Refactor code using clippy ( #5863 )
...
**Description:**
I temporarily updated rustc to use newer version of `cargo clippy`.
2022-09-14 15:05:59 +00:00
SWC Bot
d35792f424
chore: Publish crates
2022-09-14 07:56:20 +00:00
SWC Bot
8432c0a1ad
chore: Publish crates
2022-09-14 07:19:24 +00:00
SWC Bot
0c24841274
chore: Publish crates
2022-09-14 06:54:54 +00:00
SWC Bot
0a56a2d5ab
chore: Publish crates
2022-09-14 06:10:39 +00:00
magic-akari
2b2464271a
fix(es/codegen): Remove redundant ;
after export default decl ( #5851 )
2022-09-14 06:07:15 +00:00
SWC Bot
d16fb9a8cf
chore: Publish crates
2022-09-13 05:04:36 +00:00
SWC Bot
b2c0fbd7ba
chore: Publish crates
2022-09-13 02:19:15 +00:00
SWC Bot
2df19176fb
chore: Publish crates
2022-09-12 05:16:53 +00:00
SWC Bot
9f28c246dc
chore: Publish crates
2022-09-12 04:34:08 +00:00
SWC Bot
5fe032c01a
chore: Publish crates
2022-09-11 03:00:57 +00:00
SWC Bot
4084fc1aeb
chore: Publish crates
2022-09-10 17:14:48 +00:00
SWC Bot
961a9047c0
chore: Publish crates
2022-09-10 15:07:06 +00:00
SWC Bot
417b1f2a92
chore: Publish crates
2022-09-10 07:23:37 +00:00
SWC Bot
4c078b0ac3
chore: Publish crates
2022-09-10 06:04:28 +00:00
magic-akari
aa8672e739
fix(es/compat): Fix generator
( #5796 )
...
**Description:**
- Merge `temp_vars` into `hoisted_vars`.
- Fix the context of the function call and new call.
**Related issue (if exists):**
- https://github.com/vercel/next.js/issues/40399
2022-09-10 15:01:43 +09:00
SWC Bot
c8bb70f97e
chore: Publish crates
2022-09-10 05:48:09 +00:00
SWC Bot
575940e770
chore: Publish crates
2022-09-09 08:09:53 +00:00
SWC Bot
54b108dc51
chore: Publish crates
2022-09-09 05:55:06 +00:00
SWC Bot
701fa74631
chore: Publish crates
2022-09-09 05:05:59 +00:00
SWC Bot
d2188eac3f
chore: Publish crates
2022-09-08 04:28:01 +00:00
SWC Bot
bad9811ea8
chore: Publish crates
2022-09-07 06:16:59 +00:00
SWC Bot
4507b10219
chore: Publish crates
2022-09-07 05:32:06 +00:00
SWC Bot
e654741336
chore: Publish crates
2022-09-06 12:41:54 +00:00
OJ Kwon
d6e67b5944
feat(atoms): Introduce bytecheck-ed rkyv version ( #5686 )
2022-09-03 14:29:02 +09:00
SWC Bot
3a0b749f1e
chore: Publish crates
2022-09-01 04:39:40 +00:00
Donny/강동윤
1085667049
perf(es/minifier): Enable parallel processing ( #5705 )
2022-09-01 13:36:30 +09:00
OJ Kwon
7686faece5
fix(swc_core): Bump versions ( #5706 )
2022-09-01 13:08:04 +09:00
SWC Bot
d6204761f3
chore: Publish crates
2022-08-30 13:16:02 +00:00
Donny/강동윤
edef5f868b
fix(es/compat): Don't move variables from object-rest pass ( #5673 )
2022-08-30 13:12:11 +00:00
Donny/강동윤
1ae539aac5
test(es/compat): Add a test for a fixed issue ( #5672 )
2022-08-30 11:09:58 +00:00
SWC Bot
1fa9cacad6
chore: Publish crates
2022-08-30 09:58:58 +00:00
Donny/강동윤
4820f0cbcc
fix(es/compat): Handle yield
in block scoping pass ( #5668 )
2022-08-30 09:55:18 +00:00
SWC Bot
e951aa6996
chore: Publish crates
2022-08-29 10:14:19 +00:00
SWC Bot
d538b72002
chore: Publish crates
2022-08-26 04:07:25 +00:00
magic-akari
d18ee54aef
fix(es/compat): Fix evaluation order of computed class keys ( #5621 )
2022-08-26 04:03:39 +00:00
SWC Bot
1dd17ffd23
chore: Publish crates
2022-08-25 16:14:21 +00:00
Donny/강동윤
83fec33359
feat(es/generator): Use new generator implementation ( #5627 )
2022-08-25 16:10:47 +00:00
SWC Bot
e5926186ee
chore: Publish crates
2022-08-25 09:01:43 +00:00
Donny/강동윤
927ae7e8d3
fix(es/compat): Revert generator reimplementation ( #5624 )
2022-08-25 17:58:37 +09:00
SWC Bot
3ea433bd0a
chore: Publish crates
2022-08-25 04:53:03 +00:00
Donny/강동윤
2aa009018f
feat(es/generator): Replace generator implementation with one from tsc ( #5173 )
2022-08-25 04:50:00 +00:00
SWC Bot
77ae3cfa74
chore: Publish crates
2022-08-24 15:23:21 +00:00
magic-akari
35d3558535
fix(es/compat): Handle super
in a private method ( #5613 )
2022-08-25 00:19:41 +09:00
SWC Bot
8d44b71b6c
chore: Publish crates
2022-08-24 08:46:23 +00:00
magic-akari
1181d0ffe2
fix(es/compat): Ignore invalid class method names ( #5612 )
2022-08-24 08:42:57 +00:00
OJ Kwon
1769191f9a
chore(swc_core): Update dependency version ( #5595 )
2022-08-23 10:10:30 +09:00
OJ Kwon
9bc40e3d08
build(swc_core): Fix dependency version ( #5593 )
2022-08-23 00:21:29 +00:00
magic-akari
86452511e7
fix(es/compat): Fix destructuring assignments and updates of super properties in async method ( #5580 )
2022-08-22 13:36:02 +00:00
SWC Bot
1d235e0d06
chore: Publish crates
2022-08-22 00:45:24 +00:00
magic-akari
bee26a9abb
fix(es/compat): Fix destructuring assignments and updates of super properties ( #5576 )
2022-08-22 00:42:50 +00:00
SWC Bot
2c35990a07
chore: Publish crates
2022-08-21 08:33:31 +00:00
SWC Bot
4e9e64f6dd
chore: Publish crates
2022-08-19 13:04:31 +00:00
Austaras
b717a68199
fix(es/compat): Use separate SyntaxContext
for class names ( #5566 )
2022-08-19 13:01:50 +00:00
SWC Bot
34d366ee1a
chore: Publish crates
2022-08-19 06:52:14 +00:00
magic-akari
f2c1164026
fix(es/compat): Handle async
in class method parameters ( #5560 )
2022-08-19 06:49:34 +00:00
Donny/강동윤
f7b34e70e9
chore: Publish crates
2022-08-17 14:28:18 +09:00
SWC Bot
67f0479b8e
chore: Publish crates
2022-08-16 13:10:23 +00:00
Donny/강동윤
b9933b159a
feat(es/compat): Fix syntax context of transpiled class methods ( #5498 )
2022-08-16 13:07:27 +00:00
OJ Kwon
76797b1fc1
build(bindings): Bump up swc_core ( #5484 )
2022-08-14 07:48:15 +00:00
Donny/강동윤
b655bf473a
fix(es/helpers): Fix for await
( #5458 )
2022-08-14 05:46:07 +00:00
Donny/강동윤
925839adc6
chore: Publish crates
2022-08-13 19:11:26 +09:00
Donny/강동윤
1b089be611
chore: Publish crates
2022-08-13 14:09:52 +09:00
SWC Bot
62303e7cd5
chore: Publish crates
2022-08-13 02:40:33 +00:00
OJ Kwon
4a3b4b27e2
refactor(es/compat): Respect MSRV ( #5473 )
2022-08-13 02:38:23 +00:00
Donny/강동윤
d2f2a1315b
chore: Publish crates
2022-08-13 00:49:08 +09:00
SWC Bot
415c495505
chore: Publish crates
2022-08-12 13:42:01 +00:00
Austaras
5a06271116
feat(es/compat): Add pure comments for generator and async transform ( #5463 )
2022-08-12 13:39:26 +00:00
Donny/강동윤
3eb1f4b2b1
chore(ci): Fix lints ( #5462 )
2022-08-12 13:13:35 +00:00
Donny/강동윤
033e05677a
chore: Publish crates
2022-08-12 15:18:06 +09:00
OJ Kwon
072eb13bf1
build(es): Bump up packages ( #5451 )
2022-08-11 23:58:00 +00:00
OJ Kwon
e25b37d579
build(atoms): Bump swc_atoms
( #5442 )
2022-08-11 18:52:44 +09:00
SWC Bot
cdb9bbd707
chore: Publish crates
2022-08-08 03:00:13 +00:00
OJ Kwon
5c9ea16b2a
build(cargo): Update packages ( #5331 )
2022-07-29 08:30:41 +09:00
SWC Bot
129a886e13
chore: Publish crates
2022-07-27 04:18:47 +00:00
SWC Bot
b4e2aded26
chore: Publish crates
2022-07-25 03:36:13 +00:00
Austaras
b423d6f936
fix(es/compat): Fix capturing of block scoping pass ( #5279 )
2022-07-25 03:34:18 +00:00
Donny/강동윤
a37fdca969
chore: Publish crates
2022-07-22 21:06:43 +09:00
Donny/강동윤
037a53d5d1
perf(es/ast): Use Atom
in some places ( #5271 )
2022-07-22 20:09:25 +09:00
SWC Bot
6cca12d119
chore: Publish crates
2022-07-20 06:59:57 +00:00
magic-akari
2010409bac
fix(es/compat): Preserve orders of import
s and export
s ( #5249 )
2022-07-20 06:57:43 +00:00
SWC Bot
fe74b7067c
chore: Publish crates
2022-07-20 04:10:58 +00:00
OJ Kwon
0d91741eb9
build(cargo): Align dependency versions ( #5248 )
2022-07-20 03:42:04 +00:00
Donny/강동윤
54982d4d72
chore: Publish crates
2022-07-19 11:38:23 +09:00
Donny/강동윤
d3b0996617
chore: Publish crates
2022-07-16 23:30:15 +09:00
Austaras
375774d31e
fix(es): Check the syntax context of arguments
( #5174 )
2022-07-13 10:29:03 +00:00
Donny/강동윤
b433b69263
chore: Publish crates
2022-07-12 23:58:30 +09:00
SWC Bot
2bd5b4413a
chore: Publish crates
2022-07-09 10:17:04 +00:00
SWC Bot
8b62d47eb1
chore: Publish crates
2022-07-08 06:29:34 +00:00
Austaras
cd8d65b9a7
fix(es/compat): Remove extra this
/arguments
capture in arrows ( #5152 )
2022-07-08 06:27:15 +00:00
SWC Bot
d4c9e70e39
chore: Publish crates
2022-07-08 00:57:00 +00:00
magic-akari
93513031b5
fix(es/compat): Optimize for-of
loops for array literals ( #5141 )
2022-07-08 00:54:53 +00:00
SWC Bot
297228a690
chore: Publish crates
2022-07-07 07:48:49 +00:00
SWC Bot
40dabaddfd
chore: Publish crates
2022-07-07 04:38:01 +00:00
Edwin Coronado
2d94797975
feat(es/parser): Support d
in regex flag for es2022 ( #5127 )
2022-07-07 04:35:49 +00:00
SWC Bot
43744c9eed
chore: Publish crates
2022-07-06 05:20:40 +00:00
magic-akari
dd39a798ae
fix(es/compat): Preserve more class names ( #5106 )
2022-07-06 05:18:40 +00:00
SWC Bot
9385103649
chore: Publish crates
2022-07-06 04:44:10 +00:00
SWC Bot
a27c14357c
chore: Publish crates
2022-07-04 14:39:41 +00:00
Austaras
adbb0bf8d8
fix(es/compat): Preserve class names ( #5104 )
2022-07-04 14:37:03 +00:00
SWC Bot
f5447cd1b1
chore: Publish crates
2022-07-02 03:53:10 +00:00
magic-akari
de66b64aed
fix(es/compat): Preserve spans in object_rest_spread
( #5082 )
2022-07-02 03:50:30 +00:00
Donny/강동윤
c2c923e205
chore: Publish crates
2022-07-01 11:50:45 +09:00
SWC Bot
73874486b2
chore: Publish crates
2022-06-29 11:05:08 +00:00
SWC Bot
4a2b1764c4
chore: Publish crates
2022-06-29 04:05:59 +00:00
Austaras
18ea2b5770
fix(es/compat): Preserve this in function with block scoped vars ( #5056 )
2022-06-29 04:03:00 +00:00
SWC Bot
5576c3c601
chore: Publish crates
2022-06-29 03:37:57 +00:00
SWC Bot
47628512f3
chore: Publish crates
2022-06-28 05:39:19 +00:00
Austaras
25bd520620
fix(es/compat): Handle classes with accessors and a method with the same name ( #5039 )
2022-06-28 05:36:22 +00:00
Donny/강동윤
8b042745c6
chore: Publish crates
2022-06-27 21:36:54 +09:00
SWC Bot
4883fe8011
chore: Publish crates
2022-06-25 05:06:17 +00:00
magic-akari
04fc1cb429
fix(es/compat): Fix name conflict of Array
( #5034 )
2022-06-25 04:55:59 +00:00
Donny/강동윤
36d960c7e9
perf(es/hygiene): Make hygiene
faster ( #4952 )
2022-06-15 14:36:57 +00:00
SWC Bot
2d1fbe8dcd
chore: Publish crates
2022-06-13 18:44:15 +00:00
Donny/강동윤
bfede71e6c
chore: Publish crates
2022-06-11 16:47:29 +09:00
SWC Bot
0f094da77f
chore: Publish crates
2022-06-11 07:45:15 +00:00
Donny/강동윤
35c93be60f
perf(es/transforms): Make transforms parallel ( #4939 )
2022-06-11 07:42:43 +00:00
Donny/강동윤
eb0acc3859
chore: Publish crates
2022-06-06 04:54:19 +09:00
Donny/강동윤
f847709787
chore(common): Update rustc ( #4828 )
2022-05-28 07:07:58 +00:00
SWC Bot
af31b15e70
chore: Publish crates
2022-05-27 05:15:50 +00:00
Donny/강동윤
dc911dcae6
feat(es/compat): Don't create vars for computed class methods if possible ( #4805 )
2022-05-27 05:12:57 +00:00
SWC Bot
424e62e663
chore: Publish crates
2022-05-26 16:01:22 +00:00
Donny/강동윤
a487fc1d28
refactor(es/transforms): Remove concurrent
( #4808 )
2022-05-26 15:58:19 +00:00
SWC Bot
a163279c88
chore: Publish crates
2022-05-26 11:35:19 +00:00
Austaras
573bcb5b49
fix(es/compat): Use define for non-spread props ( #4754 )
2022-05-26 20:32:41 +09:00
SWC Bot
3d496d6408
chore: Publish crates
2022-05-24 13:32:27 +00:00
Shinobu Hayashi
a3e4c201de
fix(es/compat): Escape keywords in class method names ( #4775 )
2022-05-24 13:29:59 +00:00
SWC Bot
f4d828feaf
chore: Publish crates
2022-05-24 12:34:23 +00:00
Austaras
db1698e012
fix(es/compat): Handle nested break
/continue
in block_scoping
( #4778 )
2022-05-24 12:31:50 +00:00
SWC Bot
9857b2f4ca
chore: Publish crates
2022-05-24 11:35:40 +00:00
Austaras
4f00914c1a
fix(es/compat): Handle nested for loops with break
/continue
( #4777 )
2022-05-24 11:32:49 +00:00
SWC Bot
fd8a08a7e7
chore: Publish crates
2022-05-24 04:43:53 +00:00
Satish Srinivasan
8720f9a948
fix(es/compat): Fix span of instanceof
( #4757 )
2022-05-24 04:41:34 +00:00
SWC Bot
b509ca0c7b
chore: Publish crates
2022-05-18 22:09:14 +00:00
magic-akari
100c0b58c9
fix(es/compat): Fix break
in for await loop ( #4705 )
2022-05-18 22:06:48 +00:00
SWC Bot
ead25ee153
chore: Publish crates
2022-05-15 05:09:48 +00:00
SWC Bot
97808349a2
chore: Publish crates
2022-05-11 16:17:07 +00:00
SWC Bot
d768200e10
chore: Publish crates
2022-05-11 05:36:57 +00:00
Donny/강동윤
3b2b8c4512
fix(es/config): Merge jsc.transform
correctly ( #4615 )
2022-05-11 14:28:40 +09:00
SWC Bot
90569d4673
chore: Publish crates
2022-05-11 04:38:52 +00:00
Donny/강동윤
6a97c7bef8
fix(es/utils): Fix wrong apis ( #4604 )
...
# API Changes
## `swc_ecma_utils`
### Renames
- `find_ids` => `find_pat_ids`
- `prepend` => `prepend_stmt`
- `as_bool` => `cast_to_bool`
- `as_number` => `as_pure_number`
- `as_string` => `cast_to_string`
- (`as_pure_bool`, `cast_to_number` is not renamed)
- `UsageFinder` => `IdentUsageFinder`.
- `IdentFinder` => `IdentRefFinder`.
## Changes
- Re-export of `HANDLER` from `swc_common::errors` is removed. Use `swc_common::error::HANDLER` instead.
- Re-export of `Id` from `swc_ecma_ast` is removed. Use `swc_ecma_ast::Id` instead.
- `ExprCtx` is used for apis related to `Expr`.
- `preserve_effects` is now a method of `ExprCtx`. It was a top-level function.
- `extract_side_effects_to` is now a method of `ExprCtx`. It was a top-level function.
- `IdentUsageFinder` (previously `UsageFinder`) now takes `Id` instead of `Ident`.
- `IdentRefFinder` (previously `IdentFinder`) now takes `Id` instead of `Ident`.
- `ExprExt::is_ident_ref_to` is removed.
- `Expr::is_global_ref_to` is added.
- `:🆔 :id` is removed. Use `Ident::to_id()` instead.
2022-05-11 04:36:22 +00:00
Donny/강동윤
2c861bd9e5
feat(es/ast): Improve Id
APIs ( #4614 )
...
# API Changes
- `Ident` now has `to_id()`. This method is added to allow removing an import.
2022-05-11 12:02:14 +09:00
SWC Bot
e4ce388632
chore: Publish crates
2022-05-06 04:10:39 +00:00
Austaras
2e74787870
fix(es/compat): Memorize computed props in logical assignment ( #4525 )
2022-05-05 02:25:37 +00:00
Donny/강동윤
a6d404a8c2
chore(repo): Configure prettier
( #4523 )
2022-05-04 14:25:28 +00:00
SWC Bot
51574d8b15
chore: Publish crates
2022-05-04 03:15:35 +00:00
Austaras
9e45882b84
fix(es/compat): Fix the position of inserted statements in class_properties
( #4511 )
2022-05-04 12:13:38 +09:00
Donny/강동윤
97e0e271d5
fix(es/compat): Revert a wrong patch about private properties
2022-05-04 12:13:07 +09:00
SWC Bot
00695f4b23
chore: Publish crates
2022-05-03 07:50:35 +00:00
SWC Bot
6cd5cfe045
chore: Publish crates
2022-05-03 02:23:15 +00:00
Austaras
c4b156ce1f
fix(es/compat): Visit default export in static_block
( #4500 )
2022-05-03 02:20:49 +00:00
Donny/강동윤
518f769ef0
chore: Publish crates
2022-05-02 15:50:14 +09:00
magic-akari
1e1d081805
fix(es/compat): Support updating a private field with bigint value ( #4136 )
2022-05-02 13:34:46 +09:00
SWC Bot
3443208810
chore: Publish crates
2022-04-30 12:35:42 +00:00
Satish Srinivasan
de53a6fa9d
feat(es/compat): Verify private property access ( #4465 )
2022-04-30 12:32:52 +00:00
Donny/강동윤
951e7b3fb9
chore: Publish crates
2022-04-30 18:21:26 +09:00
Donny/강동윤
a444726fe3
fix(es/bugfixes): Fix handling of syntax context ( #4490 )
2022-04-30 09:11:20 +00:00
Donny/강동윤
a72f436148
chore: Publish crates
2022-04-28 17:35:33 +09:00
Donny/강동윤
0bc0bae90d
fix(es/async-generator): Fix yield*
in async generators ( #4452 )
2022-04-28 04:14:17 +00:00
Donny/강동윤
27f9b30ef2
chore: Publish crates
2022-04-26 19:30:11 +09:00
Donny/강동윤
53610fdafc
feat(es/resolver): Use different syntax context for unresolved refs ( #4436 )
...
- We don't need a list of bindings to check if an identifier is unresolved.
- Checking if an identifier is unresolved is now one CPU instruction.
- Previously it was one hashmap operation.
- This PR also improves performance, by removing the hashmaps mentioned above.
2022-04-26 07:38:50 +00:00
SWC Bot
7d23492b16
chore: Publish crates
2022-04-21 10:02:50 +00:00
OJ Kwon
8419b60430
fix(plugin): Align deps to fix build ( #4377 )
2022-04-20 08:05:02 +00:00
SWC Bot
995b4367cc
chore: Publish crates
2022-04-15 07:39:50 +00:00
Donny/강동윤
7599fe7431
fix(es/parser): Enable static blocks by default ( #4334 )
2022-04-15 07:31:41 +00:00
SWC Bot
591b98df66
chore: Publish crates
2022-04-12 22:11:46 +09:00
Donny/강동윤
6c9882ec68
fix(es/compat): Fix renaming bug of block_scoping
( #4310 )
2022-04-12 22:11:34 +09:00
SWC Bot
fa880634bd
chore: Publish crates
2022-04-11 20:05:28 +00:00
SWC Bot
4a097adbf7
chore: Publish crates
2022-04-11 18:48:43 +00:00
那里好脏不可以
37a8c90750
chore(*): Typo + fomatting ( #4304 )
2022-04-11 18:45:58 +00:00
OJ Kwon
fad652f879
chore(plugin): Align version of swc_common
to include dummy comment api ( #4270 )
2022-04-07 07:21:37 +00:00
SWC Bot
5eb3d8315a
chore: Publish crates
2022-04-05 12:49:22 +00:00
Alexander Akait
f39d3aca4d
feat(es/ast): Add raw
to Num
( #4245 )
2022-04-05 12:46:35 +00:00
OJ Kwon
4093814895
chore(build): Dedup swc_common
( #4247 )
2022-04-05 14:28:07 +09:00
Donny/강동윤
1f466e1d2f
chore(ci): Fix benchmark action ( #4242 )
2022-04-04 20:12:03 +09:00
Donny/강동윤
7eea95be7a
fix(es/preset-env): Change order of passes
2022-04-02 06:57:17 +00:00
SWC Bot
3337777f8c
chore: Publish crates
2022-04-02 06:06:39 +00:00
Alexander Akait
e91f271873
feat(es/ast): Add raw
to BigInt
( #4218 )
2022-04-02 06:04:14 +00:00
SWC Bot
1068561800
chore: Publish crates
2022-04-01 04:29:08 +00:00
magic-akari
b793aa0200
feat(es/compat): Support more regex expressions ( #4205 )
2022-04-01 04:26:30 +00:00
SWC Bot
d19c8a8aa3
chore: Publish crates
2022-03-31 13:03:06 +00:00
magic-akari
6a27a0ce88
fix(es/compat): Hoist env in function params ( #4210 )
2022-03-31 13:00:19 +00:00
SWC Bot
cfed024514
chore: Publish crates
2022-03-30 21:19:05 +00:00
Austaras
c946236fcc
fix(es/compat): Fix label handling of block_scoping
( #4198 )
2022-03-30 21:16:34 +00:00
SWC Bot
b67c104877
chore: Publish crates
2022-03-30 12:07:14 +00:00
Austaras
3426dda4f7
fix(es/compat): Handle new.target
in getter/setter properties ( #4194 )
2022-03-30 12:04:27 +00:00
SWC Bot
40b3381ae8
chore: Publish crates
2022-03-30 10:32:51 +00:00
magic-akari
4f5c5cf842
fix(es/compat): Handle spreads of string literials ( #4191 )
2022-03-30 19:30:06 +09:00
SWC Bot
6125de9808
chore: Publish crates
2022-03-28 12:20:51 +00:00
Donny/강동윤
e6088408bf
chore: Publish crates
2022-03-24 12:05:47 +09:00
SWC Bot
8d322ef575
chore: Publish crates
2022-03-22 10:46:03 +00:00
Donny/강동윤
154d443c88
fix(es/compat): Fix regression of es2015
( #4119 )
2022-03-22 10:42:05 +00:00
SWC Bot
77722c4943
chore: Publish crates
2022-03-22 08:03:01 +00:00
Alexander Akait
634d732803
feat(es/ast): Add raw
to Str
( #4071 )
2022-03-22 07:54:08 +00:00
SWC Bot
165c752606
chore: Publish crates
2022-03-19 14:14:02 +00:00
Austaras
f5b9600b2b
fix(es/compat): Visit non-method properties in a nested object literal ( #4094 )
2022-03-19 14:11:54 +00:00
SWC Bot
51e2dfd7e7
chore: Publish crates
2022-03-19 11:28:06 +00:00
Donny/강동윤
0d6bd813b2
fix(es/compat): Revert wrong fix of arrow
( #4093 )
2022-03-19 11:25:52 +00:00
SWC Bot
f75ec3dd66
chore: Publish crates
2022-03-19 10:29:08 +00:00
Donny/강동윤
cb0881cc3d
fix(es/compat): Visit generated codes from arrow
( #4090 )
2022-03-19 10:26:58 +00:00
SWC Bot
a74d4ca679
chore: Publish crates
2022-03-17 10:29:25 +00:00
SWC Bot
4d6d766cf8
chore: Publish crates
2022-03-17 05:36:01 +00:00
Austaras
bbe8f3d8fe
fix(es/ast): Revert removal of definite
in PrivateProp
( #4051 )
2022-03-17 05:33:37 +00:00
LongYinan
db9b988845
feat(node-swc): Add libc
field in Linux platform packages ( #4046 )
2022-03-16 18:58:24 +09:00
SWC Bot
cc2aa361fa
chore: Publish crates
2022-03-15 14:19:50 +00:00
Donny/강동윤
e19a60aad4
fix(es/compat): Change pass ordering of es2015
( #4029 )
...
**Description:**
We should apply `regenerator` after `block_scoping` because `regenerator` does not know how to handle `const`s.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/3006
2022-03-15 14:17:03 +00:00
Donny/강동윤
dac84b98e3
doc(api/rust): Add examples ( #4002 )
2022-03-13 22:07:34 +00:00
Donny/강동윤
38c0c0faa6
chore: Publish crates
2022-03-14 04:11:07 +09:00
Donny/강동윤
ddfa490899
chore: Publish crates
2022-03-12 10:00:23 +09:00
LongYinan
1206c84e19
feat(*): Update dependencies ( #3964 )
2022-03-11 23:00:55 +09:00
OJ Kwon
ca071fb705
fix(es): Adjust tracing span level ( #3911 )
2022-03-10 16:59:51 +00:00
SWC Bot
199dfbdd8e
chore: Publish crates
2022-03-10 13:54:58 +00:00
Austaras
de8a7116cd
fix(es/compat): Refer this in constructor when super_is_callable_constructor
is set ( #3944 )
2022-03-10 13:52:54 +00:00
SWC Bot
666f55e01c
chore: Publish crates
2022-03-10 07:48:19 +00:00
Austaras
112f428734
feat(es/compat): Add pure comments for class fields keys ( #3939 )
2022-03-10 07:13:58 +00:00
OJ Kwon
86ea23785d
perf(*): Update tracing
to improve performance of disabled spans ( #3932 )
2022-03-10 03:15:49 +00:00
SWC Bot
8f4e10e44c
chore: Publish crates
2022-03-09 06:53:48 +00:00
Austaras
12b8606c99
fix(es/compat/es2015): Fix span handling of arrow
and classes
( #3921 )
2022-03-09 06:51:48 +00:00
Donny/강동윤
3d43a9b69d
feat(es/testing): Print comments in test_fixture
( #3920 )
2022-03-09 02:54:27 +00:00
SWC Bot
bf9e8d716c
chore: Publish crates
2022-03-07 19:20:40 +00:00
OJ Kwon
bd0a9214c3
feat(es/compat): Add tracing support to remaining compat transforms ( #3904 )
2022-03-07 19:18:48 +00:00
Austaras
9dd0105c5b
feat(es/fixer): Remove extra parens around iife in expression position ( #3887 )
2022-03-07 03:51:57 +00:00
SWC Bot
fd453b9170
chore: Publish crates
2022-03-05 19:34:45 +00:00
magic-akari
c7f2bdb813
feat(es/compat): Implement loose mode for async_to_generator
( #3870 )
2022-03-05 19:32:59 +00:00
SWC Bot
2fdc5f625d
chore: Publish crates
2022-03-05 14:52:49 +00:00
Austaras
26abc6ba7e
refactor(es/ast): Remove useless fields in private property ( #3868 )
2022-03-05 23:51:04 +09:00
SWC Bot
add86a7e6a
chore: Publish crates
2022-03-05 06:48:00 +00:00
Austaras
6f076e4927
feat(es/transform): Unify logic for handling class properties ( #3766 )
2022-03-05 06:46:09 +00:00
SWC Bot
bf33aa56d6
chore: Publish crates
2022-03-05 04:37:58 +00:00
OJ Kwon
cd8bb0fb2c
perf(es/compat): Add tracing support for es2015 transforms ( #3857 )
2022-03-05 04:36:19 +00:00
SWC Bot
08a4bb7454
chore: Publish crates
2022-03-04 07:30:58 +00:00
OJ Kwon
a933db5a1a
perf(es/compat): Add tracing support to transforms for from es2017 to es2019 ( #3844 )
2022-03-04 07:28:58 +00:00
SWC Bot
068b9da9b7
chore: Publish crates
2022-03-03 11:00:23 +00:00
Donny/강동윤
406b8eaeaf
fix(es/compat): Fix block scoping of variables ( #3826 )
2022-03-03 10:51:45 +00:00
Donny/강동윤
814dcc09d6
test(es/compat): Organize tests ( #3825 )
2022-03-03 05:51:09 +00:00
SWC Bot
d25ac78865
chore: Publish crates
2022-03-01 10:25:03 +00:00
OJ Kwon
8f41d7a10e
feat(es/compat): Add tracing support for es2020 transforms ( #3798 )
2022-03-01 10:22:53 +00:00
SWC Bot
761fb9c244
chore: Publish crates
2022-03-01 07:12:48 +00:00
Austaras
5b6beca1af
feat(es/compat): Use sequence expressions instead of iife in classes
pass ( #3773 )
2022-03-01 16:10:57 +09:00
SWC Bot
1ef8f3749b
chore: Publish crates
2022-03-01 06:30:55 +00:00
OJ Kwon
4d7048291f
feat(es/compat): Add tracing support for es2022
transforms ( #3785 )
2022-03-01 06:24:13 +00:00
SWC Bot
34836ff052
chore: Publish crates
2022-02-27 16:19:14 +00:00
Austaras
11bf29f44b
fix(es/compat): Initialize class fields as a last step ( #3767 )
2022-02-27 16:17:14 +00:00
SWC Bot
a41aa33b05
chore: Publish crates
2022-02-27 09:40:33 +00:00
magic-akari
8ed4d2fcac
feat(es/compat): Optimize handling of literals in computed property names ( #3756 )
2022-02-27 18:38:26 +09:00
SWC Bot
4fe874dd77
chore: Publish crates
2022-02-26 15:11:21 +00:00
Austaras
14155eb0e7
feat(es/compat): Implement loose mode for class_properties
( #3722 )
2022-02-27 00:09:02 +09:00
OJ Kwon
5c29f15640
feat(plugin): Support tracing plugin execution ( #3744 )
2022-02-25 20:28:17 +00:00
SWC Bot
94bc8a634b
chore: Publish crates
2022-02-25 14:03:50 +00:00
Donny/강동윤
b4830b61dc
feat(macros): Add #[swc_trace]
( #3738 )
2022-02-25 14:01:33 +00:00
Donny/강동윤
fd223793e8
refactor(es/transforms): Use recommended ast apis ( #3735 )
2022-02-25 06:50:19 +00:00
SWC Bot
8f1aef47d4
chore: Publish crates
2022-02-25 06:10:45 +00:00
Austaras
05de029cfa
fix(es/compat): Fix handling of private getters and setters ( #3695 )
2022-02-25 06:08:35 +00:00
SWC Bot
25b54ae7a8
chore: Publish crates
2022-02-25 04:08:59 +00:00
OJ Kwon
a454996314
feat(node-swc): Add experimental trace support in @swc/core
( #3731 )
2022-02-25 04:06:45 +00:00
Bryan Lee
72c9e6ca2b
fix(es/helpers): Cast the result of the instanceof
helper to boolean ( #3728 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-25 03:22:40 +00:00
SWC Bot
78b997bd90
chore: Publish crates
2022-02-23 07:05:42 +00:00
Austaras
b6434e52e7
fix(es/compat): Throw an error if a private property is initialized multiple times ( #3665 )
2022-02-23 07:03:13 +00:00
Donny/강동윤
e35d73adf4
chore(clippy): Improve config ( #3691 )
2022-02-23 06:07:42 +00:00
Donny/강동윤
135acf3b42
refactor(es): Improve ast apis ( #3690 )
2022-02-23 05:37:07 +00:00
SWC Bot
e4c674b9cb
chore: Publish crates
2022-02-21 13:10:43 +00:00
Donny/강동윤
68a155165b
fix(es/ast): Fix definition of Expr::TsInstantiation
( #3657 )
2022-02-21 13:03:11 +00:00
SWC Bot
e08a2c2c17
chore: Publish crates
2022-02-21 07:15:09 +00:00
Austaras
2cb66ae075
refactor(es/ast): Change definition of optional chaining expressions ( #3645 )
2022-02-21 07:12:09 +00:00
SWC Bot
264f1cf8d6
chore: Publish crates
2022-02-20 15:53:48 +00:00
Pig Fang
61e711c912
feat(es/ast): Support TypeScript Instantiation Expression ( #3642 )
2022-02-20 15:51:31 +00:00
SWC Bot
de6f75dc95
chore: Publish crates
2022-02-18 07:32:39 +00:00
Austaras
5c03551341
feat(es/compat): Check for duplicate private names and undefined private names ( #3613 )
2022-02-18 07:23:18 +00:00
SWC Bot
c6757dafec
chore: Publish crates
2022-02-16 15:32:46 +00:00
Austaras
31917417e9
fix(es/compat): Handle super
and new.target
in class properties ( #3594 )
2022-02-16 15:29:20 +00:00
Austaras
f67796a962
fix(es/utils): Keep arguments to super
call ( #3570 )
2022-02-15 15:42:40 +09:00
SWC Bot
7351ec2477
chore: Publish crates
2022-02-15 13:22:16 +09:00
Austaras
0f7a99787f
feat(es/compat): Add loose mode for classes
( #3474 )
2022-02-15 04:02:08 +00:00
SWC Bot
d7c5ff48f4
chore: Publish crates
2022-02-14 18:16:06 +09:00
Austaras
0b162102fa
fix(es/compat): Fix handling of constructor in classes
( #3505 )
...
swc_ecma_transforms_compat:
- Use `SuperFieldAccessFolder` for `super` fields in constructors.
- Fix handling of variables in constructors with the same name as the class name.
- Fix handling of functions in constructors with this/super.
2022-02-14 18:14:55 +09:00
SWC Bot
ac9c86f8b9
chore: Publish crates
2022-02-14 15:45:04 +09:00
Austaras
45b44b088c
fix(es/compat): Handle arrow parameters in class fields ( #3556 )
2022-02-14 15:44:33 +09:00
SWC Bot
0570913ec8
chore: Publish crates
2022-02-14 14:42:19 +09:00
Austaras
f1c7394d10
fix(es/compat): Apply new.target
before classes
( #3555 )
2022-02-14 14:41:43 +09:00
SWC Bot
83274c8159
chore: Publish crates
2022-02-13 04:34:36 +09:00
magic-akari
342c320bfa
fix(es/compat): Fix destructing of const
( #3545 )
2022-02-13 04:34:06 +09:00
SWC Bot
b3a55dbb4e
chore: Publish crates
2022-02-12 21:45:18 +09:00
magic-akari
5802b62e34
fix(es/compat): Allow destructuring assignment to an object property ( #3544 )
2022-02-12 21:43:51 +09:00
Donny/강동윤
9b76783281
refactor(common): Cleanup & rustfmt ( #3495 )
...
swc_common:
- Merge identical source codes.
swc_css_parser:
- Deny `clippy::all`.
- Fix lints.
2022-02-09 06:33:32 +00:00
Donny/강동윤
8bf5cf4d03
chore(es): Fix clippy warnings ( #3482 )
2022-02-08 19:50:22 +09:00
Donny/강동윤
19e7c70bd7
chore: Publish crates
2022-02-04 13:21:41 +09:00
RiESAEX
cc185f01cb
feat(es/parser): Add an option to allow super
outside of class methods ( #3427 )
2022-02-04 13:21:16 +09:00
Donny/강동윤
51f2202e9e
chore: Publish crates
2022-02-04 12:34:05 +09:00
magic-akari
3bb2a6ccca
fix(es/compat): Handle initializer hole in array patterns ( #3442 )
2022-02-04 12:33:19 +09:00
Donny/강동윤
283486dcd7
chore: Publish crates
2022-02-03 17:56:51 +09:00
Austaras
01500a54e0
fix(es/compat): Handle private fields in nested classes ( #3431 )
2022-02-03 08:54:30 +00:00
Donny
3eaebdf479
chore: Publish crates
2022-01-28 01:14:47 +09:00
magic-akari
9eb77738fd
fix(es/compat): Add the missing span in optional_chaining
( #3384 )
2022-01-28 01:14:09 +09:00
Donny
4a4cb731be
chore: Publish crates
2022-01-25 17:24:18 +09:00
Donny/강동윤
b1a8db6194
fix(es/block-scoping): Pop scope correctly on early returns ( #3360 )
...
swc_ecma_transforms_compat:
- `block_scoping`: Pop scope even on fast-path.
2022-01-25 17:22:58 +09:00
Donny
29f3446df1
chore: Publish crates
2022-01-25 05:57:14 +09:00
Austaras
29aaac1f15
fix(es/compat): Handle nested functions in private_field
( #3355 )
2022-01-24 20:55:43 +00:00
Donny
2d26041d1d
chore: Publish crates
2022-01-24 15:11:53 +09:00
Sosuke Suzuki
d1c90a4e5f
feat(es/bugfix): Add bugfix-safari-id-destructuring-collision-in-function-expression
( #3109 )
2022-01-24 05:48:52 +00:00
Donny
af53b9487f
chore: Publish crates
2022-01-20 23:57:38 +09:00
magic-akari
6d1ad368ac
fix(es/compat): Fix regression of destructuring
( #3326 )
2022-01-20 14:46:58 +00:00
LongYinan
9608605772
build(node-swc): Fix GLIBC < 2.18 compatible issues and android arm binary loading issue ( #3314 )
2022-01-20 02:21:24 +00:00
Austaras
9e636c7e58
refactor(es): Add visit_obj_and_computed
macro ( #3304 )
2022-01-19 23:11:52 +09:00
Donny
d7964dd547
chore: Publish crates
2022-01-17 22:42:52 +09:00
Austaras
89235b8294
fix(es/compat): Apply static_blocks
before class_properties
( #3292 )
2022-01-17 13:20:02 +00:00
Donny
d696c324fb
chore: Publish crates
2022-01-17 16:05:12 +09:00
Satish Srinivasan
2352920889
feat(es/compat): Use remove useless source map entries generated by classes
( #3242 )
2022-01-17 06:48:31 +00:00
Donny
681de03e4b
chore: Publish crates
2022-01-17 13:36:00 +09:00
Austaras
90a62bb215
refactor(es/utils): Merge the super field visitor with FnEnvHoister
( #3279 )
2022-01-17 13:35:32 +09:00
Donny
7ec6e94cb0
chore: Publish crates
2022-01-16 16:58:21 +09:00
Donny/강동윤
9dd0647e3a
feat(es/ast): Improve AST api for plugin authors ( #3281 )
...
swc_ecma_ast:
- Improve API for AST creation.
2022-01-16 16:56:41 +09:00
Donny/강동윤
e8670b3383
refactor(es): More fix for clippy ( #3280 )
2022-01-16 14:33:06 +09:00
Donny/강동윤
357a350390
refactor(*): Cleanup ( #3274 )
2022-01-15 16:43:34 +09:00
Donny
6ad418339e
chore: Publish crates
2022-01-14 23:14:37 +09:00
RiESAEX
d3cc488ac1
feat(es/compat): Use var
for _len
and args
in rest parameters ( #3267 )
2022-01-14 14:13:42 +00:00
Donny
d03824b13d
chore: Publish crates
2022-01-14 12:45:45 +09:00
Donny/강동윤
7c19e26d0f
fix(es/transforms): Fix this
in async arrow class properties ( #3252 )
...
swc_ecma_transforms_compat:
- `async_to_generator`: Fix `this` in async class properties. (https://github.com/vercel/next.js/issues/33283 )
- Add a test for #3228 (Closes #3228 ).
2022-01-14 12:44:34 +09:00
Donny/강동윤
978de5943e
chore(ci): Configure clippy
( #3250 )
2022-01-13 23:06:11 +09:00
Donny
c13bba8401
chore: Publish crates
2022-01-12 18:39:56 +09:00
Donny
c5f2feaf58
chore: Publish crates
2022-01-11 19:35:28 +09:00
magic-akari
2e5150d2b7
fix(es/compat): Transform &&=
operator ( #3225 )
2022-01-11 10:33:57 +00:00
Donny
9a62ef21b7
chore: Publish crates
2022-01-11 16:48:26 +09:00
RiESAEX
b649d23bac
feat(es/compat): Implement object super ( #3127 )
...
swc_ecma_transforms_compat:
- Implement object super. (Closes #2684 )
2022-01-11 07:45:01 +00:00
Donny
d51904b93e
chore: Publish crates
2022-01-11 14:42:17 +09:00
Donny/강동윤
1edbf1a37a
feat(es/ast): Update is-macro
( #3226 )
...
swc_ecma_ast:
- Add `as_*` for ast enums.
2022-01-11 14:41:34 +09:00
Donny
852ec783f3
chore: Publish crates
2022-01-10 22:57:17 +09:00
Austaras
f58b50bea7
refactor(es/ast): Change types of member-like expressions ( #3178 )
...
swc_ecma_ast:
- Split `MemberExpr` into `MemberExpr` and `SuperPropExpr`.
- Use `Box<Expr>` for `MemberExpr.obj`.
- Use ad-hoc type for `MemberExpr.prop`.
- Use ad-hoc type for `SuperPropExpr.prop`.
- Use `Callee` instead of `ExprOrSpread` for `CallExpr`.
- Simplify types for meta property expressions.
2022-01-10 13:54:42 +00:00
Donny
0d4b671052
chore: Publish crates
2022-01-10 15:05:26 +09:00
Donny
9e0f6958a3
chore: Publish crates
2022-01-09 01:05:51 +09:00
magic-akari
5bee4e4902
refactor(es/compat): Preserve length of functions in async_generator
( #3202 )
2022-01-08 15:19:41 +00:00
Donny/강동윤
70c2f3b3a5
security(repo): Fix crev integration ( #3210 )
2022-01-07 20:03:03 +09:00
Donny
fa212be6ae
chore: Publish crates
2022-01-07 14:49:46 +09:00
Donny/강동윤
54353a6fb5
fix(es/helpers): Don't transpile _typeof
helper ( #3208 )
...
swc_ecma_transforms_base:
- Add a directive to `_typeof` helper.
swc_ecma_transforms_compat:
- Don't transpile `_typeof` helper. (Closes #3201 )
swc_ecma_minifier:
- Drop swc/babel directives.
2022-01-07 14:48:08 +09:00
Donny
6892f27ad7
chore: Publish crates
2022-01-06 20:19:36 +09:00
Sosuke Suzuki
432f877790
feat(es/ast): Use ModuleExportName
for ExportNamespaceSpecifier
( #3195 )
2022-01-06 20:19:11 +09:00
Donny
781aa79b82
chore: Publish crates
2022-01-04 19:29:50 +09:00
Donny
1e5bc88cd3
chore: Publish crates
2022-01-03 17:45:09 +09:00
Sosuke Suzuki
07c0489575
feat(es/ast): Add ModuleExportName
( #3048 )
...
swc_ecma_ast:
- Allow using string as import/export specifiers.
2022-01-03 08:44:11 +00:00
magic-akari
52961804d1
feat(es/codegen): Make the output for empty objects and empty statements pretty ( #3171 )
2022-01-03 05:54:58 +09:00
Donny
b52240d8e5
chore: Publish crates
2021-12-31 04:02:07 +09:00
magic-akari
e11210309c
fix(es/compat): Fix new.target
in class properties ( #3156 )
2021-12-31 04:01:28 +09:00
Donny
097e1e310c
chore: Publish crates
2021-12-30 19:48:39 +09:00
magic-akari
f78d005a95
fix(es/compat): Fix length of async functions ( #3136 )
...
swc_ecma_transforms_compat:
- `async_to_generator`: Preserve function length. (Closes #3135 )
2021-12-30 10:26:26 +00:00
Donny/강동윤
194b3e9b67
refactor(*): Use 2021 edition ( #3151 )
2021-12-30 18:59:18 +09:00
Donny
b9c3fba904
chore: Publish crates
2021-12-30 17:22:27 +09:00
magic-akari
35b64613bb
fix(es/compat): Visit all private class methods ( #3150 )
2021-12-30 17:21:54 +09:00
Donny
0cf8265f02
chore: Publish crates
2021-12-29 21:04:30 +09:00
Austaras
356082ad84
fix(es/utils): Fix handling of new.target
( #3145 )
2021-12-29 11:38:32 +00:00
Donny
a0d31f5ce4
chore: Publish crates
2021-12-28 17:12:28 +09:00
magic-akari
27d3fd93b0
fix(es/compat): Fix computed_properties
( #3120 )
...
swc_ecma_transforms_compat:
- `computed_properties`: Fix handling of getter/setter properties. (Closes #2680 )
2021-12-28 08:07:30 +00:00
Donny
4ab82fb4a7
chore: Publish crates
2021-12-27 04:38:36 +09:00
magic-akari
1b6ac25d5c
fix(es/compat): Fix private methods of a class ( #3123 )
...
swc_ecma_transforms_compat:
- `class_properties`: Handle private method calls properly. (Closes #3055 )
2021-12-26 19:37:46 +00:00
Donny
836cbd63a8
chore: Publish crates
2021-12-26 23:38:59 +09:00
magic-akari
ac78a527eb
fix(es/compat): Fix handling of hoisted functions in regenerator ( #3119 )
...
swc_ecma_ast:
- Implement `Take` for `FnDecl`.
swc_ecma_transforms_compat:
- `regenerator`: Handle hoisted function declarations properly. (Closes #2556 )
- `regenerator`: Fix handling of class properties with an async function as the initializer. (Closes #2620 )
2021-12-26 14:36:21 +00:00
Donny
4ddc01e219
chore: Publish crates
2021-12-26 00:35:28 +09:00
magic-akari
a1cb4a4aa5
fix(es/compat): Fix handling of class methods with a big int as a key ( #3118 )
2021-12-25 14:46:56 +00:00
Donny
cb603cc1ff
chore: Publish crates
2021-12-24 13:40:54 +09:00
magic-akari
e5971f77d5
fix(es/ast): Fix Ident::verify_symbol
( #3108 )
2021-12-24 04:29:49 +00:00
Donny
5e6f6e5122
chore: Publish crates
2021-12-24 12:23:46 +09:00
magic-akari
9f5a8f728a
fix(es/compat): Fix destructuring
( #3104 )
...
swc_ecma_transforms_compat:
- `destructuring`: Handle assignment expressions in rhs of variable declarators correctly. (Closes #2850 )
2021-12-24 03:19:45 +00:00
Donny
4bb264d480
chore: Publish crates
2021-12-24 10:47:59 +09:00
Donny/강동윤
d923f89db1
fix(es/compat): Fix classes
pass ( #3107 )
...
swc_ecma_ast:
- Add `Ident::verify_symbol`.
swc_ecma_transforms_compat:
- Don't generate invalid identifiers. (Closes #3106 )
2021-12-24 10:46:55 +09:00
Donny
08c4589da7
chore: Publish crates
2021-12-22 17:06:54 +09:00
magic-akari
df87c2b302
fix(es/transforms): Fix descturcturing
( #3098 )
...
swc_ecma_transforms_compat:
- `destructuring`: Handle exports of bindings with object pattern properties correctly. (Closes #2858 )
2021-12-22 08:03:41 +00:00
Donny
967f30d7d4
chore: Publish crates
2021-12-19 12:45:44 +09:00
magic-akari
ff1aab710c
fix(es/compat): Transform an optional eval call as an indirect eval call ( #3068 )
...
swc_ecma_transforms_compat:
- `optional_chaining`: Handle optional `eval` calls properly. (Closes #2735 )
2021-12-19 03:42:46 +00:00
Donny
8c16c2b77d
chore: Publish crates
2021-12-17 15:09:02 +09:00
OJ Kwon
a381fb8bce
fix(es/compat): Fix block_scoping
( #3058 )
...
swc_ecma_transforms_compat:
- `block_scoping`: Consider the location of variable declarations. (Closes #2998 )
2021-12-17 15:08:22 +09:00
Donny
9b36abbe75
chore: Publish crates
2021-12-15 16:22:00 +09:00
Austaras
38955c0c8d
refactor(es/ast): Change type or the key
of ClassProp
to PropName
( #3038 )
2021-12-15 16:21:30 +09:00
Donny
83e1635a04
chore: Publish crates
2021-12-14 19:48:17 +09:00
OJ Kwon
29eb71aaf9
perf(es/compat): Migrate regenerator
to VisitMut
( #3037 )
2021-12-14 09:24:57 +00:00
Donny
f86c077a37
chore: Publish crates
2021-12-13 06:46:14 +09:00
Donny
28f3c4fb52
chore: Publish crates
2021-12-13 06:45:43 +09:00
RiESAEX
d3ffc6719b
perf(es/compat): Migrate class helper to VisitMut
( #3020 )
2021-12-12 21:18:48 +00:00
Donny
da4111a022
chore: Publish crates
2021-12-11 20:54:21 +09:00
RiESAEX
333b52c646
perf(es/compat): Migrate classes
to VisitMut
partially ( #2995 )
2021-12-11 08:24:57 +00:00
Donny
a04b4082a4
Bump version
2021-12-11 17:01:12 +09:00
OJ Kwon
00d22b8fde
build: Use mocha
for exec_ test
instead of jest
( #3009 )
2021-12-11 07:59:21 +00:00
Donny
f87df958d5
chore: Publish crates
2021-12-11 16:21:44 +09:00
OJ Kwon
91d6343d7f
perf(es/compat): Migrate regenerator
to VisitMut
partially ( #3007 )
2021-12-11 05:30:56 +00:00