Skip to content

fix: resolve npm package with .js in the name #227

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

Closed

Conversation

Brooooooklyn
Copy link
Member

@Brooooooklyn Brooooooklyn commented Jul 15, 2024

@Brooooooklyn Brooooooklyn requested a review from Boshen July 15, 2024 06:25
Copy link
Member Author

Brooooooklyn commented Jul 15, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Brooooooklyn and the rest of your teammates on Graphite Graphite

Copy link

codspeed-hq bot commented Jul 15, 2024

CodSpeed Performance Report

Merging #227 will not alter performance

Comparing 07-15-fix_resolve_npm_package_with_.js_in_the_name (8a8ecd9) with 07-15-ci_add_x86_64-unknown-freebsd_target (888cd9b)

Summary

✅ 3 untouched benchmarks

@Brooooooklyn Brooooooklyn force-pushed the 07-15-fix_resolve_npm_package_with_.js_in_the_name branch from e79dc0f to c8c7803 Compare July 15, 2024 07:21
Copy link

codecov bot commented Jul 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.96%. Comparing base (888cd9b) to head (8a8ecd9).

Additional details and impacted files
@@                              Coverage Diff                               @@
##           07-15-ci_add_x86_64-unknown-freebsd_target     #227      +/-   ##
==============================================================================
+ Coverage                                       96.95%   96.96%   +0.01%     
==============================================================================
  Files                                              11       11              
  Lines                                            2297     2308      +11     
==============================================================================
+ Hits                                             2227     2238      +11     
  Misses                                             70       70              

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

@Brooooooklyn Brooooooklyn force-pushed the 07-15-ci_add_x86_64-unknown-freebsd_target branch from 72f9fb5 to 888cd9b Compare July 15, 2024 08:10
@Brooooooklyn Brooooooklyn requested a review from ematipico July 15, 2024 08:10
@Brooooooklyn Brooooooklyn force-pushed the 07-15-fix_resolve_npm_package_with_.js_in_the_name branch from 6f58d3c to 8a8ecd9 Compare July 15, 2024 08:10
Base automatically changed from 07-15-ci_add_x86_64-unknown-freebsd_target to main July 15, 2024 09:35
/// If the extension alias is enabled and all of the aliased extensions are not found if:
/// 1. in `node_modules`, we can fallback to the original extension;
/// 2. not in `node_modules`, it should not allow to fallback to the original extension or add new extensions.
pub resolve_in_node_modules: bool,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 Let me take a look at the problem first 😅

@Boshen Boshen marked this pull request as draft July 15, 2024 11:52
Boshen added a commit that referenced this pull request Jul 15, 2024
Boshen added a commit that referenced this pull request Jul 15, 2024
Boshen added a commit that referenced this pull request Jul 15, 2024
@Boshen Boshen closed this in #228 Jul 15, 2024
@Boshen Boshen closed this in 5644abb Jul 15, 2024
@Boshen Boshen deleted the 07-15-fix_resolve_npm_package_with_.js_in_the_name branch July 15, 2024 14:42
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.

3 participants
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