Commit Graph

348 Commits

Author SHA1 Message Date
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