Commit Graph

584 Commits

Author SHA1 Message Date
SWC Bot
3d87fe04c8 chore: Publish 1.9.1 with swc_core v5.0.1 2024-11-06 13:32:05 +00:00
SWC Bot
bc360b2901 chore: Publish 1.9.1-nightly-20241106.1 with swc_core v5.0.1 2024-11-06 12:39:16 +00:00
SWC Bot
0d80301c4b chore: Publish 1.9.0 with swc_core v5.0.0 2024-11-06 10:56:51 +00:00
SWC Bot
2180f7c72d chore: Publish 1.9.0-nightly-20241106.1 with swc_core v5.0.0 2024-11-06 10:03:43 +00:00
SWC Bot
4d811e4c29 chore: Publish 1.8.0 with swc_core v4.0.3 2024-11-04 02:42:20 +00:00
SWC Bot
801e044061 chore: Publish 1.8.0-nightly-20241104.1 with swc_core v4.0.3 2024-11-04 01:49:28 +00:00
Donny/강동윤
5a6f0e644e
feat(es): Add es2023 and es2024 to EsVersion (#9700) 2024-11-01 15:34:08 +09:00
SWC Bot
f770a54cca chore: Publish 1.7.42 with swc_core v3.0.2 2024-10-31 04:00:04 +00:00
SWC Bot
08660d8da9 chore: Publish 1.7.42-nightly-20241031.1 with swc_core v3.0.2 2024-10-31 03:07:33 +00:00
SWC Bot
9131b4dc6a chore: Publish 1.7.41-nightly-20241031.1 with swc_core v3.0.2 2024-10-31 01:46:51 +00:00
Donny/강동윤
4b4dcfa4d8
fix(es/types): Add jsc.experimental.keepImportAssertions to types (#9691)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9687
2024-10-30 17:57:16 +09:00
Donny/강동윤
581aafb4df
perf(visit): Introduce Pass API and adjust visitor APIs for it (#9680)
**Description:**

 - `Pass`: `FnMut(&mut Program)`.

**Breaking Changes:**

- `chain!`: Use a tuple instead. You can replace all `chain!(` with `(` with IDE feature and it will work.
- `chain!` with 13 or more args: Use nested tuples for items after 13th element.


**Related issue:**

 - Related to https://github.com/swc-project/swc/issues/9601
2024-10-29 11:25:16 +09:00
SWC Bot
75e237b31a chore: Publish 1.7.40 with swc_core v1.0.6 2024-10-26 09:47:07 +00:00
SWC Bot
a5ea3271ee chore: Publish 1.7.40-nightly-20241026.1 with swc_core v1.0.6 2024-10-26 08:50:07 +00:00
James Zhan
715c42c0bf
fix(bindings/node): Add VisitTsPropertySignature (#9670)
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 / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
Publish crates (auto) / Publish cargo crates (push) Waiting to run
**Description:**

As per PR #8955

> TsPropertySignature can not have params, type params, or an initializer.

This PR cleans up these fields from ts definition and visitor
2024-10-24 16:35:35 +09:00
SWC Bot
530ba3a9ab chore: Publish 1.7.39 with swc_core v1.0.4 2024-10-22 02:54:34 +00:00
SWC Bot
55e1996f89 chore: Publish 1.7.39-nightly-20241022.1 with swc_core v1.0.4
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
Publish crates (auto) / Publish cargo crates (push) Waiting to run
2024-10-22 01:38:57 +00:00
SWC Bot
82c6059121 chore: Publish 1.7.38-nightly-20241021.1 with swc_core v1.0.4
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
Publish crates (auto) / Publish cargo crates (push) Waiting to run
2024-10-21 08:18:14 +00:00
SWC Bot
c9b81917c7 chore: Publish 1.7.37-nightly-20241021.1 with swc_core v1.0.4 2024-10-21 03:58:13 +00:00
Donny/강동윤
f735108017
fix(es/proposal): Use tsc version of explicit resource management (#9585)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9576
2024-10-17 05:51:43 +00:00
SWC Bot
2407b4f397 chore: Publish 1.7.36 with swc_core v1.0.1 2024-10-15 15:23:59 +00:00
SWC Bot
3ea96ec968 chore: Publish 1.7.36-nightly-20241015.1 with swc_core v1.0.1 2024-10-15 14:26:15 +00:00
Donny/강동윤
3d3e4340b3
feat(es): Introduce runPluginFirst for Wasm plugins (#9645)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9132
2024-10-15 23:13:02 +09:00
SWC Bot
c13e1f9631 chore: Publish 1.7.35 with swc_core v0.109.1 2024-10-10 08:29:06 +00:00
SWC Bot
9d7bc2a4fd chore: Publish 1.7.35-nightly-20241010.1 with swc_core v0.109.1 2024-10-10 07:32:08 +00:00
강동윤 (Donny)
f011238e20 chore(ci): Remove duplicate in target triples 2024-10-10 16:24:12 +09:00
SWC Bot
6a6b970284 chore: Publish 1.7.34-nightly-20241010.1 with swc_core v0.109.1 2024-10-10 07:04:05 +00:00
SWC Bot
eb0941ba55 chore: Publish 1.7.33-nightly-20241010.3 with swc_core v0.109.1 2024-10-10 06:36:00 +00:00
강동윤 (Donny)
5ad2deda16 chore(ci): Fix target triples 2024-10-10 15:28:38 +09:00
SWC Bot
f49cbc1fd4 chore: Publish 1.7.33-nightly-20241010.2 with swc_core v0.109.1 2024-10-10 06:07:50 +00:00
강동윤 (Donny)
8908fd2603 chore(ci): Fix target triples 2024-10-10 15:00:19 +09:00
SWC Bot
6f8ac9dff9 chore: Publish 1.7.33-nightly-20241010.1 with swc_core v0.109.1 2024-10-10 05:38:31 +00:00
SWC Bot
e2fe50bf6c chore: Publish 1.7.31-nightly-20241008.2 with swc_core v0.109.0 2024-10-08 09:00:24 +00:00
Donny/강동윤
62edb3628b
feat(bindings/html): Accept Buffer|string instead of Buffer (#9625) 2024-10-08 15:35:55 +09:00
Donny/강동윤
f625035f8a
fix(ci): Fix target triples (#9622)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9609
2024-10-08 13:45:11 +09:00
SWC Bot
3fb5bf8be4 chore: Publish 1.7.31-nightly-20241008.1 with swc_core v0.108.0 2024-10-08 03:54:26 +00:00
SWC Bot
3a317fd151 chore: Publish 1.7.30-nightly-20241008.1 with swc_core v0.108.0 2024-10-08 03:45:26 +00:00
Sébastien Lorber
7b98bb5e93
fix(html/minifier): Fix HTML minifier TS types (#9615)
Some checks failed
CI / Cargo fmt (push) Has been cancelled
CI / Cargo clippy (push) Has been cancelled
CI / Check license of dependencies (push) Has been cancelled
CI / Check (macos-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / Test wasm (binding_core_wasm) (push) Has been cancelled
CI / Test wasm (binding_minifier_wasm) (push) Has been cancelled
CI / Test wasm (binding_typescript_wasm) (push) Has been cancelled
CI / List crates (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Has been cancelled
CI / Test with @swc/cli (push) Has been cancelled
CI / Miri (better_scoped_tls) (push) Has been cancelled
CI / Miri (string_enum) (push) Has been cancelled
CI / Miri (swc) (push) Has been cancelled
CI / Miri (swc_bundler) (push) Has been cancelled
CI / Miri (swc_ecma_codegen) (push) Has been cancelled
CI / Miri (swc_ecma_minifier) (push) Has been cancelled
Benchmark / Bench everything (push) Has been cancelled
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Has been cancelled
CI / Done (push) Has been cancelled
**Description:**

 - `preserveComments` is optional but required in the TS type

 - `removeRedundantAttributes` is an enum and passing a boolean leads to errors

See https://github.com/swc-project/swc/blob/main/crates/swc_html_minifier/src/option.rs#L54

**Related issue:**

 - https://github.com/facebook/docusaurus/pull/10554
2024-10-06 18:05:16 +09:00
SWC Bot
d24e99a473 chore: Publish 1.7.30-nightly-20241002.1 with swc_core v0.106.4 2024-10-02 06:36:04 +00:00
Donny/강동윤
24c3a0ce13
perf(es/transforms): Copy benchmarks from oxc (#9602) 2024-10-02 03:07:28 +00:00
SWC Bot
8c923377c4 chore: Publish 1.7.29 with swc_core v0.106.3 2024-10-01 09:49:29 +00:00
SWC Bot
ecf05a8579 chore: Publish 1.7.29-nightly-20241001.1 with swc_core v0.106.3 2024-10-01 08:52:25 +00:00
Donny/강동윤
b94a0e1fd2
chore(es): Add helpers (#9586)
Some checks failed
CI / Cargo fmt (push) Has been cancelled
CI / Cargo clippy (push) Has been cancelled
CI / Check license of dependencies (push) Has been cancelled
CI / Check (macos-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / Test wasm (binding_core_wasm) (push) Has been cancelled
CI / Test wasm (binding_minifier_wasm) (push) Has been cancelled
CI / Test wasm (binding_typescript_wasm) (push) Has been cancelled
CI / List crates (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Has been cancelled
CI / Test with @swc/cli (push) Has been cancelled
CI / Miri (better_scoped_tls) (push) Has been cancelled
CI / Miri (string_enum) (push) Has been cancelled
CI / Miri (swc) (push) Has been cancelled
CI / Miri (swc_bundler) (push) Has been cancelled
CI / Miri (swc_ecma_codegen) (push) Has been cancelled
CI / Miri (swc_ecma_minifier) (push) Has been cancelled
Benchmark / Bench everything (push) Has been cancelled
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Has been cancelled
CI / Done (push) Has been cancelled
**Description:**

This is a part of https://github.com/swc-project/swc/pull/9585. I extracted this as a separate PR to make WIP small.
2024-09-25 15:58:19 +09:00
SWC Bot
6be7166c16 chore: Publish 1.7.28 with swc_core v0.106.0 2024-09-24 11:30:20 +00:00
SWC Bot
8811879f3b chore: Publish 1.7.28-nightly-20240924.1 with swc_core v0.106.0 2024-09-24 10:31:16 +00:00
Donny/강동윤
9dd8f6facf
test(es): Add tests for arm64 windows (#9547)
Some checks failed
CI / Cargo fmt (push) Has been cancelled
CI / Cargo clippy (push) Has been cancelled
CI / Check license of dependencies (push) Has been cancelled
CI / Check (macos-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / Test wasm (binding_core_wasm) (push) Has been cancelled
CI / Test wasm (binding_minifier_wasm) (push) Has been cancelled
CI / Test wasm (binding_typescript_wasm) (push) Has been cancelled
CI / List crates (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Has been cancelled
CI / Test with @swc/cli (push) Has been cancelled
CI / Miri (better_scoped_tls) (push) Has been cancelled
CI / Miri (string_enum) (push) Has been cancelled
CI / Miri (swc) (push) Has been cancelled
CI / Miri (swc_bundler) (push) Has been cancelled
CI / Miri (swc_ecma_codegen) (push) Has been cancelled
CI / Miri (swc_ecma_minifier) (push) Has been cancelled
Benchmark / Bench everything (push) Has been cancelled
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Has been cancelled
CI / Done (push) Has been cancelled
2024-09-14 19:34:03 +09:00
SWC Bot
48bb8f4277 chore: Publish 1.7.27 with swc_core v0.104.1
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-09-11 12:31:52 +00:00
SWC Bot
6a075f8d22 chore: Publish 1.7.27-nightly-20240911.1 with swc_core v0.104.1 2024-09-11 11:33:37 +00:00
SWC Bot
de2240b31a chore: Publish 1.7.26 with swc_core v0.104.1 2024-09-11 09:40:06 +00:00
SWC Bot
9f3797613a chore: Publish 1.7.26-nightly-20240911.1 with swc_core v0.104.1 2024-09-11 08:42:51 +00:00