Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oxc-project/oxc-resolver
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: oxc_resolver-v8.0.0
Choose a base ref
...
head repository: oxc-project/oxc-resolver
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: oxc_resolver-v9.0.0
Choose a head ref
  • 14 commits
  • 27 files changed
  • 4 contributors

Commits on May 1, 2025

  1. Configuration menu
    Copy the full SHA
    9f5ac51 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2025

  1. chore(deps): update crate-ci/typos action to v1.32.0 (#492)

    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | [crate-ci/typos](https://redirect.github.com/crate-ci/typos) | action
    | minor | `v1.31.2` -> `v1.32.0` |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>crate-ci/typos (crate-ci/typos)</summary>
    
    ###
    [`v1.32.0`](https://redirect.github.com/crate-ci/typos/compare/v1.31.2...v1.32.0)
    
    [Compare
    Source](https://redirect.github.com/crate-ci/typos/compare/v1.31.2...v1.32.0)
    
    </details>
    
    ---
    
    ### 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.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 2, 2025
    Configuration menu
    Copy the full SHA
    a7f3fa3 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2025

  1. Configuration menu
    Copy the full SHA
    25b325c View commit details
    Browse the repository at this point in the history
  2. chore(deps): lock file maintenance (#498)

    This PR contains the following updates:
    
    | Update | Change |
    |---|---|
    | lockFileMaintenance | All locks refreshed |
    
    🔧 This Pull Request updates lock files to use the latest dependency
    versions.
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 2pm on monday" in timezone
    Asia/Shanghai, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 5, 2025
    Configuration menu
    Copy the full SHA
    eed0fb6 View commit details
    Browse the repository at this point in the history
  3. chore(deps): lock file maintenance rust crates (#499)

    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    |  |  | lockFileMaintenance | All locks refreshed |
    | [mimalloc-safe](https://redirect.github.com/napi-rs/mimalloc-safe) |
    dependencies | patch | `0.1.51` -> `0.1.52` |
    
    🔧 This Pull Request updates lock files to use the latest dependency
    versions.
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>napi-rs/mimalloc-safe (mimalloc-safe)</summary>
    
    ###
    [`v0.1.52`](https://redirect.github.com/napi-rs/mimalloc-safe/compare/v0.1.51...v0.1.52)
    
    [Compare
    Source](https://redirect.github.com/napi-rs/mimalloc-safe/compare/v0.1.51...v0.1.52)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 2pm on monday" in timezone
    Asia/Shanghai, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 5, 2025
    Configuration menu
    Copy the full SHA
    06b0636 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    57fa56f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6667579 View commit details
    Browse the repository at this point in the history
  6. chore: publish oxc_napi_resolver (#496)

    closes #494
    Boshen authored May 5, 2025
    Configuration menu
    Copy the full SHA
    cae2beb View commit details
    Browse the repository at this point in the history

Commits on May 6, 2025

  1. Configuration menu
    Copy the full SHA
    f7c841c View commit details
    Browse the repository at this point in the history

Commits on May 7, 2025

  1. Configuration menu
    Copy the full SHA
    eef2bc6 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2025

  1. Revert "refactor!: remove modules options (#484)" (#504)

    This reverts commit f64911c.
    
    closes #502
    closes #493
    
    I don't have have a clear understanding of how .d.ts resolution works so
    reverting the previous commit.
    Boshen authored May 9, 2025
    Configuration menu
    Copy the full SHA
    6e03810 View commit details
    Browse the repository at this point in the history
  2. chore: add --tsconfig to example (#505)

    Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
    Boshen and autofix-ci[bot] authored May 9, 2025
    Configuration menu
    Copy the full SHA
    a60c07c View commit details
    Browse the repository at this point in the history
  3. chore: fix .gitignore

    Boshen committed May 9, 2025
    Configuration menu
    Copy the full SHA
    b51b62b View commit details
    Browse the repository at this point in the history
  4. chore: release (#506)

    ## 🤖 New release
    
    * `oxc_resolver`: 8.0.0 -> 9.0.0 (⚠ API breaking changes)
    * `oxc_napi_resolver`: 8.0.0
    
    ### ⚠ `oxc_resolver` breaking changes
    
    ```text
    --- failure constructible_struct_adds_field: externally-constructible struct adds field ---
    
    Description:
    A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
            ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
           impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/constructible_struct_adds_field.ron
    
    Failed in:
      field ResolveOptions.modules in /tmp/.tmpTBvVad/oxc-resolver/src/options.rs:114
    
    --- failure trait_method_added: pub trait method added ---
    
    Description:
    A non-sealed public trait added a new method without a default implementation, which breaks downstream implementations of the trait
            ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default
           impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/trait_method_added.ron
    
    Failed in:
      trait method oxc_resolver::CachedPath::module_directory in file /tmp/.tmpTBvVad/oxc-resolver/src/cache.rs:69
      trait method oxc_resolver::CachedPath::cached_node_modules in file /tmp/.tmpTBvVad/oxc-resolver/src/cache.rs:76
    ```
    
    <details><summary><i><b>Changelog</b></i></summary><p>
    
    ## `oxc_resolver`
    
    <blockquote>
    
    ##
    [9.0.0](oxc_resolver-v8.0.0...oxc_resolver-v9.0.0)
    - 2025-05-09
    
    ### <!-- 1 -->Bug Fixes
    
    - hash import does not need to load from node_modules
    ([#501](#501))
    
    ### <!-- 7 -->Chore
    
    - add `--tsconfig` to example
    ([#505](#505))
    - publish `oxc_napi_resolver`
    ([#496](#496))
    </blockquote>
    
    ## `oxc_napi_resolver`
    
    <blockquote>
    
    ##
    [8.0.0](https://github.com/oxc-project/oxc-resolver/releases/tag/oxc_napi_resolver-v8.0.0)
    - 2025-05-09
    
    ### <!-- 0 -->Features
    
    - *(napi)* add mimalloc
    ([#423](#423))
    - [**breaking**] Rust Edition 2024
    ([#402](#402))
    - expose `package_json_path`
    ([#376](#376))
    - *(napi)* expose module type info in ResolveResult
    ([#223](#223))
    - *(napi)* add tracing via `OXC_LOG:DEBUG`
    ([#202](#202))
    - *(napi)* add async API
    ([#191](#191))
    - add `imports_fields` option
    ([#138](#138))
    - add more builder functions for options
    ([#110](#110))
    - *(napi)* support wasi target
    ([#31](#31))
    - add file_dependencies and missing_dependencies API
    ([#50](#50))
    - *(napi)* expose cloneWithOptions and clearCache methods
    ([#40](#40))
    - *(napi)* update the doc and type for tsconfig references
    ([#24](#24))
    - *(napi)* add options
    ([#19](#19))
    - *(resolver)* add tracing-subscriber feature
    ([#904](https://github.com/oxc-project/oxc-resolver/pull/904))
    - *(resolver)* tsconfig project references
    ([#862](https://github.com/oxc-project/oxc-resolver/pull/862))
    - *(resolver)* add thiserror
    ([#847](https://github.com/oxc-project/oxc-resolver/pull/847))
    - *(resolver)* implement nested alias field
    ([#795](https://github.com/oxc-project/oxc-resolver/pull/795))
    - *(resolver)* implement tsconfig-paths
    ([#750](https://github.com/oxc-project/oxc-resolver/pull/750))
    - *(resolver)* implement configurable `exports_fields` option
    ([#733](https://github.com/oxc-project/oxc-resolver/pull/733))
    - *(resolver)* implement `main_fields`
    - *(resolver)* implement resolveToContext
    ([#694](https://github.com/oxc-project/oxc-resolver/pull/694))
    - *(resolver)* implement restrictions (path only)
    ([#693](https://github.com/oxc-project/oxc-resolver/pull/693))
    - *(resolver)* implement fully specified
    ([#687](https://github.com/oxc-project/oxc-resolver/pull/687))
    - *(resolver)* imports field
    ([#681](https://github.com/oxc-project/oxc-resolver/pull/681))
    - *(resolver)* finish most of exports field
    ([#674](https://github.com/oxc-project/oxc-resolver/pull/674))
    - *(resolver)* port the rest of the exports field tests
    ([#659](https://github.com/oxc-project/oxc-resolver/pull/659))
    - *(resolver)* implement symlinks
    ([#582](#582))
    - *(resolver)* complete query and fragment parsing
    ([#579](#579))
    - *(resolver)* add preferRelative and preferAbsolute
    ([#577](#577))
    - *(resolver)* implement roots
    ([#576](#576))
    - *(resolver)* implement fallback
    ([#572](#572))
    - *(resolver)* implement enforceExtension
    ([#566](#566))
    - *(resolver)* implement descriptionFiles option
    ([#565](#565))
    - *(resolver)* implement the basics of path alias
    ([#564](#564))
    - *(resolver)* accept different file system implementations
    ([#562](#562))
    - *(resolver)* implement browser field
    ([#561](#561))
    - *(resolver)* implement scoped packages
    ([#558](#558))
    - *(resolver)* port incorrect description file test
    ([#557](#557))
    - *(resolver)* implement extension_alias
    ([#556](#556))
    - *(resolver)* port resolve tests
    ([#555](#555))
    - *(resolver)* resolve extensions
    ([#549](#549))
    - *(resolver)* add resolver test fixtures
    ([#542](#542))
    
    ### <!-- 1 -->Bug Fixes
    
    - hash import does not need to load from node_modules
    ([#501](#501))
    - *(napi)* `new ResolverFactory()` options should be optional
    ([#256](#256))
    - *(napi)* update buggy NAPI-RS versions
    ([#225](#225))
    - canonicalize is not supported on wasi target
    ([#124](#124))
    - resolve "browser" field when "exports" is present
    ([#59](#59))
    
    ### <!-- 4 -->Refactor
    
    - [**breaking**] remove `description_files` option
    ([#488](#488))
    - [**breaking**] remove `modules` options
    ([#484](#484))
    - vitest ([#380](#380))
    - apply latest `cargo +nightly fmt`
    ([#281](#281))
    - selectively parse package_json fields instead of parsing everything
    ([#103](#103))
    - *(resolver)* clean up some code and tests
    - *(resolver)* change internal funcs to non-pub by moving to unit tests
    ([#682](https://github.com/oxc-project/oxc-resolver/pull/682))
    
    ### <!-- 7 -->Chore
    
    - publish `oxc_napi_resolver`
    ([#496](#496))
    - *(napi)* make mimalloc optional to build
    ([#495](#495))
    - *(README)* add wasm usage example
    - *(README)* crates.io badge use recent downloads
    - *(napi)* auto download wasm binding on webcontainer
    ([#471](#471))
    - use root package.json for napi build
    ([#469](#469))
    - *(deps)* update github-actions
    ([#444](#444))
    - *(deps)* lock file maintenance npm packages
    ([#436](#436))
    - bump napi
    ([#404](#404))
    - *(deps)* lock file maintenance npm packages
    ([#391](#391))
    - *(deps)* lock file maintenance rust crates
    ([#390](#390))
    - *(README)* clarify Rust and node.js usages
    - add dprint
    ([#326](#326))
    - *(deps)* update napi-rs to 3.0.0-alpha
    - `cargo upgrade` && `pnpm upgrade`
    - *(deps)* update napi-rs to 3.0.0-alpha
    - update napi changes
    - *(deps)* update rust crate napi-derive to 3.0.0-alpha
    - *(deps)* update rust crate napi to 3.0.0-alpha
    - *(deps)* update napi-rs to 2.16.8
    - *(napi)* make napi binary smaller with minimal tracing features
    ([#213](#213))
    - *(napi)* remove tokio
    ([#212](#212))
    - document directory is an absolute path for `resolve(directory,
    specifier)`
    ([#206](#206))
    - re-enable the wasi build
    ([#193](#193))
    - use pnpm workspace
    ([#182](#182))
    - *(deps)* update rust crates
    ([#176](#176))
    - *(napi)* update NAPI-RS cli version and binding template
    ([#111](#111))
    - update project github url
    - *(deps)* update pnpm to v8.14.1
    ([#52](#52))
    - *(deps)* update pnpm to v8.14.0
    ([#48](#48))
    - *(deps)* update pnpm to v8.13.1
    ([#42](#42))
    - remove FIXME comments
    - *(napi)* align `*Fields` user options with enhanced-resolve
    ([#35](#35))
    - *(deps)* update pnpm to v8.12.1
    ([#21](#21))
    - add some doc for napi TsconfigOptions
    ([#20](#20))
    - *(deps)* update pnpm to v8.12.0
    ([#18](#18))
    - *(README)* adding debugging command from Rspack
    - *(deps)* update pnpm to v8.11.0
    ([#9](#9))
    - *(resolver)* remove tracing_subscriber
    ([#1362](https://github.com/oxc-project/oxc-resolver/pull/1362))
    - *(resolver)* improve documentation
    ([#591](#591))
    
    ### <!-- 8 -->CI
    
    - check for napi .d.index changes
    ([#491](#491))
    - *(release-napi)* support `riscv64gc-unknown-linux-gnu` and
    `s390x-unknown-linux-gnu`
    ([#451](#451))
    </blockquote>
    
    
    </p></details>
    
    ---
    This PR was generated with
    [release-plz](https://github.com/release-plz/release-plz/).
    oxc-bot authored May 9, 2025
    Configuration menu
    Copy the full SHA
    a5b322c View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy