Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 81e05e124f71b3050cd4e60c95017af975568413
Choose a base ref
...
head repository: nodejs/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 28b11396feb9ae576d492ebee1b5840b9b6689ea
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 12, 2025

  1. doc: reorganize docs of module customization hooks

    This reorganizes the documentation of module customization hooks
    to promote the synchronous variant as it has fewer caveats.
    Previously the documentation was organized as follows:
    
    To do something:
    1. For asynchronous hooks, do this, which may have these caveats
    2. For synchronous hooks, do this, which does not have the caveats
    
    To do something else:
    1. For asynchronous hooks, do this, which may have these caveats
    2. For synchronous hooks, do this, which does not have the caveats
    
    It's now organized as follows:
    
    Synchronous hooks:
    To do something, do this.
    To do something else, do this.
    (No mention that it doesn't have caveats, because users are not supposed
    to burden themselves with caveats in the other API that they do not
    use).
    
    Asynchronous hooks:
    They have these caveats, if they are too complex to deal with, consider
    use the synchronous variant.
    
    To do something, do this, which may have these caveats.
    To do something, do this, which may have these caveats.
    
    PR-URL: #60960
    Refs: #56241
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    joyeecheung authored and nodejs-github-bot committed Dec 12, 2025
    Configuration menu
    Copy the full SHA
    7f78002 View commit details
    Browse the repository at this point in the history
  2. doc: mark sync module hooks as release candidate

    PR-URL: #60960
    Refs: #56241
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    joyeecheung authored and nodejs-github-bot committed Dec 12, 2025
    Configuration menu
    Copy the full SHA
    28b1139 View commit details
    Browse the repository at this point in the history
Loading