Commit Graph

389 Commits

Author SHA1 Message Date
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
SWC Bot
035d1f0089 chore: Publish crates 2022-06-23 03:06:26 +00:00
Alexander Akait
a057183230
perf(html/parser): Improve performance (#5028) 2022-06-23 03:03:32 +00:00
LongYinan
db9f7a5ad4
chore(ci): Fix publish build on Windows (#4970) 2022-06-14 15:58:10 +00:00
SWC Bot
c9918482ac chore: Publish crates 2022-06-14 13:34:32 +00:00
Alexander Akait
5c2a918946
feat(html): Support self-closing flag (#4950) 2022-06-14 13:31:23 +00:00
SWC Bot
3bb75f1faa chore: Publish crates 2022-06-12 03:04:44 +00:00
Alexander Akait
42a1d7c7a1
refactor(html/parser): Remove unused code (#4949) 2022-06-12 03:02:15 +00:00
SWC Bot
6fdf84da15 chore: Publish crates 2022-06-11 04:39:38 +00:00
Alexander Akait
f993a52679
perf(html/parser): Improve performance (#4934) 2022-06-11 04:37:01 +00:00
Alexander Akait
d669454157
perf(html/parser): Add a benchmark for document fragment (#4920) 2022-06-10 05:45:32 +00:00
Alexander Akait
4f1e04671d
fix(html/codegen): Emit newline in textarea/pre (#4919) 2022-06-10 04:19:30 +00:00
SWC Bot
a0f643777f chore: Publish crates 2022-06-10 03:33:22 +00:00
Alexander Akait
299da10ff9
chore(html/parser): Remove unused dependencies (#4922) 2022-06-10 03:30:40 +00:00
SWC Bot
157de39579 chore: Publish crates 2022-06-08 03:57:37 +00:00
Alexander Akait
e365766070
perf(html/parser): Reduce cloning (#4901) 2022-06-08 03:55:11 +00:00
SWC Bot
dce3a89efa chore: Publish crates 2022-06-07 14:35:46 +00:00
Alexander Akait
70760d2222
fix(html/parser): Fix spans (#4877) 2022-06-07 14:33:06 +00:00
Alexander Akait
da09c1ca5b
feat(html/codegen): Improve entity compression (#4889) 2022-06-07 04:33:33 +00:00
SWC Bot
44e606a240 chore: Publish crates 2022-06-06 03:38:16 +00:00
Alexander Akait
ce4d57735e
perf(html/parser): Improve memory allocation (#4884) 2022-06-06 03:35:22 +00:00
SWC Bot
c46045f646 chore: Publish crates 2022-06-06 03:03:11 +00:00
Alexander Akait
b14719c046
refactor(html/ast): Avoid TokenAndSpan (#4885) 2022-06-06 12:00:14 +09:00
SWC Bot
6c4f2751fc chore: Publish crates 2022-06-05 20:19:14 +00:00
Alexander Akait
5abe847c23
perf(html/parser): Improve performance (#4881) 2022-06-05 20:16:27 +00:00
Alexander Akait
ad9508a796
test(html/parser): Test html5lib spans (#4875) 2022-06-05 02:29:24 +09:00
SWC Bot
223d14db4e chore: Publish crates 2022-06-04 09:36:13 +00:00
Alexander Akait
0d5d7c4d5e
fix(html/parser): Fix span (#4868) 2022-06-04 09:33:25 +00:00
SWC Bot
0968d7426f chore: Publish crates 2022-06-03 05:01:33 +00:00
Alexander Akait
8b67bb99fa
perf(html/parser): Improve lexer performance (#4869) 2022-06-03 04:58:46 +00:00
Alexander Akait
762c72d1c9
test(html/parser): Refactor tests (#4865) 2022-06-03 04:35:19 +00:00
SWC Bot
e93102e0a3 chore: Publish crates 2022-06-02 04:02:53 +00:00
Alexander Akait
67b5e3d5b3
fix(html/parser): Fix end span of closed tags (#4860) 2022-06-02 04:00:32 +00:00
Donny/강동윤
fd3501bf87
feat(wasm): Add json error (#4853) 2022-06-01 11:51:24 +09:00
SWC Bot
cbec3819e1 chore: Publish crates 2022-05-31 03:52:39 +00:00
Alexander Akait
f830726027
fix(html/parser): Fix span of lexer errors (#4846) 2022-05-31 03:50:19 +00:00
SWC Bot
866664163e chore: Publish crates 2022-05-30 06:22:43 +00:00
Alexander Akait
20fee8abee
fix(html/parser): Handle BOM (#4843) 2022-05-30 06:20:02 +00:00
Donny/강동윤
f847709787
chore(common): Update rustc (#4828) 2022-05-28 07:07:58 +00:00
SWC Bot
abbc317f47 chore: Publish crates 2022-05-27 12:51:18 +00:00
Alexander Akait
759688c412
perf(html/parser): Improve lexer performance even more (#4819) 2022-05-27 12:48:51 +00:00
SWC Bot
e9559e7d13 chore: Publish crates 2022-05-26 05:51:57 +00:00
Alexander Akait
f71ef61cb7
perf(html/parser): Improve lexer (#4802) 2022-05-26 05:49:18 +00:00
SWC Bot
54fd602bae chore: Publish crates 2022-05-25 17:35:52 +00:00
Alexander Akait
8894e77bc1
perf(html/parser): Improve lexer (#4796) 2022-05-25 17:33:15 +00:00
Donny/강동윤
38a866a900
test(es): Make execution tests faster (#4789) 2022-05-25 06:23:35 +00:00
SWC Bot
2771267c08 chore: Publish crates 2022-05-24 06:34:57 +00:00
Alexander Akait
c07780fab3
feat(html/parser): Improve public api (#4762) 2022-05-24 06:32:15 +00:00
SWC Bot
6730fbd778 chore: Publish crates 2022-05-24 05:06:51 +00:00
Alexander Akait
984d69e67b
test(html/parser): Enable error reporting tests (#4764) 2022-05-24 05:04:20 +00:00
SWC Bot
516b0b804b chore: Publish crates 2022-05-23 04:06:56 +00:00
Alexander Akait
51f4cea103
feat(html/parser): Improve error reporting (#4740) 2022-05-23 04:04:20 +00:00
SWC Bot
f7e000383c chore: Publish crates 2022-05-21 19:36:32 +00:00
Alexander Akait
c346d309a7
feat(html/parser): Improve error reporting (#4728) 2022-05-21 19:34:02 +00:00
SWC Bot
2a8aa2cb6e chore: Publish crates 2022-05-21 18:11:57 +00:00
Alexander Akait
e9b2ebfc3b
feat(html/parser): Improve error reporting for misplaced non-space characters inside a table (#4723) 2022-05-21 18:09:33 +00:00
SWC Bot
3ae6644900 chore: Publish crates 2022-05-21 16:31:35 +00:00
Alexander Akait
1c4d50f06a
fix(html/parser): Fix parsing of closing tag in foreign contents (#4721) 2022-05-22 01:28:48 +09:00
SWC Bot
602be228db chore: Publish crates 2022-05-21 15:24:12 +00:00
Alexander Akait
4df0637817
fix(html/parser): Fix error reporting in the foreign context (#4725) 2022-05-21 15:22:10 +00:00
SWC Bot
5ad70cd6d4 chore: Publish crates 2022-05-21 12:08:59 +00:00
Alexander Akait
4cee4ac238
fix(html/parser): Fix error reporting related to image (#4720) 2022-05-21 12:06:30 +00:00
SWC Bot
e4596f3a64 chore: Publish crates 2022-05-21 11:24:09 +00:00
Alexander Akait
2c2e6bb65b
fix(html/parser): Fix handling of unclosed td/th (#4719) 2022-05-21 11:21:36 +00:00
SWC Bot
789af6b663 chore: Publish crates 2022-05-21 11:02:18 +00:00
Alexander Akait
5d0e8fbda4
feat(html/parser): Report an error for a legacy doctype (#4717) 2022-05-21 10:59:56 +00:00
SWC Bot
494343456d chore: Publish crates 2022-05-19 01:42:24 +00:00
Alexander Akait
0b39e1b3fc
fix(html/parser): Fix bugs (#4707) 2022-05-19 01:39:11 +00:00
SWC Bot
f395caa5d1 chore: Publish crates 2022-05-17 08:26:09 +00:00
Alexander Akait
637ef7f49f
fix(html/parser): Fix span of attributes (#4681) 2022-05-17 08:23:24 +00:00
Alexander Akait
b56f3b7f00
perf(html): Setup benchmarks (#4685) 2022-05-17 04:30:24 +00:00
SWC Bot
e602992de1 chore: Publish crates 2022-05-15 04:22:56 +00:00
Alexander Akait
a8467c64e8
feat(html/parser): Improve error reporting (#4663) 2022-05-15 04:20:21 +00:00
Alexander Akait
69ca9497d0
feat(html): Support iframe_srcdoc (#4658) 2022-05-15 12:27:29 +09:00
SWC Bot
c96cbe9b27 chore: Publish crates 2022-05-14 01:46:19 +00:00
Alexander Akait
1f945b9277
fix(html/parser): Fix error reporting (#4644) 2022-05-14 01:43:52 +00:00
Alexander Akait
af9c8c6b4c
fix(html): Fix parsing of template (#4647) 2022-05-13 05:07:24 +00:00
SWC Bot
0b35b047bf chore: Publish crates 2022-05-12 19:59:27 +00:00
Alexander Akait
a19db2992b
fix(html/parser): Fix newlines (#4633) 2022-05-12 19:56:47 +00:00
SWC Bot
dca5bf8b2f chore: Publish crates 2022-05-12 05:50:05 +00:00
Alexander Akait
5f899a0348
refactor(html/parser): Improve parser a bit (#4627) 2022-05-12 05:45:11 +00:00
SWC Bot
67de03579f chore: Publish crates 2022-05-12 05:09:22 +00:00
Alexander Akait
b8fa3bc456
refactor(html/parser): Improve public API (#4626) 2022-05-12 05:07:07 +00:00
Pig Fang
cac4f6e265
feat(html/parser): Add a method to get error message (#4623) 2022-05-12 03:45:56 +00:00
Alexander Akait
4e577d7f45
test(html/parser): Add dom visualizer for regular tests (#4622) 2022-05-12 02:58:51 +00:00
SWC Bot
97808349a2 chore: Publish crates 2022-05-11 16:17:07 +00:00
Donny/강동윤
67942d5731
feat(common): Reserve BytePos(0) for dummy spans (#4616) 2022-05-11 16:14:42 +00:00
Alexander Akait
a378e1e041
refactor(html/parser): Remove unused code (#4613) 2022-05-11 05:57:33 +00:00
SWC Bot
74ffa5ab9c chore: Publish crates 2022-05-11 03:59:37 +00:00
Alexander Akait
7c6627fc21
refactor(html): Refactor parser and codegen (#4611) 2022-05-11 03:55:46 +00:00
SWC Bot
7f67b0e6ac chore: Publish crates 2022-05-11 03:35:17 +00:00
Alexander Akait
7166dbf5a6
fix(html/parser): Fix bugs (#4592) 2022-05-11 03:31:49 +00:00
Donny/강동윤
e43689b7d5
fix(es/minifier): Preserve more identifiers if eval or with exists (#4580) 2022-05-09 07:17:33 +00:00
Alexander Akait
a34dea11d0
feat(html/parser): Parse document fragment (#4579) 2022-05-09 06:26:31 +00:00
SWC Bot
23a24b46a5 chore: Publish crates 2022-05-09 06:06:22 +00:00
Alexander Akait
4cc247f39f
refactor(html/parser): Resolve TODO (#4577) 2022-05-09 06:03:51 +00:00
Alexander Akait
4838267015
test(html/parser): Improve script on/off tests (#4564) 2022-05-08 15:39:17 +00:00
SWC Bot
025e3580c5 chore: Publish crates 2022-05-08 05:02:49 +00:00
Alexander Akait
c7d20e43e6
fix(html/parser): Add recovery for attributes on html and body (#4566) 2022-05-08 05:00:10 +00:00
Alexander Akait
adbce64f28
test(html/parser): Add tests (#4565) 2022-05-08 04:37:29 +00:00
SWC Bot
1071e6b75a chore: Publish crates 2022-05-08 03:49:53 +00:00
Alexander Akait
d6e48850b6
fix(html/parser): Fix adoption agency algorithm (#4552) 2022-05-08 03:47:22 +00:00
Donny/강동윤
920d9a7678
fix(es/minifier): Fix handling of template literals (#4563) 2022-05-08 01:56:38 +09:00
SWC Bot
e2a87a4ac4 chore: Publish crates 2022-05-07 07:56:07 +00:00
Alexander Akait
7ef637263e
fix(html/parser): Fix for noah's ark clause (#4558) 2022-05-07 07:53:37 +00:00
SWC Bot
56fb1c8762 chore: Publish crates 2022-05-07 06:33:13 +00:00
Alexander Akait
e11ee88ea0
fix(html/parser): Fix support for document mode (#4539) 2022-05-07 06:30:39 +00:00
SWC Bot
d5b67686bf chore: Publish crates 2022-05-06 13:31:59 +00:00
Alexander Akait
446172f145
refactor(html/parser): Cleanup (#4545) 2022-05-06 13:28:58 +00:00
SWC Bot
49a8f89665 chore: Publish crates 2022-05-06 13:07:50 +00:00
Alexander Akait
698038107d
fix(html/lexer): Fix lexing of numeric characters (#4544) 2022-05-06 13:05:10 +00:00
SWC Bot
2be492b382 chore: Publish crates 2022-05-06 07:37:56 +00:00
Alexander Akait
dd40e7bf69
fix(html/parser): Fix parsing of newline in textarea (#4543) 2022-05-06 07:35:02 +00:00
SWC Bot
a9c72c87f9 chore: Publish crates 2022-05-06 06:15:34 +00:00
Alexander Akait
07cf28a168
fix(html/parser): Fix parsing of cdata (#4537) 2022-05-06 06:12:46 +00:00
SWC Bot
c40ae3ce33 chore: Publish crates 2022-05-06 04:36:55 +00:00
Alexander Akait
e6042a5e69
fix(html/parser): Fix parsing of nobr (#4535) 2022-05-06 04:34:06 +00:00
Alexander Akait
a4a815b288
test(html/parser): Add integration tests from html5lib-test (#4517) 2022-05-05 13:00:25 +00:00
SWC Bot
d4e92022a6 chore: Publish crates 2022-05-05 03:16:30 +00:00
Alexander Akait
79090e1b2a
fix(html/parser): Fix parsing of comments in textarea (#4530) 2022-05-05 03:13:20 +00:00
SWC Bot
f87d94a50e chore: Publish crates 2022-05-05 02:51:14 +00:00
Alexander Akait
6310eab966
fix(html/parser): Fix a bug with optional li (#4526) 2022-05-05 02:48:43 +00:00
SWC Bot
eb7e20fd90 chore: Publish crates 2022-05-05 02:05:59 +00:00
Alexander Akait
5dc9376a4b
fix(html/parser): Fix parsing of cdata in foreign context (#4531) 2022-05-05 02:03:27 +00:00
SWC Bot
98b6727c9c chore: Publish crates 2022-05-04 19:13:25 +00:00
Alexander Akait
2f6f8fa717
fix(html/parser): Fix a bug related to parsing foreign elements (#4527) 2022-05-04 19:10:39 +00:00
Donny/강동윤
a6d404a8c2
chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
SWC Bot
66f457ce28 chore: Publish crates 2022-05-04 06:13:32 +00:00
Alexander Akait
597c0c672a
fix(html/parser): Fix a bug of unwrapping element without parent (#4505) 2022-05-04 06:11:07 +00:00
Donny/강동윤
33f58faa0b
chore(repo): Fix lints (#4519) 2022-05-04 05:22:58 +00:00
Alexander Akait
202a6e4a01
test(html/parser): Add tests (#4507) 2022-05-04 04:13:15 +00:00
Donny/강동윤
8629e0c665
test(es/decorators): Migrate some tests to file-based fixture tests (#4510) 2022-05-03 15:29:18 +09:00
SWC Bot
9a07601222 chore: Publish crates 2022-05-03 03:49:47 +00:00
Alexander Akait
efe87bcbf6
fix(html/parser): Fix parsing of a table with a table (#4506) 2022-05-03 03:47:03 +00:00
SWC Bot
180390df63 chore: Publish crates 2022-05-03 03:17:29 +00:00
Alexander Akait
b8588c4a45
fix(html/parser): Fix parsing of select (#4504) 2022-05-03 03:15:05 +00:00
SWC Bot
fea94a9c65 chore: Publish crates 2022-05-03 02:52:02 +00:00
Alexander Akait
fca84eb0f2
fix(html/parser): Fix bugs (#4502) 2022-05-03 02:49:06 +00:00
SWC Bot
b26ac6105e chore: Publish crates 2022-04-30 04:11:33 +00:00
Alexander Akait
00358e10fc
fix(html/parser): Fix adoption agency algorithm (#4487) 2022-04-30 04:09:08 +00:00