oxc-project
oxc-resolver
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
feat: package map support
feat/package-map-support
12 hours ago
chore: release v11.22.0
release-plz-2026-06-18T23-48-37Z
2 days ago
chore(deps): update napi (#1245) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [napi](https://crates.io/crates/napi) | dependencies | patch | `3.9.3` β `3.9.4` | | [napi-derive](https://crates.io/crates/napi-derive) | dependencies | patch | `3.5.6` β `3.5.7` | --- ### Configuration π **Schedule**: (in timezone Asia/Shanghai) - 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/oxc-project/oxc-resolver). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzUuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
main
2 days ago
chore(deps): update napi
renovate/napi
2 days ago
chore: release v11.22.0
release-plz-2026-06-18T23-48-37Z
3 days ago
perf: avoid UTF-8 validation on alias and .d.ts resolve hot paths (#1244) ## Summary Follow-up to #1240. Three small changes that avoid paying for UTF-8 validation/conversion of `OsStr` paths on resolution hot paths, plus a comment cleanup. - **file-as-alias** (`src/lib.rs`): `load_browser_field_or_alias` already gates the lookup on the resolved path's raw bytes (`key_matches`) before doing any string work. When a key does match, borrow the path via `Path::to_str()` instead of `to_string_lossy()`. `to_str()` is a zero-allocation borrow and returns `None` for non-UTF-8 paths β which can't resolve through a string alias anyway, so skipping them is equivalent while avoiding the lossy allocation. - **.d.ts module type** (`src/dts_resolver.rs`): `dts_module_type` only checks ASCII extension suffixes (`.d.mts`, `.cts`, `.json`, β¦), so it now matches on `as_encoded_bytes()` directly and drops the UTF-8 validation scan. ASCII bytes never appear inside a multi-byte UTF-8/WTF-8 sequence, so this is byte-for-byte equivalent. - **comments**: trim the verbose comments that landed with the alias byte-gate in #1240. No observable behavior change and no public API change. π€ Generated with [Claude Code](https://claude.com/claude-code)
main
3 days ago
perf: avoid UTF-8 validation on alias and .d.ts resolve hot paths - file-as-alias (lib.rs): borrow the resolved path via `Path::to_str` instead of `to_string_lossy` after the existing byte-gate; avoids the lossy allocation for non-UTF-8 paths, which cannot resolve through a string alias anyway. - .d.ts module type (dts_resolver.rs): match the ASCII extension suffixes on the raw `OsStr` bytes, dropping the UTF-8 validation scan. - trim the verbose comments introduced with the alias byte-gate (#1240).
perf/skip-utf8-resolve
3 days ago
chore: release v11.22.0
release-plz-2026-06-18T23-48-37Z
3 days ago
Latest Branches
CodSpeed Performance Gauge
+6%
feat: package map support
#1246
12 hours ago
0faca8a
feat/package-map-support
CodSpeed Performance Gauge
+7%
chore: release v11.22.0
#1228
2 days ago
fa94c35
release-plz-2026-06-18T23-48-37Z
CodSpeed Performance Gauge
-2%
chore(deps): update napi
#1245
2 days ago
fb3a927
renovate/napi
Β© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs