Redfire
c2d1a6c9fe
chore(deps): Update base64
to v0.21
( #8369 )
2023-12-02 11:40:56 +00:00
SWC Bot
79966b9d26
chore: Publish 1.3.101-nightly-20231202.1
2023-12-02 00:06:52 +00:00
SWC Bot
98c47df37a
chore: Publish crates
2023-12-01 20:08:13 +00:00
David Sherret
1e8edb4769
chore(atoms): Evaluate .into()
in AtomStoreCell
eagerly ( #8363 )
...
**Related issue:**
- Closes #8362
2023-12-02 05:06:12 +09:00
SWC Bot
d0a885d358
chore: Publish 1.3.101-nightly-20231201.1
2023-12-01 00:07:48 +00:00
강동윤 (Donny)
d19de29937
chore: Publish crates
2023-11-30 14:16:00 +09:00
Donny/강동윤
02add74b73
chore: Publish v1.3.100
with swc_core
v0.86.84
( #8359 )
...
**Related issue:**
- Closes #8355
2023-11-30 14:14:46 +09:00
SWC Bot
60ebd11064
chore: Publish 1.3.100-nightly-20231130.1
2023-11-30 00:07:21 +00:00
SWC Bot
0845693536
chore: Publish crates
2023-11-29 14:11:49 +00:00
bohan
2cdea3fbea
fix(es/codegen): Wrap quote for length greater than one ( #8351 )
2023-11-29 14:09:44 +00:00
SWC Bot
655e95a24d
chore: Publish crates
2023-11-29 13:41:46 +00:00
magic-akari
ff719f0cdd
fix(es/fixer): Wrap yield expression in await expression ( #8357 )
...
**Related issue:**
- Closes #8356
2023-11-29 13:39:46 +00:00
SWC Bot
1853280f4f
chore: Publish crates
2023-11-29 02:43:33 +00:00
Donny/강동윤
55da0bb9dd
chore(css/linter): Document rules require porting ( #8352 )
2023-11-29 11:40:33 +09:00
SWC Bot
a87d50bb14
chore: Publish 1.3.100-nightly-20231129.1
2023-11-29 00:07:25 +00:00
SWC Bot
14dbece85a
chore: Publish 1.3.100-nightly-20231128.1
2023-11-28 00:07:09 +00:00
SWC Bot
ddddd20559
chore: Publish crates
2023-11-27 01:56:46 +00:00
Donny/강동윤
1891afa2ad
fix(es/codegen): Fix panic due to \\ud
( #8346 )
...
**Related issue:**
- Closes #8345
2023-11-27 01:54:45 +00:00
SWC Bot
6e63b95bac
chore: Publish 1.3.100-nightly-20231127.1
2023-11-27 00:07:00 +00:00
SWC Bot
e158c0e5a0
chore: Publish crates
2023-11-26 11:37:59 +00:00
Han Seung Min - 한승민
a423681df8
fix(es/parser): Fix conditional compilation ( #8343 )
...
**Description:**
`swc_ecma_parser` crate has a `typescript` feature which enables TS parsing, the `Syntax::Typescript` variant is behind the `typescript` feature, compiling without this feature fails as `Syntax::Typescript` is referenced at many places without `#[cfg(feature = "typescript")]`
2023-11-26 11:36:05 +00:00
SWC Bot
7e8b6c0f04
chore: Publish crates
2023-11-26 00:50:50 +00:00
Bin Xin
58568fa23b
fix(es/react): Make jsx with single spread child static ( #8339 )
...
**Description:**
Example:
```js
<h1>{...a}</h1>
```
Before:
```js
_jsx("h1", {
children: [
...a
]
})
```
After:
```js
_jsxs("h1", {
children: [
...a
]
})
```
Following the implementation in [Typescript](d4fbc9b57d/src/compiler/transformers/jsx.ts (L340)
), jsx with a single spread child should also be considered as static jsx.
Live examples:
[Typescript](https://www.typescriptlang.org/play?target=99&jsx=4#code/MYewdgzgLgBAhjAvDAPACwIwD4DeA6AgbQwCYBmAXQF8UB6TLAKCA )
[Esbuild](https://esbuild.github.io/try/#dAAwLjE5LjcAewogIGxvYWRlcjogJ2pzeCcsCiAganN4OiAnYXV0b21hdGljJywKfQA8ZGl2PnsuLi5bXX08L2Rpdj4 )
[SWC](https://play.swc.rs/?version=1.3.100-nightly-20231124.1&code=H4sIAAAAAAAAA0vOzysuUUhUsFWwSckss6vW09OLjq210QdxAHOBudocAAAA&config=H4sIAAAAAAAAA1WOMQrDMAxF95zCaO5QPPY2wijFIbaDJENL8N0rO2lJN%2F33kPT3yTlYJMDD7TZa2JCF%2BJeNyDsrvowAhYQSOG4Kt69dpCvlSoO0Q8BaipCJGVehkyljlrlwul5nwqAX0FHNGlPfBqxaEmoMcOr290WRn6Sjmvi796NWm9oHTYlQ69cAAAA%3D )
2023-11-26 00:48:51 +00:00
SWC Bot
0b2fd10833
chore: Publish 1.3.100-nightly-20231126.1
2023-11-26 00:07:32 +00:00
SWC Bot
ae6c30b221
chore: Publish crates
2023-11-25 02:45:12 +00:00
Austaras
ed5a9b3f2e
fix(es/minifier): Give up terminate merge if in try
with finally
( #8342 )
...
**Related issue:**
- Closes #8337 .
- Closes #8324 .
- Reverts #8328 .
2023-11-25 02:43:18 +00:00
SWC Bot
8e37eca0a5
chore: Publish 1.3.100-nightly-20231125.1
2023-11-25 00:06:53 +00:00
SWC Bot
48a5af1ecd
chore: Publish 1.3.100-nightly-20231124.1
2023-11-24 00:06:55 +00:00
SWC Bot
727ce04f89
chore: Publish crates
2023-11-23 11:22:29 +00:00
Redfire
13156157eb
build(cargo): Update vergen
to v8
( #8325 )
...
**Description:**
Updates `vergen` build dependency in `swc_core` to v8. This reduces the amount of dependency duplication. In my case in particular, it allows me to remove `syn` v1 from my [repository](https://github.com/redfire75369/spiderfire ).
2023-11-23 11:20:12 +00:00
SWC Bot
5d94418518
chore: Publish crates
2023-11-23 01:53:53 +00:00
Austaras
3dd73a3cd8
fix(es/renamer): Allow globalThis
to be shadowed ( #8327 )
...
**Related issue:**
- Closes #8317
2023-11-23 01:52:01 +00:00
SWC Bot
5ce4b368db
chore: Publish crates
2023-11-23 00:57:05 +00:00
Donny/강동윤
01e2c7fc5a
fix(es/minifier): Fix if_return
bug related to await
and yield
( #8328 )
...
**Related issue:**
- Closes #8324
2023-11-23 00:54:57 +00:00
SWC Bot
0004ce3f47
chore: Publish 1.3.100-nightly-20231123.1
2023-11-23 00:07:17 +00:00
SWC Bot
14cd8dda29
chore: Publish crates
2023-11-22 23:25:21 +00:00
magic-akari
8af6ffb1dd
fix(es/parser): Wrap with OptChain
across TsNonNull
( #8332 )
...
**Related issue:**
- Closes #8326 .
2023-11-23 08:23:30 +09:00
강동윤 (Donny)
7fd59b214e
chore: Remove node_modules
2023-11-23 08:03:29 +09:00
SWC Bot
185289775f
chore: Publish crates
2023-11-22 06:22:12 +00:00
Zak
91ef7c9415
fix(es/decorators): Resolve enum for design:returntype
( #8320 )
2023-11-22 06:20:11 +00:00
SWC Bot
c9c3e7d189
chore: Publish 1.3.100-nightly-20231122.1
2023-11-22 00:07:18 +00:00
SWC Bot
97d57f0e4f
chore: Publish crates
2023-11-21 09:21:47 +00:00
David Sherret
c25601dec2
fix(es/typescript): Handle shebang with jsx pragma ( #8318 )
...
**Description:**
This handles a shebang with a jsx prag. Previously `h` would be removed as an import in this case.
**Related issue:**
https://github.com/denoland/deno/issues/21258
2023-11-21 09:19:40 +00:00
강동윤 (Donny)
85350d31ae
chore: Publish v1.3.99
with swc_core
v0.86.73
2023-11-21 11:50:59 +09:00
강동윤 (Donny)
8ac47a370e
chore: Fix publish action
2023-11-21 11:50:27 +09:00
강동윤 (Donny)
23fdaf13f8
chore: Publish crates
2023-11-21 10:23:28 +09:00
Donny/강동윤
99ad5022d1
chore: Publish v1.3.98
with swc_core
v0.86.73
( #8321 )
2023-11-21 10:21:44 +09:00
SWC Bot
e23adc81c9
chore: Publish 1.3.98-nightly-20231121.1
2023-11-21 00:07:29 +00:00
SWC Bot
7cec0ac1a0
chore: Publish crates
2023-11-20 22:51:17 +00:00
Zzzen
51042e090d
fix(es/parsing): Fix parsing of type satisfies = 0;
( #8305 )
...
**Related issue:**
- Closes #8121
2023-11-20 22:49:15 +00:00