-
Notifications
You must be signed in to change notification settings - Fork 30k
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
esm: update loaders warning #49633
esm: update loaders warning #49633
Conversation
Review requested:
|
Can we keep the warning for use of |
It turns out the previous warning was only for
|
601890e
to
70b1a64
Compare
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
24f23b5
to
45d517d
Compare
Commit Queue failed- Loading data for nodejs/node/pull/49633 ✔ Done loading data for nodejs/node/pull/49633 ----------------------------------- PR info ------------------------------------ Title esm: update loaders warning (#49633) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch GeoffreyBooth:remove-loaders-warning -> nodejs:main Labels experimental, esm, author ready, needs-ci, loaders, commit-queue-squash Commits 7 - esm: update loaders warning - Change warning to be specific to --experimental-loader - Update test/es-module/test-esm-experimental-warnings.mjs - Update test/es-module/test-esm-experimental-warnings.mjs - Improve warning - lint - `readableURIEncode` Committers 1 - Antoine du Hamel PR-URL: https://github.com/nodejs/node/pull/49633 Reviewed-By: Jacob Smith Reviewed-By: Benjamin Gruenbaum Reviewed-By: James M Snell ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/49633 Reviewed-By: Jacob Smith Reviewed-By: Benjamin Gruenbaum Reviewed-By: James M Snell -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last approving review: ⚠ - esm: update loaders warning ⚠ - Change warning to be specific to --experimental-loader ⚠ - Update test/es-module/test-esm-experimental-warnings.mjs ⚠ - Update test/es-module/test-esm-experimental-warnings.mjs ⚠ - Improve warning ⚠ - lint ⚠ - `readableURIEncode` ℹ This PR was created on Wed, 13 Sep 2023 04:59:11 GMT ✔ Approvals: 3 ✔ - Jacob Smith (@JakobJingleheimer): https://github.com/nodejs/node/pull/49633#pullrequestreview-1623900278 ✔ - Benjamin Gruenbaum (@benjamingr) (TSC): https://github.com/nodejs/node/pull/49633#pullrequestreview-1625510070 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/49633#pullrequestreview-1629979006 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2023-09-18T16:05:36Z: https://ci.nodejs.org/job/node-test-pull-request/54041/ - Querying data for job/node-test-pull-request/54041/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/6225715618 |
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.
Nice to see the progress here. I'd love to see a short flag for --import
at some point as well.
Landed in f91b4e2 |
PR-URL: #49633 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
PR-URL: nodejs#49633 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
PR-URL: nodejs#49633 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
PR-URL: nodejs/node#49633 Backport-PR-URL: nodejs/node#50669 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
PR-URL: nodejs/node#49633 Backport-PR-URL: nodejs/node#50669 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
Following up #49597, this PR edits the warning when
--experimental-loader
/--loader
is used to tell people to use--import
/register()
instead, which has no warning. The separate warning aboutglobalPreload
remains.