File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -603,14 +603,14 @@ not possible to replace the value of a Node.js builtin (core) module.
603603
604604The value of ` source` can be omitted for type ` ' commonjs' ` :
605605
606- - When a ` source` is provided, all ` require` calls from this module will be
606+ * When a ` source` is provided, all ` require` calls from this module will be
607607 processed by the ESM loader with registered ` resolve` and ` load` hooks; all
608608 ` require .resolve ` calls from this module will be processed by the ESM loader
609609 with registered ` resolve` hooks; only a subset of the CommonJS API will be
610610 available (e.g. no ` require .extensions ` , no ` require .cache ` , no
611611 ` require .resolve .paths ` ) and monkey-patching on the CommonJS module loader
612612 will not apply.
613- - If ` source` is undefined or ` null ` , it will be handled by the CommonJS module
613+ * If ` source` is undefined or ` null ` , it will be handled by the CommonJS module
614614 loader and ` require` /` require .resolve ` calls will not go through the
615615 registered hooks. This behavior for nullish ` source` is temporary — in the
616616 future, nullish ` source` will not be supported.
You can’t perform that action at this time.
0 commit comments