Commit Graph

557 Commits

Author SHA1 Message Date
SWC Bot
fa153348c9 chore: Publish crates 2023-04-01 06:17:38 +00:00
SWC Bot
b94fbed4c9 chore: Publish crates 2023-03-31 06:17:53 +00:00
SWC Bot
b1fb6b655f chore: Publish crates 2023-03-30 08:08:20 +00:00
SWC Bot
44062d6fa5 chore: Publish crates 2023-03-29 08:50:54 +00:00
SWC Bot
d74103739a chore: Publish crates 2023-03-29 06:26:30 +00:00
SWC Bot
47f15f9f28 chore: Publish crates 2023-03-27 06:04:11 +00:00
Donny/강동윤
5e58b3e5f6
feat(css/parser): Add legacy_ie to the ParserConfig (#7109) 2023-03-27 15:02:18 +09:00
SWC Bot
8fe52a12b3 chore: Publish crates 2023-03-27 04:31:35 +00:00
Donny/강동윤
30bc086052
refactor(ast): Make serde optional (#7138)
**Description:**

Turbopack does not use `serde` of swc AST types.
2023-03-27 13:28:42 +09:00
Donny/강동윤
28261985b0
chore(cargo): Refactor Cargo.toml to reduce merge conflict (#7139) 2023-03-24 13:46:42 +09:00
SWC Bot
b178ff5661 chore: Publish crates 2023-03-23 09:19:33 +00:00
SWC Bot
42f71431bf chore: Publish crates 2023-03-23 05:19:01 +00:00
SWC Bot
60ccdab60e chore: Publish crates 2023-03-16 02:20:24 +00:00
Donny/강동윤
60f74ea076
fix(css/parser): Fix parsing of :global(> *) (#7082) 2023-03-16 11:17:02 +09:00
Donny/강동윤
963c460613
refactor: Fix lints using clippy from nightly-2023-03-13 (#6920) 2023-03-14 04:56:21 +00:00
SWC Bot
3da6d18d47 chore: Publish crates 2023-03-13 03:27:50 +00:00
SWC Bot
0b0e61beb6 chore: Publish crates 2023-03-11 03:44:48 +00:00
SWC Bot
02e9e49733 chore: Publish crates 2023-03-10 03:54:16 +00:00
SWC Bot
56aac6783b chore: Publish crates 2023-03-08 02:51:08 +00:00
SWC Bot
79549c0f20 chore: Publish crates 2023-03-07 14:50:22 +00:00
SWC Bot
bbb3615af7 chore: Publish crates 2023-02-28 06:42:16 +00:00
SWC Bot
6496796c59 chore: Publish crates 2023-02-22 06:52:59 +00:00
SWC Bot
b9212cfee0 chore: Publish crates 2023-02-10 02:51:53 +00:00
SWC Bot
cade201a1f chore: Publish crates 2023-02-10 02:30:18 +00:00
OJ Kwon
75376cd65c
chore: Bump swc_css_* (#6924) 2023-02-10 11:27:20 +09:00
SWC Bot
0bb4dc2c3d chore: Publish crates 2023-01-29 14:56:26 +00:00
SWC Bot
8fc1b651b1 chore: Publish crates 2023-01-26 02:11:53 +00:00
Alexander Akait
43e75194e5
feat(css/parser): Normalize at-rules (#6705) 2023-01-14 08:58:24 +00:00
SWC Bot
a145bb5776 chore: Publish crates 2023-01-09 06:27:08 +00:00
SWC Bot
a225efe363 chore: Publish crates 2023-01-08 04:59:27 +00:00
SWC Bot
1161360d54 chore: Publish crates 2023-01-06 03:49:20 +00:00
Alexander Akait
8af627d5c4
feat(css/parser): Normalize urange (#6704) 2022-12-27 12:22:46 +00:00
SWC Bot
7fcc978748 chore: Publish crates 2022-12-22 01:39:10 +00:00
Alexander Akait
ebebd60875
refactor(css/codegen): Do not use raw (#6674) 2022-12-22 01:36:36 +00:00
SWC Bot
61245739ea chore: Publish crates 2022-12-21 03:03:05 +00:00
SWC Bot
3922ef5539 chore: Publish crates 2022-12-20 12:46:10 +00:00
Alexander Akait
2571070148
feat(css/parser): Normalize and improve function name (#6667) 2022-12-20 12:43:58 +00:00
SWC Bot
913230d02a chore: Publish crates 2022-12-20 06:11:34 +00:00
Alexander Akait
d27a270fec
perf(css/prefixer): Use JsWord instead of &str (#6658) 2022-12-20 06:09:02 +00:00
SWC Bot
35caad3c4d chore: Publish crates 2022-12-20 04:38:08 +00:00
Alexander Akait
d7a0524fb6
feat(css/parser): Normalize keyframe selectors (#6688) 2022-12-20 04:35:14 +00:00
SWC Bot
10491d15be chore: Publish crates 2022-12-19 08:34:05 +00:00
Alexander Akait
7f8ba9c22c
feat(css/parser): Normalize at-rule names (#6676) 2022-12-19 08:30:06 +00:00
SWC Bot
a115907fbd chore: Publish crates 2022-12-19 07:56:54 +00:00
Alexander Akait
c01464e452
feat(css/parser): Normalize URL functions (#6675) 2022-12-19 07:53:29 +00:00
SWC Bot
b9b35899ad chore: Publish crates 2022-12-16 04:07:27 +00:00
Alexander Akait
3d3863dc1f
feat(css/parser): Normalize dimension (#6654) 2022-12-16 04:04:07 +00:00
SWC Bot
78f08bb1ec chore: Publish crates 2022-12-16 02:38:02 +00:00
Alexander Akait
1fc97a7cea
feat(css/parser): Normalize declaration and important (#6663) 2022-12-16 02:34:18 +00:00
Alexander Akait
87e1efd98c
test(css/parser): Add a test (#6666) 2022-12-16 08:55:05 +09:00
SWC Bot
327bd4fc98 chore: Publish crates 2022-12-15 06:58:32 +00:00
Alexander Akait
649438b76a
feat(css/parser): Normalize selector AST (#6657) 2022-12-15 06:55:22 +00:00
SWC Bot
d48f4ba7f6 chore: Publish crates 2022-12-15 04:37:28 +00:00
Alexander Akait
b257d5d591
feat(css/parser): Normalize hex colors (#6652) 2022-12-15 04:34:07 +00:00
SWC Bot
fa1b02bbd2 chore: Publish crates 2022-12-14 09:23:16 +00:00
SWC Bot
30692bc26c chore: Publish crates 2022-12-13 15:48:32 +00:00
SWC Bot
292c3388b5 chore: Publish crates 2022-12-13 07:31:37 +00:00
SWC Bot
581d9ce769 chore: Publish crates 2022-12-13 03:38:21 +00:00
Alexander Akait
7d3aa66bb8
perf(html/minifier): Reduce allocations (#6623) 2022-12-13 12:34:55 +09:00
SWC Bot
4d4406d5b3 chore: Publish crates 2022-12-12 02:40:19 +00:00
Alexander Akait
cb49fa6f1d
feat(css/minifier): Support to and from with initial (#6613) 2022-12-12 02:36:48 +00:00
SWC Bot
5d9cff21b5 chore: Publish crates 2022-12-09 02:30:36 +00:00
Donny/강동윤
b4eef53680
feat(css/ast): Make AST intuitive (#6606) 2022-12-09 02:27:19 +00:00
SWC Bot
da5e18e522 chore: Publish crates 2022-12-07 09:30:36 +00:00
Donny/강동윤
08b6eab010
perf(css/parser): Don't allocate for comparisons (#6593) 2022-12-07 09:27:06 +00:00
SWC Bot
31630ba913 chore: Publish crates 2022-12-07 03:48:23 +00:00
Alexander Akait
d8936ade5b
fix(css/parser): Avoid skipping extra whitespaces (#6592)
**Description:**

 - Avoid skipping whitespaces in `[`/`(`/`{` because it is invalid. Whitespaces can be allowed and can be disallowed based on context, we can't apply this logic to any CSS context.
 - Also, we already skip whitespaces where it is necessary.
 - This also avoids extra actions.
2022-12-07 03:44:36 +00:00
SWC Bot
3abef05a8d chore: Publish crates 2022-12-07 02:58:32 +00:00
Alexander Akait
4de378cb1e
fix(css/parser): Fix a small bug (#6591) 2022-12-07 02:53:41 +00:00
SWC Bot
d9c1c3a9bf chore: Publish crates 2022-12-07 01:48:18 +00:00
Alexander Akait
252edb550b
perf(css/parser): Reduce number of function calls (#6587) 2022-12-07 01:45:03 +00:00
Alexander Akait
f383836bad
chore(css/lexer): Fix typo (#6588) 2022-12-07 00:59:29 +00:00
SWC Bot
29d67206ba chore: Publish crates 2022-12-06 14:31:09 +00:00
Donny/강동윤
64796701e4
perf(css/parser): Reduce clones and allocations (#6585)
**Description:**

 - We use `(BytePos, BytePos)` instead of `Box<Span>`.
 - We use `Cow` for `Input`.
2022-12-06 14:27:45 +00:00
SWC Bot
6e5abdd9cc chore: Publish crates 2022-12-06 11:51:49 +00:00
SWC Bot
866fd09bad chore: Publish crates 2022-12-06 06:23:44 +00:00
Donny/강동윤
70ac0286e5
perf(css/minifier): Remove redundant clone (#6579) 2022-12-06 15:20:05 +09:00
SWC Bot
a475f61ac3 chore: Publish crates 2022-12-06 02:01:49 +00:00
Alexander Akait
8633d27df0
perf(css/ast): Reduce token size (#6569) 2022-12-06 01:58:29 +00:00
SWC Bot
2379fc1fd9 chore: Publish crates 2022-12-04 05:55:52 +00:00
SWC Bot
cffa11122b chore: Publish crates 2022-12-03 00:26:38 +00:00
SWC Bot
ab2e19b601 chore: Publish crates 2022-12-02 08:01:39 +00:00
Alexander Akait
4d422b6228
test(css/parser): Move vendor tests (#6564) 2022-12-02 04:27:09 +00:00
SWC Bot
974406a7c5 chore: Publish crates 2022-12-02 03:56:52 +00:00
Alexander Akait
a1fe9076c2
fix(css/parser): Fix parsing of nested rules (#6563) 2022-12-02 03:52:54 +00:00
SWC Bot
92877096fe chore: Publish crates 2022-12-01 06:30:18 +00:00
Alexander Akait
db1eb483fd
fix(css/parser): Fix recovery more for invalid component values in declaration value (#6560) 2022-12-01 06:26:47 +00:00
SWC Bot
171733e8bb chore: Publish crates 2022-11-30 07:50:13 +00:00
SWC Bot
7bc840d3b9 chore: Publish crates 2022-11-30 05:10:51 +00:00
Alexander Akait
251e98c055
refactor(css/parser): Canonicalize only if required (#6532) 2022-11-30 05:07:46 +00:00
Donny/강동윤
7ee86d1d25
test: Use correct extensions for fixture tests (#6539) 2022-11-29 09:47:56 +00:00
SWC Bot
5a9aab2392 chore: Publish crates 2022-11-28 16:00:01 +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
SWC Bot
96a1f93e91 chore: Publish crates 2022-11-28 07:54:59 +00:00
SWC Bot
59954370cb chore: Publish crates 2022-11-20 00:30:30 +00:00
Donny/강동윤
9600308108
feat(css/parser): Add parse_string_input (#6441) 2022-11-15 08:05:43 +00:00
SWC Bot
6d4dcfd18c chore: Publish crates 2022-11-15 01:52:06 +00:00
Alexander Akait
3d7545d89b
fix(css/parser): Fix a bug with scope in block (#6402) 2022-11-15 01:49:05 +00:00
SWC Bot
2088dd4a84 chore: Publish crates 2022-11-11 22:50:50 +00:00
SWC Bot
6ba1f5c09f chore: Publish crates 2022-11-11 07:31:04 +00:00