Donny/강동윤
a1c5415b3b
feat(es/transforms): Allocate stacks dynamically ( #8867 )
...
**Description:**
- This PR introduces an in-tree testing system for Deno.
- This PR adds `stacker` cargo-feature to `swc_ecma_utils`.
**Related issue:**
- #1627
- Closes #8840
2024-04-16 19:43:58 +09:00
Donny/강동윤
740c0bb00a
fix(es/minifier): Remove raw
of strings after modification ( #8865 )
...
**Related issue:**
- Closes #8864
2024-04-16 04:39:54 +00:00
David E Disch
df2e056f29
refactor(es/minifier): Remove mangle.safari10
( #8857 )
...
**Related issue:**
- Closes #8837
2024-04-16 03:05:43 +00:00
SWC Bot
0af201043a
chore: Bump crates
2024-04-16 02:24:47 +00:00
Donny/강동윤
ca9c76b46f
build(cargo): Update rustc to nightly-2024-04-03
( #8821 )
2024-04-16 02:20:47 +00:00
Austaras
f6ba92b033
fix(es/resolver): Correctly check strict mode ( #8851 )
...
**Related issue:**
- Closes #8842
2024-04-13 02:38:10 +00:00
magic-akari
7a89e5da3b
fix(es/minifier): Handle switch cases ( #8854 )
...
**Related issue:**
- Closes #8813
2024-04-13 02:11:32 +00:00
Austaras
a7a32c4b6c
fix(es/utils): Preserve optional chain effect ( #8850 )
...
**Related issue:**
- Closes #8844
2024-04-12 08:33:01 +00:00
SWC Bot
487992d9fa
chore: Bump crates
2024-04-09 06:24:27 +00:00
Donny/강동윤
ebb68db24d
fix(es/minifier): Abort IIFE invoker in function parameters ( #8828 )
...
**Related issue:**
- Closes #8826
2024-04-09 15:22:38 +09:00
SWC Bot
1871a76534
chore: Bump crates
2024-04-05 00:04:37 +00:00
Donny/강동윤
811308c352
fix(es/minifier): Respect top_retain
for top-level functions ( #8814 )
2024-04-05 00:02:51 +00:00
Donny/강동윤
47714c52ce
feat(es/minifier): Evaluate spread of arrays ( #8811 )
...
**Related issue:**
- Closes #8808
2024-04-04 06:56:29 +00:00
Donny/강동윤
730ded2a26
fix(es/minifier): Abort fn inliner if there's a spread arg ( #8809 )
...
**Description:**
**Related issue:**
- Closes #8806
2024-04-04 15:24:31 +09:00
SWC Bot
d1eb7b8136
chore: Bump crates
2024-04-04 06:12:30 +00:00
Donny/강동윤
207582ff25
chore(deps): Update dependencies ( #8810 )
2024-04-04 15:07:49 +09:00
SWC Bot
cd06af3ef7
chore: Bump crates
2024-03-26 03:56:14 +00:00
Donny/강동윤
e7bca10142
fix(es/minifier): Fix tpl-to-string conversion ( #8778 )
...
**Related issue:**
- Closes #8773
2024-03-26 03:54:35 +00:00
Donny/강동윤
9f98a7026d
fix(es/minifier): Abort eval on valueOf
or toString
( #8763 )
...
**Related issue:**
- Closes #8704
- Closes #8705
2024-03-20 02:35:24 +00:00
SWC Bot
82d1b8e49a
chore: Bump crates
2024-03-17 13:04:54 +00:00
SWC Bot
31ecd2a6c1
chore: Bump crates
2024-03-14 01:32:37 +00:00
SWC Bot
6e672aaf9a
chore: Bump crates
2024-03-13 03:08:09 +00:00
SWC Bot
8a5163ce5d
chore: Bump crates
2024-03-13 02:23:10 +00:00
Donny/강동윤
95761b76bf
fix(es/minifier): Make Finalizer
handle hoisted_props
correctly ( #8738 )
...
**Related issue:**
- Closes #8737
2024-03-13 02:21:15 +00:00
Donny/강동윤
312f0d8427
fix(es/minifier): Fix removal of array pattern bindings ( #8730 )
...
**Related issue:**
- Closes #8670
2024-03-12 06:24:36 +00:00
SWC Bot
e46dd5a208
chore: Bump crates
2024-03-12 06:00:28 +00:00
Donny/강동윤
aa0154d2d8
fix(es/minifier): Fix evaluation of array literals with void 0
( #8733 )
...
**Related issue:**
- Closes #8706
2024-03-12 14:58:52 +09:00
Donny/강동윤
102241b812
fix(es/minifier): Handle cyclic references while dropping unused properties ( #8725 )
...
**Related issue:**
- Closes #8714
2024-03-11 07:59:22 +00:00
Donny/강동윤
23f9635d2c
fix(es/minifier): Do not evaluate slice
calls with negative index ( #8726 )
...
**Related issue:**
- Closes #8715 .
2024-03-11 06:52:57 +00:00
Donny/강동윤
f3fbd9d549
fix(es/minifier): Fix eval of toString
of array with holes ( #8727 )
...
**Related issue:**
- Closes #8717 .
2024-03-11 04:56:31 +00:00
SWC Bot
2ff26e05d2
chore: Bump crates
2024-03-11 04:29:01 +00:00
SWC Bot
1f65271b72
chore: Bump crates
2024-03-07 07:20:05 +00:00
Donny/강동윤
606921700e
fix(es/minifier): Do not drop used properties ( #8703 )
...
**Related issue:**
- Closes #8692
2024-03-07 07:18:26 +00:00
SWC Bot
90aaabaf15
chore: Bump crates
2024-03-06 04:41:56 +00:00
SWC Bot
98aa9824d5
chore: Bump crates
2024-03-04 10:08:47 +00:00
SWC Bot
7a5c7df195
chore: Bump crates
2024-03-04 07:48:09 +00:00
SWC Bot
5ae0a2f858
chore: Bump crates
2024-03-04 01:49:57 +00:00
SWC Bot
5dc40d347b
chore: Bump crates
2024-03-02 10:24:52 +00:00
SWC Bot
1603569a75
chore: Bump crates
2024-02-26 02:49:45 +00:00
xc2
e1791340cd
fix(es/codegen): Fix replacement when inline_script
is on ( #8659 )
...
**Description:**
The replacements for `inline_script` might be with mistake
40682c8d1f/crates/swc_ecma_codegen/src/lib.rs (L649)
which in terser is:
![image](https://github.com/swc-project/swc/assets/18117084/e843e125-c001-44d1-9572-15bec355a34e )
0ef05847fa/lib/output.js (L414)
**Related issue:**
https://github.com/web-infra-dev/rspack/issues/5757
2024-02-26 02:48:06 +00:00
SWC Bot
4154cfa8cb
chore: Bump crates
2024-02-23 00:15:59 +00:00
SWC Bot
7c5113b6a9
chore: Bump crates
2024-02-22 02:56:23 +00:00
SWC Bot
359ae7a16a
chore: Bump crates
2024-02-21 10:22:20 +00:00
magic-akari
3bf3a62505
doc(es/minifier): Update examples code ( #8652 )
...
**Related issue:**
- Closes #8651
The core logic of SWC is correct, but there are incorrect code examples in our code repository.
2024-02-21 02:11:19 +00:00
SWC Bot
5cab610db1
chore: Bump crates
2024-02-20 01:27:25 +00:00
SWC Bot
463cd3bf4c
chore: Bump crates
2024-02-20 00:55:31 +00:00
Donny/강동윤
97153206ad
fix(es/minifier): Abort property hoister on this
usage ( #8647 )
...
**Related issue:**
- Closes #8643
2024-02-19 13:09:15 +09:00
SWC Bot
d7434beaf8
chore: Bump crates
2024-02-19 03:15:59 +00:00
SWC Bot
84c05b5eec
chore: Bump crates
2024-02-14 03:23:28 +00:00
SWC Bot
cb95f0478c
chore: Bump crates
2024-02-14 02:41:18 +00:00