OJ Kwon
|
56bdacc72d
|
feat(plugin/runner): Update wasmer to v3 (#7197)
**Description:**
This PR reattempts https://github.com/swc-project/swc/pull/5456.
Most of the changes are for the breaking changes of wasmer@3, as well as enabling rkyv's strict mode (https://github.com/swc-project/swc/pull/6922). This could not be seperated since wasmer@3 enables strict mode by default without a way to turn it off.
There are a couple of changes worth noting:
- Disabling in-memory module lookup: https://github.com/swc-project/swc/pull/7197/files#diff-3bda5def6ce2b7553c3b3a5ad241c0bdb7021e67b7de1e594df4cd5a54d403b3R154-R159
- Disabling plugin_runner in bindings_wasm: https://github.com/swc-project/swc/pull/7197/files#diff-dc3ded556a1fd709a129acd588e5eda651b842c6acc3f5340d40088a1f927facR310-R312
- Skipping plugin compat test: https://github.com/swc-project/swc/pull/7197/files#diff-531197dfcefba05faca53f0cf442ecc2dc6b59d5ead01979f5ffb912aa36249aR64-R66
|
2023-04-10 03:40:25 +00:00 |
|
Alexander Akait
|
649438b76a
|
feat(css/parser): Normalize selector AST (#6657)
|
2022-12-15 06:55:22 +00:00 |
|
Donny/강동윤
|
b4eef53680
|
feat(css/ast): Make AST intuitive (#6606)
|
2022-12-09 02:27:19 +00:00 |
|
Alexander Akait
|
8633d27df0
|
perf(css/ast): Reduce token size (#6569)
|
2022-12-06 01:58:29 +00:00 |
|
Donny/강동윤
|
7ee86d1d25
|
test: Use correct extensions for fixture tests (#6539)
|
2022-11-29 09:47:56 +00:00 |
|
Donny/강동윤
|
b8fe04f720
|
feat(common): Add contexts to the error messages (#6526)
**Description:**
This PR makes the error reporter print contexts.
**Related issue:**
- https://github.com/swc-project/swc/issues/6525.
|
2022-11-29 00:56:47 +09:00 |
|
Alexander Akait
|
ec2c021255
|
perf(css/ast): Use Atom for raw values (#6401)
|
2022-11-11 01:24:11 +00:00 |
|
Alexander Akait
|
bea6cce0c6
|
perf(css): Reduce size of tokens (#6384)
|
2022-11-10 01:36:53 +00:00 |
|
Alexander Akait
|
e63fa28008
|
fix(css/ast): Fix AST types for simple block (#6131)
|
2022-10-13 05:31:34 +00:00 |
|
Alexander Akait
|
c765f0ff73
|
fix(css/ast): Fix AST types for namespace (#6112)
|
2022-10-12 02:57:43 +00:00 |
|
Alexander Akait
|
ccd618ce54
|
perf(html/minifier): Improve performance (#5838)
|
2022-09-13 14:01:41 +09:00 |
|
Alexander Akait
|
e2aca46889
|
feat(css): Support forgiving selector (#5539)
|
2022-08-29 15:25:48 +00:00 |
|
Donny/강동윤
|
67942d5731
|
feat(common): Reserve BytePos(0) for dummy spans (#4616)
|
2022-05-11 16:14:42 +00:00 |
|
Edwin Coronado
|
57802cfcce
|
fix(common): Fix the line number of errors (#4082)
|
2022-03-19 23:56:12 +09:00 |
|
Donny/강동윤
|
40b8a4e596
|
feat(common): Implement a pretty error reporter (#3946)
|
2022-03-13 19:07:18 +00:00 |
|
Alexander Akait
|
3ec45a6858
|
feat(css/ast): Union Value and ComponentValue (#3804)
|
2022-03-01 15:26:17 +00:00 |
|
Alexander Akait
|
1651bccf45
|
test(css/parser): Add tests for selectors (#3770)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
|
2022-02-28 08:26:23 +00:00 |
|
Alexander Akait
|
f5c5e77612
|
feat(css/ast): Support more selectors (#3729)
|
2022-02-25 02:05:12 +00:00 |
|
Alexander Akait
|
321ee756d9
|
refactor(css/ast): Fix the type definitions for an plus b syntax (#3682)
|
2022-02-23 16:20:40 +00:00 |
|
Alexander Akait
|
8271566d21
|
feat(css/codegen): Improve minification of selectors (#3624)
|
2022-02-19 01:27:32 +09:00 |
|
Alexander Akait
|
aed622be2f
|
refactor(css/ast): Rename tokens to match spec (#3553)
|
2022-02-14 13:05:16 +00:00 |
|
Alexander Akait
|
fcbc2ff03f
|
feat(css/parser): Implement more parser logic for nth selectors (#3532)
|
2022-02-11 14:07:08 +00:00 |
|
Alexander Akait
|
37c49e876c
|
refactor(css/ast): Unify SimpleBlock and Block completely (#3531)
|
2022-02-11 22:31:51 +09:00 |
|
Alexander Akait
|
92a3cb9609
|
refactor(css/ast): Remove Tokens in favor of Vec<TokenAndSpan> (#3507)
|
2022-02-10 11:25:19 +00:00 |
|
Alexander Akait
|
460f846934
|
refactor(css/ast): Rename types to match specification (#3484)
|
2022-02-09 19:43:15 +09:00 |
|
Alexander Akait
|
48e5b903e2
|
feat(css/parser): Improve error recovery (#3486)
|
2022-02-09 03:49:59 +00:00 |
|
Alexander Akait
|
cd87d965f3
|
refactor(css/ast): Refactor types related to selectors (#3460)
|
2022-02-06 04:24:51 +00:00 |
|
Alexander Akait
|
479b509845
|
test(css/parser): Add more tests for the selector parser (#3455)
|
2022-02-05 06:22:32 +00:00 |
|
Alexander Akait
|
49564d9b5d
|
feat(css/ast): Improve types related to url tokens (#3444)
|
2022-02-04 04:05:44 +00:00 |
|
Alexander Akait
|
7787f90da0
|
refactor(css/ast): Fix type definitions related to @import at-rule (#3351)
|
2022-01-25 22:50:23 +09:00 |
|
Alexander Akait
|
8781527751
|
fix(css/ast): Fix type definitions related to parsing unknown at-rules (#2922)
swc_css_ast:
- Rename `FnValue` to `Function`.
|
2021-12-01 17:07:49 +00:00 |
|
Alexander Akait
|
c94735e540
|
fix(css): Handle custom properties properly (#2869)
swc_css_codegen:
- Fix code generation of custom properties.
swc_css_parser:
- Fix parsing of custom properties.
|
2021-11-27 16:11:40 +00:00 |
|
Alexander Akait
|
4bcf3fc2ad
|
refactor(css/ast): Split pseudo class and pseudo element (#2675)
|
2021-11-20 16:29:18 +09:00 |
|