Commit Graph

9590 Commits

Author SHA1 Message Date
SWC Bot
54f99a293d chore: Publish 1.7.18 with swc_core v0.101.6 2024-08-24 10:11:30 +00:00
SWC Bot
f500dd4530 chore: Update changelog 2024-08-24 09:14:34 +00:00
SWC Bot
6a47580bb2 chore: Publish 1.7.18-nightly-20240824.1 with swc_core v0.101.6 2024-08-24 09:14:32 +00:00
강동윤 (Donny)
92dee8237c chore: Fix publish action 2024-08-24 16:12:54 +09:00
SWC Bot
ef74760e42 chore: Update changelog
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-08-23 14:49:52 +00:00
SWC Bot
b73cadcd74 chore: Publish 1.7.17 with swc_core v0.101.6 2024-08-23 14:49:51 +00:00
SWC Bot
efa38b09d9 chore: Update changelog 2024-08-23 13:51:29 +00:00
SWC Bot
58fe9a42a2 chore: Publish 1.7.17-nightly-20240823.1 with swc_core v0.101.6 2024-08-23 13:51:28 +00:00
강동윤 (Donny)
d84720c27a chore: Disable html publish pipeline 2024-08-23 22:42:40 +09:00
강동윤 (Donny)
82fa400dc4 chore: Publish crates with swc_core v0.101.6 2024-08-23 22:41:58 +09:00
magic-akari
fc0483ce1b
fix(es/typescript): Correctly handle ESM context (#9490)
**Related issue:**

- https://github.com/nodejs/node/issues/54514
2024-08-23 22:40:28 +09:00
강동윤 (Donny)
1e1b165181 chore: Publish crates with swc_core v0.101.5
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-08-23 11:33:28 +09:00
magic-akari
50d70d35d0
fix(es/typescript): Correctly handle deep import chains (#9487)
**Related issue:**

- Closes https://github.com/swc-project/swc/issues/9486
2024-08-23 07:01:40 +09:00
Donny/강동윤
1121bc0dc1
feat(es/parser): Disallow let let (#9484)
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
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/8269
2024-08-22 09:17:33 +00:00
Donny/강동윤
ede1a52cb8
feat(es/minifier): Drop more patterns with PURE marker (#9478)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9459
 - Closes https://github.com/swc-project/swc/issues/9460
 - Closes https://github.com/swc-project/swc/pull/9465
2024-08-22 13:04:12 +09:00
Donny/강동윤
b0b5e36675
chore(plugin/runner): Fix benchmark (#9477)
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-08-21 14:43:07 +09:00
Donny/강동윤
4bee30ab40
refactor(common): Simplify SyntaxContext and Mark (#9476)
**Description:**

This PR removes the `transparent` of `SyntaxContext` and `is_builtin` of `Mark`.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9346
2024-08-21 05:31:05 +00:00
Donny/강동윤
ac432c4bff
fix(es/minifier): Mark LHS of for-in/of as update (#9474)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9466
2024-08-21 14:02:16 +09:00
Donny/강동윤
c72b5f8b32
fix(es/minifier): Force rename synthesized identifiers (#9473)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9468
2024-08-21 05:01:16 +00:00
Donny/강동윤
3ee8980dbe
feat(visit): Add experimental traverse APIs (#9464)
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-08-21 08:29:24 +09:00
Donny/강동윤
a212ab0f2b
chore: Enable bunchee tests of swc-ecosystem-ci (#9472)
**Related issue:**

 - https://github.com/huozhi/bunchee/pull/574
2024-08-21 07:37:55 +09:00
Donny/강동윤
8c007c402f
fix(bindings/wasm): Fix typing (#9469)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9442
2024-08-20 19:37:30 +00:00
SWC Bot
3ed6abe52e chore: Update changelog
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-08-20 12:48:02 +00:00
SWC Bot
c17debe330 chore: Publish 1.7.17-nightly-20240820.3 with swc_core v0.101.4 2024-08-20 12:48:01 +00:00
강동윤 (Donny)
a54b077ef4 chore(ci): Update artifact actions 2024-08-20 21:39:18 +09:00
강동윤 (Donny)
ac7bd31e8c fix(ci): FIx pattern for actions/download-artifact 2024-08-20 21:31:30 +09:00
SWC Bot
43236684c3 chore: Publish 1.7.17-nightly-20240820.2 with swc_core v0.101.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
2024-08-20 10:35:55 +00:00
강동윤 (Donny)
f0a370546f chore(ci): Update actions/download-artifact 2024-08-20 19:25:34 +09:00
강동윤 (Donny)
5a7b19dcb5 chore(ci): Fix artifact names 2024-08-20 19:24:42 +09:00
SWC Bot
5c27d8b340 chore: Update changelog 2024-08-20 09:47:37 +00:00
SWC Bot
ff0cc8a765 chore: Publish 1.7.17-nightly-20240820.1 with swc_core v0.101.4 2024-08-20 09:47:36 +00:00
강동윤 (Donny)
f30fd4fe42 chore(html): Fix publish action 2024-08-20 18:37:59 +09:00
SWC Bot
c3ed5d77e5 chore: Update changelog 2024-08-20 09:14:23 +00:00
SWC Bot
8c3afb84c8 chore: Publish 1.7.16-nightly-20240820.1 with swc_core v0.101.4 2024-08-20 09:14:22 +00:00
SWC Bot
b6d0bf86d5 chore: Update changelog 2024-08-20 08:43:41 +00:00
SWC Bot
3c5a112b3c chore: Publish 1.7.15-nightly-20240820.8 with swc_core v0.101.4 2024-08-20 08:43:40 +00:00
SWC Bot
aefbd59f08 chore: Publish crates with swc_core v0.101.4 2024-08-20 08:31:41 +00:00
Donny/강동윤
ffc64f66bf
chore(ci): Fix publish action (#9463) 2024-08-20 17:29:43 +09:00
Donny/강동윤
74d6478be1
feat(bindings/html): Allow using lightningcss as minfiier (#9462) 2024-08-20 15:54:20 +09:00
Donny/강동윤
911d4eaa14
perf(visit): Add linear AST traversal (#9452)
**Description:**

Babel decorator pass uses `fastTraverse`, and I think we can have one.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9451
2024-08-20 15:50:11 +09:00
SWC Bot
6187fcb134 chore: Update changelog 2024-08-20 06:02:35 +00:00
SWC Bot
b802ebe6d4 chore: Publish 1.7.15-nightly-20240820.7 with swc_core v0.101.3 2024-08-20 06:02:34 +00:00
Donny/강동윤
d43f1b1212
chore(ci): Fix publish-npm-package action (#9461)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9457
2024-08-20 14:54:07 +09:00
SWC Bot
171d1e83e5 chore: Update changelog 2024-08-20 03:44:06 +00:00
SWC Bot
61c22f4236 chore: Publish 1.7.15-nightly-20240820.6 with swc_core v0.101.3 2024-08-20 03:44:04 +00:00
강동윤 (Donny)
a5d307385d chore(ci): Fix concurrency.group 2024-08-20 12:35:32 +09:00
SWC Bot
ec617d5c57 chore: Update changelog 2024-08-20 03:27:44 +00:00
SWC Bot
593279318d chore: Publish 1.7.15-nightly-20240820.5 with swc_core v0.101.3 2024-08-20 03:27:43 +00:00
강동윤 (Donny)
eefae1cde7 fix(html): Fix html binding 2024-08-20 12:18:51 +09:00
SWC Bot
c843c68318 chore: Update changelog 2024-08-20 03:07:11 +00:00