Commit Graph

428 Commits

Author SHA1 Message Date
Donny/강동윤
e445502072
build(cargo): Update rustc to nightly-2023-03-28 (#7154)
**Description:**

This PR also updates `rkyv` to `=0.7.40`.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6807.
2023-03-29 06:24:19 +00:00
SWC Bot
47f15f9f28 chore: Publish crates 2023-03-27 06:04:11 +00: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/강동윤
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
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
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
SWC Bot
61245739ea chore: Publish crates 2022-12-21 03:03:05 +00:00
SWC Bot
913230d02a chore: Publish crates 2022-12-20 06:11:34 +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
SWC Bot
2a4b4a3792 chore: Publish crates 2022-12-12 05:09:19 +00:00
Alexander Akait
19c2ee593d
fix(html/parser): Fix parsing of CDATA in the svg context (#6620) 2022-12-12 05:05:40 +00:00
SWC Bot
4d4406d5b3 chore: Publish crates 2022-12-12 02:40:19 +00:00
SWC Bot
8c4bf84ce5 chore: Publish crates 2022-12-07 02:21:48 +00:00
Alexander Akait
d6e961368b
perf(html/parser): Optimize usage of buffers (#6590) 2022-12-07 02:18:31 +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
SWC Bot
9a4fe8913e chore: Publish crates 2022-12-01 05:57:56 +00:00
Alexander Akait
49b7e9e224
feat(html/parser): Improve lexer (#6543) 2022-12-01 05:54:44 +00:00
Alexander Akait
85a03e71b7
refactor(xml/parser): Simplify logic for parsing elements (#6557) 2022-12-01 05:01:48 +00:00
SWC Bot
08e1c50737 chore: Publish crates 2022-11-29 02:43:31 +00:00
Alexander Akait
e3cbe7e9a9
fix(html/parser): Fix parsing of cdata (#6534) 2022-11-29 02:39:48 +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
SWC Bot
2088dd4a84 chore: Publish crates 2022-11-11 22:50:50 +00:00
SWC Bot
75599d5821 chore: Publish crates 2022-11-02 03:39:31 +00:00
Alexander Akait
3a9065799d
perf(html/parser): Refactor (#6313) 2022-11-02 03:36:00 +00:00
SWC Bot
a4546a4d22 chore: Publish crates 2022-10-28 01:27:37 +00:00
SWC Bot
f56d16dcd6 chore: Publish crates 2022-10-27 03:51:01 +00:00
Alexander Akait
c255cfd716
refactor(html/parser): Refactor (#6267) 2022-10-27 03:47:37 +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
2f05c3fd32 chore: Publish crates 2022-10-24 03:58:37 +00:00
Alexander Akait
6505c6491a
test(html/parser): Resolve TODOs (#6223) 2022-10-21 01:03:54 +00:00
Donny/강동윤
725b1185f3
test(es/minifier): Add a test for a fixed issue (#6218)
**Related issue (if exists):**

 - Closes https://github.com/swc-project/swc/issues/6217.
2022-10-20 19:26:27 +00:00
SWC Bot
3f648bdf0f chore: Publish crates 2022-10-20 08:59:26 +00:00
SWC Bot
7d5b544458 chore: Publish crates 2022-10-20 02:56:58 +00:00
Alexander Akait
ba5d272ae1
perf(html/parser): Improve performance a bit (#6213) 2022-10-20 02:54:22 +00:00
SWC Bot
0c23592d14 chore: Publish crates 2022-10-20 01:50:04 +00:00
SWC Bot
62a9405acf chore: Publish crates 2022-10-19 23:46:12 +00:00
SWC Bot
9de0b6e398 chore: Publish crates 2022-10-19 23:35:18 +00:00
Alexander Akait
420ba32e8c
perf(html/ast): Use Atom for raw (#6210) 2022-10-19 23:32:22 +00:00
SWC Bot
3613c00deb chore: Publish crates 2022-10-19 15:13:38 +00:00
Alexander Akait
99ea28674a
feat(html/ast): Add raw to comment tokens (#6202) 2022-10-19 15:10:57 +00:00
Donny/강동윤
27896f4751
perf(es/transforms): Exclude old inlining pass (#6203)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6194.
2022-10-19 04:53:46 +00:00
SWC Bot
b48ec880fd chore: Publish crates 2022-10-19 04:00:51 +00:00
SWC Bot
a049ef058b chore: Publish crates 2022-10-18 14:51:39 +00:00
Alexander Akait
a4acc7ab07
test(html/parser): Refactor tests to make git faster (#6158) 2022-10-18 09:20:35 +09:00
Alexander Akait
7a38fde230
test(html/parser): Update html5lib-test (#6156) 2022-10-17 13:16:50 +00:00
SWC Bot
1affcfe8e8 chore: Publish crates 2022-10-13 06:12:56 +00:00
SWC Bot
56da9981bb chore: Publish crates 2022-10-12 10:06:01 +00:00
SWC Bot
dcb3a4371d chore: Publish crates 2022-10-11 23:55:24 +00:00
SWC Bot
018ca946e7 chore: Publish crates 2022-10-10 13:09:51 +00:00
SWC Bot
5f49ac012e chore: Publish crates 2022-10-06 11:38:55 +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
SWC Bot
b2da9f6c8f chore: Publish crates 2022-09-30 05:33:21 +00:00
OJ Kwon
af64217f19
build(cargo): Introduce workspace deps (#5997) 2022-09-30 13:43:32 +09:00
SWC Bot
783c9dcc23 chore: Publish crates 2022-09-29 03:01:40 +00:00
Alexander Akait
6c08971a53
perf(html/minifier): Improve performance (#5983) 2022-09-29 02:58:09 +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
Donny/강동윤
3c3529cb84
build(rustc): Update rustc (#5943)
**Description:**

This PR updates rustc, and fix some performance bugs of `swc_common`.
2022-09-24 03:33:47 +00:00
SWC Bot
8a5ed1e0ba chore: Publish crates 2022-09-23 07:50:26 +00:00
SWC Bot
4c3813dbcc chore: Publish crates 2022-09-22 03:16:22 +00:00
SWC Bot
473f5c4111 chore: Publish crates 2022-09-17 00:13:31 +00:00
Alexander Akait
5645e810df
perf(html/parser): Improve performance (#5884) 2022-09-17 00:10:08 +00:00
Donny/강동윤
f0ca487848 chore: Publish crates 2022-09-16 15:46:25 +09:00
SWC Bot
c953ff414c chore: Publish crates 2022-09-16 03:28:09 +00:00
Alexander Akait
57e9f9c88e
fix(html/parser): Reflect the fix for a bug in spec (#5779) 2022-09-16 03:24:49 +00: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
92eea2fece chore: Publish crates 2022-09-15 04:20:45 +00:00
Alexander Akait
7f62fa6227
perf(html): Reduce memory usage (#5867) 2022-09-15 04:17:05 +00:00
Donny/강동윤
dfb01bde71
refactor: Refactor code using clippy (#5863)
**Description:**

I temporarily updated rustc to use newer version of `cargo clippy`.
2022-09-14 15:05:59 +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
417b1f2a92 chore: Publish crates 2022-09-10 07:23:37 +00: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
bc39c9b9f2 chore: Publish crates 2022-09-08 01:39:44 +00:00
Alexander Akait
1b200a0582
chore(html/parser): Typo (#5778) 2022-09-08 01:36:02 +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
OJ Kwon
1769191f9a
chore(swc_core): Update dependency version (#5595) 2022-08-23 10:10:30 +09:00
OJ Kwon
76797b1fc1
build(bindings): Bump up swc_core (#5484) 2022-08-14 07:48:15 +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
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
67d02fefc5 chore: Publish crates 2022-08-01 04:52:12 +00:00
Alexander Akait
2a499de61d
perf(html/parser): Apply small memory optimizations (#5345) 2022-08-01 04:49:58 +00:00
OJ Kwon
5c9ea16b2a
build(cargo): Update packages (#5331) 2022-07-29 08:30:41 +09:00
SWC Bot
7f762d6ea2 chore: Publish crates 2022-07-27 05:40:42 +00:00
Alexander Akait
c80b9e106a
fix(html/parser): Fix span (#5312) 2022-07-27 05:38:31 +00:00
SWC Bot
129a886e13 chore: Publish crates 2022-07-27 04:18:47 +00:00
Donny/강동윤
a37fdca969 chore: Publish crates 2022-07-22 21:06:43 +09:00
SWC Bot
1c7855d50e chore: Publish crates 2022-07-20 07:25:56 +00:00
OJ Kwon
0d91741eb9
build(cargo): Align dependency versions (#5248) 2022-07-20 03:42:04 +00:00
SWC Bot
a12ea9617a chore: Publish crates 2022-07-17 12:50:04 +00:00
Alexander Akait
945510a695
feat(html/ast): Add raw to doctype (#5198) 2022-07-17 12:48:21 +00:00
SWC Bot
535d37d4bb chore: Publish crates 2022-07-17 06:25:14 +00:00
Alexander Akait
0f7646cc47
fix(html/parser): Improve span (#5230) 2022-07-17 06:23:25 +00:00
SWC Bot
aef4d3801c chore: Publish crates 2022-07-15 10:58:01 +00:00
SWC Bot
629ed78ad2 chore: Publish crates 2022-07-15 02:43:21 +00:00
Alexander Akait
64237fa7fb
feat(html/ast): Add raw to attributes (#5208) 2022-07-15 02:40:47 +00:00
SWC Bot
db63adfe62 chore: Publish crates 2022-07-15 01:41:12 +00:00
Alexander Akait
b4daa30058
fix(html/parser): Fix span (#5209) 2022-07-15 01:38:44 +00:00
SWC Bot
023e1eca1f chore: Publish crates 2022-07-14 04:58:51 +00:00
Alexander Akait
dead719550
feat(html/parser): Add raw to comments (#5196) 2022-07-14 04:56:31 +00:00
Donny/강동윤
b433b69263 chore: Publish crates 2022-07-12 23:58:30 +09:00
SWC Bot
2bd5b4413a chore: Publish crates 2022-07-09 10:17:04 +00:00
SWC Bot
5ea2e75281 chore: Publish crates 2022-07-09 04:21:11 +00:00
Alexander Akait
01bfe46019
feat(html): Add raw for text (#5148) 2022-07-09 04:19:14 +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
Donny/강동윤
70770e0fd2 chore: Publish crates 2022-06-28 13:13:00 +09:00
Alexander Akait
8bf924ae5f
feat(html/codegen): Improve API (#5031) 2022-06-25 05:33:22 +00:00
Alexander Akait
c345524e36
fix(css/parser): Improve lexer errors (#5025) 2022-06-23 03:56:13 +00:00