Commit Graph

1837 Commits

Author SHA1 Message Date
Austaras
29da148b3e
fix(es/transforms/compat): Fix optional_chaining(#2791)
swc_ecma_transforms_compat:
 - `optional_chaining`: Preserve arguments of a call in an optional chaining expression.
2021-11-18 08:00:46 +00:00
Donny
4e8cb5dbfd chore: Publish crates 2021-11-18 15:46:30 +09:00
RiESAEX
1caa61a182
fix(es/parser): Allow static/declare to be optional class property name (#2782) 2021-11-18 06:46:07 +00:00
Donny
88fe823e77 chore: Publish crates 2021-11-18 15:13:30 +09:00
Donny/강동윤
af420eab4b
fix(es/utils): Fix collect_decls (#2792)
swc_ecma_utils:
 - `collect_decls`: Handle assignment pattern property. (Closes #2785)
2021-11-18 15:05:26 +09:00
Donny
ee12362688 chore: Publish crates 2021-11-18 14:18:11 +09:00
Alexander Akait
c50cec1533
refactor(css/ast): Rename StyleRule to QualifiedRule (#2756) 2021-11-17 21:27:39 +00:00
Donny
e5604c3e56 chore: Publish 2021-11-18 01:08:33 +09:00
Donny
225af14b52 chore: Publish crates 2021-11-18 01:07:46 +09:00
Donny/강동윤
06e02d8375
fix(es/transforms/compat): Revert #2740 (#2784) 2021-11-18 01:06:42 +09:00
Donny/강동윤
e1b76654f5
chore(es/minifier): Add a script to copy tests from a next.js app (#2778) 2021-11-17 16:18:34 +09:00
Donny
8c04d396e4 chore: Publish crates 2021-11-17 16:06:57 +09:00
Donny/강동윤
53c8939550
test(swc): Add a test for sourcemap (#2777) 2021-11-17 16:06:37 +09:00
Donny/강동윤
95e7f4d4e9
fix: Revert #2766 (#2774) 2021-11-17 14:53:46 +09:00
Donny
e03af45c09 chore: Publish crates 2021-11-17 14:00:33 +09:00
Yuma Suzuki
ddfc7e6e91
fix(es/transform/compat): Preserve more span (#2766)
swc_ecma_transforms_compat:
 - `async_to_generator`: Use correct span for async methods. (Closes #2701)
2021-11-17 14:00:11 +09:00
Joe Boyle
58bf5a5e2c
chore: Fix links and paths (#2773) 2021-11-17 13:50:41 +09:00
Donny
7fcbdf20dd chore: Publish crates 2021-11-17 13:50:10 +09:00
Max Graey
1bb2c687c0
refactor(es/parser): Simplify skip_line_comment (#2768) 2021-11-17 13:49:43 +09:00
Alexander Akait
6ce437d65d
feat(css/ast): Add types for An+b syntax (#2759) 2021-11-16 15:01:59 +00:00
KnorpelSenf
2e018769c2
chore: Fix typo (#2764) 2021-11-16 14:39:07 +00:00
Donny
3e4fbe7667 chore: Publish crates 2021-11-16 21:57:24 +09:00
OJ Kwon
2fb4e5a60c
fix(es/transforms/compat): Preserve more span (#2762)
swc_ecma_transforms_compat:
 - `async_to_generator`: Preserve more span. (Closes #2758)
2021-11-16 12:50:51 +00:00
Donny
262c8941a2 chore: Publish crates 2021-11-16 21:17:19 +09:00
Sven
65d376a91b
feat(swc): Add IsModule (#2601)
swc:
 - Allow parsing input as a `Program`. (Closes #2541)
2021-11-16 10:31:02 +00:00
Donny
6129e990d4 chore: Publish crates 2021-11-16 11:55:00 +09:00
Alexander Akait
fdd6eaaa9b
fix(es/loader): Add more built-in modules (#2760) 2021-11-16 01:23:59 +00:00
Donny/강동윤
54bc4054a9
chore: Fix benchmark github action (#2755) 2021-11-16 00:38:03 +09:00
Donny
c15116de07 chore: Publish crates 2021-11-15 17:45:19 +09:00
Tim Neutkens
8aea5ebb47
chore: Ensure feature.manyFiles of Git is enabled (#2754) 2021-11-15 08:44:54 +00:00
OJ Kwon
e7cbe3df20
refactor(es/transforms/compat): Migrate to VisitMut (#2751)
swc_ecma_transforms_compat:
 - `export_namespace_from`: Migrate to `VisitMut`.
2021-11-15 08:22:44 +00:00
Donny/강동윤
6b70fb5afe
chore: Rename the default branch from master to main (#2750) 2021-11-15 16:52:45 +09:00
Tim Neutkens
015b2586c3
chore: Change Gitter link to Discord (#2752) 2021-11-15 16:38:31 +09:00
Donny/강동윤
2462b9941f
refactor: Cleanup (#2749) 2021-11-15 15:24:25 +09:00
Donny
2cd565bfc0 chore: Publish crates 2021-11-15 14:31:44 +09:00
Austaras
dc58122283
feat(es/transforms/compat): Add more loose mode (#2611)
swc_ecma_transforms_compat:
- `computed_properties`: Add loose mode.
- `template_literals`: Add loose mode.
- `object_spread`: Add loose mode.
- `optional_chaining`: Add loose mode.
- `nullish_coalescing`: Add loose mode.
- `optional_chaining`: Fix #2734.
2021-11-15 14:31:21 +09:00
Donny/강동윤
f2c67b8caf
fix(es/minifier): Don't inline string literals if it's used multiple time (#2748)
swc_ecma_minifier:
 - Don't inline strings because it's simple.
 - Inline short strings.
2021-11-15 14:03:03 +09:00
Tim Neutkens
3ebc5c6b69
chore: Update markdown files to use "SWC" instead of "swc" (#2744) 2021-11-15 04:26:04 +00:00
Donny
8df860e16c chore: Publish crates 2021-11-14 06:21:28 +09:00
Hiroshi Ogawa
bb646cc31c
fix(es/transforms/compat): Apply block_scoping before regenerator (#2740) 2021-11-13 21:14:17 +00:00
Donny
898ed7015c chore: Publish crates 2021-11-14 05:35:02 +09:00
Bojan Đurđević
571c5e3123
fix(es/transforms/compat): Fix new_target (#2736) 2021-11-13 20:34:28 +00:00
Luke Fernandez
79fc464f8d
chore: Fix broken link (#2737) 2021-11-13 15:23:37 +09:00
Donny/강동윤
b869c81888
refactor(swc_bundler): Extract logic for analyzing cycles (#2733) 2021-11-12 23:33:32 +09:00
Donny
3294a35417 chore: Publish crates 2021-11-12 21:27:00 +09:00
RiESAEX
6e10168207
fix(es/parser): Check for more typescript class names (#2732)
swc_ecma_parser:
 - Check for more invalid typescript class names. (Closes #1218)
2021-11-12 21:26:37 +09:00
Donny/강동윤
1d518fe381
refactor: Flatten css (#2731) 2021-11-12 19:37:05 +09:00
Donny
fd4a71747b chore: Publish crates 2021-11-12 19:10:21 +09:00
Alexander Akait
65ee1b467e
refactor(css/ast): Rename Text to Ident (#2726) 2021-11-12 10:09:52 +00:00
Donny
90b7074556 chore: Publish crates 2021-11-12 16:26:08 +09:00