SWC Bot
7655aaa42a
chore: Publish crates
2023-05-11 14:02:24 +00:00
Donny/강동윤
166e77c2b3
chore(es): Enable tracing spans for release builds ( #7379 )
2023-05-11 13:59:53 +00:00
SWC Bot
65785bdf21
chore: Publish crates
2023-05-10 04:19:21 +00:00
Donny/강동윤
041b491466
feat(es/parser): Implement explicit resource management ( #7322 )
...
**Description:**
- Add `UsingDecl`.
- Add `UsingDecl` to `Decl`.
- Rename `VarDeclOrPat` to `ForHead`.
- Add `UsingDecl` to `ForHead`.
- Implement parser for using declarations.
**Related issue:**
- #7316 .
2023-05-10 04:16:44 +00:00
SWC Bot
6432e1f5c5
chore: Publish crates
2023-05-10 03:33:12 +00:00
Donny/강동윤
1dced17998
fix(es/minifier): Fix remapping of vars upon inlining ( #7362 )
...
**Related issue:**
- Closes #7331 .
2023-05-10 03:31:15 +00:00
SWC Bot
e1c9182e1c
chore: Publish crates
2023-05-09 05:47:00 +00:00
Donny/강동윤
97ec259144
feat(es/compat): Partially support auto accessors ( #7364 )
...
**Description:**
I'll create a follow-up PR for a full support for auto accessors.
**Related issue:**
- #7193 .
2023-05-09 05:45:16 +00:00
SWC Bot
d8a3310543
chore: Publish crates
2023-05-09 03:04:13 +00:00
Donny/강동윤
6399d450cc
chore: Publish v1.3.57
with swc_core
v0.75.46
( #7368 )
2023-05-09 12:02:09 +09:00
SWC Bot
7fc9b00443
chore: Publish crates
2023-05-08 03:40:27 +00:00
Donny/강동윤
9c052db796
feat(es/compat): Support export class
from stage 3 decorator pass ( #7363 )
...
**Related issue:**
- Closes #7358 .
2023-05-08 03:38:43 +00:00
SWC Bot
aef5ac4812
chore: Publish crates
2023-05-06 03:56:38 +00:00
OJ Kwon
d2c1f45f5a
feat(plugin): Enable bytecheck ( #7280 )
...
**Description:**
Second attempt to enable bytecheck. This PR does not have versioned struct yet, just enabling bytecheck wherever possible. Also, it is for the ast only yet, so transform metadata and others might need this later.
PR seems to be passing all the ci, but as we've experienced before, there might be some unexpected outcomes with the release. Maybe better to hold this until clear https://github.com/swc-project/swc/issues/7238 , then land as a separate release.
2023-05-06 03:54:25 +00:00
SWC Bot
b60a33001a
chore: Publish crates
2023-05-05 08:22:21 +00:00
Cong-Cong Pan
b180d09e1d
fix(xml/codegen): Escape <
and >
in child ( #7351 )
2023-05-05 08:20:09 +00:00
SWC Bot
5e595e7644
chore: Publish crates
2023-05-05 07:28:53 +00:00
OJ Kwon
4e278befcf
build(cargo): Update wasmer
to v3.3
( #7352 )
2023-05-05 07:26:38 +00:00
SWC Bot
e9f3371c5f
chore: Publish crates
2023-05-02 02:13:33 +00:00
Donny/강동윤
e0de83e862
fix(es/compat): Fix is_setter
in parameters
pass ( #7348 )
...
**Description:**
x-ref: https://vercel.slack.com/archives/C02HY34AKME/p1682667306929829
2023-05-02 02:11:42 +00:00
SWC Bot
11c1f2c7b3
chore: Publish crates
2023-04-30 12:45:00 +00:00
OJ Kwon
91a3fbe460
refactor(plugin/runner): Refine cache location ( #7346 )
2023-04-30 21:43:13 +09:00
Donny/강동윤
afe94b72e5
chore: Publish crates
2023-04-29 22:57:05 +09:00
Donny/강동윤
fee0ec4d01
chore: Publish v1.3.56
with swc_core
v0.75.41
( #7345 )
2023-04-29 22:56:07 +09:00
SWC Bot
4ad18beca3
chore: Publish crates
2023-04-29 13:48:25 +00:00
Donny/강동윤
d061d295ff
fix(es/typescript): Fix typescript strip pass ( #7342 )
...
**Related issue:**
- Reverts #7196 .
- https://github.com/vercel/turbo/issues/4747 .
2023-04-29 22:46:36 +09:00
SWC Bot
767284e27f
chore: Publish crates
2023-04-29 13:28:01 +00:00
magic-akari
985f0cad06
fix(es/parser): Parse decorators after export
( #7340 )
2023-04-29 22:26:13 +09:00
SWC Bot
b80ceaed03
chore: Publish crates
2023-04-29 13:21:14 +00:00
Donny/강동윤
246300ae25
feat(es/minifier): Drop expressions using sequential inliner ( #6936 )
2023-04-29 22:19:00 +09:00
SWC Bot
098b9387c1
chore: Publish crates
2023-04-29 13:00:37 +00:00
Donny/강동윤
d6999ba1ac
fix(plugin/runner): Revert #7341 ( #7344 )
...
**Description:**
This reverts commit 245163a778
.
2023-04-29 21:58:48 +09:00
SWC Bot
2c7f94f1ac
chore: Publish crates
2023-04-29 11:16:12 +00:00
OJ Kwon
245163a778
feat(plugin/runner): Improve caching ( #7341 )
...
**Description:**
Previously disabled cache (storing compiled module in memory) still doesn't work, so falling back to storing raw bytes and create new module each time. This is the same behavior to the wasm build's approach.
Also minor improved caching root to include more information. Previous rustc didn't seem to work unfortunately, so removed but instead using plugin_runner's version.
2023-04-29 11:14:21 +00:00
SWC Bot
e7911ee594
chore: Publish crates
2023-04-26 01:25:19 +00:00
Samuel Eisenhandler
7e99e5fd2c
fix(es/codegen): Emit type arguments for call expressions ( #7335 )
2023-04-26 01:23:13 +00:00
Donny/강동윤
1ecc4385b6
chore: Publish crates
2023-04-25 19:25:16 +09:00
Donny/강동윤
c67900278e
chore: Publish v1.3.55
with swc_core
v0.75.35
( #7332 )
2023-04-25 19:22:55 +09:00
SWC Bot
d67f9bfd75
chore: Publish crates
2023-04-25 10:06:32 +00:00
magic-akari
caee073935
feat(es/module): Add export_interop_annotation
flag ( #7330 )
...
**Related issue:**
- https://github.com/vercel/next.js/issues/48801
2023-04-25 10:04:28 +00:00
Donny/강동윤
c77f175ace
chore: Publish @swc/helpers@v0.5.1
2023-04-25 12:43:09 +09:00
magic-akari
84af85563f
fix(es/helpers): Add src/*.mjs
entry back ( #7328 )
...
**Related issue:**
- https://github.com/vercel/next.js/issues/48593
2023-04-25 12:41:39 +09:00
Donny/강동윤
897099b970
chore: Publish crates
2023-04-25 09:30:08 +09:00
Donny/강동윤
08b3dc0149
chore: Publish v1.3.54
with swc_core
v0.75.34
( #7327 )
2023-04-25 09:28:27 +09:00
SWC Bot
5f55e04c4d
chore: Publish crates
2023-04-24 15:01:16 +00:00
Donny/강동윤
603f22de76
test(es): Update tsc test suite ( #7323 )
2023-04-24 14:59:19 +00:00
SWC Bot
923ed13b6a
chore: Publish crates
2023-04-24 09:25:42 +00:00
OJ Kwon
577f81ec40
fix(common): Workaround the Arc
and rkyv
issue ( #7321 )
...
**Description:**
Attempt to workaround #7238 .
Originally I thought this is related with oom or memory layout, then realized actual deserialization error occurs in weird position - it tries to deserialize BytePos (which is obvious type) and it fails. It made me think maybe a property next to the struct layout have some unexpected behavior, notably Arc<String>.
PR applies same workaround as Atom does, and it seems to at least pass swc-coverage-instrument's usecases. May need bit more verification with other plugins to see if we can call this out as reliable workaround.
2023-04-24 09:23:31 +00:00
SWC Bot
51f3840609
chore: Publish crates
2023-04-24 05:25:39 +00:00
Fy
66b5b110bf
fix(es/compat): Transform curried function call with optional chaining ( #7313 )
...
**Related issue:**
- Closes #7312
2023-04-24 05:23:53 +00:00