Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use webpack's resolve.alias #585

Open
xxoojs opened this issue Jan 15, 2020 · 17 comments
Open

Cannot use webpack's resolve.alias #585

xxoojs opened this issue Jan 15, 2020 · 17 comments

Comments

@xxoojs
Copy link

xxoojs commented Jan 15, 2020

Cannot use webpack's resolve.alias

resolve: {
'@': resolve('source')
}

Error:
failed to parse config file: data did not match any variant of untagged enum Rc @ multi

@xxoojs xxoojs changed the title cannot use webpack's resolve.alias Cannot use webpack's resolve.alias Jan 15, 2020
@kdy1
Copy link
Member

kdy1 commented Jan 15, 2020

Can you share your config code related to swc-loader?

@xxoojs
Copy link
Author

xxoojs commented Jan 15, 2020

webpack config:

{
        test: /\.[t|j]sx?$/,
        exclude: /(node_modules|bower_components)/,
        loader: 'swc-loader',
        include: [resolve('src'), resolve('source'), resolve('test')],
 }

.swcrc:

{
  "jsc": {
    "transform": {
      "react": {
        "pragma": "React.createElement",
        "pragmaFrag": "React.Fragment",
        "throwIfNamespace": true,
        "development": false,
        "useBuiltins": false
      }
    },
    "parser": {
      "syntax": "ecmascript",
      "jsx": true,
      "classProperty": true,
      "decorators": true,
      "optionalChaining": true
    }
  }
}

@kdy1 kdy1 added this to the v1.1.13 milestone Jan 15, 2020
@kdy1
Copy link
Member

kdy1 commented Jan 17, 2020

@xxoojs Can you share your config file related to resolve?
I'm trying to reproduce it, but I don't know where I should put "@": path.resolve("source").

@kdy1 kdy1 removed this from the v1.1.13 milestone Jan 17, 2020
@Austaras
Copy link
Member

Austaras commented Jan 31, 2020

@kdy1 maybe this?

{
        test: /\.[t|j]sx?$/,
        exclude: /(node_modules|bower_components)/,
        loader: 'swc-loader',
        include: [resolve('src'), resolve('source'), resolve('test')],
        resolve: {
          alias: {
            "@": path.resolve("source")
          }
       }
 }

@kdy1
Copy link
Member

kdy1 commented Jan 31, 2020

@Austaras I'll try to fix it.

@leebenson
Copy link

resolve is a top-level key in Webpack; the config above should be something like:

module.exports = {
  module: {
    rules: [
      {
        test: /\.[t|j]sx?$/,
        exclude: /(node_modules|bower_components)/,
        loader: 'swc-loader',
      }
    ],
  },
  resolve: {
    alias: {
      "@": path.resolve("whatever"),
    },
  },
};

FWIW, it works locally when putting resolve at the correct level.

@Bruce-Hopkins
Copy link

Is this issue still open for contributors?

@kdy1
Copy link
Member

kdy1 commented Sep 23, 2022

Yes

@Bruce-Hopkins
Copy link

Yes

Great. I want to contribute here, but this would be my first contribution.

I read over the CONTRIBUTING.md file but I'm not familiar with the codebase. Which files would need to be changed? Could you help, or guide me to where I can find the information? Thank you.

@kdy1
Copy link
Member

kdy1 commented Sep 26, 2022

I don't know where to start. https://rustdoc.swc.rs/swc/ may help

@Bruce-Hopkins
Copy link

When I use vanilla JavaScript this seems to work, Maybe this was fixed or this is only an issue on with React

@yewenjunfighting
Copy link

@kdy1 Is there any progress on this issue?

@swalker326
Copy link

Is there any update or work around for this? Experiencing this issue currently.

@kwonoj
Copy link
Member

kwonoj commented Dec 13, 2023

We are open to accept contributions / PRs, otherwise unless issue explicitly updates there are no updates.

@swalker326
Copy link

If it is of value to anyone else trying to trouble shoot this. I have a reproduction repo.

https://github.com/swalker326/rspack-module-federation

I only saw the error once I installed @module-federation/utilities I'm kinda lost in where it is actually coming from but trying my best, lol.

@Boshen
Copy link
Contributor

Boshen commented Dec 14, 2023

If it is of value to anyone else trying to trouble shoot this. I have a reproduction repo.

https://github.com/swalker326/rspack-module-federation

I only saw the error once I installed @module-federation/utilities I'm kinda lost in where it is actually coming from but trying my best, lol.

This is unrelated to swc, let's move the issue to https://github.com/web-infra-dev/rspack

@kumv-net
Copy link

kumv-net commented Jan 8, 2024

#8486
working for me

