UnRS Resolver Node API
Last release 3 months ago
19 May 2026
Ships unpredictably
gaps range from 8 days to 11 months
Nearly every release is documented
notes for 40 of 40 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
40 releases ยท first in 2025
Release timeline
40 releases since 2025Releases
- 1.12.219 May 2026
Release notes2 sources agree
Open source โ<!-- 0 -->๐ Features
- feat: add loongarch64 builds (by @wjh-la) - #198
<!-- 1 -->๐ Bug Fixes
- gate statx dont-sync flag for loongarch64 musl (by @JounQin) - #209
Contributors
- @JounQin
- @wjh-la
- 1.12.119 May 2026
- 1.12.018 May 2026
Release notes2 sources agree
Open source โ<!-- 0 -->๐ Features
- add
node_pathoption to disableNODE_PATHenv var behavior (#1031) (by @Boshen) - #202 - add DTS resolver matching TypeScript's bundler mode (#997) (by @Boshen) - #202
- support NODE_PATH module lookup (#1020) (by @Boshen) - #202
- allow access to inner data in error related types (#990) (by @sapphi-red) - #202
- allow subpath imports that start with #/ (#907) (by @Boshen) - #202
- [breaking] disallow manually passing a list of references to
TsconfigOptions::references(#902) (by @Boshen) - #202 - support tsconfig
rootDirs(#885) (by @Boshen) - #202 - (napi) expose resolve_file API as resolveFileSync and resolveFileAsync (#900) (by @Boshen)
- add
resolve_fileAPI for tsconfig auto discovery to work (#860) (by @Boshen) - #202 - port tsconfck (find tsconfig files) (#854) (by @Boshen) - #202
- add many.rs example for profiling resolver with many packages (#836) (by @Boshen) - #202
- improve error message for empty package.json files (#793) (by @Boshen) - #202
- improve PackagePathNotExported error message with condition names (by @Boshen) - #202
- add big-endian support for package.json parsing (#768) (by @Boshen) - #202
- add tsconfig discovery (#758) (by @Boshen) - #202
- add ESM file:// protocol support with comprehensive tests (#746) (by @Boshen) - #202
- only resolve file:// protocol on windows (#737) (by @Boshen) - #202
- add benchmark for package.json deserialization (#698) (by @Boshen) - #202
- (tsconfig) support
files/include/exclude(#659) (by @shulaoda) - feat(tsconfig) support
allowJsincompilerOptions(#658) (by @shulaoda) - #202 - (tsconfig) complete inheritance of
compilerOptionsfields (#657) (by @shulaoda) - support pass closure to restriction (#604) (by @JounQin) - #202
<!-- 1 -->๐ Bug Fixes
- avoid panic in resolve_file for parentless paths (#1053) (by @Boshen) - #202
- (dts) strip ./ prefix from package entry when matching typesVersions (#1051) (by @Boshen)
- (dts) expand Declaration to TypeScript|Declaration for package entry resolution (#1050) (by @Boshen)
- (dts) prefer declaration extensions over JS in exports-resolved paths (#1047) (by @Boshen)
- avoid wasm/wasi dead-code lint in NodePath (#1043) (by @Boshen) - #202
- resolve normalized path on Windows even for
symlinks: false(#1036) (by @sapphi-red) - #202 - skip unreadable tsconfig files during auto-discovery (#1033) (by @longlho) - #202
- remove invalid debug_assert for symlink + package.json (#1032) (by @Boshen) - #202
- resolve clippy unnecessary_unwrap warning (#980) (by @Boshen) - #202
- prevent tsconfig cache pollution with separate raw and built caches (#970) (by @Boshen) - #202
- use
/fixturespath for WASI target (by @Boshen) - #202 - only recreate the cache when
yarn_pnpis toggled (#943) (by @Boshen) - #202 - resolve absolute path to package with trailing slash (#942) (by @Boshen) - #202
- show yarn pnp errors as-is instead of NotFound error (#939) (by @sapphi-red) - #202
- resolve solution tsconfig for auto discovered tsconfig (#927) (by @Boshen) - #202
- fix
clone_with_options+yarn_pnp: truenot working (#916) (by @sapphi-red) - #202 - fix resolution when resolving non-relative specifier on tsconfig baseUrl (#903) (by @Boshen) - #202
- add fallback for statx NOSYS error on old kernels (#901) (by @Boshen) - #202
- correct grammatical errors in documentation and comments (#897) (by @Boshen) - #202
- resolve
node_modules/package/dir/foo.jsifnode_modules/package/dir/foo/exists (#896) (by @Boshen) - #202 - incorrect resolution when project reference extends a tsconfig without baseUrl (#882) (by @Boshen) - #202
- store PathBuf with weak pointers to handle cache clearing (#879) (by @Boshen) - #202
- apply
conditionNames: ['node', 'import']when resolving tsconfig extends (#869) (by @Boshen) - #202 - do not resolve to
node_modules/pacakge/index(#849) (by @Boshen) - #202 - use std::fs::canonicalize as a fallback when canonicalize fails (#835) (by @Boshen) - #202
- remove AT_STATX_DONT_SYNC from statx calls (#828) (by @Boshen) - #202
- (package_json) re-read file for serde_json fallback in simd implementation (#808) (by @Boshen)
- revert system file cache optimization on Linux (#810) (by @Brooooooklyn) - #202
- skip loading tsconfig.json from virtual module paths (#809) (by @sapphi-red) - #202
- don't drop canonicalized path by cache clear (#791) (by @sapphi-red) - #202
- derive Error for JSONError (#779) (by @Boshen) - #202
- tsconfig paths should not be applied to paths inside node_modules (#760) (by @Boshen) - #202
- ensure canonicalized paths remain accessible via strong references (#733) (by @Boshen) - #202
- use
Weakreferences forCachedPathto enable proper drop (#727) (by @Boshen) - #202 - (tsconfig) respect Yarn PnP when resolving
extendspaths (#656) (by @shulaoda) - allow resolving
package?query#fragmentfor packages with exports field (#655) (by @sapphi-red) - #202 - support for resolving empty tsconfig file (#602) (by @JounQin) - #202
<!-- 2 -->๐ Refactor
- remove clear_cache test that dynamically creates fixtures (by @Boshen) - #202
- move resolve and misc fixtures into fixtures/integration (by @Boshen) - #202
- replace ignored doctest with link to example (by @Boshen) - #202
- consolidate fixture directories for better test file mapping (by @Boshen) - #202
- replace
urlcrate withpercent-encoding(#1065) (by @Boshen) - #202 - clean up commented-out code in parse_package_specifier (#1035) (by @Boshen) - #202
- replace builtins.rs with nodejs-built-in-modules crate (#940) (by @Boshen) - #202
- s/self.cache.as_ref()/&self.cache (#910) (by @Boshen) - #202
- remove redundant PathBuf storage in CachedPath (#891) (by @Boshen) - #202
- remove the redundant
inner_resolverfromload_pnp(#862) (by @Boshen) - #202 - improve
DebugandDisplayforCachedPath(#861) (by @Boshen) - #202 - too_many_arguments = "allow" (#863) (by @Boshen) - #202
- change Tsconfig::parse to accept owned string; add replace_bom_with_whitespace (#859) (by @Boshen) - #202
- remove the useless getters and setters from
CompilerOptions(#858) (by @Boshen) - #202 - add
Tsconfig:references_resolved(#856) (by @Boshen) - #202 - move tsconfig resolution related code to its own file (#855) (by @Boshen) - #202
- use RwLock<Vec<Arc<PackageJson>> for package.json storage (#838) (by @Boshen) - #202
- do not store is_symlink in CachedPathImpl (#850) (by @Boshen) - #202
- remove CachedPathImpl::canonicaling (#834) (by @Boshen) - #202
- (file_system) deduplicate read methods and use Vec<u8> (#816) (by @Boshen)
- use cfg_if and rustix in read_to_string_bypass_system_cache (#802) (by @Boshen) - #202
- remove normalize-path dependency, use internal PathUtil (#742) (by @Boshen) - #202
- remove a redundant path clone from PackageJson::parse (#725) (by @Boshen) - #202
- split src/cache.rs into logical modules (#714) (by @Boshen) - #202
<!-- 3 -->๐ Documentation
- map npm package links to npmx.dev (#1028) (by @Boshen) - #202
- (README.md) update logo (#968) (by @sapphi-red)
<!-- 4 -->โก Performance
- remove unnecessary String clone in PnP resolution (#1039) (by @Boshen) - #202
- use byte operations instead of char iteration in specifier parser (#1038) (by @Boshen) - #202
- (resolve) reuse dot-prefixed subpath in exports/imports (#1004) (by @Boshen)
- (cache) remove package.json index arena indirection (#1003) (by @Boshen)
- (tsconfig) precompile wildcard path alias matcher (#1001) (by @Boshen)
- precompile alias match metadata in resolver hot path (#999) (by @Boshen) - #202
- remove an allocation from
CachedPath::module_directory(#880) (by @Boshen) - #202 - skip searching for node_modules/@scope/package.json (#876) (by @Boshen) - #202
- remove the redundant
node_modules/package/indexcache value (#875) (by @Boshen) - #202 - cache all package.json resolutions for faster package.json lookup (#853) (by @Boshen) - #202
- do not canonicalize the entry path (#848) (by @Boshen) - #202
- remove Result from
CachedPathImpl::canonicalized(#847) (by @Boshen) - #202 - fast path for node_modules/package (#839) (by @Boshen) - #202
- cache canonicalization results at every recursion level (#843) (by @Boshen) - #202
- use IdentityHasher for visited set to avoid double hashing (#837) (by @Boshen) - #202
- optimize FileSystem metadata operations with rustix (#800) (by @Boshen) - #202
- use simd-json for package.json parsing (#761) (by @Boshen) - #202
- make url crate optional for wasm32 targets (by @Boshen) - #202
- mark error path functions as #[cold] for better optimization (#729) (by @Boshen) - #202
- bypass file system read cache if memory cache is available (#707) (by @Brooooooklyn) - #202
- use
memmapto speed up file reading (#696) (by @Boshen) - #202 - use
GetFileAttributesExWfor symlink metadata lookup on Windows (#691) (by @sapphi-red) - #202 - improve
pattern_key_compare(#639) (by @Boshen) - #202 - most specifiers don't have escaped characters (#636) (by @Boshen) - #202
<!-- 6 -->๐งช Testing
- add 28 tests to improve coverage (92% โ 93%) (#1082) (by @Boshen) - #202
- use CARGO_MANIFEST_DIR instead
env::current_dir(by @Boshen) - #202 - Add a test to ensure NODEJS_BUILTINS is alphabetized. (#926) (by @connorshea) - #202
- add test cases for package imports starting with
#or#/(#905) (by @Boshen) - #202 - change all fixture directory names to dashed case (#884) (by @Boshen) - #202
- add a tsconfig extend not found case (#763) (by @Boshen) - #202
- improve test coverage for edge cases (#740) (by @Boshen) - #202
- improve coverage for check_restrictions (#739) (by @Boshen) - #202
- add memory leak test (#726) (by @Boshen) - #202
- enable Windows global pnp case (#703) (by @JounQin) - #202
- (tsconfig) tweak jsx
extendstests (#666) (by @shulaoda) - make tests pass on Windows (#654) (by @sapphi-red) - #202
<!-- 9 -->๐ผ Other
- Merge remote-tracking branch 'upstream/main' into chore/merge_upstream (by @JounQin) - #202
- add tsconfig paths alias scalability benchmark (#1002) (by @Boshen) - #202
- Revert "perf: use
memmapto speed up file reading" (#701) (by @Boshen) - #202 - Add comprehensive tests for tsconfig extends functionality (#660) (by @Copilot) - #202
- Expose the
ExtendsFieldenum of TsConfig (#607) (by @ostenbom) - #202
Contributors
- @JounQin
- @renovate[bot]
- @Boshen
- @sapphi-red
- @longlho
- @leegeunhyeok
- @connorshea
- @Brooooooklyn
- @oxc-bot
- @shulaoda
- @Copilot
- @ostenbom
- add
- 1.11.19 Jul 2025
Release notes2 sources agree
Open source โ<!-- 3 -->๐ Documentation
- add missing
descriptionFilesoption introduction (by @JounQin)
Contributors
- @JounQin
- add missing
- 1.11.06 Jul 2025
Release notes
Open source โ<!-- 0 -->๐ Features
- return proper errors when failed to find or read yarn pnp manifest (#590) (by @Boshen) - #178
- add
yarn_pnplogic toFileSystem(#589) (by @Boshen) - #178 - (resolver) rework yarn manifest file look up (#586) (by @Boshen)
<!-- 2 -->๐ Refactor
- remove
fs_cachefeature flag (#588) (by @Boshen) - #178
<!-- 9 -->๐ผ Other
- Merge remote-tracking branch 'upstream/main' into chore/merge_upstream (by @JounQin) - #178
Contributors
- @JounQin
- @oxc-bot
- @Boshen
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.10.1...v1.11.0
Additional notes
Open source โ<!-- 0 -->๐ Features
- return proper errors when failed to find or read yarn pnp manifest (#590) (by @Boshen) - #178
- add
yarn_pnplogic toFileSystem(#589) (by @Boshen) - #178 - (resolver) rework yarn manifest file look up (#586) (by @Boshen)
<!-- 2 -->๐ Refactor
- remove
fs_cachefeature flag (#588) (by @Boshen) - #178
<!-- 9 -->๐ผ Other
- Merge remote-tracking branch 'upstream/main' into chore/merge_upstream (by @JounQin) - #178
Contributors
- @JounQin
- @oxc-bot
- @Boshen
- 1.10.12 Jul 2025
Release notes
Open source โ<!-- 1 -->๐ Bug Fixes
- fix: incorrect package.json relative path (#176) (by @JounQin) - #176
Contributors
- @JounQin
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.10.0...v1.10.1
Additional notes
Open source โ<!-- 1 -->๐ Bug Fixes
- fix: incorrect package.json relative path (#176) (by @JounQin) - #176
Contributors
- @JounQin
- 1.10.02 Jul 2025
Release notes
Open source โ<!-- 1 -->๐ Bug Fixes
- support resolving abnormal relative paths with
node_modules(#171) (by @JounQin) - #171 - (deps) update all dependencies (#168) (by @renovate[bot])
<!-- 9 -->๐ผ Other
- Merge remote-tracking branch 'upstream/main' into chore/merge_upstream (by @JounQin) - #174
Contributors
- @JounQin
- @renovate[bot]
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.9.2...v1.10.0
Additional notes
Open source โ<!-- 1 -->๐ Bug Fixes
- support resolving abnormal relative paths with
node_modules(#171) (by @JounQin) - #171 - (deps) update all dependencies (#168) (by @renovate[bot])
<!-- 9 -->๐ผ Other
- Merge remote-tracking branch 'upstream/main' into chore/merge_upstream (by @JounQin) - #174
Contributors
- @JounQin
- @renovate[bot]
- support resolving abnormal relative paths with
- 1.9.224 Jun 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- requiring
.or./should respectmainFilesoption (#163) (by @JounQin) - #163
<!-- 3 -->Documentation
- update
aliasandfallbackoptions type and description (#161) (by @JounQin) - #161
<!-- 7 -->Chore
Contributors
- @renovate[bot]
- @JounQin
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.9.1...v1.9.2
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- requiring
.or./should respectmainFilesoption (#163) (by @JounQin) - #163
<!-- 3 -->Documentation
- update
aliasandfallbackoptions type and description (#161) (by @JounQin) - #161
<!-- 7 -->Chore
- (deps) update all dependencies (#164) (by @renovate[bot])
Contributors
- @renovate[bot]
- @JounQin
- requiring
- 1.9.120 Jun 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
Contributors
- @renovate[bot]
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.9.0...v1.9.1
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- (deps) update all dependencies (#157) (by @renovate[bot])
Contributors
- @renovate[bot]
- 1.9.011 Jun 2025
Release notes
Open source โ<!-- 0 -->Features
- add
file:protocol path support (#151) (by @JounQin) - #151 - add two last android targets (#154) (by @JounQin) - #154
<!-- 1 -->Bug Fixes
- try different approach to support web container out of box (#150) (by @JounQin) - #150
Contributors
- @JounQin
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.8.1...v1.9.0
Additional notes
Open source โ<!-- 0 -->Features
- add
file:protocol path support (#151) (by @JounQin) - #151 - add two last android targets (#154) (by @JounQin) - #154
<!-- 1 -->Bug Fixes
- try different approach to support web container out of box (#150) (by @JounQin) - #150
Contributors
- @JounQin
- add
- 1.8.111 Jun 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- keep
napiproperty inpackage.jsonfornapi-postinstall(#148) (by @JounQin)
Contributors
- @JounQin
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.8.0...v1.8.1
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- keep
napiproperty inpackage.jsonfornapi-postinstall(#148) (by @JounQin)
Contributors
- @JounQin
- keep
- 1.8.011 Jun 2025
Release notes
Open source โ<!-- 0 -->Features
- support runtime fallback for webcontainer (#144) (by @JounQin) - #144
- merge from upstream
oxc-project/oxc-resolver- 6th (#146) (by @JounQin) - #146
<!-- 7 -->Chore
- (deps) update all dependencies (#141) (by @renovate[bot])
Contributors
- @JounQin
- @renovate[bot]
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.13...v1.8.0
Additional notes
Open source โ<!-- 0 -->Features
- support runtime fallback for webcontainer (#144) (by @JounQin) - #144
- merge from upstream
oxc-project/oxc-resolver- 6th (#146) (by @JounQin) - #146
<!-- 7 -->Chore
- (deps) update all dependencies (#141) (by @renovate[bot])
Contributors
- @JounQin
- @renovate[bot]
- 1.7.1310 Jun 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- support extends in referenced project (#142)
New Contributors
- @mauriceackel made their first contribution in https://github.com/unrs/unrs-resolver/pull/142
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.12...v1.7.13
- 1.7.129 Jun 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- npm protocol alias with pnp should be supported (#139)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.11...v1.7.12
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- npm protocol alias with pnp should be supported (#139)
- 1.7.115 Jun 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- remove invalid file cache due to extension alias (#136)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.10...v1.7.11
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- remove invalid file cache due to extension alias (#136)
- 1.7.105 Jun 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- Revert "fix: custom
condition_namesshould take higher priority than target in package.json (#115)" (#131)
Other
- chore: bump napi v3.0.0-beta.7 (#133)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.9...v1.7.10
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- Revert "fix: custom
condition_namesshould take higher priority than target in package.json (#115)" (#131)
Other
- chore: bump napi v3.0.0-beta.7 (#133)
- Revert "fix: custom
- 1.7.93 Jun 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
-
pnp global cache should be supported (#129)
Windows global cache is still unsupported due to upstream
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.8...v1.7.9
Additional notes
Open source โ<!-- 1 -->Bug Fixes
-
pnp global cache should be supported (#129)
Windows global cache is still unsupported due to upstream
-
- 1.7.829 May 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- resolve symlink with nested
node_modules(#125)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.7...v1.7.8
- resolve symlink with nested
- 1.7.729 May 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- resolve dir index with dot specifier correctly (#123)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.6...v1.7.7
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- resolve dir index with dot specifier correctly (#123)
- 1.7.628 May 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- prefer index over current file for
.and./(#121)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.5...v1.7.6
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- prefer index over current file for
.and./(#121)
- prefer index over current file for
- 1.7.528 May 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- should try package exports first per spec (#118)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.4...v1.7.5
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- should try package exports first per spec (#118)
- 1.7.428 May 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- prefer file over package dir in
node_modules(#116)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.3...v1.7.4
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- prefer file over package dir in
node_modules(#116)
- prefer file over package dir in
- 1.7.328 May 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- custom
condition_namesshould take higher priority than target in package.json (#115)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.2...v1.7.3
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- custom
condition_namesshould take higher priority than target in package.json (#115)
- custom
- 1.7.227 Apr 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- bump
napi-postinstallto fixyarnpnp compatibility issue (#106)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.1...v1.7.2
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- bump
napi-postinstallto fixyarnpnp compatibility issue (#106)
- bump
- 1.7.126 Apr 2025
Release notes
Open source โChore
- bump
napi-postinstallto supportyarn/pnpmonwebcontainer(#103)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.7.0...v1.7.1
Additional notes
Open source โChore
- bump
napi-postinstallto supportyarn/pnpmonwebcontainer(#103)
<!-- 6 -->Testing
- add case for #65 (#100)
- bump
- 1.7.024 Apr 2025
Release notes
Open source โ<!-- 0 -->Features
- enable
no_opt_archflag formimalloc-safeonlinux-aarch64(#98)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.6.6...v1.7.0
Additional notes
Open source โ<!-- 0 -->Features
- enable
no_opt_archflag formimalloc-safeonlinux-aarch64(#98)
- enable
- 1.6.624 Apr 2025
Release notes
Open source โ<!-- 0 -->Features
- add new target
riscv64gc-unknown-linux-musl(#96)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.6.5...v1.6.6
Additional notes
Open source โ<!-- 0 -->Features
- add new target
riscv64gc-unknown-linux-musl(#96)
- add new target
- 1.6.524 Apr 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- rework on handling DOS device paths on Windows (#84)
- handle package.json and tsconfig.json with BOM (#463)
<!-- 2 -->Performance
- avoid double call to
parse_package_specifier(#465)
<!-- 3 -->Documentation
- add more details about the changes in this fork (#92)
New Contributors
- @chenxinyanc made their first contribution in https://github.com/unrs/unrs-resolver/pull/84
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.6.4...v1.6.5
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- rework on handling DOS device paths on Windows (#84)
- handle package.json and tsconfig.json with BOM (#463)
<!-- 2 -->Performance
- avoid double call to
parse_package_specifier(#465)
<!-- 3 -->Documentation
- add more details about the changes in this fork (#92)
- 1.6.422 Apr 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- properly handle DOS device paths in strip_windows_prefix (https://github.com/oxc-project/oxc-resolver/pull/455)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.6.3...v1.6.4
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- properly handle DOS device paths in strip_windows_prefix (#455)
- 1.6.321 Apr 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- support
load_as_directoryfor pnp mode (#75)
<!-- 6 -->Testing
- add case for import-js/eslint-import-resolver-typescript#429 (#76)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.6.2...v1.6.3
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- support
load_as_directoryfor pnp mode (#75)
<!-- 6 -->Testing
- add case for import-js/eslint-import-resolver-typescript#429 (#76)
- support
- 1.6.221 Apr 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- resolve parent base url correctly by normalizing as absolute path (#72)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.6.1...v1.6.2
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- resolve parent base url correctly by normalizing as absolute path (#72)
- 1.6.120 Apr 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- disable
mimallocon linux with aarch64 (#69)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.6.0...v1.6.1
- disable
- 1.6.019 Apr 2025
Release notes
Open source โ<!-- 0 -->Features
- deserialize
preserve_value_importsandimports_not_used_as_valuesfromcompilerOptions(#457) - deserialize
targetfromcompilerOptions(#456)
<!-- 1 -->Bug Fixes
- fix: add
napi-postinstalldep for workaroundnpm's bug (#66)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.5.0...v1.6.0
Additional notes
Open source โ<!-- 0 -->Features
- deserialize
preserve_value_importsandimports_not_used_as_valuesfromcompilerOptions(#457) - deserialize
targetfromcompilerOptions(#456)
<!-- 1 -->Bug Fixes
- add
napi-postinstalldep for workaroundnpm's bug (#66)
- deserialize
- 1.5.011 Apr 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- resolve
${configDir}in tsconfigcompilerOptions.baseUrl(#450)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.4.1...v1.5.0
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- resolve
${configDir}in tsconfigcompilerOptions.baseUrl(#450)
- resolve
- 1.4.17 Apr 2025
Release notes
Open source โ<!-- 4 -->Refactor
- remove unnecessary checks for query by @JounQin (#53)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.4.0...v1.4.1
- 1.4.06 Apr 2025
Release notes
Open source โWhat's Changed
- chore(deps): update all dependencies by @renovate in https://github.com/unrs/unrs-resolver/pull/47
- feat: merge from upstream
oxc-project/oxc-resolver- 2nd by @JounQin in https://github.com/unrs/unrs-resolver/pull/49 - chore: bump all (dev) deps by @JounQin in https://github.com/unrs/unrs-resolver/pull/51
- chore: release v1.4.0 by @JounQin in https://github.com/unrs/unrs-resolver/pull/50
<!-- 0 -->Features
- resolve emitDecoratorMetadata in tsconfig (#439)
- (napi) add mimalloc (#423)
- [breaking] Rust Edition 2024 (#402)
- deserialize
verbatim_module_syntaxfrom compilerOptions (#411) - support wildcard
*in alias plugin (#388) - merge options from extends tsconfig.json (#375)
- add more fields in tsconfig#CompilerOptionsSerde (#374)
- [breaking] generic fs cache
type Resolver = ResolverGeneric<FsCache<FileSystemOs>>(#358) - [breaking] replace
FileSystem::canonicalizewithFileSystem::read_link(#331) - faster and stable path hash for the cache (#328)
- add
Resolver::resolve_tsconfigAPI (#312) - [breaking] add
ResolveError::Builtin::prefixed_with_node_colon(#272) - [breaking] mark
ResolveError#[non_exhaustive] (#252) - show tried extension aliases in
ResolveError::ExtensionAlias(#251) - give a specific error for matched alias not found (#238)
- Yarn PnP (#217)
<!-- 1 -->Bug Fixes
- handle query and fragment in package.json
exportsandimportsfield (#443) - fix bench
- try browsers field and alias before resolving directory in node_modules (#349)
- special case for aliasing
@/(#348) - normalize resolved result on Windows for root (#345)
- don't panic when resolving
/withroots(#310) - use same UNC path normalization logic with libuv (#306)
- use
fs::canonicalizeto cover symlink edge cases (#284) - extensionAlias cannot resolve mathjs (#273)
- resolve module
ipaddr.jscorrectly whenextensionAliasis provided (#228) - (napi) update buggy NAPI-RS versions (#225)
- remove
#[cfg(target_os = "windows")]logic incanonicalize(#221)
<!-- 2 -->Performance
- use papaya instead of dashmap (#356)
- try directory first in
node_modules(#340) - guard
load_aliason hot path (#339) - use
as_os_strforHashandPartialEqoperations (#338) - reduce hash while resolving package.json (#319)
- reduce memory allocation while normalizing package path (#318)
- reduce memory allocation while resolving package.json (#317)
- use
path.as_os_str().hash()instead ofpath.hash()(#316) - reduce memory allocation by using a thread_local path for path methods (#315)
- bring back the symlink optimization (#298)
- use simdutf8 to validate UTF-8 when reading files (#237)
- use custom canonicalize impl to avoid useless syscall (#220)
<!-- 3 -->Documentation
- fix an incorrect comment on
Context::missing_dependencies - mention extension must start with a
.inwith_extension(#313) - (README) should be
new ResolverFactory
<!-- 4 -->Refactor
- remove papaya
.collector(seize::Collector::new())call (#393) - replace UnsafeCell with RefCell (#346)
- run clippy with
--all-targets(#333) - apply latest
cargo +nightly fmt(#281) - add more clippy fixes (#279)
- clean up elided lifetimes (#277)
<!-- 6 -->Testing
- fix warning on Windows
- fix symlink test init on Windows (#307)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.3.3...v1.4.0
Additional notes
Open source โ<!-- 0 -->Features
- handle query and fragment in pacakge.json
exportsandimportsfield (#443) - resolve emitDecoratorMetadata in tsconfig (#439)
- (napi) add mimalloc (#423)
- [breaking] Rust Edition 2024 (#402)
- deserialize
verbatim_module_syntaxfrom compilerOptions (#411) - support wildcard
*in alias plugin (#388) - merge options from extends tsconfig.json (#375)
- add more fields in tsconfig#CompilerOptionsSerde (#374)
- [breaking] generic fs cache
type Resolver = ResolverGeneric<FsCache<FileSystemOs>>(#358) - [breaking] replace
FileSystem::canonicalizewithFileSystem::read_link(#331) - faster and stable path hash for the cache (#328)
- add
Resolver::resolve_tsconfigAPI (#312) - [breaking] add
ResolveError::Builtin::prefixed_with_node_colon(#272) - [breaking] mark
ResolveError#[non_exhaustive] (#252) - show tried extension aliases in
ResolveError::ExtensionAlias(#251) - give a specific error for matched alias not found (#238)
- Yarn PnP (#217)
<!-- 1 -->Bug Fixes
- handle query and fragment in package.json
exportsandimportsfield (#443) - fix bench
- try browsers field and alias before resolving directory in node_modules (#349)
- special case for aliasing
@/(#348) - normalize resolved result on Windows for root (#345)
- don't panic when resolving
/withroots(#310) - use same UNC path normalization logic with libuv (#306)
- use
fs::canonicalizeto cover symlink edge cases (#284) - extensionAlias cannot resolve mathjs (#273)
- resolve module
ipaddr.jscorrectly whenextensionAliasis provided (#228) - (napi) update buggy NAPI-RS versions (#225)
- remove
#[cfg(target_os = "windows")]logic incanonicalize(#221)
<!-- 2 -->Performance
- use papaya instead of dashmap (#356)
- try directory first in
node_modules(#340) - guard
load_aliason hot path (#339) - use
as_os_strforHashandPartialEqoperations (#338) - reduce hash while resolving package.json (#319)
- reduce memory allocation while normalizing package path (#318)
- reduce memory allocation while resolving package.json (#317)
- use
path.as_os_str().hash()instead ofpath.hash()(#316) - reduce memory allocation by using a thread_local path for path methods (#315)
- bring back the symlink optimization (#298)
- use simdutf8 to validate UTF-8 when reading files (#237)
- use custom canonicalize impl to avoid useless syscall (#220)
<!-- 3 -->Documentation
- fix an incorrect comment on
Context::missing_dependencies - mention extension must start with a
.inwith_extension(#313) - (README) should be
new ResolverFactory
<!-- 4 -->Refactor
- remove papaya
.collector(seize::Collector::new())call (#393) - replace UnsafeCell with RefCell (#346)
- run clippy with
--all-targets(#333) - apply latest
cargo +nightly fmt(#281) - add more clippy fixes (#279)
- clean up elided lifetimes (#277)
<!-- 6 -->Testing
- fix warning on Windows
- fix symlink test init on Windows (#307)
- 1.3.329 Mar 2025
Release notes
Open source โBuild
- build: remove
--stripflag (#44)
<!-- 6 -->Testing
- add nested package json case (#40)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/v1.3.2...v1.3.3
Additional notes
Open source โ - build: remove
- 1.3.226 Mar 2025
Release notes
Open source โ<!-- 1 -->Bug Fixes
- absolute path aliasing should not be skipped (#37)
Full Changelog: https://github.com/unrs/unrs-resolver/compare/unrs_resolver-v1.3.1...v1.3.2
Additional notes
Open source โ<!-- 1 -->Bug Fixes
- absolute path aliasing should not be skipped (#37)
- 1.3.126 Mar 2025
- 1.3.026 Mar 2025