Commit Graph

125 Commits

Author SHA1 Message Date
Alexander Akait
7d3aa66bb8
perf(html/minifier): Reduce allocations (#6623) 2022-12-13 12:34:55 +09:00
Donny/강동윤
3f469fff0b
chore(atoms): Make sort.sh cross-platform (#6629) 2022-12-12 13:50:36 +00: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
59954370cb chore: Publish crates 2022-11-20 00:30:30 +00:00
HeYunfei
9154bbc111
fix(es/minifier): Avoid dropping statements which has side-effects (#6476) 2022-11-20 00:26:52 +00:00
SWC Bot
51132f0636 chore: Publish crates 2022-10-27 00:19:24 +00:00
Alexander Akait
782da5c83a
feat(html/minifier): Handle crossorigin (#6261) 2022-10-27 00:16:24 +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
Alexander Akait
0ba464d643
fix(html/minifier): Compress exportparts (#6187) 2022-10-18 14:48:47 +00:00
SWC Bot
1affcfe8e8 chore: Publish crates 2022-10-13 06:12:56 +00:00
Donny/강동윤
9c8ec0ea56
perf(atoms): Use thin pointer for Atom (#6135)
**Description:**

This PR changes the size of `Atom` type to `usize` from 2 * usize`.

**Related issue:**

 - https://github.com/swc-project/swc/issues/4946.
2022-10-13 06:09:44 +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
Vincent Ricard
205a317c4d
feat(css/minifier): Compute calc expressions (#5966) 2022-10-12 10:03:14 +00:00
SWC Bot
dcb3a4371d chore: Publish crates 2022-10-11 23:55:24 +00:00
Alexander Akait
7343cf3389
perf(atoms): Add more atoms (#6122)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-10-11 23:52:51 +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
c499e2054d chore: Publish crates 2022-09-28 22:57:51 +00:00
Alexander Akait
7d7c2d3a9c
perf(css/minifier): Merge all passes (#5971) 2022-09-28 22:54:08 +00:00
SWC Bot
8a5ed1e0ba chore: Publish crates 2022-09-23 07:50:26 +00:00
Donny/강동윤
5cddb4c734
feat(es/typescript): Support TS 4.9 (#5938)
**Description:**

This PR adds satisfaction expression to the AST and parser.
2022-09-23 16:41:56 +09:00
SWC Bot
4c3813dbcc chore: Publish crates 2022-09-22 03:16:22 +00:00
Jason
1dc5307069
feat(css/minifier): Minify the name of @keyframes (#5894)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5889.

Co-authored-by: 一丝 <percyley@qq.com>
2022-09-22 03:12:50 +00:00
Donny/강동윤
f0ca487848 chore: Publish crates 2022-09-16 15:46:25 +09:00
Alexander Akait
7f62fa6227
perf(html): Reduce memory usage (#5867) 2022-09-15 04:17:05 +00:00
SWC Bot
d16fb9a8cf chore: Publish crates 2022-09-13 05:04:36 +00:00
Alexander Akait
ccd618ce54
perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
SWC Bot
9f28c246dc chore: Publish crates 2022-09-12 04:34:08 +00:00
Donny/강동윤
24004270d9
perf(atoms): Reduce size of Atom (#5831)
**Description:**

This patch reduces the memory footprint.
2022-09-12 04:31:17 +00:00
SWC Bot
417b1f2a92 chore: Publish crates 2022-09-10 07:23:37 +00:00
Donny/강동윤
7391cc99b1
perf(css/minifier): Use JsWord instead of &str (#5806) 2022-09-10 07:20:51 +00:00
SWC Bot
575940e770 chore: Publish crates 2022-09-09 08:09:53 +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
d6e67b5944
feat(atoms): Introduce bytecheck-ed rkyv version (#5686) 2022-09-03 14:29:02 +09:00
SWC Bot
4132902826 chore: Publish crates 2022-08-27 06:09:27 +00:00
Donny/강동윤
488562baac
doc(rustdoc): Document rust APIs (#5647) 2022-08-27 06:06:19 +00:00
OJ Kwon
4a9b1dde1a
fix(es/plugin/runner): Revert wasmer@3 (#5521) 2022-08-17 05:18:56 +00:00
OJ Kwon
3bdb39c0ee
fix(es/plugin/runner): Provide guest memory allocator for the sourcemap (#5517) 2022-08-17 00:25:40 +00:00
OJ Kwon
becc3aebf2
build(swc_core): Bump up rkyv (#5507) 2022-08-16 15:33:14 +09:00
Donny/강동윤
925839adc6 chore: Publish crates 2022-08-13 19:11:26 +09:00
Donny/강동윤
b35469ab5f
fix(atoms): Workaround a bug of rkyv (#5479) 2022-08-13 19:08:39 +09:00
Donny/강동윤
1b089be611 chore: Publish crates 2022-08-13 14:09:52 +09:00
Donny/강동윤
d2f2a1315b chore: Publish crates 2022-08-13 00:49:08 +09:00
OJ Kwon
d36e48efbf
build(plugin): Downgrade rkyv (#5459) 2022-08-12 14:04:05 +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
brightwu
56b10367a3
feat(ast): Make css/html ast serializable (#5427) 2022-08-10 03:48:35 +00:00
SWC Bot
cdb9bbd707 chore: Publish crates 2022-08-08 03:00:13 +00:00
OJ Kwon
2b5080e291
fix(es): Temporarily disable bytecheck (#5414) 2022-08-08 02:58:08 +00:00
Donny/강동윤
1fddfc3949 chore: Publish crates 2022-07-28 11:45:05 +09:00
Donny/강동윤
14894ed4c9
fix(atoms): Workaround a bug of rkyv (#5323) 2022-07-28 11:41:15 +09:00
OJ Kwon
35b1e78179
chore(deps): Update bytecheck (#5296) 2022-07-26 01:25:37 +00:00
Donny/강동윤
a37fdca969 chore: Publish crates 2022-07-22 21:06:43 +09:00
Donny/강동윤
037a53d5d1
perf(es/ast): Use Atom in some places (#5271) 2022-07-22 20:09:25 +09:00
SWC Bot
93cd38d113 chore: Publish crates 2022-06-29 12:06:20 +00:00
Donny/강동윤
34f4f5a3bc
feat(atoms): Improve atoms (#5066) 2022-06-29 12:02:33 +00:00
Donny/강동윤
2e139f1441
perf(atoms): More groundwork for replacing JsWord with Atom (#5064) 2022-06-29 13:08:29 +09:00
OJ Kwon
e34a864390
feat(plugin): Add versioned wrapper struct (#5062) 2022-06-29 03:35:23 +00:00
OJ Kwon
374366d56c
chore(deps): Update rkyv (#5057) 2022-06-28 18:29:00 +00:00
SWC Bot
461b9902b3 chore: Publish crates 2022-06-11 16:01:02 +00:00
Donny/강동윤
4ada9c7e05
perf(common): Add Atom type (#4945) 2022-06-11 15:58:21 +00:00
Donny/강동윤
1f466e1d2f
chore(ci): Fix benchmark action (#4242) 2022-04-04 20:12:03 +09:00
SWC Bot
589ff584e7 chore: Publish crates 2022-03-28 06:51:53 +00:00
OJ Kwon
b473414b3c
chore(deps): Update string-cache (#4169) 2022-03-28 15:49:30 +09:00
SWC Bot
7053d6769a chore: Publish crates 2022-03-23 14:39:11 +00:00
magic-akari
bf1924d1a8
feat(es/typescript): Support optional variance annotations (#4008) 2022-03-23 14:36:37 +00:00
OJ Kwon
a4d914dab5
chore(build): Remove version pinning of parking_lot_core (#3537) 2022-02-12 14:24:49 +09:00
Donny/강동윤
978de5943e
chore(ci): Configure clippy (#3250) 2022-01-13 23:06:11 +09:00
Donny/강동윤
194b3e9b67
refactor(*): Use 2021 edition (#3151) 2021-12-30 18:59:18 +09:00
Donny
86d2cebd37 chore: Publish v1.2.115 2021-12-01 14:20:52 +09:00
Donny/강동윤
4f70ee6d98
refactor: Flatten more packages (#2706) 2021-11-10 16:39:01 +09:00