Commit Graph

7189 Commits

Author SHA1 Message Date
SWC Bot
d4782ee526 chore: Publish crates 2023-04-12 11:46:53 +00:00
magic-akari
2e947e7aeb
fix(es/compat): Handle export function in reserved_word (#7251) 2023-04-12 11:44:49 +00:00
SWC Bot
f31f67c7fb chore: Publish crates 2023-04-11 07:05:27 +00:00
Donny/강동윤
e35097fd8c
fix(es/codegen): Respect ascii_only for identifiers (#7247)
**Related issue:**

 - https://github.com/swc-project/swc/issues/7240.
2023-04-11 07:03:19 +00:00
SWC Bot
33ff2ba7c4 chore: Publish crates 2023-04-11 04:50:23 +00:00
Donny/강동윤
559d1202bc
feat(es/minifier): Support PURE comment of seq exprs (#7245)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7241.
2023-04-11 04:48:11 +00:00
SWC Bot
a0e193d177 chore: Publish crates 2023-04-11 03:47:41 +00:00
Donny/강동윤
70b86dbe37
refactor(plugin/runner): Fix clippy warnings (#7244) 2023-04-11 03:45:49 +00:00
SWC Bot
80e125a386 chore: Publish crates 2023-04-11 02:13:17 +00:00
David Sherret
6614886192
fix(es/parser): Parse const type parameters in arrow function expressions (#7242) 2023-04-11 02:11:04 +00:00
SWC Bot
2a662350e6 chore: Publish crates 2023-04-10 10:47:52 +00:00
Donny/강동윤
01db30f91e
fix(es/parser): Reset ctx for cond while parsing a stmt (#7232) 2023-04-10 10:45:49 +00:00
SWC Bot
c06690ec9c chore: Publish crates 2023-04-10 09:31:19 +00:00
Yukang
c6659183a6
fix(es): Fix a crash related to an empty source map (#7229) 2023-04-10 09:28:15 +00:00
SWC Bot
ab9e793fa8 chore: Publish crates 2023-04-10 08:48:13 +00:00
Yukang
b1c40a411f
fix(es/parser): Use a hard error for missing r-paren in an if stmt (#7223)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7104.
2023-04-10 08:46:01 +00:00
SWC Bot
0fe90881b5 chore: Publish crates 2023-04-10 07:03:43 +00:00
Donny/강동윤
695ce060e9
test(es/plugin): Enable E2E test again (#7236) 2023-04-10 07:01:56 +00:00
Donny/강동윤
a24f3554ce chore: Publish crates 2023-04-10 14:04:04 +09:00
Donny/강동윤
1cc60084a2 chore: Publish v1.3.49 with swc_core v0.75.1 2023-04-10 13:59:00 +09:00
SWC Bot
8741fdb126 chore: Publish crates 2023-04-10 04:55:59 +00:00
Donny/강동윤
b868ed02a3
refactor(plugin/runner): Fix publish action (#7234) 2023-04-10 13:54:08 +09:00
Donny/강동윤
bc676e9f0f chore: Publish crates 2023-04-10 13:14:30 +09:00
Donny/강동윤
e12a44346c
chore: Publish v1.3.48 with swc_core v0.75.0 (#7233) 2023-04-10 13:13:46 +09:00
SWC Bot
2204b7809b chore: Publish crates 2023-04-10 03:42:39 +00:00
OJ Kwon
56bdacc72d
feat(plugin/runner): Update wasmer to v3 (#7197)
**Description:**

This PR reattempts https://github.com/swc-project/swc/pull/5456.

Most of the changes are for the breaking changes of wasmer@3, as well as enabling rkyv's strict mode (https://github.com/swc-project/swc/pull/6922). This could not be seperated since wasmer@3 enables strict mode by default without a way to turn it off.

There are a couple of changes worth noting:

- Disabling in-memory module lookup: https://github.com/swc-project/swc/pull/7197/files#diff-3bda5def6ce2b7553c3b3a5ad241c0bdb7021e67b7de1e594df4cd5a54d403b3R154-R159
- Disabling plugin_runner in bindings_wasm: https://github.com/swc-project/swc/pull/7197/files#diff-dc3ded556a1fd709a129acd588e5eda651b842c6acc3f5340d40088a1f927facR310-R312
- Skipping plugin compat test: https://github.com/swc-project/swc/pull/7197/files#diff-531197dfcefba05faca53f0cf442ecc2dc6b59d5ead01979f5ffb912aa36249aR64-R66
2023-04-10 03:40:25 +00:00
Donny/강동윤
e116fedd22 chore: Publish crates 2023-04-10 11:55:00 +09:00
Donny/강동윤
df69abc3d1
chore: Publish v1.3.47 with swc_core v0.74.6 (#7231) 2023-04-10 11:54:14 +09:00
SWC Bot
bb80c659b3 chore: Publish crates 2023-04-07 01:46:34 +00:00
Donny/강동윤
e241201bf7
fix(es/testing): Ensure that we call fold_program (#7222) 2023-04-07 01:44:50 +00:00
SWC Bot
68751600ae chore: Publish crates 2023-04-06 14:47:27 +00:00
Donny/강동윤
a7a53c6208
feat(es): Expose stage 3 decorator (#7220) 2023-04-06 14:45:21 +00:00
SWC Bot
4b9cfbb4dd chore: Publish crates 2023-04-06 13:48:37 +00:00
Donny/강동윤
f5c62fbbf8
fix(es/compat): Fix finally handling of generator (#7215)
**Description:**

Update generator implementation to match
e83d61398e/src/compiler/transformers/generators.ts

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5913.
2023-04-06 09:37:21 +00:00
SWC Bot
150e54dc3a chore: Publish crates 2023-04-06 08:56:53 +00:00
magic-akari
29bf1760be
fix(es/typescript): Fix computation of enum bits (#7219)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7218.
2023-04-06 08:54:59 +00:00
SWC Bot
352aa7a3ea chore: Publish crates 2023-04-06 05:30:13 +00:00
Niklas Mischkulnig
e86d59882a
fix(bindings/node): Make peer dependency of helpers optional (#7216)
**Description:**

Mark the `@swc/helpers` dependency of `@swc/core` as optional.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7212.
2023-04-06 14:28:08 +09:00
SWC Bot
c6b28f91cc chore: Publish crates 2023-04-05 05:17:51 +00:00
Donny/강동윤
3f61638cbf
refactor(macros/ast-node): Drop darling to reduce compile time (#7214) 2023-04-05 05:15:50 +00:00
SWC Bot
a22a8a70ed chore: Publish crates 2023-04-05 04:37:50 +00:00
Donny/강동윤
73bc29eeb0
fix(es/minifier): Don't remove used var decl (#7200)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7194.
2023-04-05 04:35:37 +00:00
SWC Bot
eb127df8cc chore: Publish crates 2023-04-04 10:29:29 +00:00
Donny/강동윤
9ae13a1d9e
chore: Publish v1.3.46 with fixed peerDependency (#7206) 2023-04-04 19:27:43 +09:00
Donny/강동윤
b7d9fc5535 chore: Publish @swc/helpers@v0.5.0 2023-04-04 14:47:19 +09:00
Donny/강동윤
5aee7abfc6 chore: Publish crates 2023-04-04 14:46:04 +09:00
Donny/강동윤
a282f507e3
chore: Publish v1.3.45 with swc_core v0.74.0 (#7201) 2023-04-04 14:44:58 +09:00
SWC Bot
c8fca9a054 chore: Publish crates 2023-04-04 03:07:51 +00:00
magic-akari
a13a78e3fe
feat(es/helpers): Use named export and unify import path (#7182)
**BREAKING CHANGE:**

Breaking changes for `@swc/helpers`. A new major version `0.5.0` is required.


**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7157
2023-04-04 03:05:47 +00:00
SWC Bot
06bacca90c chore: Publish crates 2023-04-04 02:24:40 +00:00