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

doc: fix mistake in the module `load` hook api by isti115 · Pull Request #53349 · nodejs/node · GitHub

/ node Public

doc: fix mistake in the module load hook api - #53349

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
isti115:patch-1
Jun 7, 2024
Merged

doc: fix mistake in the module load hook api#53349
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
isti115:patch-1

Conversation

isti115 commented Jun 5, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

If I assume correcly, the shortCircuit parameter returned by a load hook actually terminates the load chain, and this is possibly a copy-paste error from the similar description at the resolve hook. Also, the specifier term is specific to the resolve phase if I understand correctly, and the load phase passes around url parameters instead.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/loaders

nodejs-github-bot added doc Issues and PRs related to the documentations. module Issues and PRs related to the module subsystem. labels Jun 5, 2024

Copy link
Copy Markdown
Member

resolve() hook chain

const chain = this.#chains.resolve;

load() hook chain
const chain = this.#chains.load;

aduh95 added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Jun 7, 2024
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 7, 2024
nodejs-github-bot merged commit 3907404 into nodejs:main Jun 7, 2024

Copy link
Copy Markdown
Collaborator

Landed in 3907404

targos pushed a commit that referenced this pull request Jun 20, 2024
PR-URL: #53349
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
soophoo pushed a commit to soophoo/node that referenced this pull request Jun 20, 2024
PR-URL: nodejs#53349
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
PR-URL: #53349
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
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

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. doc Issues and PRs related to the documentations. module Issues and PRs related to the module subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL