Commit Graph

7109 Commits

Author SHA1 Message Date
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
Adam Jahn
bfe654438f
fix(swc_core): Fix a feature name (#7198) 2023-04-04 02:22:47 +00:00
SWC Bot
ad7daddeb8 chore: Publish crates 2023-04-04 01:50:35 +00:00
HeYunfei
ddfbc93624
fix(es/typescript): Mark A as a type in export { type A } (#7196) 2023-04-04 01:47:58 +00:00
SWC Bot
ae2362e97b chore: Publish crates 2023-04-03 08:15:39 +00:00
Donny/강동윤
7a863ad18f
feat(es/compat): Implement stage 3 decorator, without auto accessor (#6950) 2023-04-03 08:13:12 +00:00
SWC Bot
a679dbe9aa chore: Publish crates 2023-04-02 22:16:24 +00:00
Marvin Hagemeister
414e66910d
fix(es/parser): Fix infinite loop on jsx in js (#7191) 2023-04-02 22:14:29 +00:00
SWC Bot
48843455fa chore: Publish crates 2023-04-02 03:49:33 +00:00
limerick
3e6a1869e8
fix(es): Allow missing .map file (#7141) 2023-04-02 03:47:39 +00:00
SWC Bot
f73f96dd94 chore: Publish crates 2023-04-02 00:24:57 +00:00
OJ Kwon
976667f7d9
feat(plugin/runner): Improve cache path (#7188)
**Description:**

This PR is minor improvement, non breaking changes to cache path for the plugin. In short, it tries to combine rustc version if available to expand. `option_env!` supposed to embed build time rustc version. It'd be ideal if we could match between plugin's as well, but I doubt if we could before actually load plugin.
2023-04-02 00:22:58 +00:00
SWC Bot
fa153348c9 chore: Publish crates 2023-04-01 06:17:38 +00:00
Donny/강동윤
df7b4e71d2
feat(css/modules): Preserve spans of CSS class names (#7185)
**Description:**

x-ref: https://vercel.slack.com/archives/D03JF6EG45S/p1680280923015879
2023-04-01 06:15:25 +00:00
SWC Bot
b7366fd5ce chore: Publish crates 2023-04-01 05:42:08 +00:00
magic-akari
98f14931e7
fix(es/modules): Hint nodejs for multiple export * (#7184) 2023-04-01 05:40:25 +00:00
SWC Bot
b94fbed4c9 chore: Publish crates 2023-03-31 06:17:53 +00:00
magic-akari
3ca954b9f9
fix(es/helpers): Use snake_case for helpers (#7147)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7144.
 - Closes https://github.com/swc-project/swc/issues/7118.
2023-03-31 15:15:21 +09:00
SWC Bot
d61e84c5ce chore: Publish crates 2023-03-31 04:03:04 +00:00
Donny/강동윤
a785f18740
test(es/plugin): Enable E2E plugin test (#7178) 2023-03-31 04:01:17 +00:00
SWC Bot
7d69b79a9e chore: Publish crates 2023-03-31 03:23:35 +00:00
magic-akari
0a80e0506b
fix(es/compat): Handle shorthand object prop while renaming (#7176)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7174.
2023-03-31 03:21:39 +00:00
Donny/강동윤
a1b7e1358a chore: Publish crates 2023-03-30 17:59:01 +09:00
Donny/강동윤
dd48918417
chore: Publish v1.3.44 with swc_core v0.72.6 (#7172) 2023-03-30 17:58:06 +09:00
SWC Bot
bf1e55d27b chore: Publish crates 2023-03-30 08:48:31 +00:00
magic-akari
23fb8c5563
fix(es/compat): Fix the position for temp var injection (#7171) 2023-03-30 17:41:55 +09:00
SWC Bot
6a015550ba chore: Publish crates 2023-03-30 08:40:29 +00:00
magic-akari
065d11cb9b
fix(es/compat): Handle import/export in reserved_word (#7165) 2023-03-30 17:38:35 +09:00
SWC Bot
b1fb6b655f chore: Publish crates 2023-03-30 08:08:20 +00:00
Donny/강동윤
0259a7465f
build(cargo): Update rustc to nightly-2023-03-20 (#7170)
**Description:**

This PR also updates `rkyv` to `=0.7.40`.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6807.
2023-03-30 08:06:02 +00:00
SWC Bot
44062d6fa5 chore: Publish crates 2023-03-29 08:50:54 +00:00