Commit Graph

5658 Commits

Author SHA1 Message Date
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
Will Binns-Smith
73c48a8e6e
feat(preset-env/base): Implement more traits for BrowserData and Version (#5879)
**Description:**

This derives additional common traits for these public structs.
2022-09-16 01:04:13 +00:00
SWC Bot
52c17f3056 chore: Publish crates 2022-09-15 14:49:03 +00:00
Donny/강동윤
c3fa96b21b
fix(es/minifier): Fix unicode handling (#5875) 2022-09-15 14:45:33 +00:00
SWC Bot
5cf78b0213 chore: Publish crates 2022-09-15 13:20:59 +00:00
Donny/강동윤
0d492bfce1
test(es/modules): Add tests for jsc.paths (#5876)
**Description:**

Those issues were wrong.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/4890
 - Closes https://github.com/swc-project/swc/issues/5214
2022-09-15 13:17:48 +00:00
SWC Bot
dd2a7c1cd1 chore: Publish crates 2022-09-15 08:53:05 +00:00
Donny/강동윤
355bb41a1f
build(bindings): Remove cargo patch (#5874) 2022-09-15 08:49:23 +00:00
SWC Bot
69bf533571 chore: Publish crates 2022-09-15 07:03:50 +00:00
magic-akari
90d311c042
fix(es/minifier): Fix handling of .toFixed call without an argument (#5868) 2022-09-15 16:00:36 +09:00
SWC Bot
9f182c555c chore: Publish crates 2022-09-15 06:56:26 +00:00
Donny/강동윤
9ca3966686
chore(ci): Reduce CI time (#5870) 2022-09-15 06:53:09 +00:00
SWC Bot
1d633e8ba7 chore: Publish crates 2022-09-15 06:08:07 +00:00
Donny/강동윤
991a34e0c2
fix(es/minifier): Remove fake_block while calculating next scope (#5869)
**Description:**

We now remove `fake_block` mark from `with_ctx`.

**Related issue:**
 - Closes https://github.com/swc-project/swc/issues/5865
2022-09-15 06:04:47 +00:00
SWC Bot
ec8bb432b9 chore: Publish crates 2022-09-15 05:23:46 +00:00
OJ Kwon
092b7281d0
refactor(es/ast): Apply rkyv-bytecheck flag (#5866) 2022-09-15 05:20: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
SWC Bot
73ee9d6784 chore: Publish crates 2022-09-15 03:06:15 +00:00
magic-akari
006c7fb56e
fix(es/compat): Fix handling of objects in generator (#5861) 2022-09-15 12:02:48 +09:00
SWC Bot
b972c7a815 chore: Publish crates 2022-09-14 15:09:25 +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
55a4e18991 chore: Publish crates 2022-09-14 13:00:55 +00:00
Austaras
63fb0c4ad3
feat(es/minifier): Move assign with seq init into seq (#5847) 2022-09-14 12:57:18 +00:00
Donny/강동윤
f3e02675ad
chore: Update MSRV (#5856) 2022-09-14 19:33:49 +09:00
SWC Bot
03096ff072 chore: Publish crates 2022-09-14 10:22:06 +00:00
Donny/강동윤
c2f25c9998
chore(ci): FIx publish action (#5857) 2022-09-14 19:18:50 +09:00
Donny/강동윤
e9f4f4eb06
chore: Publish v1.3.1 (#5854) 2022-09-14 17:24:15 +09:00
SWC Bot
d35792f424 chore: Publish crates 2022-09-14 07:56:20 +00:00
Donny/강동윤
4cde553811
fix(es/ast): Revert #5798 (#5798) (#5855)
This reverts commit 37f42df877.
2022-09-14 16:52:46 +09:00
SWC Bot
8432c0a1ad chore: Publish crates 2022-09-14 07:19:24 +00:00
OJ Kwon
37f42df877
refactor(es/ast): Apply rkyv-bytecheck flag (#5798)
**Description:**

This PR updates ast* related package's rkyv bytecheck flags.
2022-09-14 16:16:18 +09:00
SWC Bot
0c24841274 chore: Publish crates 2022-09-14 06:54:54 +00:00
Donny/강동윤
32f18068ad
fix(es/minifier): Preserve more side effects (#5853)
**Description:**

We now preserve more side effects.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5680.
2022-09-14 06:51:56 +00:00
SWC Bot
0a56a2d5ab chore: Publish crates 2022-09-14 06:10:39 +00:00
magic-akari
2b2464271a
fix(es/codegen): Remove redundant ; after export default decl (#5851) 2022-09-14 06:07:15 +00:00
SWC Bot
ad4b0d200c chore: Publish crates 2022-09-14 05:05:55 +00:00
Donny/강동윤
a5f7b6946f
fix(es/minifier): Don't replace parameters of IIFE if it's recursive (#5852)
**Description:**

While investigating, I found that problem is not the analysis of recursive functions. Instead, it was a problem with the IIFE evaluator, which replaces parameters even if it's recursive.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5846
2022-09-14 05:02:14 +00:00
SWC Bot
9d5439281a chore: Publish crates 2022-09-14 03:03:29 +00:00