Commit Graph

699 Commits

Author SHA1 Message Date
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
renovate[bot]
b28047a48b
fix(deps): update cargo (patch) (#9454)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [backtrace](https://redirect.github.com/rust-lang/backtrace-rs) |
dependencies | patch | `0.3.73` -> `0.3.74` |
| [backtrace](https://redirect.github.com/rust-lang/backtrace-rs) |
workspace.dependencies | patch | `0.3.73` -> `0.3.74` |
| [rkyv](https://redirect.github.com/rkyv/rkyv) | workspace.dependencies
| patch | `=0.7.44` -> `=0.7.45` |
| [stacker](https://redirect.github.com/rust-lang/stacker) |
dependencies | patch | `0.1.15` -> `0.1.17` |
| [swc_cli_impl](https://redirect.github.com/swc-project/swc) |
workspace.dependencies | patch | `0.24.0` -> `0.24.1` |
| [unicode-id](https://redirect.github.com/Boshen/unicode-id) |
workspace.dependencies | patch | `0.3.4` -> `0.3.5` |
| [unicode-width](https://redirect.github.com/unicode-rs/unicode-width)
| workspace.dependencies | patch | `0.1.13` -> `0.1.14` |

---

### Release Notes

<details>
<summary>rust-lang/backtrace-rs (backtrace)</summary>

###
[`v0.3.74`](https://redirect.github.com/rust-lang/backtrace-rs/releases/tag/0.3.74)

[Compare
Source](https://redirect.github.com/rust-lang/backtrace-rs/compare/0.3.73...0.3.74)

#### What's Changed

- QNX Neutrino 7.0 support, thanks to
[@&#8203;nyurik](https://redirect.github.com/nyurik) in
[https://github.com/rust-lang/backtrace-rs/pull/648](https://redirect.github.com/rust-lang/backtrace-rs/pull/648)
- Cleaned up our Android support. This should massively improve
backtraces for ones with the API level sufficient to ship with
libunwind, etc. Unfortunately, it comes at the cost of dropping support
for older ones! Thanks to
[@&#8203;fengys](https://redirect.github.com/fengys) in
[https://github.com/rust-lang/backtrace-rs/pull/656](https://redirect.github.com/rust-lang/backtrace-rs/pull/656)
- Made PrintFmt, which was using the `Enum::__NonExhaustiveVariant`
pattern, use `#[non_exhaustive]` for real. Don't @&#8203; me if you were
matching on that! Thanks to
[@&#8203;nyurik](https://redirect.github.com/nyurik) in
[https://github.com/rust-lang/backtrace-rs/pull/651](https://redirect.github.com/rust-lang/backtrace-rs/pull/651)
- Massively cleaned up the windows code! We moved from winapi to
windows-sys with windows-targets thanks to
[@&#8203;CraftSpider](https://redirect.github.com/CraftSpider) and
[@&#8203;ChrisDenton](https://redirect.github.com/ChrisDenton) in
- Don't cast HANDLE to usize and back by
[@&#8203;CraftSpider](https://redirect.github.com/CraftSpider) in
[https://github.com/rust-lang/backtrace-rs/pull/635](https://redirect.github.com/rust-lang/backtrace-rs/pull/635)
- Switch from `winapi` to `windows-sys` by
[@&#8203;CraftSpider](https://redirect.github.com/CraftSpider) in
[https://github.com/rust-lang/backtrace-rs/pull/641](https://redirect.github.com/rust-lang/backtrace-rs/pull/641)
- Update windows bindings and use windows-targets by
[@&#8203;ChrisDenton](https://redirect.github.com/ChrisDenton) in
[https://github.com/rust-lang/backtrace-rs/pull/653](https://redirect.github.com/rust-lang/backtrace-rs/pull/653)
- A bunch of updated dependencies. Thanks
[@&#8203;djc](https://redirect.github.com/djc) and
[@&#8203;khuey](https://redirect.github.com/khuey)!
- Sorry if you were testing this code in miri! It started yelling about
sussy casts. A lot. We did a bunch of internal cleanups that should make
it quiet down, thanks to
[@&#8203;workingjubilee](https://redirect.github.com/workingjubilee) in
[https://github.com/rust-lang/backtrace-rs/pull/641](https://redirect.github.com/rust-lang/backtrace-rs/pull/641)
- Uhhh we had to tweak `dl_iterate_phdr` in
[https://github.com/rust-lang/backtrace-rs/pull/660](https://redirect.github.com/rust-lang/backtrace-rs/pull/660)
after Android revealed it was... kind of unsound actually and not doing
things like checking for null pointers before making slices! WHOOPS!
Thanks to [@&#8203;saethlin](https://redirect.github.com/saethlin) for
implementing detection for precisely that in rustc! It's really hard to
find soundness issues in inherited codebases like this one...

#### New Contributors

- [@&#8203;CraftSpider](https://redirect.github.com/CraftSpider) made
their first contribution in
[https://github.com/rust-lang/backtrace-rs/pull/635](https://redirect.github.com/rust-lang/backtrace-rs/pull/635)
- [@&#8203;fengys1996](https://redirect.github.com/fengys1996) made
their first contribution in
[https://github.com/rust-lang/backtrace-rs/pull/656](https://redirect.github.com/rust-lang/backtrace-rs/pull/656)
- [@&#8203;djc](https://redirect.github.com/djc) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/657](https://redirect.github.com/rust-lang/backtrace-rs/pull/657)

**Full Changelog**:
https://github.com/rust-lang/backtrace-rs/compare/0.3.73...0.3.74

</details>

<details>
<summary>rust-lang/stacker (stacker)</summary>

###
[`v0.1.17`](https://redirect.github.com/rust-lang/stacker/compare/stacker-0.1.16...stacker-0.1.17)

[Compare
Source](https://redirect.github.com/rust-lang/stacker/compare/stacker-0.1.16...stacker-0.1.17)

###
[`v0.1.16`](https://redirect.github.com/rust-lang/stacker/compare/stacker-0.1.15...stacker-0.1.16)

[Compare
Source](https://redirect.github.com/rust-lang/stacker/compare/stacker-0.1.15...stacker-0.1.16)

</details>

<details>
<summary>unicode-rs/unicode-width (unicode-width)</summary>

###
[`v0.1.14`](https://redirect.github.com/unicode-rs/unicode-width/compare/v0.1.13...v0.1.14)

[Compare
Source](https://redirect.github.com/unicode-rs/unicode-width/compare/v0.1.13...v0.1.14)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 12:12:42 +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
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
SWC Bot
898a3b043a chore: Publish 1.7.25 with swc_core v0.104.1 2024-09-11 03:54:37 +00:00
SWC Bot
7becba771e chore: Publish 1.7.25-nightly-20240911.1 with swc_core v0.104.1 2024-09-11 02:57:28 +00:00
SWC Bot
8e69a4fdb5 chore: Publish 1.7.24 with swc_core v0.103.2 2024-09-08 06:12:47 +00:00
SWC Bot
6bcdb0951f chore: Publish 1.7.24-nightly-20240908.1 with swc_core v0.103.2 2024-09-08 05:15:36 +00:00
SWC Bot
d52a48fac8 chore: Publish 1.7.23 with swc_core v0.103.1 2024-09-02 22:27:37 +00:00
SWC Bot
3c503ebc41 chore: Publish 1.7.23-nightly-20240902.1 with swc_core v0.103.1 2024-09-02 21:30:50 +00:00
SWC Bot
6290dd308b chore: Publish 1.7.22 with swc_core v0.102.2 2024-08-30 09:01:38 +00:00
SWC Bot
4313e2788d chore: Publish 1.7.22-nightly-20240830.1 with swc_core v0.102.2 2024-08-30 08:03:49 +00:00
SWC Bot
32f13d7b9a chore: Publish 1.7.21 with swc_core v0.102.1 2024-08-28 11:18:13 +00:00
SWC Bot
5da0e25454 chore: Publish 1.7.21-nightly-20240828.1 with swc_core v0.102.1 2024-08-28 10:21:17 +00:00
SWC Bot
63656bc5f4 chore: Publish 1.7.20-nightly-20240828.1 with swc_core v0.102.1 2024-08-28 08:40:20 +00:00
SWC Bot
613e8eefb5 chore: Publish 1.7.19 with swc_core v0.102.1 2024-08-28 06:26:36 +00:00
SWC Bot
c6e416abab chore: Publish 1.7.19-nightly-20240828.1 with swc_core v0.102.1 2024-08-28 05:20:43 +00:00
Donny/강동윤
da529304fe
feat(plugin/runner): Improve error message (#9502)
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-27 10:05:51 +09:00
Donny/강동윤
af922d83e5
feat(es/minifier): Support mangle cache (#9489)
**Description:**

This PR adds a name cache for the mangler. It's implemented using a `Mutex`, and it's exposed to JS as an experimental API. Note that JS API only provides an opaque object.
2024-08-25 23:42:53 +00:00
SWC Bot
54f99a293d chore: Publish 1.7.18 with swc_core v0.101.6 2024-08-24 10:11:30 +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
SWC Bot
b73cadcd74 chore: Publish 1.7.17 with swc_core v0.101.6 2024-08-23 14:49:51 +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/강동윤
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
c17debe330 chore: Publish 1.7.17-nightly-20240820.3 with swc_core v0.101.4 2024-08-20 12:48:01 +00: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
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
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
3c5a112b3c chore: Publish 1.7.15-nightly-20240820.8 with swc_core v0.101.4 2024-08-20 08:43:40 +00:00
Donny/강동윤
74d6478be1
feat(bindings/html): Allow using lightningcss as minfiier (#9462) 2024-08-20 15:54:20 +09: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
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
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
6ebff4c6e3 chore: Publish 1.7.15-nightly-20240820.4 with swc_core v0.101.3 2024-08-20 03:07:10 +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
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
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/강동윤
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
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
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
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
e8bc48f026 chore: Publish 1.7.12 with swc_core v0.101.3 2024-08-19 01:50:34 +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