Skip to content
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

module: add dynamic file-specific ESM warnings #56628

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mertcanaltin
Copy link
Member

I improved the error message to include specific file and package.json details, trying to make it clearer and more actionable as requested in the TODO

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. vm Issues and PRs related to the vm subsystem. labels Jan 16, 2025
@mertcanaltin mertcanaltin force-pushed the mert/improve-esm-warning branch from 621136c to 777a249 Compare January 16, 2025 15:17
@mertcanaltin mertcanaltin added module Issues and PRs related to the module subsystem. esm Issues and PRs related to the ECMAScript Modules implementation. labels Jan 16, 2025
@mertcanaltin mertcanaltin changed the title feat: add dynamic file-specific ESM warnings module: add dynamic file-specific ESM warnings Jan 16, 2025
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.20%. Comparing base (3fe8027) to head (5541de0).
Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
src/node_contextify.cc 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #56628      +/-   ##
==========================================
+ Coverage   89.19%   89.20%   +0.01%     
==========================================
  Files         662      662              
  Lines      191893   191901       +8     
  Branches    36937    36936       -1     
==========================================
+ Hits       171164   171194      +30     
+ Misses      13573    13543      -30     
- Partials     7156     7164       +8     
Files with missing lines Coverage Δ
src/node_contextify.cc 81.41% <83.33%> (+0.04%) ⬆️

... and 46 files with indirect coverage changes

@mertcanaltin
Copy link
Member Author

mertcanaltin commented Jan 17, 2025

Could this be flakky? but tests to my local is success https://github.com/nodejs/node/actions/runs/12811945783/job/35722483892?pr=56628

src/node_contextify.cc Outdated Show resolved Hide resolved
Co-authored-by: Anna Henningsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. esm Issues and PRs related to the ECMAScript Modules implementation. module Issues and PRs related to the module subsystem. needs-ci PRs that need a full CI run. vm Issues and PRs related to the vm subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants