Donny/강동윤
|
79ba13cbb5
|
fix(es/parser): Fix comments of empty modules (#2828)
swc_ecma_parser:
- Use correct span for storing comments when module is empty.
|
2021-11-22 01:02:28 +09:00 |
|
Donny
|
a392a4c0fd
|
chore: Publish crates
|
2021-11-21 23:43:31 +09:00 |
|
Donny/강동윤
|
9525ea178f
|
fix(es/parser): Fix span of empty modules (#2827)
swc_ecma_parser:
- Don't use dummy span for empty modules.
|
2021-11-21 23:42:36 +09:00 |
|
Donny/강동윤
|
7a6bf424c5
|
fix(es/transforms/base): Fix ts_resolver (#2826)
swc_ecma_transforms_base:
- `ts_resolver`: Hoist type aliases.
|
2021-11-21 16:31:12 +09:00 |
|
Donny
|
96d8ee522c
|
chore: Publish crates
|
2021-11-21 16:30:42 +09:00 |
|
OJ Kwon
|
a9a9833be8
|
perf(es/transforms/compat): Migrate block_scoping to VisitMut (#2817)
|
2021-11-21 07:30:11 +00:00 |
|
Donny
|
218a269bb5
|
chore: Publish crates
|
2021-11-21 15:48:05 +09:00 |
|
Donny/강동윤
|
9cd3d1610d
|
fix(es/transforms/base): Fix ts_resolver (#2824)
swc_ecma_transforms_base:
- `ts_resolver`: Hoist interface declarations.
|
2021-11-21 15:47:38 +09:00 |
|
Donny/강동윤
|
020b4a554d
|
fix(graph_analyzer): Allow invoking load multiple time (#2823)
swc_graph_analyzer:
- Make `load` work correctly even if it's called multiple time.
|
2021-11-21 14:55:59 +09:00 |
|
Donny/강동윤
|
d64b066ef1
|
bench(es/visit): Add some benchmarks (#2820)
|
2021-11-21 14:08:55 +09:00 |
|
Donny
|
2749817545
|
chore: Publish crates
|
2021-11-20 20:25:28 +09:00 |
|
Daniel Luz
|
95a6a28014
|
fix(es/transforms/typescript): Allow enum aliases when values are strings (#2816)
swc_ecma_transforms_typescript:
- `strip`: Support aliasing within string-values enums. (Closes #2809)
|
2021-11-20 11:13:14 +00:00 |
|
Donny/강동윤
|
6a7775b5da
|
fix(es/transforms/compat): Fix this in constructor (#2818)
swc_ecma_transforms_classes:
- Don't modify `this` in constructors.
swc_ecma_transforms_compat:
- Fix handling of `this` in constructors.
|
2021-11-20 19:07:42 +09:00 |
|
Donny
|
cdf7f5f5a0
|
chore: Publish crates
|
2021-11-20 17:06:40 +09:00 |
|
Donny/강동윤
|
fa342a0067
|
fix(es/minifier): Fix bugs (#2779)
swc_ecma_minifier:
- Don't optimize `1 / t == -1 / 0` as `!1`.
- Don't optimize `e === -1 / 0` as false.
- Don't inline string literals in arguments, if it's used multiple time. (https://github.com/vercel/next.js/issues/31291)
|
2021-11-20 17:06:18 +09:00 |
|
Donny
|
5a037876dd
|
chore: Publish crates
|
2021-11-20 17:05:17 +09:00 |
|
OJ Kwon
|
26734d44eb
|
fix(es/transforms/compat): Reduce .bind(this) (#2806)
swc_ecma_transforms_compat:
- `async_to_generator`: Reduce explicit `.bind(this)`.
|
2021-11-20 08:04:27 +00:00 |
|
Donny
|
43586d0b7c
|
chore: Publish crates
|
2021-11-20 16:29:43 +09:00 |
|
Alexander Akait
|
4bcf3fc2ad
|
refactor(css/ast): Split pseudo class and pseudo element (#2675)
|
2021-11-20 16:29:18 +09:00 |
|
Donny
|
e39748ed4a
|
chore: Publish crates
|
2021-11-20 15:52:34 +09:00 |
|
David Sherret
|
338b8fd98e
|
fix(es/parser): Fix span of named export (#2813)
swc_ecma_parser:
- Include semicolon in span of a named export.
|
2021-11-20 15:52:08 +09:00 |
|
OJ Kwon
|
372f5bf1e0
|
perf(es/transforms/compat): Migrate parameters to VisitMut (#2804)
|
2021-11-19 09:27:16 +00:00 |
|
Donny/강동윤
|
1368981f19
|
fix(wasm): Fix wasm-web (#2803)
|
2021-11-19 15:04:01 +09:00 |
|
Donny
|
51bee9bfd3
|
chore: Publish crates
|
2021-11-19 03:02:31 +09:00 |
|
David Sherret
|
02ffe8a289
|
fix(es/utils): Fix extract_var_ids (#2798)
swc_ecma_utils:
- `extract_var_ids`: Handle assignment object pattern property.
|
2021-11-19 03:02:08 +09:00 |
|
Donny
|
ca55539938
|
chore: Publish crates
|
2021-11-19 00:12:37 +09:00 |
|
OJ Kwon
|
5261df52d2
|
fix(es/transforms/compat): Remove .bind(this) (#2776)
swc_ecma_transforms_compat:
- `async_to_generator`: Create `_this` instead of using `.bind(this)`.
|
2021-11-18 14:39:12 +00:00 |
|
Donny
|
8615a64f2f
|
chore: Publish crates
|
2021-11-18 22:19:10 +09:00 |
|
Alexander Akait
|
e32093e72d
|
fix(css/parser): Fix parsing of whitespaces (#2787)
|
2021-11-18 22:18:44 +09:00 |
|
Donny
|
a2f7bade39
|
chore: Publish crates
|
2021-11-18 17:25:19 +09:00 |
|
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 |
|