From e9843d8bb730ebdfca42108585c2e013f96fd612 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 1 Feb 2025 12:20:57 +0000
Subject: [PATCH] fix(deps): update cargo (patch) (#9971)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [js-sys](https://rustwasm.github.io/wasm-bindgen/)
([source](https://redirect.github.com/rustwasm/wasm-bindgen/tree/HEAD/crates/js-sys))
| workspace.dependencies | patch | `0.3.76` -> `0.3.77` |
| [libfuzzer-sys](https://redirect.github.com/rust-fuzz/libfuzzer) |
dependencies | patch | `0.4.8` -> `0.4.9` |
| [rkyv](https://redirect.github.com/rkyv/rkyv) | workspace.dependencies
| patch | `0.8.9` -> `0.8.10` |
| [wasm-bindgen](https://rustwasm.github.io/)
([source](https://redirect.github.com/rustwasm/wasm-bindgen)) |
dependencies | patch | `0.2.99` -> `0.2.100` |
| [wasm-bindgen](https://rustwasm.github.io/)
([source](https://redirect.github.com/rustwasm/wasm-bindgen)) |
workspace.dependencies | patch | `0.2.99` -> `0.2.100` |
| [wasm-bindgen-futures](https://rustwasm.github.io/wasm-bindgen/)
([source](https://redirect.github.com/rustwasm/wasm-bindgen/tree/HEAD/crates/futures))
| workspace.dependencies | patch | `0.4.49` -> `0.4.50` |
---
### Release Notes
rust-fuzz/libfuzzer (libfuzzer-sys)
###
[`v0.4.9`](https://redirect.github.com/rust-fuzz/libfuzzer/blob/HEAD/CHANGELOG.md#049)
[Compare
Source](https://redirect.github.com/rust-fuzz/libfuzzer/compare/0.4.8...0.4.9)
Released 2025-01-28.
##### Added
- The `example_init` demonstrates how to pass an initialization code
block to
the `fuzz_target!` macro.
##### Changed
- The `fuzz_target!` macro now supports the generation of
`LLVMFuzzerInitialize`
to execute initialization code once before running the fuzzer. This
change is
not breaking and is completely backward compatible.
***
rustwasm/wasm-bindgen (wasm-bindgen)
###
[`v0.2.100`](https://redirect.github.com/rustwasm/wasm-bindgen/blob/HEAD/CHANGELOG.md#02100)
[Compare
Source](https://redirect.github.com/rustwasm/wasm-bindgen/compare/0.2.99...0.2.100)
Released 2025-01-12
##### Added
- Add attributes to overwrite return (\`\`unchecked_return_type`) and
parameter types (`unchecked_param_type`), descriptions
(`return_description`and`param_description`) as well as parameter names
(`js_name\`) for exported functions and methods. See the guide for more
details.
[#4394](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4394)
- Add a `copy_to_uninit()` method to all `TypedArray`s. It takes `&mut
[MaybeUninit]` and returns `&mut [T]`.
[#4340](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4340)
- Add test coverage support for Node.js.
[#4348](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4348)
- Support importing memory and using `wasm_bindgen::module()` in
Node.js.
[#4349](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4349)
- Add `--list`, `--ignored`, `--exact` and `--nocapture` to
`wasm-bindgen-test-runner`, analogous to `cargo test`.
[#4356](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4356)
- Add bindings to `Date.to_locale_time_string_with_options`.
[#4384](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4384)
- `#[wasm_bindgen]` now correctly applies `#[cfg(...)]`s in `struct`s.
[#4351](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4351)
##### Changed
- Optional parameters are now typed as `T | undefined | null` to reflect
the actual JS behavior.
[#4188](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4188)
- Adding `getter`, `setter`, and `constructor` methods to enums now
results in a compiler error. This was previously erroneously allowed and
resulted in invalid JS code gen.
[#4278](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4278)
- Handle stuck and failed WebDriver processes when re-trying to start
them.
[#4340](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4340)
- Align test output closer to native `cargo test`.
[#4358](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4358)
- Error if URL in `_REMOTE` can't be parsed instead of just
ignoring it.
[#4362](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4362)
- Remove `WASM_BINDGEN_THREADS_MAX_MEMORY` and
`WASM_BINDGEN_THREADS_STACK_SIZE`. The maximum memory size can be set
via `-Clink-arg=--max-memory=`. The stack size of a thread can be
set when initializing the thread via the `default` function.
[#4363](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4363)
- `console.*()` calls in tests are now always intercepted by default. To
show them use `--nocapture`. When shown they are always printed in-place
instead of after test results, analogous to `cargo test`.
[#4356](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4356)
##### Fixed
- Fixed using [JavaScript
keyword](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#keywords)
as identifiers not being handled correctly.
[#4329](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4329)
- Using JS keywords as `struct` and `enum` names will now error at
compile time, instead of causing invalid JS code gen.
- Using JS keywords that are not valid to call or access properties on
will now error at compile time, instead of causing invalid JS code gen
if used as:
1. The first part of a `js_namespace` on imports.
2. The name of an imported type or constant if the type or constant does
not have a `js_namespace` or `module` attribute.
3. The name of an imported function if the function is not a method and
does not have a `js_namespace` or `module` attribute.
- Using JS keywords on imports in places other than the above will no
longer cause the keywords to be escaped as `_{keyword}`.
- Fixed passing large arrays into Rust failing because of internal
memory allocations invalidating the memory buffer.
[#4353](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4353)
- Pass along an `ignore` attribute to `unsupported` tests.
[#4360](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4360)
- Use OS provided temporary directory for tests instead of Cargo's
`target` directory.
[#4361](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4361)
- Error if URL in `_REMOTE` can't be parsed.
[#4362](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4362)
- Internal functions are now removed instead of invalidly imported if
they are unused.
[#4366](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4366)
- Fixed `no_std` support for all APIs in `web-sys`.
[#4378](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4378)
- Prevent generating duplicate exports for closure conversions.
[#4380](https://redirect.github.com/rustwasm/wasm-bindgen/pull/4380)
***
---
### 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.
---
- [ ] 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).
---
crates/swc_ecma_minifier/fuzz/Cargo.lock | 408 ++++++++++++++++++-----
1 file changed, 330 insertions(+), 78 deletions(-)
diff --git a/crates/swc_ecma_minifier/fuzz/Cargo.lock b/crates/swc_ecma_minifier/fuzz/Cargo.lock
index efcd680e2266..2e79ba6ebe45 100644
--- a/crates/swc_ecma_minifier/fuzz/Cargo.lock
+++ b/crates/swc_ecma_minifier/fuzz/Cargo.lock
@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-version = 3
+version = 4
[[package]]
name = "Inflector"
@@ -26,7 +26,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
dependencies = [
"cfg-if",
- "getrandom",
"once_cell",
"version_check",
"zerocopy",
@@ -79,7 +78,7 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
[[package]]
name = "ast_node"
-version = "2.0.0"
+version = "3.0.0"
dependencies = [
"proc-macro2",
"quote",
@@ -179,11 +178,13 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.0.73"
+version = "1.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
+checksum = "e4730490333d58093109dc02c23174c3f4d490998c3fed3cc8e82d57afedb9cf"
dependencies = [
"jobserver",
+ "libc",
+ "shlex",
]
[[package]]
@@ -283,6 +284,17 @@ dependencies = [
"crypto-common",
]
+[[package]]
+name = "displaydoc"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.72",
+]
+
[[package]]
name = "either"
version = "1.13.0"
@@ -388,26 +400,153 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "hstr"
-version = "0.2.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dae404c0c5d4e95d4858876ab02eecd6a196bb8caa42050dfa809938833fc412"
+version = "0.2.17"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
"once_cell",
"phf",
- "rustc-hash",
+ "rustc-hash 2.1.0",
"triomphe",
]
+[[package]]
+name = "icu_collections"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
+dependencies = [
+ "displaydoc",
+ "litemap",
+ "tinystr",
+ "writeable",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid_transform"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
+dependencies = [
+ "displaydoc",
+ "icu_locid",
+ "icu_locid_transform_data",
+ "icu_provider",
+ "tinystr",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid_transform_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
+
+[[package]]
+name = "icu_normalizer"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_normalizer_data",
+ "icu_properties",
+ "icu_provider",
+ "smallvec",
+ "utf16_iter",
+ "utf8_iter",
+ "write16",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
+
+[[package]]
+name = "icu_properties"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_locid_transform",
+ "icu_properties_data",
+ "icu_provider",
+ "tinystr",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_properties_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
+
+[[package]]
+name = "icu_provider"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
+dependencies = [
+ "displaydoc",
+ "icu_locid",
+ "icu_provider_macros",
+ "stable_deref_trait",
+ "tinystr",
+ "writeable",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_provider_macros"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.72",
+]
+
[[package]]
name = "idna"
-version = "0.5.0"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
+checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
dependencies = [
- "unicode-bidi",
- "unicode-normalization",
+ "idna_adapter",
+ "smallvec",
+ "utf8_iter",
+]
+
+[[package]]
+name = "idna_adapter"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
+dependencies = [
+ "icu_normalizer",
+ "icu_properties",
]
[[package]]
@@ -456,9 +595,9 @@ checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc"
[[package]]
name = "jobserver"
-version = "0.1.25"
+version = "0.1.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "068b1ee6743e4d11fb9c6a1e6064b3693a1b600e7f5f5988047d98b3dc9fb90b"
+checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0"
dependencies = [
"libc",
]
@@ -477,14 +616,20 @@ checksum = "55edcf6c0bb319052dea84732cf99db461780fd5e8d3eb46ab6ff312ab31f197"
[[package]]
name = "libfuzzer-sys"
-version = "0.4.8"
+version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b9569d2f74e257076d8c6bfa73fb505b46b851e51ddaecc825944aa3bed17fa"
+checksum = "cf78f52d400cf2d84a3a973a78a592b4adc535739e0a5597a0da6f0c357adc75"
dependencies = [
"arbitrary",
"cc",
]
+[[package]]
+name = "litemap"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104"
+
[[package]]
name = "lock_api"
version = "0.4.12"
@@ -753,22 +898,22 @@ dependencies = [
[[package]]
name = "ptr_meta"
-version = "0.1.4"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1"
+checksum = "fe9e76f66d3f9606f44e45598d155cb13ecf09f4a28199e48daf8c8fc937ea90"
dependencies = [
"ptr_meta_derive",
]
[[package]]
name = "ptr_meta_derive"
-version = "0.1.4"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac"
+checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1"
dependencies = [
"proc-macro2",
"quote",
- "syn 1.0.103",
+ "syn 2.0.72",
]
[[package]]
@@ -854,6 +999,12 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
+[[package]]
+name = "rustc-hash"
+version = "2.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
+
[[package]]
name = "rustc_version"
version = "0.2.3"
@@ -962,6 +1113,12 @@ dependencies = [
"lazy_static",
]
+[[package]]
+name = "shlex"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+
[[package]]
name = "simd-abstraction"
version = "0.7.1"
@@ -979,9 +1136,9 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
[[package]]
name = "smallvec"
-version = "1.10.0"
+version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
+checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "smartstring"
@@ -1011,7 +1168,7 @@ dependencies = [
"data-encoding",
"debugid",
"if_chain",
- "rustc-hash",
+ "rustc-hash 1.1.0",
"rustc_version",
"serde",
"serde_json",
@@ -1056,22 +1213,22 @@ dependencies = [
[[package]]
name = "swc_allocator"
-version = "1.0.0"
+version = "2.0.0"
dependencies = [
"bumpalo",
"hashbrown 0.14.5",
"ptr_meta",
- "rustc-hash",
+ "rustc-hash 2.1.0",
"triomphe",
]
[[package]]
name = "swc_atoms"
-version = "2.0.0"
+version = "3.0.4"
dependencies = [
"hstr",
"once_cell",
- "rustc-hash",
+ "rustc-hash 2.1.0",
"serde",
]
@@ -1079,17 +1236,17 @@ dependencies = [
name = "swc_cached"
version = "1.0.0"
dependencies = [
- "ahash 0.8.11",
"anyhow",
"dashmap",
"once_cell",
"regex",
+ "rustc-hash 2.1.0",
"serde",
]
[[package]]
name = "swc_common"
-version = "4.0.0"
+version = "5.0.1"
dependencies = [
"arbitrary",
"ast_node",
@@ -1101,7 +1258,7 @@ dependencies = [
"num-bigint",
"once_cell",
"parking_lot",
- "rustc-hash",
+ "rustc-hash 2.1.0",
"serde",
"siphasher",
"swc_allocator",
@@ -1139,7 +1296,7 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "4.0.1"
+version = "5.1.0"
dependencies = [
"arbitrary",
"bitflags",
@@ -1157,12 +1314,13 @@ dependencies = [
[[package]]
name = "swc_ecma_codegen"
-version = "4.0.2"
+version = "5.1.0"
dependencies = [
"memchr",
"num-bigint",
"once_cell",
"regex",
+ "rustc-hash 2.1.0",
"serde",
"sourcemap",
"swc_allocator",
@@ -1185,7 +1343,7 @@ dependencies = [
[[package]]
name = "swc_ecma_minifier"
-version = "5.0.0"
+version = "9.0.0"
dependencies = [
"arrayvec",
"indexmap 2.2.6",
@@ -1196,7 +1354,7 @@ dependencies = [
"phf",
"radix_fmt",
"regex",
- "rustc-hash",
+ "rustc-hash 2.1.0",
"ryu-js",
"serde",
"serde_json",
@@ -1212,6 +1370,7 @@ dependencies = [
"swc_ecma_usage_analyzer",
"swc_ecma_utils",
"swc_ecma_visit",
+ "swc_parallel",
"swc_timer",
"tracing",
]
@@ -1234,13 +1393,14 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "5.0.0"
+version = "7.0.1"
dependencies = [
"either",
"new_debug_unreachable",
"num-bigint",
"num-traits",
"phf",
+ "rustc-hash 2.1.0",
"serde",
"smallvec",
"smartstring",
@@ -1254,7 +1414,7 @@ dependencies = [
[[package]]
name = "swc_ecma_testing"
-version = "4.0.0"
+version = "5.0.0"
dependencies = [
"anyhow",
"hex",
@@ -1265,14 +1425,14 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_base"
-version = "5.0.0"
+version = "8.0.0"
dependencies = [
"better_scoped_tls",
"bitflags",
"indexmap 2.2.6",
"once_cell",
"phf",
- "rustc-hash",
+ "rustc-hash 2.1.0",
"serde",
"smallvec",
"swc_atoms",
@@ -1281,6 +1441,7 @@ dependencies = [
"swc_ecma_parser",
"swc_ecma_utils",
"swc_ecma_visit",
+ "swc_parallel",
"tracing",
]
@@ -1296,13 +1457,13 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_optimization"
-version = "5.0.0"
+version = "8.0.0"
dependencies = [
"dashmap",
"indexmap 2.2.6",
"once_cell",
"petgraph",
- "rustc-hash",
+ "rustc-hash 2.1.0",
"serde_json",
"swc_atoms",
"swc_common",
@@ -1318,10 +1479,10 @@ dependencies = [
[[package]]
name = "swc_ecma_usage_analyzer"
-version = "5.0.0"
+version = "9.0.0"
dependencies = [
"indexmap 2.2.6",
- "rustc-hash",
+ "rustc-hash 2.1.0",
"swc_atoms",
"swc_common",
"swc_ecma_ast",
@@ -1333,24 +1494,25 @@ dependencies = [
[[package]]
name = "swc_ecma_utils"
-version = "5.0.0"
+version = "8.0.0"
dependencies = [
"indexmap 2.2.6",
"num_cpus",
"once_cell",
- "rustc-hash",
+ "rustc-hash 2.1.0",
"ryu-js",
"swc_atoms",
"swc_common",
"swc_ecma_ast",
"swc_ecma_visit",
+ "swc_parallel",
"tracing",
"unicode-id",
]
[[package]]
name = "swc_ecma_visit"
-version = "4.0.0"
+version = "5.0.0"
dependencies = [
"new_debug_unreachable",
"num-bigint",
@@ -1372,7 +1534,7 @@ dependencies = [
[[package]]
name = "swc_error_reporters"
-version = "5.0.0"
+version = "6.0.0"
dependencies = [
"anyhow",
"miette",
@@ -1383,11 +1545,11 @@ dependencies = [
[[package]]
name = "swc_fast_graph"
-version = "5.0.0"
+version = "6.0.0"
dependencies = [
"indexmap 2.2.6",
"petgraph",
- "rustc-hash",
+ "rustc-hash 2.1.0",
"swc_common",
]
@@ -1400,6 +1562,13 @@ dependencies = [
"syn 2.0.72",
]
+[[package]]
+name = "swc_parallel"
+version = "1.2.0"
+dependencies = [
+ "once_cell",
+]
+
[[package]]
name = "swc_timer"
version = "1.0.0"
@@ -1437,6 +1606,17 @@ dependencies = [
"unicode-ident",
]
+[[package]]
+name = "synstructure"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.72",
+]
+
[[package]]
name = "tap"
version = "1.0.1"
@@ -1454,7 +1634,7 @@ dependencies = [
[[package]]
name = "testing"
-version = "4.0.0"
+version = "5.0.0"
dependencies = [
"ansi_term",
"cargo_metadata",
@@ -1462,6 +1642,7 @@ dependencies = [
"once_cell",
"pretty_assertions",
"regex",
+ "rustc-hash 2.1.0",
"serde",
"serde_json",
"swc_common",
@@ -1526,20 +1707,15 @@ dependencies = [
]
[[package]]
-name = "tinyvec"
-version = "1.6.0"
+name = "tinystr"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
+checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
dependencies = [
- "tinyvec_macros",
+ "displaydoc",
+ "zerovec",
]
-[[package]]
-name = "tinyvec_macros"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
-
[[package]]
name = "tracing"
version = "0.1.40"
@@ -1623,12 +1799,6 @@ version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987"
-[[package]]
-name = "unicode-bidi"
-version = "0.3.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
-
[[package]]
name = "unicode-id"
version = "0.3.3"
@@ -1657,15 +1827,6 @@ dependencies = [
"regex",
]
-[[package]]
-name = "unicode-normalization"
-version = "0.1.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
-dependencies = [
- "tinyvec",
-]
-
[[package]]
name = "unicode-width"
version = "0.1.13"
@@ -1674,15 +1835,27 @@ checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
[[package]]
name = "url"
-version = "2.5.2"
+version = "2.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c"
+checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
dependencies = [
"form_urlencoded",
"idna",
"percent-encoding",
]
+[[package]]
+name = "utf16_iter"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
+
+[[package]]
+name = "utf8_iter"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
+
[[package]]
name = "uuid"
version = "1.10.0"
@@ -1802,6 +1975,18 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+[[package]]
+name = "write16"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
+
+[[package]]
+name = "writeable"
+version = "0.5.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
+
[[package]]
name = "wyz"
version = "0.5.1"
@@ -1817,6 +2002,30 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
+[[package]]
+name = "yoke"
+version = "0.7.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40"
+dependencies = [
+ "serde",
+ "stable_deref_trait",
+ "yoke-derive",
+ "zerofrom",
+]
+
+[[package]]
+name = "yoke-derive"
+version = "0.7.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.72",
+ "synstructure",
+]
+
[[package]]
name = "zerocopy"
version = "0.7.35"
@@ -1836,3 +2045,46 @@ dependencies = [
"quote",
"syn 2.0.72",
]
+
+[[package]]
+name = "zerofrom"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e"
+dependencies = [
+ "zerofrom-derive",
+]
+
+[[package]]
+name = "zerofrom-derive"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.72",
+ "synstructure",
+]
+
+[[package]]
+name = "zerovec"
+version = "0.10.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
+dependencies = [
+ "yoke",
+ "zerofrom",
+ "zerovec-derive",
+]
+
+[[package]]
+name = "zerovec-derive"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.72",
+]