Back to Explore

unrs/unrs-resolver

GitHub
3 updates · last 90 days2 watchersOpen source

Last release:

UnRS Resolver is a Rust-based module resolver (with Node.js bindings via npm) that implements ESM and CommonJS resolution, including support for tsconfig paths and tsconfig discovery. It can be useful in bundlers, linters, and language servers that need consistent module resolution with TypeScript configuration, and it also supports Yarn Plug’n’Play (Yarn PNP) and an in-memory file system option.

Project status

  • Actively maintained: The repository shows recent activity (last upstream push on 2026-06-01) and multiple tagged updates in May 2026, including both feature and maintenance changes.
  • Update cadence: There were rapid successive updates in mid-late May 2026 (v1.12.0 on 2026-05-18, v1.12.1 and v1.12.2 on 2026-05-19), after which there is at least one further upstream push by 2026-06-01. Earlier, the project also had frequent updates in June and July 2025 (roughly daily to weekly timing).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.12.2

    v1.12.2 adds build support for loongarch64 targets and includes a platform-specific fix related to how `statx` flags are selected on loongarch64 musl. The actual runtime code change is limited to the `statx` flag gating logic in the filesystem layer.

    Features
  • v1.12.1

    v1.12.1 is a small maintenance release that, per the release notes, reverts a performance-related change around canonicalizing the entry path. The code diff shows that while the canonicalization behavior was adjusted back, there are additional runtime and error-handling behavior changes not mentioned in the release notes.

  • v1.12.0

    v1.12.0 primarily expands and refines module resolution behavior, adding new tsconfig and NODE_PATH handling, improving DTS resolution matching, and exposing additional resolve_file APIs for tsconfig auto discovery. The release also includes a documented breaking change around how tsconfig project references can be configured.

    BreakingFeatures
  • v1.11.1

    Release v1.11.1 release notes only document a documentation update for the `descriptionFiles` option. However, the actual diff also includes runtime-related changes in the WASI resolver, multiple dependency bumps (including the N-API stack), and CI workflow adjustments that are not mentioned in the release notes.

  • v1.11.0

    v1.11.0 adds Yarn Plug'n'Play (Yarn PnP) support by extending the file system logic and improving yarn pnp manifest handling, including more appropriate errors when the manifest cannot be found/read. It also removes the `fs_cache` feature flag and updates internal caching and resolver wiring accordingly.

    BreakingFeatures
  • v1.10.1

    v1.10.1 is a small patch release focused on a bug fix related to how the package.json path is resolved for the napi-postinstall fallback mechanism. The code changes update the require.resolve target in both the runtime entrypoint and the patch script that modifies generated code.

  • v1.10.0

    v1.10.0 primarily fixes module resolution for abnormal relative specifiers by resolving them via node_modules. The release notes also mention a broad dependency update. The actual diff shows several additional API and behavioral changes that are not described in the release notes, including new resolution metadata and multiple undocumented option and Rust API changes.

    Features
  • v1.9.2

    v1.9.2 includes a fix for resolving `.` and `./` so it respects the `mainFiles` option, plus related documentation updates for the NAPI `alias` and `fallback` option types/descriptions. The release also bumps several dependencies (including the Rust NAPI bindings) and updates tests accordingly.

  • v1.9.1

    v1.9.1 is presented as a dependency-only bugfix release. The diff confirms multiple dependency bumps across Rust, pnpm, and CI actions, plus a few code and build-script behavior changes that are not described in the release notes.

  • v1.9.0

    v1.9.0 adds support for resolving `file:` protocol specifiers and expands the Node native build matrix with additional Android targets. It also includes an NAPI fallback change intended to improve WebContainer out-of-the-box behavior.

    Features