FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

lib: remove globalPreload support by kazuma0129 · Pull Request #58743 · nodejs/node · GitHub

/ node Public

lib: remove globalPreload support - #58743

Open
kazuma0129 wants to merge 2 commits into
nodejs:mainfrom
kazuma0129:kazuma0129-patch-1
Open

lib: remove globalPreload support#58743
kazuma0129 wants to merge 2 commits into
nodejs:mainfrom
kazuma0129:kazuma0129-patch-1

Conversation

Copy link
Copy Markdown

Resolved TODO left at #49144.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/loaders

nodejs-github-bot added esm Issues and PRs related to the ECMAScript Modules implementation. needs-ci PRs that need a full CI run. labels Jun 17, 2025
Since the loader is now stable, the warning when using globalPreload is
no longer necessary.
The globalPreload warning is no longer emitted, so the related test is
removed.
kazuma0129 force-pushed the kazuma0129-patch-1 branch from 970c7e7 to f777eab Compare June 17, 2025 16:44

codecov Bot commented Jun 17, 2025
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.12%. Comparing base (462c741) to head (f777eab).
⚠️ Report is 3208 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #58743      +/-   ##
==========================================
- Coverage   90.15%   90.12%   -0.04%     
==========================================
  Files         639      639              
  Lines      188201   188185      -16     
  Branches    36915    36914       -1     
==========================================
- Hits       169675   169601      -74     
- Misses      11274    11316      +42     
- Partials     7252     7268      +16     
Files with missing lines Coverage Δ
lib/internal/modules/esm/hooks.js 90.55% <ø> (-0.13%) ⬇️

... and 39 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

mcollina added semver-major PRs that contain breaking changes and should be released in the next major version. request-ci Add this label to start a Jenkins CI on a PR. labels Jun 18, 2025
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 18, 2025

Copy link
Copy Markdown
Collaborator

JakobJingleheimer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Loaders aren't stable, but I think it's been enough time to remove.

In an abundance of caution though, perhaps let's mark this major?

Copy link
Copy Markdown
Contributor

This pull request has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.

github-actions Bot added the stale label Apr 19, 2026
mcollina added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 19, 2026
nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Apr 19, 2026

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/58743
✔  Done loading data for nodejs/node/pull/58743
----------------------------------- PR info ------------------------------------
Title      lib: remove globalPreload support (#58743)
Author     Kazuma Ohashi <kazuma0129.work@gmail.com> (@kazuma0129, first-time contributor)
Branch     kazuma0129:kazuma0129-patch-1 -> nodejs:main
Labels     semver-major, esm, needs-ci, stale
Commits    2
 - lib: remove globalPreload support
 - test: remove deprecated globalPreload tests
Committers 1
 - KazumaOhashi <kazuma0129.work@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/58743
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: James M Snell <jasnell@gmail.com>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/58743
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: James M Snell <jasnell@gmail.com>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Tue, 17 Jun 2025 16:36:38 GMT
   ✔  Approvals: 5
   ✔  - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/58743#pullrequestreview-2936990929
   ✔  - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/58743#pullrequestreview-2937852337
   ✔  - Jacob Smith (@JakobJingleheimer): https://github.com/nodejs/node/pull/58743#pullrequestreview-2937948049
   ✔  - Ethan Arrowood (@Ethan-Arrowood): https://github.com/nodejs/node/pull/58743#pullrequestreview-2940141301
   ✔  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/58743#pullrequestreview-2946915441
   ⚠  This PR has conflicts that must be resolved
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2025-06-18T06:21:09Z: https://ci.nodejs.org/job/node-test-pull-request/67511/
- Querying data for job/node-test-pull-request/67511/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/24637140337

github-actions Bot removed the stale label Apr 20, 2026

aduh95 commented May 4, 2026

Copy link
Copy Markdown
Contributor

Can you rebase to fix the conflict?

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This pull request has been marked as stale due to 90 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.

github-actions Bot added the stale label Aug 3, 2026
trivikr removed the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Aug 21, 2026
github-actions Bot removed the stale label Aug 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

esm Issues and PRs related to the ECMAScript Modules implementation. needs-ci PRs that need a full CI run. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants


Back | FazBrowse Home | New Git URL