Skip to content

fix: resolve module ipaddr.js correctly when extensionAlias is provided #228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

Boshen
Copy link
Member

@Boshen Boshen commented Jul 15, 2024

closes #227

Managed to figure this out after stepping through https://github.com/webpack/enhanced-resolve/blob/main/lib/ExtensionAliasPlugin.js

@Boshen Boshen force-pushed the fix-extension-alias branch from 2486ca6 to 6244ef9 Compare July 15, 2024 14:15
@Boshen Boshen force-pushed the fix-extension-alias branch from 6244ef9 to f8ff397 Compare July 15, 2024 14:18
Copy link

codspeed-hq bot commented Jul 15, 2024

CodSpeed Performance Report

Merging #228 will not alter performance

Comparing fix-extension-alias (f8ff397) with main (312d612)

Summary

✅ 3 untouched benchmarks

Copy link

codecov bot commented Jul 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.97%. Comparing base (312d612) to head (f8ff397).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #228      +/-   ##
==========================================
+ Coverage   96.95%   96.97%   +0.01%     
==========================================
  Files          11       11              
  Lines        2297     2312      +15     
==========================================
+ Hits         2227     2242      +15     
  Misses         70       70              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Boshen Boshen merged commit 5644abb into main Jul 15, 2024
21 checks passed
@Boshen Boshen deleted the fix-extension-alias branch July 15, 2024 14:28
JounQin pushed a commit that referenced this pull request Jul 6, 2025
* chore: update lockfiles

* Release v1.9.4

* feat(napi): expose module type info in ResolveResult (#223)

* chore: update devDependencies

* Release v1.10.0

* fix(napi): update buggy NAPI-RS versions (#225)

fix(napi): update buggy @napi-rs/cli

* ci: all `--all-features` to various commands

* chore(deps): update crate-ci/typos action to v1.23.2

* chore(deps): update rust crate napi to 3.0.0-alpha

* chore(deps): update rust crates

* ci: add x86_64-unknown-freebsd target (#226)

* fix: resolve module `ipaddr.js` correctly when `extensionAlias` is provided (#228)

closes #227

* Release v1.10.1

* ci: fix FreeBSD build (#230)

* ci: add `needs` check in build-freebsd

* ci: publish needs build-freebsd (#232)

* Release v1.10.2

* feat: Yarn PnP (#217)

Part of #53

* chore(deps): update rust crate napi-derive to 3.0.0-alpha

* chore(deps): update rust crates

* chore(deps): fix the lock

---------

Co-authored-by: Boshen <boshenc@gmail.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Maël Nison <nison.mael@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
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