Skip to content

Commit 7b18816

Browse files
authored
chore: update rspack resolver to v0.6.6 (#12149)
* chore: rspack resolver * chore: integration test * chore: upddate rspack source * test: βœ… update snapshort * test: βœ… update rspack resolver * chore: maintenance cargo.lock * chore: patch simd-adler32 * test: update snapshot * chore: rspack resolver 0.6.6 * fix: patch simd-adler32 for wasm build failure
1 parent 5dfcba5 commit 7b18816

File tree

3 files changed

+74
-46
lines changed

3 files changed

+74
-46
lines changed

β€ŽCargo.lockβ€Ž

Lines changed: 70 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€ŽCargo.tomlβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ regex = { version = "1.12.2", default-features = false }
8282
regex-syntax = { version = "0.8.5", default-features = false, features = ["std"] }
8383
regress = { version = "0.10.4", default-features = false, features = ["pattern"] }
8484
ropey = { version = "1.6.1", default-features = false }
85-
rspack_resolver = { features = ["package_json_raw_json_api", "yarn_pnp"], version = "0.6.4", default-features = false }
85+
rspack_resolver = { features = ["package_json_raw_json_api", "yarn_pnp"], version = "0.6.6", default-features = false }
8686
rspack_sources = { version = "=0.4.17", default-features = false }
8787
rustc-hash = { version = "2.1.0", default-features = false }
8888
ryu-js = { version = "1.0.2", default-features = false }
@@ -502,3 +502,6 @@ rest_pat_in_fully_bound_structs = "warn"
502502
verbose_file_reads = "warn"
503503
# https://github.com/rustwasm/wasm-bindgen/issues/3944
504504
#mem_forget = "warn"
505+
506+
[patch.crates-io]
507+
simd-adler32 = { git = "https://github.com/mcountryman/simd-adler32.git", rev = "b279034d9eb554c3e5e0af523db044f08d8297ba" }

β€Žcrates/rspack_binding_api/src/rspack_resolver/mod.rsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ async fn resolve(resolver: &Resolver, path: &Path, request: &str) -> ResolveResu
3030
module_type: resolution
3131
.package_json()
3232
.and_then(|p| p.r#type.as_ref())
33-
.and_then(|t| t.as_str())
3433
.map(|t| t.to_string()),
3534
},
3635
Err(err) => ResolveResult {

0 commit comments

Comments
Β (0)