Commit Graph

477 Commits

Author SHA1 Message Date
SWC Bot
410ec6f6c7 chore: Publish crates 2022-11-08 01:35:42 +00:00
Alexander Akait
f4832247bc
fix(css/parser): Fix parsing of supports() (#6333) 2022-11-08 01:32:48 +00:00
SWC Bot
5e18ebf61c chore: Publish crates 2022-11-03 15:12:17 +00:00
Alexander Akait
e0967efa6e
feat(css/parser): Support new nesting spec (#6337) 2022-11-03 15:08:23 +00:00
SWC Bot
8df5ef9d54 chore: Publish crates 2022-11-03 06:33:20 +00:00
SWC Bot
ff700d8252 chore: Publish crates 2022-10-29 08:31:56 +00:00
SWC Bot
fdeb7bc4fe chore: Publish crates 2022-10-28 04:37:31 +00:00
Alexander Akait
2813acccc2
fix(css/parser): Fix various issues (#6281) 2022-10-28 04:34:23 +00:00
SWC Bot
ecba41691d chore: Publish crates 2022-10-28 03:17:00 +00:00
SWC Bot
a4546a4d22 chore: Publish crates 2022-10-28 01:27:37 +00:00
SWC Bot
c41fe0d261 chore: Publish crates 2022-10-27 01:58:16 +00:00
SWC Bot
fd4b66ea8c chore: Publish crates 2022-10-27 01:25:04 +00:00
SWC Bot
51132f0636 chore: Publish crates 2022-10-27 00:19:24 +00:00
SWC Bot
dcd024f866 chore: Publish crates 2022-10-26 10:25:23 +00:00
Alexander Akait
a0e4684476
refactor(css/parser): Refactor more (#6251) 2022-10-26 19:22:27 +09:00
SWC Bot
2f05c3fd32 chore: Publish crates 2022-10-24 03:58:37 +00:00
SWC Bot
d05deb8a07 chore: Publish crates 2022-10-24 03:14:40 +00:00
SWC Bot
2dbff698b8 chore: Publish crates 2022-10-22 22:52:58 +00:00
Alexander Akait
e4fe8403d7
refactor(css/parser): Fix parsing of declarations (#6234) 2022-10-22 22:50:19 +00:00
SWC Bot
ac3949e34f chore: Publish crates 2022-10-22 04:24:21 +00:00
Alexander Akait
ac619e88bf
refactor(css/parser): Use new approach for parsing invalid tokens (#6224)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-10-22 04:21:40 +00:00
SWC Bot
3f648bdf0f chore: Publish crates 2022-10-20 08:59:26 +00:00
SWC Bot
0c23592d14 chore: Publish crates 2022-10-20 01:50:04 +00:00
SWC Bot
b48ec880fd chore: Publish crates 2022-10-19 04:00:51 +00:00
Alexander Akait
6c170e59c7
refactor(css/ast): Refactor dashed ident (#6198) 2022-10-19 03:58:16 +00:00
SWC Bot
a049ef058b chore: Publish crates 2022-10-18 14:51:39 +00:00
SWC Bot
a029ca2430 chore: Publish crates 2022-10-18 03:39:03 +00:00
Alexander Akait
4fba0db3d9
fix(css/codegen): Fix codegen of pseudo class selectors (#6186) 2022-10-18 12:35:53 +09:00
SWC Bot
25df5b37af chore: Publish crates 2022-10-18 01:44:30 +00:00
SWC Bot
701c3c0367 chore: Publish crates 2022-10-17 12:42:46 +00:00
Alexander Akait
d46a19b554
feat(css/ast): Support @custom-media at-rule (#6152) 2022-10-17 12:40:00 +00:00
SWC Bot
1ed0203262 chore: Publish crates 2022-10-14 14:49:13 +00:00
SWC Bot
1affcfe8e8 chore: Publish crates 2022-10-13 06:12:56 +00:00
SWC Bot
a871b13906 chore: Publish crates 2022-10-13 05:34:51 +00:00
Alexander Akait
e63fa28008
fix(css/ast): Fix AST types for simple block (#6131) 2022-10-13 05:31:34 +00:00
SWC Bot
871ed71b52 chore: Publish crates 2022-10-13 04:18:02 +00:00
Alexander Akait
85b2188204
refactor(css/ast): Refactor AST types (#6124) 2022-10-13 04:15:29 +00:00
SWC Bot
b07a17a959 chore: Publish crates 2022-10-13 03:20:07 +00:00
Alexander Akait
39cfade7f8
fix(css/modules): Fix parsing and refactor code (#6132) 2022-10-13 12:17:11 +09:00
SWC Bot
56da9981bb chore: Publish crates 2022-10-12 10:06:01 +00:00
SWC Bot
8e35f53035 chore: Publish crates 2022-10-12 03:00:58 +00:00
Alexander Akait
c765f0ff73
fix(css/ast): Fix AST types for namespace (#6112) 2022-10-12 02:57:43 +00:00
SWC Bot
dcb3a4371d chore: Publish crates 2022-10-11 23:55:24 +00:00
Donny/강동윤
0cd8aeeb5c
feat(bindings): Apply resolver to the output of parse apis (#6118)
**Description:**

This PR makes the `parse*()` API return AST with `resolver` applied to help plugin authors
2022-10-11 11:49:30 +00:00
SWC Bot
5bf306565f chore: Publish crates 2022-10-11 11:23:16 +00:00
SWC Bot
86b5641d5e chore: Publish crates 2022-10-11 05:38:58 +00:00
Alexander Akait
6b3f4bb1c6
feat(css/ast): Add AST types for gradients (#6111) 2022-10-11 14:36:05 +09:00
SWC Bot
5966aab27e chore: Publish crates 2022-10-11 04:33:40 +00:00
Alexander Akait
a920997f4b
feat(css/codegen): Support lowercase case insensitivity (#6113) 2022-10-11 04:31:17 +00:00
SWC Bot
3a3aa8d25a chore: Publish crates 2022-10-11 03:58:58 +00:00
Alexander Akait
1938ed26a1
feat(css/ast): Support ::highlight() (#6109) 2022-10-11 03:56:32 +00:00
SWC Bot
018ca946e7 chore: Publish crates 2022-10-10 13:09:51 +00:00
SWC Bot
17a2f6b893 chore: Publish crates 2022-10-07 14:54:27 +00:00
Alexander Akait
b71dd3ec05
feat(css/ast): Support <general-enclosed> for @media at-rules (#6082) 2022-10-07 14:51:53 +00:00
SWC Bot
d0214c33f1 chore: Publish crates 2022-10-07 05:21:25 +00:00
SWC Bot
5c486c5234 chore: Publish crates 2022-10-07 04:11:21 +00:00
Alexander Akait
0a61374d02
feat(css/ast): Support @container at-rule (#6076) 2022-10-07 04:07:49 +00:00
SWC Bot
5f49ac012e chore: Publish crates 2022-10-06 11:38:55 +00:00
SWC Bot
5618702554 chore: Publish crates 2022-10-05 05:51:59 +00:00
SWC Bot
d620ce60ff chore: Publish crates 2022-10-02 15:36:08 +00:00
Donny/강동윤
10fb645552
chore(ci): Merge CI scripts (#5999)
**Description:**

This PR merges CI scripts, and make integration tests use patched crates.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5540.
2022-09-30 16:57:15 +09:00
OJ Kwon
af64217f19
build(cargo): Introduce workspace deps (#5997) 2022-09-30 13:43:32 +09:00
SWC Bot
c2d8c99411 chore: Publish crates 2022-09-29 01:39:48 +00:00
Alexander Akait
b3a05a057a
feat(css/codegen): Minify idents (#5972) 2022-09-29 01:35:33 +00:00
SWC Bot
c499e2054d chore: Publish crates 2022-09-28 22:57:51 +00:00
SWC Bot
d75addbdec chore: Publish crates 2022-09-28 10:37:40 +00:00
SWC Bot
e001226674 chore: Publish crates 2022-09-26 09:21:39 +00:00
SWC Bot
e5ba9636ac chore: Publish crates 2022-09-24 03:36:47 +00:00
SWC Bot
8a5ed1e0ba chore: Publish crates 2022-09-23 07:50:26 +00:00
SWC Bot
a2b3063784 chore: Publish crates 2022-09-22 06:57:15 +00:00
Jason
64694dc7d5
fix(css/parser): Report an error for invalid layer in @import (#5928) 2022-09-22 06:53:34 +00:00
SWC Bot
4c3813dbcc chore: Publish crates 2022-09-22 03:16:22 +00:00
SWC Bot
6e560644e5 chore: Publish crates 2022-09-21 08:24:14 +00:00
SWC Bot
26b9f1fc23 chore: Publish crates 2022-09-20 01:50:11 +00:00
Alexander Akait
2bf24195f2
feat(css/parser): Parse more math functions in @media (#5904) 2022-09-20 10:45:49 +09:00
Donny/강동윤
f0ca487848 chore: Publish crates 2022-09-16 15:46:25 +09:00
SWC Bot
1d633e8ba7 chore: Publish crates 2022-09-15 06:08:07 +00:00
SWC Bot
ec8bb432b9 chore: Publish crates 2022-09-15 05:23:46 +00:00
SWC Bot
d35792f424 chore: Publish crates 2022-09-14 07:56:20 +00:00
SWC Bot
8432c0a1ad chore: Publish crates 2022-09-14 07:19:24 +00:00
SWC Bot
d16fb9a8cf chore: Publish crates 2022-09-13 05:04:36 +00:00
SWC Bot
9f28c246dc chore: Publish crates 2022-09-12 04:34:08 +00:00
SWC Bot
7811ceea3b chore: Publish crates 2022-09-11 13:59:34 +00:00
Donny/강동윤
4f119b2693
perf(css): Optimize memory layout of ast types (#5823) 2022-09-11 13:56:48 +00:00
SWC Bot
0fe3ee682a chore: Publish crates 2022-09-10 10:06:02 +00:00
SWC Bot
f739976bdd chore: Publish crates 2022-09-10 09:21:51 +00:00
SWC Bot
53b134f80b chore: Publish crates 2022-09-10 08:35:20 +00:00
SWC Bot
417b1f2a92 chore: Publish crates 2022-09-10 07:23:37 +00:00
SWC Bot
6cf71285a6 chore: Publish crates 2022-09-10 06:39:04 +00:00
Donny/강동윤
b96eb1ead8
perf(css/codegen): Skip useless operations if not required (#5802)
**Description:**

The column is used only for sourcemap, so we can skip `chars().count()` if we are not generating source maps.
2022-09-10 15:36:15 +09:00
SWC Bot
575940e770 chore: Publish crates 2022-09-09 08:09:53 +00:00
SWC Bot
701fa74631 chore: Publish crates 2022-09-09 05:05:59 +00:00
SWC Bot
d2188eac3f chore: Publish crates 2022-09-08 04:28:01 +00:00
SWC Bot
bad9811ea8 chore: Publish crates 2022-09-07 06:16:59 +00:00
OJ Kwon
d6e67b5944
feat(atoms): Introduce bytecheck-ed rkyv version (#5686) 2022-09-03 14:29:02 +09:00
Donny/강동윤
cfc3880379 chore: Publish crates 2022-08-30 12:27:05 +09:00
Alexander Akait
5c28d00516
fix(css/parser): Improve parsing of media queries (#5567) 2022-08-30 03:18:43 +00:00
SWC Bot
213d8b9ab5 chore: Publish crates 2022-08-29 15:29:16 +00:00
Alexander Akait
e2aca46889
feat(css): Support forgiving selector (#5539) 2022-08-29 15:25:48 +00:00
OJ Kwon
1769191f9a
chore(swc_core): Update dependency version (#5595) 2022-08-23 10:10:30 +09:00
SWC Bot
0f5d02568b chore: Publish crates 2022-08-20 01:52:20 +00:00
Alexander Akait
a3c1ac67d7
feat(css/ast): Make keyword optional (#5543) 2022-08-20 01:49:27 +00:00
SWC Bot
75d47a2785 chore: Publish crates 2022-08-18 03:32:12 +00:00
Alexander Akait
fa7abe26cf
fix(css/codegen): Improve codegen of @media (#5544) 2022-08-18 03:29:42 +00:00
SWC Bot
6412279ddb chore: Publish crates 2022-08-17 19:06:30 +00:00
Alexander Akait
0f45822410
fix(css/codegen): Improve output of @supports (#5529) 2022-08-17 19:04:06 +00:00
SWC Bot
916af18b8f chore: Publish crates 2022-08-17 06:45:51 +00:00
Alexander van Ratingen
75c8e09d6d
feat(api/rust): Implement more traits for public types (#5488) 2022-08-17 06:43:32 +00:00
OJ Kwon
76797b1fc1
build(bindings): Bump up swc_core (#5484) 2022-08-14 07:48:15 +00:00
SWC Bot
31d297356b chore: Publish crates 2022-08-13 10:42:00 +00:00
Alexander Akait
eebdfdb2a0
feat(css/parser): Parse @font-feature-values at-rule (#5468) 2022-08-13 10:39:45 +00:00
Donny/강동윤
925839adc6 chore: Publish crates 2022-08-13 19:11:26 +09:00
Donny/강동윤
1b089be611 chore: Publish crates 2022-08-13 14:09:52 +09:00
SWC Bot
a95af3b52c chore: Publish crates 2022-08-13 04:08:02 +00:00
Alexander Akait
555b6a3734
fix(css/ast): Use list of component values for error recovery (#5467) 2022-08-13 13:05:29 +09:00
Donny/강동윤
d2f2a1315b chore: Publish crates 2022-08-13 00:49:08 +09:00
Donny/강동윤
3eb1f4b2b1
chore(ci): Fix lints (#5462) 2022-08-12 13:13:35 +00:00
Donny/강동윤
033e05677a chore: Publish crates 2022-08-12 15:18:06 +09:00
OJ Kwon
e25b37d579
build(atoms): Bump swc_atoms (#5442) 2022-08-11 18:52:44 +09:00
SWC Bot
cdb9bbd707 chore: Publish crates 2022-08-08 03:00:13 +00:00
SWC Bot
f0488d60bc chore: Publish crates 2022-07-30 04:43:02 +00:00
Alexander Akait
8f81104380
fix(css/ast): Support list of component values (#5321) 2022-07-30 04:40:54 +00:00
OJ Kwon
5c9ea16b2a
build(cargo): Update packages (#5331) 2022-07-29 08:30:41 +09:00
SWC Bot
129a886e13 chore: Publish crates 2022-07-27 04:18:47 +00:00
SWC Bot
8a9492661d chore: Publish crates 2022-07-26 02:35:58 +00:00
Alexander Akait
83651c297d
fix(css): Fix parsing of layer (#5290) 2022-07-26 02:33:53 +00:00
Donny/강동윤
a37fdca969 chore: Publish crates 2022-07-22 21:06:43 +09:00
OJ Kwon
0d91741eb9
build(cargo): Align dependency versions (#5248) 2022-07-20 03:42:04 +00:00
SWC Bot
d70687f4d7 chore: Publish crates 2022-07-15 11:25:41 +00:00
Alexander Akait
b65a16c7aa
feat(css/ast): Make raw optional (#5211) 2022-07-15 11:22:59 +00:00
Alexander Akait
fa4c2de706
test(css/codegen): Add tests (#5195) 2022-07-14 04:32:00 +00:00
Donny/강동윤
b433b69263 chore: Publish crates 2022-07-12 23:58:30 +09:00
SWC Bot
e15fe530fb chore: Publish crates 2022-07-12 03:14:47 +00:00
Alexander Akait
5b70233400
fix(css/codegen): Fix sourcemap of multibyte characters (#5183) 2022-07-12 03:12:32 +00:00
Alexander Akait
dada2d7d55
feat(html/minifier): Allow specifying options for other tools (#5125) 2022-07-11 13:08:40 +00:00
SWC Bot
2bd5b4413a chore: Publish crates 2022-07-09 10:17:04 +00:00
SWC Bot
297228a690 chore: Publish crates 2022-07-07 07:48:49 +00:00
SWC Bot
9385103649 chore: Publish crates 2022-07-06 04:44:10 +00:00
Donny/강동윤
c2c923e205 chore: Publish crates 2022-07-01 11:50:45 +09:00
SWC Bot
5576c3c601 chore: Publish crates 2022-06-29 03:37:57 +00:00
Alexander Akait
3e6c0f567a
feat(html/minifier): Compress CSS (#4973) 2022-06-15 04:04:57 +00:00
LongYinan
db9f7a5ad4
chore(ci): Fix publish build on Windows (#4970) 2022-06-14 15:58:10 +00:00
SWC Bot
ddae14d256 chore: Publish crates 2022-06-12 03:31:05 +00:00
Donny/강동윤
50db276d82
build(repo): Downgrade rustc (#4674) 2022-05-15 19:28:55 +00:00
SWC Bot
97808349a2 chore: Publish crates 2022-05-11 16:17:07 +00:00
OJ Kwon
8419b60430
fix(plugin): Align deps to fix build (#4377) 2022-04-20 08:05:02 +00:00
Alexander Akait
81370d16cb
fix(css/parser): Parse legacy calcs (#4320) 2022-04-13 07:02:31 +00:00
OJ Kwon
fad652f879
chore(plugin): Align version of swc_common to include dummy comment api (#4270) 2022-04-07 07:21:37 +00:00
Alexander Akait
8b6647cf85
feat(css/parser): Improve error recovery for unknown at-rules (#4257) 2022-04-06 05:07:48 +00:00
OJ Kwon
4093814895
chore(build): Dedup swc_common (#4247) 2022-04-05 14:28:07 +09:00
Donny/강동윤
1f466e1d2f
chore(ci): Fix benchmark action (#4242) 2022-04-04 20:12:03 +09:00
SWC Bot
77abfef314 chore: Publish crates 2022-04-01 11:55:47 +00:00
Alexander Akait
6696a93b5c
refactor(css/ast): Union all at-rules to one at-rule in AST (#4189) 2022-04-01 20:53:23 +09:00
Donny/강동윤
533f756274
fix(api/rust): Exclude test files from rust packages (#4091) 2022-03-19 10:49:12 +00:00
LongYinan
db9b988845
feat(node-swc): Add libc field in Linux platform packages (#4046) 2022-03-16 18:58:24 +09:00
SWC Bot
9d6a57c6e5 chore: Publish crates 2022-03-14 14:32:45 +00:00
Alexander Akait
a4bc0927a0
feat(css): Supports more color notations (#4009) 2022-03-14 14:30:09 +00:00
Donny/강동윤
38c0c0faa6 chore: Publish crates 2022-03-14 04:11:07 +09:00
SWC Bot
3cfe4ccb94 chore: Publish crates 2022-03-13 18:00:19 +00:00
Alexander Akait
ece8d962f8
fix(css/codegen): Fix source maps (#3997) 2022-03-14 02:55:18 +09:00
SWC Bot
1ae67affe3 chore: Publish crates 2022-03-11 16:56:55 +00:00
Alexander Akait
516dbc65dc
feat(css/codegen): Fix source maps and ast defs (#3974) 2022-03-11 16:54:33 +00:00
Donny/강동윤
c6b5371c51
fix(es/lints): Don't visit types while collecting const (#3967) 2022-03-11 17:41:28 +09:00
SWC Bot
3014d7a876 chore: Publish crates 2022-03-11 05:23:53 +00:00
Alexander Akait
5a6ebd36ee
feat(css/codegen): Support source map (#3958) 2022-03-11 05:22:14 +00:00
SWC Bot
4c4dc6f096 chore: Publish crates 2022-03-05 12:00:25 +00:00
Alexander Akait
c84bf133a6
feat(css): Improve error recovery (#3853) 2022-03-05 11:58:40 +00:00
Alexander Akait
e3a5c142d5
fix(css/codegen): Fix the output of SimpleBlock (#3838) 2022-03-03 22:34:57 +00:00
SWC Bot
0d8adf1dde chore: Publish crates 2022-03-03 21:26:36 +00:00
Alexander Akait
3df887ca37
feat(css): Support color functions (#3836) 2022-03-04 06:24:22 +09:00
Alexander Akait
fbb98aa73c
feat(css/parser): Improve error recovery (#3828) 2022-03-03 15:05:12 +00:00
Alexander Akait
30cd29b0f0
fix(css/parser): Fix parsing of ; in values (#3821) 2022-03-02 15:51:52 +00:00
SWC Bot
895f664149 chore: Publish crates 2022-03-02 15:19:26 +00:00
Alexander Akait
7ba5861a33
fix(css/codegen): Fix codegen of preserved tokens (#3819) 2022-03-02 15:17:17 +00:00
SWC Bot
798f6c5a6d chore: Publish crates 2022-03-02 05:36:57 +00:00
SWC Bot
84ad891442 chore: Publish crates 2022-03-01 15:28:37 +00:00
Alexander Akait
3ec45a6858
feat(css/ast): Union Value and ComponentValue (#3804) 2022-03-01 15:26:17 +00:00
Alexander Akait
189707a1fd
test(css/parser): Add css files for material design (#3777) 2022-02-28 21:17:50 +09:00
SWC Bot
e475a83ebc chore: Publish crates 2022-02-27 14:54:36 +00:00
Alexander Akait
815a489dcf
refactor(css/ast): Simplify AST types (#3753) 2022-02-27 14:52:32 +00:00
SWC Bot
3c85a82052 chore: Publish crates 2022-02-27 05:20:28 +00:00
Alexander Akait
91cf965e07
feat(css/ast): Improve type definitions for unicode ranges (#3757) 2022-02-27 14:16:22 +09:00
SWC Bot
d23e19abe9 chore: Publish crates 2022-02-26 13:57:28 +00:00
Alexander Akait
f258ee4729
fix(css): Fix processing of integers (#3752) 2022-02-26 13:51:59 +00:00
SWC Bot
f1818f7be2 chore: Publish crates 2022-02-25 18:03:52 +00:00
Alexander Akait
9b92eba636
feat(css/ast): Allow more syntax for @supports at-rule (#3740) 2022-02-25 18:01:38 +00:00
SWC Bot
edc3702e5a chore: Publish crates 2022-02-25 02:07:42 +00:00
Alexander Akait
f5c5e77612
feat(css/ast): Support more selectors (#3729) 2022-02-25 02:05:12 +00:00
SWC Bot
bb47be19f8 chore: Publish crates 2022-02-23 16:23:11 +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
Donny/강동윤
e35d73adf4
chore(clippy): Improve config (#3691) 2022-02-23 06:07:42 +00:00
SWC Bot
0bfd894c0e chore: Publish crates 2022-02-22 19:47:48 +00:00
Alexander Akait
003a7b85a4
feat(css/ast): Improve parsing of colors (#3680) 2022-02-22 19:45:33 +00:00
SWC Bot
cfa648793f chore: Publish crates 2022-02-22 11:49:10 +00:00
Alexander Akait
fab6473183
feat(css/minifier): Compress urls (#3666) 2022-02-22 11:44:24 +00:00
SWC Bot
180ba98625 chore: Publish crates 2022-02-18 16:30:00 +00:00
Alexander Akait
8271566d21
feat(css/codegen): Improve minification of selectors (#3624) 2022-02-19 01:27:32 +09:00
Alexander Akait
b7dcccc748
fix(css/parser): Fix parsing of component values (#3611) 2022-02-17 14:20:17 +00:00
Alexander Akait
5420bccc59
fix(css): Fix recovery mode for functions (#3600) 2022-02-17 13:36:50 +09:00
Alexander Akait
b01916531f
test(css/codegen): Add tests for custom properties in at-rules (#3596) 2022-02-16 16:31:07 +00:00