Commit Graph

352 Commits

Author SHA1 Message Date
Donny
72e892ec12 chore: Publish crates 2021-11-26 23:29:33 +09:00
Donny/강동윤
c2bbdbe9d6
feat(webpack): Add ast reducer (#2875)
swc_estree_compat:
 - Fix stack overflow related to object patterns.

swc_webpack_}ast:
 - Implement AST reducer.
2021-11-26 15:04:41 +09:00
Donny
a38889be91 chore: Publish crates 2021-11-26 08:31:11 +09:00
Donny/강동윤
cdef843369
feat(es/estree): Allow emitting acorn ast (#2859)
swc_estree_ast:
 - Add `Flavor`.
 - Adjust serialization based on `Flavor`.

swc_estree_visit:
 - Remove.

testing:
 - Add `diff_json`.

testing_macros:
 - `#[fixture]`: Print input.
2021-11-25 20:16:46 +09:00
Donny
730e138925 chore: Publish crates 2021-11-25 16:17:34 +09:00
Donny
2c9de7dd4a chore: Publish crates 2021-11-25 15:22:34 +09:00
Donny
62a48875bd chore: Publish crates 2021-11-25 14:14:43 +09:00
Donny
e04f0867fc chore: Publish crates 2021-11-24 17:04:09 +09:00
Donny
1cc4de3e9b chore: Publish v1.2.112 2021-11-24 15:07:18 +09:00
Donny
770da5ae9e chore: Publish crates 2021-11-24 15:05:46 +09:00
Donny
a8bda3bb9c chore: Publish crates 2021-11-24 13:54:33 +09:00
Donny
d4ffce13b5 chore: Publish crates 2021-11-24 10:08:01 +09:00
Donny/강동윤
790a262c07
refactor(es/estree): Rename: babel => estree (#2846)
swc_babel_ast:
 - Rename as `swc_estree_ast`.

swc_babel_compat:
 - Rename as `swc_estree_compat`.

swc_babel_visit:
 - Rename as `swc_estree_visit`.
2021-11-24 05:34:41 +09:00
Donny
e4216a2e6c chore: Publish crates 2021-11-23 21:10:35 +09:00
Donny
c1e99eee3e chore: Publish crates 2021-11-23 19:07:48 +09:00
Donny/강동윤
2c099bfd2c
feat(es/preset_env): Use browserslist-rs (#2845)
swc_ecma_preset_env:
 - Fix `default_path`.
 - Use `browserslist-rs` for query. (Closes #2781)
2021-11-23 19:07:16 +09:00
Donny
e99c4d26ae chore: Publish crates 2021-11-23 18:14:38 +09:00
Donny/강동윤
d0cabc37ed
chore: Publish babel crates (#2835) 2021-11-22 21:41:03 +09:00
Donny/강동윤
6b96a3d8ed
feat: Enable logging of timings (#2833)
swc_timer:
 - Add `Timer`.
 - Add `timer!()`.

node:
 - Enable logging.
2021-11-22 21:01:08 +09:00
Donny
7ec522f165 chore: Publish crates 2021-11-22 17:55:07 +09:00
Donny
46e722559e chore: Publish crates 2021-11-22 01:02:49 +09:00
Donny
a392a4c0fd chore: Publish crates 2021-11-21 23:43:31 +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
Donny
218a269bb5 chore: Publish crates 2021-11-21 15:48:05 +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
2749817545 chore: Publish crates 2021-11-20 20:25:28 +09: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
5a037876dd chore: Publish crates 2021-11-20 17:05:17 +09:00
Donny
43586d0b7c chore: Publish crates 2021-11-20 16:29:43 +09:00
Donny
e39748ed4a chore: Publish crates 2021-11-20 15:52:34 +09: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
Donny
8615a64f2f chore: Publish crates 2021-11-18 22:19:10 +09:00
Donny
a2f7bade39 chore: Publish crates 2021-11-18 17:25:19 +09:00
Donny
4e8cb5dbfd chore: Publish crates 2021-11-18 15:46:30 +09:00
Donny
88fe823e77 chore: Publish crates 2021-11-18 15:13:30 +09:00
Donny
ee12362688 chore: Publish crates 2021-11-18 14:18:11 +09: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
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
e03af45c09 chore: Publish crates 2021-11-17 14:00:33 +09:00
Donny
7fcbdf20dd chore: Publish crates 2021-11-17 13:50:10 +09:00
Donny
3e4fbe7667 chore: Publish crates 2021-11-16 21:57:24 +09:00
Donny
262c8941a2 chore: Publish crates 2021-11-16 21:17:19 +09:00
Donny
6129e990d4 chore: Publish crates 2021-11-16 11:55:00 +09:00