SWC Bot
1cf0e2369b
chore: Publish crates
2022-09-21 12:22:25 +00:00
Donny/강동윤
31711e76af
test(es/minifier): Add an execution test for a fixed issue ( #5925 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5914 .
2022-09-21 12:19:14 +00:00
SWC Bot
a9270a8475
chore: Publish crates
2022-09-21 11:36:41 +00:00
Donny/강동윤
e303f7e853
fix(es/minifier): Fix analysis of assignments ( #5924 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5910
2022-09-21 11:33:25 +00:00
SWC Bot
60417bdf77
chore: Publish crates
2022-09-21 10:58:05 +00:00
Donny/강동윤
0b34bcb40e
test(es/minifier): Add a test for a wrong issue ( #5923 )
2022-09-21 19:52:52 +09:00
SWC Bot
6e560644e5
chore: Publish crates
2022-09-21 08:24:14 +00:00
Jason
10cdbed05e
fix(css/parser): Fix infinite loop about @import
and layer
( #5919 )
2022-09-21 08:21:04 +00:00
SWC Bot
ce6b0886d1
chore: Publish crates
2022-09-21 07:40:12 +00:00
Shu Ding
72429d8801
feat(swc_core): Expose tty feature of swc_common
as common_tty
( #5920 )
...
**Description:**
This PR adds a `common_tty` feature to swc_core which enables `tty-emitter` for `swc_common` to make the colored terminal output available.
2022-09-21 16:37:08 +09:00
SWC Bot
8a9cc7dd2a
chore: Publish crates
2022-09-21 07:33:40 +00:00
Donny/강동윤
fe40d8312b
test(es): Accept arguments ( #5916 )
...
**Description:**
This PR adds a way to provide arguments to `exec_node_js`.
2022-09-21 16:23:10 +09:00
Donny/강동윤
6d1e5c77f1
chore: Publish crates
2022-09-21 09:59:44 +09:00
SWC Bot
be81c4737e
chore: Publish crates
2022-09-20 08:32:27 +00:00
Donny/강동윤
a9873e505d
perf(es/minifier): Optimize analyzer ( #5908 )
2022-09-20 08:21:39 +00:00
SWC Bot
1898d6686a
chore: Publish crates
2022-09-20 06:44:48 +00:00
Donny/강동윤
1df72430a5
perf(es/minifier): Invoke DCE only before the first compression ( #5907 )
...
**Description:**
Invoke DCE only before the first compression. I verified that this patch does not affect the compression rate of the real-world inputs greatly.
2022-09-20 15:41:26 +09:00
SWC Bot
cb2044234a
chore: Publish crates
2022-09-20 04:32:30 +00:00
Donny/강동윤
6bbd3f4c14
perf(es/minifier): Make more passes parallel ( #5906 )
...
**Description:**
We only unwrap parenthesis in precompress optimizer, so I refactored it. Also, as it's embarrassingly parallel, I parallelized it.
2022-09-20 04:29:08 +00:00
SWC Bot
5c2b1bb15d
chore: Publish crates
2022-09-20 03:51:28 +00:00
Donny/강동윤
1a182ef8d9
perf(es): Optimize memory layout of AST ( #5829 )
2022-09-20 12:47:21 +09:00
SWC Bot
26b9f1fc23
chore: Publish crates
2022-09-20 01:50:11 +00:00
Alexander Akait
2bf24195f2
feat(css/parser): Parse more math functions in @media
( #5904 )
2022-09-20 10:45:49 +09:00
SWC Bot
8c112c371b
chore: Publish crates
2022-09-19 15:11:28 +00:00
Donny/강동윤
aacf7aaf80
feat(es/minifier): Drop function identifier in a single pass ( #5901 )
...
**Description:**
We only inline function declarations if `ref_count` is 1, so we don't need to preserve the name of the function.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5682 .
2022-09-19 15:07:56 +00:00
SWC Bot
345e955265
chore: Publish crates
2022-09-19 13:37:22 +00:00
廖应龙
ccca6d0a88
fix(cli): Add missing comma ( #5902 )
2022-09-19 13:34:06 +00:00
SWC Bot
a18625c0d0
chore: Publish crates
2022-09-19 12:25:00 +00:00
Austaras
83c7887600
fix(es/minifier): Remove more pure calls ( #5900 )
2022-09-19 12:21:15 +00:00
Donny/강동윤
6fa55ce3a0
chore: Publish v1.3.2
( #5898 )
2022-09-19 17:29:43 +09:00
SWC Bot
65296b4a68
chore: Publish crates
2022-09-19 08:28:54 +00:00
Donny/강동윤
0bbcfe15ee
test(es/minifier): Add a test for a fixed issue ( #5897 )
2022-09-19 17:25:49 +09:00
SWC Bot
b93d740396
chore: Publish crates
2022-09-19 07:49:46 +00:00
Donny/강동윤
4e656af1ec
feat(es/minifier): Drop variable from the sequential inliner ( #5896 )
...
**Description:**
We now drop variable declarations if we are going to eliminate the only usage.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5693 .
2022-09-19 07:40:04 +00:00
李瑞丰
89f0a4c5ac
chore: Remove .prettierrc.json
( #5895 )
2022-09-19 02:58:38 +00:00
SWC Bot
7db72e8232
chore: Publish crates
2022-09-18 10:02:24 +00:00
Donny/강동윤
20d071bdc7
test(es/plugin): Add a noop plugin ( #5892 )
...
**Description:**
The plugin is used for benchmark and verification of rkyv.
2022-09-18 09:54:06 +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
SWC Bot
6b684ca162
chore: Publish crates
2022-09-16 23:17:15 +00:00
OJ Kwon
2d4d04d06b
feat(es/plugin): Enable plugin for bytecheck flags ( #5885 )
...
**Description:**
Fixes oversight to enabling plugin when plugin-bytecheck is enabled.
2022-09-16 23:07:11 +00:00
SWC Bot
f00963fa40
chore: Publish crates
2022-09-16 06:51:46 +00:00
IWANABETHATGUY
7d6d04b421
fix(es/codegen): Drop the last comma in an array literal ( #5877 )
...
**Description:**
Drop the last comma in an array literal.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5692 .
2022-09-16 15:48:28 +09:00
Donny/강동윤
720b3e05c1
chore: Fix publish script
2022-09-16 15:46:59 +09: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
99094def0e
chore: Publish crates
2022-09-16 02:47:08 +00:00
OJ Kwon
1ba151fe95
feat(swc_core): Enable bytecheck
for plugin ( #5878 )
2022-09-16 11:43:59 +09:00
SWC Bot
ca6325ca7d
chore: Publish crates
2022-09-16 01:07:09 +00:00