-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Add support for node:
‑prefixed imports of built‑in modules to require(…)
#36098
Labels
util
Issues and PRs related to the built-in util module.
Comments
This was referenced Feb 1, 2021
ExE-Boss
added a commit
to ExE-Boss/node
that referenced
this issue
Feb 6, 2021
ExE-Boss
added a commit
to ExE-Boss/node
that referenced
this issue
Feb 6, 2021
ExE-Boss
added a commit
to ExE-Boss/node
that referenced
this issue
Feb 6, 2021
ExE-Boss
added a commit
to ExE-Boss/node
that referenced
this issue
Feb 6, 2021
Fixes: nodejs#36098 Co-authored-by: Darshan Sen <raisinten@gmail.com>
ExE-Boss
added a commit
to ExE-Boss/node
that referenced
this issue
Feb 8, 2021
Fixes: nodejs#36098 Co-authored-by: Darshan Sen <raisinten@gmail.com>
8 tasks
ExE-Boss
added a commit
to ExE-Boss/node
that referenced
this issue
Mar 5, 2021
Fixes: nodejs#36098 Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Co-authored-by: Guy Bedford <guybedford@gmail.com> Co-authored-by: Darshan Sen <raisinten@gmail.com>
targos
pushed a commit
to targos/node
that referenced
this issue
Aug 8, 2021
Fixes: nodejs#36098 Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Co-authored-by: Guy Bedford <guybedford@gmail.com> Co-authored-by: Darshan Sen <raisinten@gmail.com> PR-URL: nodejs#37246 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
targos
pushed a commit
that referenced
this issue
Sep 1, 2021
Fixes: #36098 Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Co-authored-by: Guy Bedford <guybedford@gmail.com> Co-authored-by: Darshan Sen <raisinten@gmail.com> PR-URL: #37246 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This was referenced Mar 9, 2024
Yang-33
added a commit
to line/line-bot-sdk-nodejs
that referenced
this issue
Mar 11, 2024
Current Node.js v18 allows us to use `node:` prefix to import built-in modules. line-bot-sdk-nodejs only supports Node.js version >= 18, this won't affect normal line-bot-sdk-nodejs users. ref: nodejs/node#36098, https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#2021-09-28-version-14180-fermium-lts-targos ref: https://nodejs.org/api/esm.html#node-imports list: https://github.com/sindresorhus/builtin-modules/blob/main/builtin-modules.json
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the 2020‑10‑29 TSC Meeting notes, where it was decided that CommonJS should also support
node:
‑prefixed imports, so that any future built‑in modules (e.g.:diagnostics_channel
) don’t risk possible ecosystem breakage.The text was updated successfully, but these errors were encountered: