Austaras
7053bb16ce
fix(es/compat): Avoid reserved name for private method ( #8949 )
...
**Description:**
Following development should follow babel/babel#16261 to avoid separate `WeakMap` for each individual private method
**Related issue:**
- Closes #8948 .
2024-05-13 04:59:48 +00:00
SWC Bot
512559818f
chore: Bump crates
2024-05-13 01:13:59 +00:00
Donny/강동윤
3046d71daa
fix(es/minifier): Abort seq inliner on **
( #8947 )
...
**Related issue:**
- Closes #8942
2024-05-13 01:11:46 +00:00
SWC Bot
8baa0e579c
chore: Bump crates
2024-05-13 00:48:12 +00:00
Donny/강동윤
772c50fd76
fix(es/minifier): Fix evaluation of String.charCodeAt
( #8946 )
...
**Related issue:**
- Closes #8943
2024-05-13 00:46:29 +00:00
SWC Bot
94ed67e0d8
chore: Publish 1.5.6-nightly-20240511.1
2024-05-11 00:09:32 +00:00
SWC Bot
5673fceaf6
chore: Bump crates
2024-05-10 02:25:42 +00:00
Donny/강동윤
6362ff4ba8
fix(es/ast): Pin version of unicodes ( #8941 )
...
**Description:**
https://github.com/swc-project/swc/issues/8940#issuecomment-2102423586
> I found part of the problem:
>
> U+30FB was added to `ID_Continue` from Unicode version 14 to 15, but v8 is using an older version of unicode ... which I can't find the exact version.
>
> I spent 2 hours searching for all the missing pieces, I give up.
>
> Let me back port unicode version 14.
**Related issue:**
- Closes #8940
2024-05-10 11:23:52 +09:00
SWC Bot
6d7b99b482
chore: Bump crates
2024-05-09 06:56:14 +00:00
Austaras
5a3456c254
fix(es/minifier): Don't invoke IIFE containing reserved words ( #8939 )
...
**Description:**
`inline` and `seq inline` should apply this change too.
**Related issue:**
- Closes #8622
2024-05-09 06:54:25 +00:00
SWC Bot
1f01cd42bd
chore: Bump crates
2024-05-09 01:51:35 +00:00
Donny/강동윤
257afc92c9
fix(es/minifier): Abort inliner on mutation via property ( #8938 )
...
**Related issue:**
- Closes #8937
2024-05-09 10:49:41 +09:00
강동윤 (Donny)
94da124172
chore: Update changelog
2024-05-08 16:56:33 +09:00
강동윤 (Donny)
2f898b5eaf
chore: Publish 1.5.5
with swc_core
v0.92.2
2024-05-08 16:56:30 +09:00
SWC Bot
76393d9fd7
chore: Bump crates
2024-05-08 07:27:20 +00:00
Donny/강동윤
d4be383318
fix(es/minifier): Fix a bug about Tpl
=> Str
( #8934 )
...
**Description:**
I added the method to `swc_ecma_ast` to reuse it from plugins.
**Related issue:**
- Closes #8931
2024-05-08 07:25:32 +00:00
SWC Bot
2c27925f34
chore: Bump crates
2024-05-08 06:59:23 +00:00
Donny/강동윤
c536d2ad6f
fix(es/module): Resolve .jsx
imports fully ( #8936 )
...
**Related issue:**
- Closes #8935
2024-05-08 15:57:50 +09:00
SWC Bot
6021b47c25
chore: Bump crates
2024-05-08 01:39:43 +00:00
Donny/강동윤
c9d72cdc6a
fix(es/minifier): Fix operand handling of **
( #8933 )
...
**Related issue:**
- Closes #8924
2024-05-08 01:37:57 +00:00
SWC Bot
bd6873ece4
chore: Bump crates
2024-05-07 08:45:28 +00:00
Donny/강동윤
2405dc6ba0
fix(css/modules): Fix :global
selectors without preceding whitespace ( #8926 )
...
**Related issue:**
- Closes #8461
2024-05-07 08:43:41 +00:00
SWC Bot
a0c8e1fbec
chore: Bump crates
2024-05-07 06:20:59 +00:00
Austaras
8932a1b527
refactor(es/minifier): Remove unnecessary check ( #8927 )
2024-05-07 06:19:24 +00:00
SWC Bot
8654a34385
chore: Bump crates
2024-05-07 05:54:22 +00:00
Donny/강동윤
7014c63625
fix(css/modules): Allow any order of composes ( #8930 )
...
**Related issue:**
- Closes #8240
2024-05-07 05:52:49 +00:00
SWC Bot
ad1cc5f972
chore: Bump crates
2024-05-07 05:28:42 +00:00
Donny/강동윤
4d4a7a9bcb
fix(es/minifier): Consider side effects of operands of binary expressions ( #8929 )
...
**Related issue:**
- Closes #8923
2024-05-07 05:27:08 +00:00
SWC Bot
9bf57906c5
chore: Bump crates
2024-05-07 04:58:37 +00:00
Donny/강동윤
6b60bdb697
fix(es/fixer): Wrap class expressions in callee ( #8928 )
...
**Related issue:**
- Closes #8920
2024-05-07 04:57:05 +00:00
SWC Bot
f4685ab631
chore: Publish 1.5.5-nightly-20240507.1
2024-05-07 03:49:05 +00:00
SWC Bot
431b7306b8
chore: Bump crates
2024-05-07 03:17:29 +00:00
Donny/강동윤
aca6a77903
fix(es/minifier): Respect module: false
( #8925 )
...
**Description:**
Tests are modified because I enabled script detection for the fixture test suite.
**Related issue:**
- Closes #8909
2024-05-07 12:15:47 +09:00
강동윤 (Donny)
3180a86ee2
chore: Update issue template
2024-05-07 10:11:55 +09:00
강동윤 (Donny)
110daf9877
chore: Update changelog
2024-05-06 21:25:17 +09:00
강동윤 (Donny)
0a6dbee9b1
chore: Publish 1.5.4
with swc_core
v0.91.4
2024-05-06 21:25:14 +09:00
SWC Bot
d32f2d2936
chore: Publish 1.5.3-nightly-20240506.1
2024-05-06 00:07:28 +00:00
SWC Bot
c1115a2ebb
chore: Bump crates
2024-05-05 01:35:34 +00:00
Donny/강동윤
762b0d4477
fix(es/proposal): Fix scoping of explicit resource management pass ( #8903 )
...
**Related issue:**
- Closes #8895
2024-05-05 01:33:54 +00:00
SWC Bot
225d25a015
chore: Bump crates
2024-05-05 01:10:06 +00:00
Kenta Moriuchi
f1c2550d89
chore(bindings): Update types ( #8912 )
2024-05-05 01:08:20 +00:00
SWC Bot
a9bab833ba
chore: Bump crates
2024-05-01 00:36:57 +00:00
magic-akari
af96e396de
fix(es/decorators): Handle ref of decorated class ( #8905 )
...
**Related issue:**
Follow up #8515
- Ts Decorator does not always return a class; we need to give it the correct reference.
2024-05-01 00:35:17 +00:00
SWC Bot
9db8cdbfe3
chore: Publish 1.5.3-nightly-20240501.1
2024-05-01 00:06:54 +00:00
SWC Bot
9ec9459b16
chore: Bump crates
2024-04-30 07:55:10 +00:00
Donny/강동윤
86e2bb04ac
fix(es/minifier): Increment ref_count
while invoking IIFE ( #8904 )
...
**Related issue:**
- Closes #8880
2024-04-30 09:11:23 +09:00
SWC Bot
579a1de6b2
chore: Publish 1.5.3-nightly-20240429.2
2024-04-29 02:22:43 +00:00
SWC Bot
04de5073bc
chore: Publish 1.5.3-nightly-20240429.1
2024-04-29 01:53:31 +00:00
SWC Bot
9fdb38549e
chore: Bump crates
2024-04-29 01:24:16 +00:00
LongYinan
65ea99ec6f
chore(ci): Fix macOS x64 build & publish job ( #8901 )
...
`macos-latest` runner was upgraded to `macos-14-arm64`. We need to add `--target x86_64-apple-darwin` explicitly
- Closes https://github.com/swc-project/swc/issues/8898
2024-04-29 10:22:32 +09:00