Commit Graph

369 Commits

Author SHA1 Message Date
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
SWC Bot
01c8c0e22d chore: Publish crates 2022-04-28 17:59:31 +00:00
Alexander Akait
8bdfcd996a
fix(html): Fix bugs of parser and codegen (#4461) 2022-04-28 17:57:05 +00:00
SWC Bot
44567bb065 chore: Publish crates 2022-04-28 17:30:17 +00:00
Alexander Akait
20982288fb
fix(html/parser): Fix bugs (#4459) 2022-04-28 17:27:39 +00:00
SWC Bot
1bce018804 chore: Publish crates 2022-04-28 01:47:51 +00:00
Alexander Akait
65a158a66b
fix(html/parser): Fix fosting logic for text nodes (#4457) 2022-04-28 01:44:13 +00:00
SWC Bot
c53778a3d8 chore: Publish crates 2022-04-27 05:12:01 +00:00
Alexander Akait
6e60813367
fix(html/parser): Parse table including broken one (#4451) 2022-04-27 05:09:25 +00:00
SWC Bot
20f35cbcbd chore: Publish crates 2022-04-27 02:48:54 +00:00
Alexander Akait
8c4dc4cc46
fix(html/parser): Fix a bug with nested tags (#4438) 2022-04-27 02:46:34 +00:00
SWC Bot
42efc40f7c chore: Publish crates 2022-04-26 08:04:09 +00:00
Alexander Akait
8f2a3ead6a
fix(html/parsing): Fix parsing of formatting elements (#4442) 2022-04-26 08:01:26 +00:00
SWC Bot
47cfda2836 chore: Publish crates 2022-04-25 23:47:39 +00:00
Alexander Akait
3293060070
fix(html/parser): Fix span (#4437) 2022-04-25 23:45:14 +00:00
SWC Bot
d6c82b3b3a chore: Publish crates 2022-04-25 14:37:42 +00:00
Alexander Akait
6fc70f3866
feat(html/minifier): Compress doctype (#4425) 2022-04-25 14:34:36 +00:00
SWC Bot
6d4b32a51c chore: Publish crates 2022-04-25 08:29:05 +00:00
Alexander Akait
4ccbdf2a7d
fix(html/parser): Fix parsing of foreign elements (#4422) 2022-04-25 08:26:08 +00:00
SWC Bot
255c4d369e chore: Publish crates 2022-04-25 05:37:55 +00:00
Alexander Akait
9b26dbd457
fix(html/lexer): Fix lexing of html entity (#4423) 2022-04-25 05:34:59 +00:00
SWC Bot
a6ca119c3f chore: Publish crates 2022-04-23 04:29:04 +00:00
Alexander Akait
cf3be649bb
fix(html/parser): Parse foreign attributes (#4400) 2022-04-23 04:26:32 +00:00
Alexander Akait
63a6280e8f
feat(html/minifier): Initialize crate (#4403) 2022-04-23 03:50:59 +00:00
SWC Bot
258c019f1f chore: Publish crates 2022-04-22 11:23:05 +00:00
Alexander Akait
7332dce4f8
feat(html): Prepare processing system (#4358) 2022-04-22 20:20:47 +09:00
OJ Kwon
8419b60430
fix(plugin): Align deps to fix build (#4377) 2022-04-20 08:05:02 +00:00
Alexander Akait
65b18ee602
feat(css/minifier): Compress colors (#4308) 2022-04-12 13:35:57 +00:00
SWC Bot
6c50ae6b0d chore: Publish crates 2022-04-08 09:22:45 +00:00
Alexander Akait
ee108af3d0
feat(html): Add raw fields (#4281) 2022-04-08 09:19:58 +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
SWC Bot
92186d0407 chore: Publish crates 2022-04-07 05:15:21 +00:00
Alexander Akait
105a0cccf7
fix(html/parser): Fix bugs (#4265) 2022-04-07 14:12:54 +09:00
SWC Bot
3ed18eb480 chore: Publish crates 2022-04-06 06:01:48 +00:00
Alexander Akait
3f6037b467
fix(html/parser): Support cdata (#4259) 2022-04-06 14:59:10 +09:00
SWC Bot
0505a09ecd chore: Publish crates 2022-04-06 05:33:56 +00:00
Alexander Akait
8640c8bd43
feat(html): Support boolean attributes (#4258) 2022-04-06 05:31:27 +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
Alexander Akait
3e7872c8de
feat(html): Initialize (#4240) 2022-04-04 04:12:45 +00:00