Commit Graph

1890 Commits

Author SHA1 Message Date
Donny/강동윤
53610fdafc
feat(es/resolver): Use different syntax context for unresolved refs (#4436)
- We don't need a list of bindings to check if an identifier is unresolved.
 - Checking if an identifier is unresolved is now one CPU instruction.
   - Previously it was one hashmap operation.
 - This PR also improves performance, by removing the hashmaps mentioned above.
2022-04-26 07:38:50 +00:00
SWC Bot
1d90d6e726 chore: Publish crates 2022-04-26 07:14:56 +00:00
Alexander Akait
4c699f2554
feat(html/minifier): Compress default values of attributes (#4427) 2022-04-26 07:12:32 +00:00
SWC Bot
c7aa0fe86b chore: Publish crates 2022-04-26 01:38:35 +00:00
Pig Fang
1c2af932b6
feat(preset-env/base): Update "browserslist-rs" (#4435) 2022-04-26 01:35:43 +00:00
SWC Bot
4498d16c18 chore: Publish crates 2022-04-26 00:11:47 +00:00
overlookmotel
2813eaadcd
fix(es/ast): Fix tag of BigInt (#4440) 2022-04-26 00:09:14 +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
4bdc198a55 chore: Publish crates 2022-04-25 23:13:22 +00:00
Pig Fang
465cc2f929
fix(es/parser): Fix top-level await with binary expr (#4426) 2022-04-25 23:10:59 +00:00
SWC Bot
7cbf30d5ac chore: Publish crates 2022-04-25 15:34:29 +00:00
Donny/강동윤
8048597c9e
feat(es/optimization): Accept top level mark from simplifiers (#4434) 2022-04-25 15:31:59 +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
d5726ef002 chore: Publish crates 2022-04-25 14:13:53 +00:00
Donny/강동윤
6a19ff1a15
feat(node/css): Add css bindings crate (#4346) 2022-04-25 14:11:22 +00:00
SWC Bot
057285a51c chore: Publish crates 2022-04-25 13:49:37 +00:00
Alexander Akait
25a87f0000
feat(html/minifier): Compress type for style and link tags (#4424) 2022-04-25 13:44:53 +00:00
SWC Bot
65ced1d524 chore: Publish crates 2022-04-25 12:34:52 +00:00
Donny/강동윤
8118569045
fix(es/minifier): Remove wrong logic for optimizing deletes (#4429) 2022-04-25 12:32:02 +00:00
SWC Bot
2dee47c430 chore: Publish crates 2022-04-25 12:10:52 +00:00
Donny/강동윤
9733917cc7
fix(es/minifier): Fix analysis of update expressions (#4428) 2022-04-25 12:07:27 +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
747b8a1889 chore: Publish crates 2022-04-25 07:54:53 +00:00
Pig Fang
fec0f2e417
feat(html/minifier): Remove script type attribute (#4407) 2022-04-25 07:46:38 +00:00
SWC Bot
e0f10f876f chore: Publish crates 2022-04-25 06:59:03 +00:00
Donny/강동윤
8ab12fd97b
fix(es/minifier): Preserve more side effects (#4420) 2022-04-25 06:56:19 +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
f12183a245 chore: Publish crates 2022-04-24 15:36:35 +00:00
Donny/강동윤
aa19b65f9c
fix(es/minifier): Don't drop arguments to an IIFE without body (#4419) 2022-04-24 15:27:51 +00:00
Donny/강동윤
9b34ecfd2e
test(es/minifier): Categorize tests (#4410) 2022-04-24 12:11:02 +00:00
Donny/강동윤
f787f8c819
test(es/minifier): Execute terser tests if possible (#4418) 2022-04-24 11:40:39 +00:00
SWC Bot
d7aa781a16 chore: Publish crates 2022-04-24 03:29:34 +00:00
Austaras
83244add33
fix(es/minifier): Remove the last break in the last BlockStmt (#4413) 2022-04-24 03:26:49 +00:00
SWC Bot
3e2931e878 chore: Publish crates 2022-04-24 03:06:59 +00:00
Pig Fang
6dc64c9ca0
feat(es/parser): Reject 'use strict' with non-simple params list in TS (#4416) 2022-04-24 03:04:38 +00:00
Donny/강동윤
4e113037e5
test(es/minifier): Use _ instead of - for terser tests (#4411) 2022-04-23 18:34:00 +00:00
SWC Bot
487064f0b9 chore: Publish crates 2022-04-23 15:33:43 +00:00
Alexander Akait
c15dc4f2b7
feat(html/codegen): Print unquoted value when it is possible (#4402) 2022-04-23 15:31:11 +00:00
SWC Bot
cda7fc2264 chore: Publish crates 2022-04-23 14:47:56 +00:00
Pig Fang
da02c9dc50
feat(es/parser): Reject invalid new.target (#4406) 2022-04-23 14:45:11 +00:00
Donny/강동윤
ab88637937
test(es/minifier): Split tests into improvement and stabilization (#4409) 2022-04-23 13:40:28 +00:00
SWC Bot
b78ffcc058 chore: Publish crates 2022-04-23 11:01:17 +00:00
Donny/강동윤
4c9e5c01ef
perf(es/minifier): Add some fast-path to the MultiReplacer (#4408) 2022-04-23 19:53:21 +09:00
SWC Bot
5a8250610a chore: Publish crates 2022-04-23 05:46:23 +00:00
Pig Fang
c96e32243c
feat(es/parser): Reject invalid regex flags (#4404) 2022-04-23 05:43:52 +00:00
SWC Bot
a6ca119c3f chore: Publish crates 2022-04-23 04:29:04 +00:00