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: remove usage of require('util') in esm/loader.js #26804

Closed
wants to merge 1 commit into from

Conversation

dnlup
Copy link
Contributor

@dnlup dnlup commented Mar 20, 2019

Use require('internal/util/debuglog').debuglog instead of
require('util').debuglog in lib/internal/modules/esm/loader.js.

Refs: #26546

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@gengjiawen
Copy link
Member

gengjiawen commented Mar 20, 2019

@dnlup Can you include the filename in commit message. And in those too: #26806, #26802.

@dnlup
Copy link
Contributor Author

dnlup commented Mar 20, 2019

@gengjiawen you mean like

module: remove usage of require('util') in `internal/modules/esm/loader.js`

<rest of commit message>

@gengjiawen
Copy link
Member

I think just loader.js is good to me.

Use `require('internal/util/debuglog').debuglog` instead of 
`require('util').debuglog` in `lib/internal/modules/esm/loader.js`.

Refs: nodejs#26546
@dnlup dnlup force-pushed the util_internal_modules_esm_loader branch from 97ec9cc to 9a8622b Compare March 20, 2019 13:23
@dnlup dnlup changed the title module: remove usage of require('util') module: remove usage of require('util') in esm/loader.js Mar 20, 2019
@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 22, 2019
@BridgeAR
Copy link
Member

@BridgeAR
Copy link
Member

@BridgeAR
Copy link
Member

Landed in ad661ca 🎉

@BridgeAR BridgeAR closed this Mar 24, 2019
BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Mar 24, 2019
Use `require('internal/util/debuglog').debuglog` instead of
`require('util').debuglog` in `lib/internal/modules/esm/loader.js`.

PR-URL: nodejs#26804
Refs: nodejs#26546
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
targos pushed a commit to targos/node that referenced this pull request Mar 27, 2019
Use `require('internal/util/debuglog').debuglog` instead of
`require('util').debuglog` in `lib/internal/modules/esm/loader.js`.

PR-URL: nodejs#26804
Refs: nodejs#26546
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
targos pushed a commit that referenced this pull request Mar 27, 2019
Use `require('internal/util/debuglog').debuglog` instead of
`require('util').debuglog` in `lib/internal/modules/esm/loader.js`.

PR-URL: #26804
Refs: #26546
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
@dnlup dnlup deleted the util_internal_modules_esm_loader branch January 10, 2020 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants