Commit Graph

171 Commits

Author SHA1 Message Date
SWC Bot
2816bd36e1 chore: Publish crates 2024-07-25 03:44:26 +00:00
magic-akari
56da6be0e9
fix(es/ast): Accept any case of EsVersion during deserialization (#9329)
**Related issue:**

- Closes #9287
2024-07-25 12:41:45 +09:00
harpsealjs
75bc7bfb52
fix(swc_core): Remove unused preset_env (#9333)
**Description:**

While upgrading to 0.99.4, we encounter a compile error with the
`ecma_preset_env` feature on `swc_core`. Seems that the preset_env_base
package is not a dependency of
[swc_core](95af17ff91/crates/swc_core/Cargo.toml (L336-L387))

[Repro](https://github.com/LingyuCoder/swc-ecma-preset-env-error)
2024-07-25 12:40:32 +09:00
magic-akari
57146cf58a
fix(es/typescrupt): Fix ASI issue in fast ts strip (#9332)
**Related issue:**

- Closes https://github.com/swc-project/swc/issues/9331
2024-07-25 11:45:23 +09:00
SWC Bot
1ce1862b8d chore: Publish crates 2024-07-24 04:42:44 +00:00
Donny/강동윤
4d60f528d1
fix(es/typescript): Preserve type assertions (#9328)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9295
2024-07-24 13:07:39 +09:00
SWC Bot
98003c8652 chore: Publish crates 2024-07-24 02:01:59 +00:00
Daniil Suvorov
831500e24a
chore(deps): Drop atty (#9325)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2024-07-24 09:28:40 +09:00
SWC Bot
021870b247 chore: Publish crates 2024-07-23 07:56:39 +00:00
Donny/강동윤
a120faf84b
chore(deps): Update wasmer to fix broken Windows build (#9322) 2024-07-23 07:27:25 +00:00
Donny/강동윤
8107e985e1
perf(es/helpers): Use bool instead of AtomicBool (#9321)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9222
2024-07-23 15:47:17 +09:00
Donny/강동윤
279ea910e0
build: Update rustc to nightly-2024-07-21 (#9319) 2024-07-23 05:31:35 +00:00
SWC Bot
c9dbb8068d chore: Publish crates 2024-07-22 07:56:19 +00:00
Donny/강동윤
bdaaf47cb4
fix(es/utils): Use $crate for quote_ident!() (#9309)
**Related issue:**

  - Closes https://github.com/swc-project/swc/issues/9299
2024-07-22 16:48:13 +09:00
강동윤 (Donny)
4b7616f8a9 chore: Publish crates 2024-07-21 21:22:19 +09:00
Donny/강동윤
0b3dbb8937
perf(visit): Add #[inline] (#9302)
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
2024-07-21 07:11:00 +09:00
Donny/강동윤
07376c6fbb
perf(es/codegen): Optimize using swc_allocator (#9294)
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
2024-07-20 03:05:08 +09:00
David Sherret
2b324812ac
fix(es/ast): Make span of binding ident include type ann (#9293)
**Description:**

The binding ident includes a type ann and should have the type ann in it.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9290
2024-07-19 17:08:02 +00:00
Donny/강동윤
ae2ac05b94
perf(visit): Modify Box and Vec in-place (#9291) 2024-07-19 16:28:28 +00:00
Donny/강동윤
c1cd0b99c1
perf(es/codegen): Use Vec<T> from swc_allocator (#9280)
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
2024-07-19 10:27:32 +00:00
Donny/강동윤
6afa40b7b4
chore(ci): Integrate changeset (#9284)
**Description:**

@swc-bot works, but as it works by creating a commit after merging each PR, it makes reading commit log harder and it causes problems with caching in CI.

Changeset itself does not support managing Rust crates, but there's a crate for this purpose.
2024-07-19 18:44:43 +09:00