Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
module: add prefix-only modules to module.builtinModules#56185
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
ljharb commented Dec 8, 2024 • edited by aduh95
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by aduh95
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot commented Dec 8, 2024
Review requested:
|
Uh oh!
There was an error while loading. Please reload this page.
juanarbol left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have major complaints against this, thanks!
Uh oh!
There was an error while loading. Please reload this page.
60f1b3a to 31ed23cCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
BridgeAR left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather not add a separate API and just do what was mainly suggested in the issue: to add the missing entries with prefix to the list or just do: #42785 (comment)
ljharb commented Dec 9, 2024 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
I can totally do that (the former; the latter doesn't match the state of the loader file) - while thinking about it I was concerned that might be a breaking change, because currently you can prepend |
BridgeAR commented Dec 9, 2024
The prefix itself is still relatively new, so I guess programmatic addition is not yet common. |
ljharb commented Dec 9, 2024
The prefix has been around since 2020, I believe - the thing that's new is prefix-only modules. If that's the preferred path forward then I'll update this PR to do that, but it would be unfortunate imo if we weren't able to backport it. |
31ed23c to 0d8ea8bComparemodule.builtinPrefixOnlyModulesmodule.builtinModulesaduh95 commented Dec 10, 2024
Is this still a draft or is it ready for reviews? |
0d8ea8b to 0dee8beComparecodecovbot commented Dec 10, 2024 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #56185 +/- ## ========================================== - Coverage 88.54% 88.52% -0.02% ========================================== Files 657 657 Lines 189970 189973 +3 Branches 36482 36481 -1 ========================================== - Hits 168200 168172 -28 - Misses 14979 14995 +16 - Partials 6791 6806 +15
🚀 New features to boost your workflow:
|
0dee8be to a806beeCompareaduh95 commented Dec 17, 2024
FWIW this is breaking our own linter (#56284), so there might be more ecosystem breakage than CITGM shows us. |
PR-URL: #56284 Refs: #56185 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Fixes#42785 PR-URL: #56185Fixes: #42785 Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Marco Ippolito <[email protected]>
PR-URL: #56284 Refs: #56185 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
boneskull commented May 12, 2025
I note that this also breaks our linting |
Fixes: #42785
I haven't added tests yet; I wanted to get some feedback first.