Donny/강동윤
991a34e0c2
fix(es/minifier): Remove fake_block
while calculating next scope ( #5869 )
...
**Description:**
We now remove `fake_block` mark from `with_ctx`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5865
2022-09-15 06:04:47 +00:00
OJ Kwon
6f19f8902f
refactor(swc_core): enable bytechecked flag ( #5792 )
...
**Description:**
Another update to enable bytecheck rkyv feature flag.
Our dep tree is quite tangled with implicit enable (plugin -> rkyv). PR tries to detach some of it while trying to preserve existing behavior as much as it can.
2022-09-09 08:05:51 +00:00
OJ Kwon
d36e48efbf
build(plugin): Downgrade rkyv
( #5459 )
2022-08-12 14:04:05 +00:00
Donny/강동윤
3eb1f4b2b1
chore(ci): Fix lints ( #5462 )
2022-08-12 13:13:35 +00:00
OJ Kwon
2b5080e291
fix(es): Temporarily disable bytecheck
( #5414 )
2022-08-08 02:58:08 +00:00
OJ Kwon
5a164bd137
feat(plugin): Make metadata api lazy ( #5310 )
2022-07-27 13:16:44 +09:00
OJ Kwon
82fbe15a57
feat(plugin): Wrap serialized struct with a version ( #5128 )
2022-07-07 07:46:49 +00:00
OJ Kwon
2ba8b39fa0
refactor(common): Bikeshed plugin apis ( #5120 )
2022-07-06 04:42:00 +00:00
OJ Kwon
e34a864390
feat(plugin): Add versioned wrapper struct ( #5062 )
2022-06-29 03:35:23 +00: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
那里好脏不可以
37a8c90750
chore(*): Typo + fomatting ( #4304 )
2022-04-11 18:45:58 +00:00
OJ Kwon
536a190dc9
feat(plugin): Implement PoC of comments api ( #4206 )
2022-03-31 08:45:08 +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
Kirill Mironov
e863f9dd04
fix(swc_common): Fix names of proxied functions ( #3608 )
2022-02-18 05:21:58 +00:00
OJ Kwon
bc250262f2
feat(plugin): implement proxy for Mark
and SyntaxContext
( #3511 )
2022-02-10 06:57:42 +00: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
OJ Kwon
494b4c8203
feat(swc/plugin): Implement proxy for Mark::fresh
( #3492 )
2022-02-09 13:56:39 +09:00
Donny/강동윤
15b604b6d6
refactor(*): Fix some clippy warnings ( #3257 )
2022-01-14 07:20:45 +09:00
Donny/강동윤
978de5943e
chore(ci): Configure clippy
( #3250 )
2022-01-13 23:06:11 +09:00
OJ Kwon
32d3342283
refactor(plugin): Remove codes related to the plugin system based on abi_stable
( #3188 )
2022-01-04 10:26:17 +00:00
Donny/강동윤
bf751cb690
feat(es/ast): Add rkyv
support ( #3166 )
...
ast_node:
- `#[ast_node]`: Add support for `rkyv`.
swc_common:
- Add a feature flag for `rkyv`.
swc_ecma_ast:
- Add a feature flag for `rkyv`.
2022-01-02 16:23:37 +09:00
Donny/강동윤
f5af22ef71
chore: Document features ( #2890 )
2021-11-27 16:55:42 +09:00
Donny/강동윤
4f70ee6d98
refactor: Flatten more packages ( #2706 )
2021-11-10 16:39:01 +09:00