kdy1 pushed a commit that referenced this issue Jul 23, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [backtrace](https://github.com/rust-lang/backtrace-rs) |
dependencies | patch | `0.3.69` -> `0.3.73` |
| [backtrace](https://github.com/rust-lang/backtrace-rs) |
workspace.dependencies | patch | `0.3.69` -> `0.3.73` |
| [bytecheck](https://github.com/rkyv/bytecheck) |
workspace.dependencies | patch | `0.6.11` -> `0.6.12` |
| [hstr](https://github.com/dudykr/ddbase) | workspace.dependencies |
patch | `0.2.8` -> `0.2.10` |
| [js-sys](https://rustwasm.github.io/wasm-bindgen/)
([source](https://github.com/rustwasm/wasm-bindgen/tree/HEAD/crates/js-sys))
| workspace.dependencies | patch | `0.3.68` -> `0.3.69` |
| [libfuzzer-sys](https://github.com/rust-fuzz/libfuzzer) |
dependencies | patch | `0.4.5` -> `0.4.7` |
| [num-bigint](https://github.com/rust-num/num-bigint) |
workspace.dependencies | patch | `0.4.4` -> `0.4.6` |
| [num-traits](https://github.com/rust-num/num-traits) |
workspace.dependencies | patch | `0.2.17` -> `0.2.19` |
| [parking_lot](https://github.com/Amanieu/parking_lot) |
workspace.dependencies | patch | `0.12.1` -> `0.12.3` |
| [petgraph](https://github.com/petgraph/petgraph) |
workspace.dependencies | patch | `0.6.4` -> `0.6.5` |
| [toml](https://github.com/toml-rs/toml) | workspace.dependencies |
patch | `0.8.8` -> `0.8.15` |
| [unicode-width](https://github.com/unicode-rs/unicode-width) |
workspace.dependencies | patch | `0.1.11` -> `0.1.13` |
| [virtual-fs](https://wasmer.io/)
([source](https://github.com/wasmerio/wasmer)) |
workspace.dependencies | patch | `=0.11.1` -> `=0.11.4` |
| [wasm-bindgen](https://rustwasm.github.io/)
([source](https://github.com/rustwasm/wasm-bindgen)) | dependencies |
patch | `0.2.91` -> `0.2.92` |
| [wasm-bindgen](https://rustwasm.github.io/)
([source](https://github.com/rustwasm/wasm-bindgen)) |
workspace.dependencies | patch | `0.2.91` -> `0.2.92` |
| [wasm-bindgen-futures](https://rustwasm.github.io/wasm-bindgen/)
([source](https://github.com/rustwasm/wasm-bindgen/tree/HEAD/crates/futures))
| workspace.dependencies | patch | `0.4.41` -> `0.4.42` |

---

### Release Notes

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

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

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

This basically just is bugfixes so that backtrace works on Windows 7
again.

##### What's Changed

- Fix signature of resolve_legacy for Windows 7 target by
[@&#8203;aapanfilovv](https://github.com/aapanfilovv) in
[https://github.com/rust-lang/backtrace-rs/pull/631](https://github.com/rust-lang/backtrace-rs/pull/631)
- Update some comments by
[@&#8203;ChrisDenton](https://github.com/ChrisDenton) in
[https://github.com/rust-lang/backtrace-rs/pull/630](https://github.com/rust-lang/backtrace-rs/pull/630)
- Update object to 0.36.0. by
[@&#8203;afranchuk](https://github.com/afranchuk) in
[https://github.com/rust-lang/backtrace-rs/pull/633](https://github.com/rust-lang/backtrace-rs/pull/633)

##### New Contributors

- [@&#8203;aapanfilovv](https://github.com/aapanfilovv) made their
first contribution in
[https://github.com/rust-lang/backtrace-rs/pull/631](https://github.com/rust-lang/backtrace-rs/pull/631)
- [@&#8203;afranchuk](https://github.com/afranchuk) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/633](https://github.com/rust-lang/backtrace-rs/pull/633)

**Full Changelog**:
rust-lang/backtrace-rs@0.3.72...0.3.73

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

[Compare
Source](https://github.com/rust-lang/backtrace-rs/compare/0.3.71...0.3.72)

This release removes a lot of dead code. Some feature flags that haven't
done anything in a long time are gone. If you depend on those features,
Cargo's resolver will not update you to 0.3.72.

If your code runs on Windows, or you want it to run on visionOS,
however, you should probably update to this version. It contains a
number of fixes for both OS. It also uses the latest version of a number
of dependencies.

##### What's Changed

- Revert "Use rustc from stage0 instead of stage0-sysroot (rust-lang/ba…
by [@&#8203;Nilstrieb](https://github.com/Nilstrieb) in
[https://github.com/rust-lang/backtrace-rs/pull/603](https://github.com/rust-lang/backtrace-rs/pull/603)
- Remove dead code by
[@&#8203;ChrisDenton](https://github.com/ChrisDenton) in
[https://github.com/rust-lang/backtrace-rs/pull/605](https://github.com/rust-lang/backtrace-rs/pull/605)
- Fix CI and remove rustc-serialize by
[@&#8203;ChrisDenton](https://github.com/ChrisDenton) in
[https://github.com/rust-lang/backtrace-rs/pull/596](https://github.com/rust-lang/backtrace-rs/pull/596)
- Use correct base address and update comment by
[@&#8203;ChrisDenton](https://github.com/ChrisDenton) in
[https://github.com/rust-lang/backtrace-rs/pull/604](https://github.com/rust-lang/backtrace-rs/pull/604)
- Windows AArch64: Break out of tracing when no longer making progress
by [@&#8203;dpaoliello](https://github.com/dpaoliello) in
[https://github.com/rust-lang/backtrace-rs/pull/610](https://github.com/rust-lang/backtrace-rs/pull/610)
- Remove obsolete rustc-serialize references by
[@&#8203;atouchet](https://github.com/atouchet) in
[https://github.com/rust-lang/backtrace-rs/pull/614](https://github.com/rust-lang/backtrace-rs/pull/614)
- Update `object` and `addr2line` dependencies by
[@&#8203;a1phyr](https://github.com/a1phyr) in
[https://github.com/rust-lang/backtrace-rs/pull/612](https://github.com/rust-lang/backtrace-rs/pull/612)
- Fix tests for rust 1.79 by
[@&#8203;workingjubilee](https://github.com/workingjubilee) in
[https://github.com/rust-lang/backtrace-rs/pull/621](https://github.com/rust-lang/backtrace-rs/pull/621)
- Remove unused `libbacktrace` and `gimli-symbolize` features by
[@&#8203;Enselic](https://github.com/Enselic) in
[https://github.com/rust-lang/backtrace-rs/pull/615](https://github.com/rust-lang/backtrace-rs/pull/615)
- remove some instances of dead_code by
[@&#8203;klensy](https://github.com/klensy) in
[https://github.com/rust-lang/backtrace-rs/pull/619](https://github.com/rust-lang/backtrace-rs/pull/619)
- Reduce panics in dbghelp by
[@&#8203;ChrisDenton](https://github.com/ChrisDenton) in
[https://github.com/rust-lang/backtrace-rs/pull/608](https://github.com/rust-lang/backtrace-rs/pull/608)
- Add Apple visionOS support by
[@&#8203;QuentinPerez](https://github.com/QuentinPerez) in
[https://github.com/rust-lang/backtrace-rs/pull/613](https://github.com/rust-lang/backtrace-rs/pull/613)
- Update cc crate to v1.0.97 by
[@&#8203;jfgoog](https://github.com/jfgoog) in
[https://github.com/rust-lang/backtrace-rs/pull/623](https://github.com/rust-lang/backtrace-rs/pull/623)
- chore: add docs for the global re-entrant lock by
[@&#8203;Gankra](https://github.com/Gankra) in
[https://github.com/rust-lang/backtrace-rs/pull/609](https://github.com/rust-lang/backtrace-rs/pull/609)
- Test with lld-compatible args by
[@&#8203;workingjubilee](https://github.com/workingjubilee) in
[https://github.com/rust-lang/backtrace-rs/pull/627](https://github.com/rust-lang/backtrace-rs/pull/627)
- Bump rustc-demangle version by
[@&#8203;michaelwoerister](https://github.com/michaelwoerister) in
[https://github.com/rust-lang/backtrace-rs/pull/624](https://github.com/rust-lang/backtrace-rs/pull/624)
- cleanup dead_code around cpp_demangle feature by
[@&#8203;klensy](https://github.com/klensy) in
[https://github.com/rust-lang/backtrace-rs/pull/622](https://github.com/rust-lang/backtrace-rs/pull/622)
- Cut backtrace 0.3.72 by
[@&#8203;workingjubilee](https://github.com/workingjubilee) in
[https://github.com/rust-lang/backtrace-rs/pull/628](https://github.com/rust-lang/backtrace-rs/pull/628)

##### New Contributors

- [@&#8203;Enselic](https://github.com/Enselic) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/615](https://github.com/rust-lang/backtrace-rs/pull/615)
- [@&#8203;QuentinPerez](https://github.com/QuentinPerez) made their
first contribution in
[https://github.com/rust-lang/backtrace-rs/pull/613](https://github.com/rust-lang/backtrace-rs/pull/613)
- [@&#8203;Gankra](https://github.com/Gankra) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/609](https://github.com/rust-lang/backtrace-rs/pull/609)

**Full Changelog**:
rust-lang/backtrace-rs@0.3.71...0.3.72

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

[Compare
Source](https://github.com/rust-lang/backtrace-rs/compare/0.3.70...0.3.71)

This is mostly CI changes, with a very mild bump to our effective cc
crate version recorded, and a small modification to a previous changeset
to allow backtrace to run at its current checked-in MSRV on Windows.
Sorry about that! We will be getting 0.3.70 yanked shortly.

##### What's Changed

- Make sgx functions exist with cfg(miri) by
[@&#8203;saethlin](https://github.com/saethlin) in
[https://github.com/rust-lang/backtrace-rs/pull/591](https://github.com/rust-lang/backtrace-rs/pull/591)
- Update version of cc crate by
[@&#8203;jfgoog](https://github.com/jfgoog) in
[https://github.com/rust-lang/backtrace-rs/pull/592](https://github.com/rust-lang/backtrace-rs/pull/592)
- Pull back MSRV on Windows by
[@&#8203;workingjubilee](https://github.com/workingjubilee) in
[https://github.com/rust-lang/backtrace-rs/pull/598](https://github.com/rust-lang/backtrace-rs/pull/598)
- Force frame pointers on all i686 tests by
[@&#8203;workingjubilee](https://github.com/workingjubilee) in
[https://github.com/rust-lang/backtrace-rs/pull/601](https://github.com/rust-lang/backtrace-rs/pull/601)
- Use rustc from stage0 instead of stage0-sysroot by
[@&#8203;Nilstrieb](https://github.com/Nilstrieb) in
[https://github.com/rust-lang/backtrace-rs/pull/602](https://github.com/rust-lang/backtrace-rs/pull/602)
- Cut backtrace 0.3.71 by
[@&#8203;workingjubilee](https://github.com/workingjubilee) in
[https://github.com/rust-lang/backtrace-rs/pull/599](https://github.com/rust-lang/backtrace-rs/pull/599)

##### New Contributors

- [@&#8203;jfgoog](https://github.com/jfgoog) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/592](https://github.com/rust-lang/backtrace-rs/pull/592)
- [@&#8203;Nilstrieb](https://github.com/Nilstrieb) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/602](https://github.com/rust-lang/backtrace-rs/pull/602)

**Full Changelog**:
rust-lang/backtrace-rs@0.3.70...0.3.71

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

[Compare
Source](https://github.com/rust-lang/backtrace-rs/compare/0.3.69...0.3.70)

##### New API

- A `BacktraceFrame` can now have `resolve(&mut self)` called on it
thanks to [@&#8203;fraillt](https://github.com/fraillt) in
[https://github.com/rust-lang/backtrace-rs/pull/526](https://github.com/rust-lang/backtrace-rs/pull/526)

##### Platform Support

We added support for new platforms in this release!

- Thanks to [@&#8203;bzEq](https://github.com/bzEq) in
[https://github.com/rust-lang/backtrace-rs/pull/508](https://github.com/rust-lang/backtrace-rs/pull/508)
we now have AIX support!
- Thanks to [@&#8203;sthibaul](https://github.com/sthibaul) in
[https://github.com/rust-lang/backtrace-rs/pull/567](https://github.com/rust-lang/backtrace-rs/pull/567)
we now have GNU/Hurd support!
- Thanks to [@&#8203;dpaoliello](https://github.com/dpaoliello) in
[https://github.com/rust-lang/backtrace-rs/pull/587](https://github.com/rust-lang/backtrace-rs/pull/587)
we now support "emulation-compatible" AArch64 Windows (aka arm64ec)

##### Windows

- Rewrite msvc backtrace support to be much faster on 64-bit platforms
by [@&#8203;wesleywiser](https://github.com/wesleywiser) in
[https://github.com/rust-lang/backtrace-rs/pull/569](https://github.com/rust-lang/backtrace-rs/pull/569)
- Fix i686-pc-windows-gnu missing dbghelp module by
[@&#8203;wesleywiser](https://github.com/wesleywiser) in
[https://github.com/rust-lang/backtrace-rs/pull/571](https://github.com/rust-lang/backtrace-rs/pull/571)
- Fix build errors on `thumbv7a-*-windows-msvc` targets by
[@&#8203;kleisauke](https://github.com/kleisauke) in
[https://github.com/rust-lang/backtrace-rs/pull/573](https://github.com/rust-lang/backtrace-rs/pull/573)
- Fix panic in backtrace symbolication on win7 by
[@&#8203;roblabla](https://github.com/roblabla) in
[https://github.com/rust-lang/backtrace-rs/pull/578](https://github.com/rust-lang/backtrace-rs/pull/578)
- remove few unused windows ffi fn by
[@&#8203;klensy](https://github.com/klensy) in
[https://github.com/rust-lang/backtrace-rs/pull/576](https://github.com/rust-lang/backtrace-rs/pull/576)
- Make dbghelp look for PDBs next to their exe/dll. by
[@&#8203;michaelwoerister](https://github.com/michaelwoerister) in
[https://github.com/rust-lang/backtrace-rs/pull/584](https://github.com/rust-lang/backtrace-rs/pull/584)
- Revert 32-bit dbghelp to a version WINE (presumably) likes by
[@&#8203;ChrisDenton](https://github.com/ChrisDenton) in
[https://github.com/rust-lang/backtrace-rs/pull/588](https://github.com/rust-lang/backtrace-rs/pull/588)
- Update for Win10+ by
[@&#8203;ChrisDenton](https://github.com/ChrisDenton) in
[https://github.com/rust-lang/backtrace-rs/pull/589](https://github.com/rust-lang/backtrace-rs/pull/589)

##### SGX

Thanks to

- Adjust frame IP in SGX relative to image base by
[@&#8203;mzohreva](https://github.com/mzohreva) in
[https://github.com/rust-lang/backtrace-rs/pull/566](https://github.com/rust-lang/backtrace-rs/pull/566)

##### Internals

We did a bunch more work on our CI and internal cleanups

- Modularise CI workflow and validate outputs for binary size checks. by
[@&#8203;detly](https://github.com/detly) in
[https://github.com/rust-lang/backtrace-rs/pull/549](https://github.com/rust-lang/backtrace-rs/pull/549)
- Commit Cargo.lock by [@&#8203;bjorn3](https://github.com/bjorn3) in
[https://github.com/rust-lang/backtrace-rs/pull/562](https://github.com/rust-lang/backtrace-rs/pull/562)
- Enable calling build.rs externally v2 by
[@&#8203;pitaj](https://github.com/pitaj) in
[https://github.com/rust-lang/backtrace-rs/pull/568](https://github.com/rust-lang/backtrace-rs/pull/568)
- Upgrade to 2021 ed and inline panics by
[@&#8203;nyurik](https://github.com/nyurik) in
[https://github.com/rust-lang/backtrace-rs/pull/538](https://github.com/rust-lang/backtrace-rs/pull/538)
- Fix deny(unused) of an unused import with SGX + Miri by
[@&#8203;saethlin](https://github.com/saethlin) in
[https://github.com/rust-lang/backtrace-rs/pull/581](https://github.com/rust-lang/backtrace-rs/pull/581)
- Fix unused_imports warning on latest nightly by
[@&#8203;ChrisDenton](https://github.com/ChrisDenton) in
[https://github.com/rust-lang/backtrace-rs/pull/575](https://github.com/rust-lang/backtrace-rs/pull/575)
- Fix CI by [@&#8203;saethlin](https://github.com/saethlin) in
[https://github.com/rust-lang/backtrace-rs/pull/582](https://github.com/rust-lang/backtrace-rs/pull/582)
- Use `addr_of!` by
[@&#8203;GrigorenkoPV](https://github.com/GrigorenkoPV) in
[https://github.com/rust-lang/backtrace-rs/pull/585](https://github.com/rust-lang/backtrace-rs/pull/585)
- Write down MSRV policy by
[@&#8203;workingjubilee](https://github.com/workingjubilee) in
[https://github.com/rust-lang/backtrace-rs/pull/561](https://github.com/rust-lang/backtrace-rs/pull/561)
- Apply clippy::uninlined_format_args fixes by
[@&#8203;nyurik](https://github.com/nyurik) in
[https://github.com/rust-lang/backtrace-rs/pull/486](https://github.com/rust-lang/backtrace-rs/pull/486)
- ignore clippy lints in `symbolize/gimli/stash.rs` by
[@&#8203;onur-ozkan](https://github.com/onur-ozkan) in
[https://github.com/rust-lang/backtrace-rs/pull/586](https://github.com/rust-lang/backtrace-rs/pull/586)

##### New Contributors

- [@&#8203;nyurik](https://github.com/nyurik) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/538](https://github.com/rust-lang/backtrace-rs/pull/538)
- [@&#8203;bzEq](https://github.com/bzEq) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/508](https://github.com/rust-lang/backtrace-rs/pull/508)
- [@&#8203;bjorn3](https://github.com/bjorn3) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/562](https://github.com/rust-lang/backtrace-rs/pull/562)
- [@&#8203;sthibaul](https://github.com/sthibaul) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/567](https://github.com/rust-lang/backtrace-rs/pull/567)
- [@&#8203;mzohreva](https://github.com/mzohreva) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/566](https://github.com/rust-lang/backtrace-rs/pull/566)
- [@&#8203;wesleywiser](https://github.com/wesleywiser) made their
first contribution in
[https://github.com/rust-lang/backtrace-rs/pull/569](https://github.com/rust-lang/backtrace-rs/pull/569)
- [@&#8203;kleisauke](https://github.com/kleisauke) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/573](https://github.com/rust-lang/backtrace-rs/pull/573)
- [@&#8203;roblabla](https://github.com/roblabla) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/578](https://github.com/rust-lang/backtrace-rs/pull/578)
- [@&#8203;michaelwoerister](https://github.com/michaelwoerister) made
their first contribution in
[https://github.com/rust-lang/backtrace-rs/pull/584](https://github.com/rust-lang/backtrace-rs/pull/584)
- [@&#8203;dpaoliello](https://github.com/dpaoliello) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/587](https://github.com/rust-lang/backtrace-rs/pull/587)
- [@&#8203;GrigorenkoPV](https://github.com/GrigorenkoPV) made their
first contribution in
[https://github.com/rust-lang/backtrace-rs/pull/585](https://github.com/rust-lang/backtrace-rs/pull/585)
- [@&#8203;fraillt](https://github.com/fraillt) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/526](https://github.com/rust-lang/backtrace-rs/pull/526)
- [@&#8203;onur-ozkan](https://github.com/onur-ozkan) made their first
contribution in
[https://github.com/rust-lang/backtrace-rs/pull/586](https://github.com/rust-lang/backtrace-rs/pull/586)

**Full Changelog**:
rust-lang/backtrace-rs@0.3.69...0.3.70

</details>

<details>
<summary>rust-fuzz/libfuzzer (libfuzzer-sys)</summary>

###
[`v0.4.7`](https://github.com/rust-fuzz/libfuzzer/blob/HEAD/CHANGELOG.md#047)

[Compare
Source](https://github.com/rust-fuzz/libfuzzer/compare/0.4.6...0.4.7)

Released 2023-08-10.

##### Added

- Added the `link_libfuzzer` cargo feature. This feature is on by
default and
preserves the existing behavior of statically linking libfuzzer. You can
disable it if you are linking your own version of libfuzzer some other
way, or
    another library that provides the same ABI as libfuzzer.

***

###
[`v0.4.6`](https://github.com/rust-fuzz/libfuzzer/blob/HEAD/CHANGELOG.md#046)

[Compare
Source](https://github.com/rust-fuzz/libfuzzer/compare/0.4.5...0.4.6)

Released 2023-01-26.

##### Fixed

- Fixed a potential name conflict in functions generated by the
`fuzz_target!`
    macro.
- Fixed potential stale builds when updating custom libfuzzers to link
against.

***

</details>

<details>
<summary>rust-num/num-bigint (num-bigint)</summary>

###
[`v0.4.6`](https://github.com/rust-num/num-bigint/blob/HEAD/RELEASES.md#Release-046-2024-06-27)

[Compare
Source](https://github.com/rust-num/num-bigint/compare/num-bigint-0.4.5...num-bigint-0.4.6)

-   [Fixed compilation on `x86_64-unknown-linux-gnux32`.][312]

**Contributors**: [@&#8203;cuviper](https://github.com/cuviper),
[@&#8203;ralphtandetzky](https://github.com/ralphtandetzky),
[@&#8203;yhx-12243](https://github.com/yhx-12243)

[312]: https://github.com/rust-num/num-bigint/pull/312

###
[`v0.4.5`](https://github.com/rust-num/num-bigint/blob/HEAD/RELEASES.md#Release-045-2024-05-06)

[Compare
Source](https://github.com/rust-num/num-bigint/compare/num-bigint-0.4.4...num-bigint-0.4.5)

-   [Upgrade to 2021 edition, **MSRV 1.60**][292]
-   [Add `const ZERO` and implement `num_traits::ConstZero`][298]
-   [Add `modinv` methods for the modular inverse][288]
-   [Optimize multiplication with imbalanced operands][295]
-   [Optimize scalar division on x86 and x86-64][236]

**Contributors**: [@&#8203;cuviper](https://github.com/cuviper),
[@&#8203;joelonsql](https://github.com/joelonsql),
[@&#8203;waywardmonkeys](https://github.com/waywardmonkeys)

[236]: https://github.com/rust-num/num-bigint/pull/236

[288]: https://github.com/rust-num/num-bigint/pull/288

[292]: https://github.com/rust-num/num-bigint/pull/292

[295]: https://github.com/rust-num/num-bigint/pull/295

[298]: https://github.com/rust-num/num-bigint/pull/298

</details>

<details>
<summary>rust-num/num-traits (num-traits)</summary>

###
[`v0.2.19`](https://github.com/rust-num/num-traits/blob/HEAD/RELEASES.md#Release-0219-2024-05-03)

[Compare
Source](https://github.com/rust-num/num-traits/compare/num-traits-0.2.18...num-traits-0.2.19)

-   [Upgrade to 2021 edition, **MSRV 1.60**][310]
-   [The new `Float::clamp` limits values by minimum and maximum][305]

**Contributors**: [@&#8203;cuviper](https://github.com/cuviper),
[@&#8203;michaelciraci](https://github.com/michaelciraci)

[305]: https://github.com/rust-num/num-traits/pull/305

[310]: https://github.com/rust-num/num-traits/pull/310

###
[`v0.2.18`](https://github.com/rust-num/num-traits/blob/HEAD/RELEASES.md#Release-0218-2024-02-07)

[Compare
Source](https://github.com/rust-num/num-traits/compare/num-traits-0.2.17...num-traits-0.2.18)

- [The new `Euclid::div_rem_euclid` and
`CheckedEuclid::checked_div_rem_euclid` methods][291]
    compute and return the quotient and remainder at the same time.
- [The new `TotalOrder` trait implements the IEEE 754 `totalOrder`
predicate.][295]
- [The new `ConstZero` and `ConstOne` traits offered associated
constants][303],
extending the non-const `Zero` and `One` traits for types that have
constant values.

**Contributors**:
[@&#8203;andrewjradcliffe](https://github.com/andrewjradcliffe),
[@&#8203;cuviper](https://github.com/cuviper),
[@&#8203;tarcieri](https://github.com/tarcieri),
[@&#8203;tdelabro](https://github.com/tdelabro),
[@&#8203;waywardmonkeys](https://github.com/waywardmonkeys)

[291]: https://github.com/rust-num/num-traits/pull/291

[295]: https://github.com/rust-num/num-traits/pull/295

[303]: https://github.com/rust-num/num-traits/pull/303

</details>

<details>
<summary>Amanieu/parking_lot (parking_lot)</summary>

###
[`v0.12.3`](https://github.com/Amanieu/parking_lot/blob/HEAD/CHANGELOG.md#parkinglot-0123-2024-05-24)

[Compare
Source](https://github.com/Amanieu/parking_lot/compare/0.12.2...0.12.3)

- Export types provided by arc_lock feature
([#&#8203;442](https://github.com/Amanieu/parking_lot/issues/442))

###
[`v0.12.2`](https://github.com/Amanieu/parking_lot/blob/HEAD/CHANGELOG.md#parkinglot-0122-parkinglotcore-0910-lockapi-0412-2024-04-15)

[Compare
Source](https://github.com/Amanieu/parking_lot/compare/0.12.1...0.12.2)

- Fixed panic when calling `with_upgraded` twice on a
`ArcRwLockUpgradableReadGuard`
([#&#8203;431](https://github.com/Amanieu/parking_lot/issues/431))
-   Fixed `RwLockUpgradeableReadGuard::with_upgraded`
- Added lock_api::{Mutex, ReentrantMutex, RwLock}::from_raw methods
([#&#8203;429](https://github.com/Amanieu/parking_lot/issues/429))
- Added Apple visionOS support
([#&#8203;433](https://github.com/Amanieu/parking_lot/issues/433))

</details>

<details>
<summary>petgraph/petgraph (petgraph)</summary>

###
[`v0.6.5`](https://github.com/petgraph/petgraph/blob/HEAD/RELEASES.rst#Version-065-2024-05-06)

[Compare
Source](https://github.com/petgraph/petgraph/compare/petgraph@v0.6.4...petgraph@v0.6.5)

\==========================

-   Add rayon support for `GraphMap` (`#573`*, `#615`*)
-   Add `Topo::with_initials` method (`#585`\_)
-   Add logo to the project (`#598`\_)
-   Add Ford-Fulkerson algorithm (`#640`\_)
-   Update `itertools` to 0.12.1 (`#628`\_)
-   Update `GraphMap` to allow custom hash functions (`#623`\_)
-   Fix documentation (`#630`\_)
-   Fix clippy warnings (`#627`\_)
-   (internal) Fix remove old `copyclone` macro (`#601`\_)
-   (internal) Move minimum spanning tree into own module (`#624`\_)

.. \_`#573`:
[https://github.com/petgraph/petgraph/pull/573](https://github.com/petgraph/petgraph/pull/573)
.. \_`#615`:
[https://github.com/petgraph/petgraph/pull/615](https://github.com/petgraph/petgraph/pull/615)
.. \_`#585`:
[https://github.com/petgraph/petgraph/pull/585](https://github.com/petgraph/petgraph/pull/585)
.. \_`#598`:
[https://github.com/petgraph/petgraph/pull/598](https://github.com/petgraph/petgraph/pull/598)
.. \_`#640`:
[https://github.com/petgraph/petgraph/pull/640](https://github.com/petgraph/petgraph/pull/640)
.. \_`#628`:
[https://github.com/petgraph/petgraph/pull/628](https://github.com/petgraph/petgraph/pull/628)
.. \_`#623`:
[https://github.com/petgraph/petgraph/pull/623](https://github.com/petgraph/petgraph/pull/623)
.. \_`#630`:
[https://github.com/petgraph/petgraph/pull/630](https://github.com/petgraph/petgraph/pull/630)
.. \_`#627`:
[https://github.com/petgraph/petgraph/pull/627](https://github.com/petgraph/petgraph/pull/627)
.. \_`#601`:
[https://github.com/petgraph/petgraph/pull/601](https://github.com/petgraph/petgraph/pull/601)
.. \_`#624`:
[https://github.com/petgraph/petgraph/pull/624](https://github.com/petgraph/petgraph/pull/624)

</details>

<details>
<summary>toml-rs/toml (toml)</summary>

###
[`v0.8.15`](https://github.com/toml-rs/toml/compare/toml-v0.8.14...toml-v0.8.15)

[Compare
Source](https://github.com/toml-rs/toml/compare/toml-v0.8.14...toml-v0.8.15)

###
[`v0.8.14`](https://github.com/toml-rs/toml/compare/toml-v0.8.13...toml-v0.8.14)

[Compare
Source](https://github.com/toml-rs/toml/compare/toml-v0.8.13...toml-v0.8.14)

###
[`v0.8.13`](https://github.com/toml-rs/toml/compare/toml-v0.8.12...toml-v0.8.13)

[Compare
Source](https://github.com/toml-rs/toml/compare/toml-v0.8.12...toml-v0.8.13)

###
[`v0.8.12`](https://github.com/toml-rs/toml/compare/toml-v0.8.11...toml-v0.8.12)

[Compare
Source](https://github.com/toml-rs/toml/compare/toml-v0.8.11...toml-v0.8.12)

###
[`v0.8.11`](https://github.com/toml-rs/toml/compare/toml-v0.8.10...toml-v0.8.11)

[Compare
Source](https://github.com/toml-rs/toml/compare/toml-v0.8.10...toml-v0.8.11)

###
[`v0.8.10`](https://github.com/toml-rs/toml/compare/toml-v0.8.9...toml-v0.8.10)

[Compare
Source](https://github.com/toml-rs/toml/compare/toml-v0.8.9...toml-v0.8.10)

###
[`v0.8.9`](https://github.com/toml-rs/toml/compare/toml-v0.8.8...toml-v0.8.9)

[Compare
Source](https://github.com/toml-rs/toml/compare/toml-v0.8.8...toml-v0.8.9)

</details>

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

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

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

###
[`v0.1.12`](https://github.com/unicode-rs/unicode-width/compare/v0.1.11...v0.1.12)

[Compare
Source](https://github.com/unicode-rs/unicode-width/compare/v0.1.11...v0.1.12)

</details>

<details>
<summary>rustwasm/wasm-bindgen (wasm-bindgen)</summary>

###
[`v0.2.92`](https://github.com/rustwasm/wasm-bindgen/blob/HEAD/CHANGELOG.md#0292)

[Compare
Source](https://github.com/rustwasm/wasm-bindgen/compare/0.2.91...0.2.92)

Released 2024-03-04

##### Added

-   Add bindings for `RTCPeerConnectionIceErrorEvent`.
    [#&#8203;3835](https://github.com/rustwasm/wasm-bindgen/pull/3835)

- Add bindings for `CanvasState.reset()`, affecting
`CanvasRenderingContext2D` and `OffscreenCanvasRenderingContext2D`.
    [#&#8203;3844](https://github.com/rustwasm/wasm-bindgen/pull/3844)

- Add `TryFrom` implementations for `Number`, that allow losslessly
converting from 64- and 128-bits numbers.
    [#&#8203;3847](https://github.com/rustwasm/wasm-bindgen/pull/3847)

- Add support for `Option<*const T>`, `Option<*mut T>` and `NonNull<T>`.
    [#&#8203;3852](https://github.com/rustwasm/wasm-bindgen/pull/3852)
    [#&#8203;3857](https://github.com/rustwasm/wasm-bindgen/pull/3857)

- Allow overriding the URL used for headless tests by setting
`WASM_BINDGEN_TEST_ADDRESS`.
    [#&#8203;3861](https://github.com/rustwasm/wasm-bindgen/pull/3861)

##### Fixed

-   Make .wasm output deterministic when using `--reference-types`.
    [#&#8203;3851](https://github.com/rustwasm/wasm-bindgen/pull/3851)

-   Don't allow invalid Unicode scalar values in `char`.
    [#&#8203;3866](https://github.com/rustwasm/wasm-bindgen/pull/3866)

***

</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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://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://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/swc-project/swc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

10 participants