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

fs: Refactor the import of internalUtil #33296

Closed
wants to merge 1 commit into from

Conversation

rickyes
Copy link
Contributor

@rickyes rickyes commented May 8, 2020

Deconstructing the .deprecate() that introduces internal/util.

/cc @BridgeAR

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

@nodejs-github-bot nodejs-github-bot added the fs Issues and PRs related to the fs subsystem / file system. label May 8, 2020
@addaleax
Copy link
Member

addaleax commented May 8, 2020

@rickyes This module isn’t going to be loaded unless fs has already been loaded, so lazy-loading seems counterproductive here.

@rickyes
Copy link
Contributor Author

rickyes commented May 8, 2020

@rickyes This module isn’t going to be loaded unless fs has already been loaded, so lazy-loading seems counterproductive here.

@addaleax Thanks for the comment, sorry for the my oversight, I will remove the lazy loading fs changes and keep the deconstruction introduced into internal/util.

@rickyes rickyes changed the title fs: Refactor the import of fs and internalUtil fs: Refactor the import of internalUtil May 8, 2020
@addaleax addaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 19, 2020
@nodejs-github-bot
Copy link
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/31433/

@addaleax
Copy link
Member

Landed in 1a12b82

addaleax pushed a commit that referenced this pull request May 20, 2020
PR-URL: #33296
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
@addaleax addaleax closed this May 20, 2020
@rickyes rickyes deleted the refactor-fs-require branch May 20, 2020 13:06
@codebytere
Copy link
Member

Marking as dont-land for 12.x since this changes code introduced in #29061, which is semver-major.

codebytere pushed a commit that referenced this pull request Jun 18, 2020
PR-URL: #33296
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
@codebytere codebytere mentioned this pull request Jun 28, 2020
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. fs Issues and PRs related to the fs subsystem / file system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants