Commit Graph

9548 Commits

Author SHA1 Message Date
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
SWC Bot
6ebff4c6e3 chore: Publish 1.7.15-nightly-20240820.4 with swc_core v0.101.3 2024-08-20 03:07:10 +00:00
강동윤 (Donny)
bdea5cb94c chore(html): Use binding_html_node instead of html_node 2024-08-20 11:58:43 +09:00
SWC Bot
6dc8b68873 chore: Update changelog 2024-08-20 02:50:26 +00:00
SWC Bot
64c339df60 chore: Publish 1.7.15-nightly-20240820.3 with swc_core v0.101.3 2024-08-20 02:50:24 +00:00
강동윤 (Donny)
60ce330be9 chore: Remove on: pull_request
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 11:37:06 +09:00
SWC Bot
daf8b5f254 chore: Update changelog 2024-08-20 02:29:40 +00:00
SWC Bot
b22b53285a chore: Publish 1.7.15-nightly-20240820.2 with swc_core v0.101.3 2024-08-20 02:29:39 +00:00
강동윤 (Donny)
99ea95869a chore: Build stable after tagging stable 2024-08-20 11:16:54 +09:00
강동윤 (Donny)
c30db7fb45 chore: Build Wasm only for core 2024-08-20 11:14:33 +09:00
강동윤 (Donny)
cf73dbbb92 chore: Use matrix for npm && Fix test directory 2024-08-20 11:13:48 +09:00
강동윤 (Donny)
465735594b chore: Remove if from nightly publish action 2024-08-20 10:15:58 +09:00
SWC Bot
462232ed35 chore: Publish 1.7.15-nightly-20240820.1 with swc_core v0.101.3 2024-08-20 01:13:24 +00:00
강동윤 (Donny)
fde1653c45 chore: Fix publish action 2024-08-20 09:59:25 +09:00
Donny/강동윤
868be56a25
chore(ci): Configure publish pipeline for html binding (#9458)
**Related issue:**

 - https://github.com/swc-project/swc/issues/9457
2024-08-20 09:49:19 +09:00
SWC Bot
3ecee9fc1b 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-19 13:24:52 +00:00
SWC Bot
56f6c0e6ba chore: Publish 1.7.14 with swc_core v0.101.3 2024-08-19 13:24:51 +00:00
SWC Bot
f95cdab3a3 chore: Publish 1.7.14-nightly-20240819.1 with swc_core v0.101.3 2024-08-19 12:26:34 +00:00
강동윤 (Donny)
4d46388c7f chore: Exclude bunchee from swc-ecosystem-ci temporarily 2024-08-19 21:18:11 +09:00
강동윤 (Donny)
339f828774 chore: Publish crates 2024-08-19 21:13:35 +09:00
SWC Bot
da7c831502 chore: Update changelog 2024-08-19 10:40:02 +00:00
SWC Bot
b7df16d0a6 chore: Publish 1.7.13-nightly-20240819.2 with swc_core v0.101.3 2024-08-19 10:40:01 +00:00
강동윤 (Donny)
25edb1c41e chore: Publish crates 2024-08-19 19:30:48 +09:00
SWC Bot
2cd5aea343 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-19 10:03:52 +00:00
SWC Bot
b54750f284 chore: Publish 1.7.13-nightly-20240819.1 with swc_core v0.101.3 2024-08-19 10:03:51 +00:00
SWC Bot
a514cad4f5 chore: Publish crates with swc_core v0.101.3 2024-08-19 09:56:39 +00:00
Donny/강동윤
238ba8b1d2
feat(es/decorators): Groundwork for stage 3 decorator (#9450)
**Description:**

I decided to port the babel transform instead of recreating a new pass using inputs and outputs. Babel transform reuses many codes, and this is the basic API for decorator passes that share the implementation.
2024-08-19 14:44:23 +09:00
Donny/강동윤
673655c169
fix(es): Preserve more comments (#9449)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9255
2024-08-19 04:16:35 +00:00
Donny/강동윤
8845b76ac4
refactor(visit): Remove VisitAll (#9448)
**Description:**

Technically, this is a breaking change, but `VisitAll` was broken anyway, so I'll not mark this PR as a breaking change.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9337
2024-08-19 12:48:18 +09:00
Donny/강동윤
05961eb018
fix(common): Use SourceMap::adjust_mappings in correct order (#9447)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9392
2024-08-19 11:37:02 +09:00
SWC Bot
55404bab8f 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-19 01:50:35 +00:00
SWC Bot
e8bc48f026 chore: Publish 1.7.12 with swc_core v0.101.3 2024-08-19 01:50:34 +00:00
SWC Bot
d9b6412e25 chore: Update changelog 2024-08-19 00:54:19 +00:00
SWC Bot
17553bbc15 chore: Publish 1.7.12-nightly-20240819.1 with swc_core v0.101.3 2024-08-19 00:54:18 +00:00
SWC Bot
f5b59485fa chore: Publish crates with swc_core v0.101.3 2024-08-19 00:46:58 +00:00
Austaras
bfaf31bc4b
fix(es/compat): Init this in sub class constructor for async (#9446)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/8452
 - Closes https://github.com/swc-project/swc/issues/9432
2024-08-19 00:22:36 +00:00
renovate[bot]
08dd948289
chore(deps): update rust crate arrayvec to v0.7.6 (#9436)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [arrayvec](https://togithub.com/bluss/arrayvec) |
workspace.dependencies | patch | `0.7.4` -> `0.7.6` |

---

### Release Notes

<details>
<summary>bluss/arrayvec (arrayvec)</summary>

###
[`v0.7.6`](https://togithub.com/bluss/arrayvec/blob/HEAD/CHANGELOG.md#076)

[Compare
Source](https://togithub.com/bluss/arrayvec/compare/0.7.5...0.7.6)

- Fix no-std build
[#&#8203;274](https://togithub.com/bluss/arrayvec/pull/274)

###
[`v0.7.5`](https://togithub.com/bluss/arrayvec/blob/HEAD/CHANGELOG.md#075)

[Compare
Source](https://togithub.com/bluss/arrayvec/compare/0.7.4...0.7.5)

- Add `as_ptr` and `as_mut_ptr` to `ArrayString`
[@&#8203;YuhanLiin](https://togithub.com/YuhanLiin)
[#&#8203;260](https://togithub.com/bluss/arrayvec/pull/260)
- Add borsh serialization support by
[@&#8203;honzasp](https://togithub.com/honzasp) and
[@&#8203;Fuuzetsu](https://togithub.com/Fuuzetsu)
[#&#8203;259](https://togithub.com/bluss/arrayvec/pull/259)
- Move length field before before data in ArrayVec and ArrayString by
[@&#8203;JakkuSakura](https://togithub.com/JakkuSakura)
[#&#8203;255](https://togithub.com/bluss/arrayvec/pull/255)
- Fix miri error for ZST case in extend by
[@&#8203;bluss](https://togithub.com/bluss)
- implement AsRef<Path> for ArrayString by
[@&#8203;Zoybean](https://togithub.com/Zoybean)
[#&#8203;218](https://togithub.com/bluss/arrayvec/pull/218)
- Fix typos in changelog by
[@&#8203;striezel](https://togithub.com/striezel)
[#&#8203;241](https://togithub.com/bluss/arrayvec/pull/241)
- Add `as_slice`, `as_mut_slice` methods to `IntoIter` by
[@&#8203;clarfonthey](https://togithub.com/clarfonthey)
[#&#8203;224](https://togithub.com/bluss/arrayvec/pull/224)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/swc-project/swc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 08:15:03 +09:00
Austaras
99738ef412
fix(es/decorators): Fix metadata for accessors (#9444)
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/9435
2024-08-18 13:27:20 +00:00
SWC Bot
9d10fa4e7c chore: Update changelog
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-08-16 12:57:43 +00:00
SWC Bot
50963679b8 chore: Publish 1.7.12-nightly-20240816.2 with swc_core v0.101.2 2024-08-16 12:57:42 +00:00
SWC Bot
a4b918644b chore: Publish crates with swc_core v0.101.2 2024-08-16 12:50:42 +00:00
Donny/강동윤
308e5ec81b
fix(es): Mark TypeScript nodes as reachable from Evaluator (#9440) 2024-08-16 21:49:11 +09:00
SWC Bot
f50a974fb1 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-16 04:53:28 +00:00