@@ -88,7 +88,7 @@ changes:
8888 This option is part of the experimental modules API, and should not be
8989 considered stable.
9090 * ` specifier ` {string} specifier passed to ` import() `
91- * ` script ` {vm.Script }
91+ * ` module ` {vm.Module }
9292 * Returns: {Module Namespace Object|vm.Module} Returning a ` vm.Module ` is
9393 recommended in order to take advantage of error tracking, and to avoid
9494 issues with namespaces that contain ` then ` function exports.
@@ -811,6 +811,9 @@ changes:
811811 - v13.14 .0
812812 pr- url: https: // github.com/nodejs/node/pull/32985
813813 description: The ` importModuleDynamically` option is now supported.
814+ - version: REPLACEME
815+ pr- url: https: // github.com/nodejs/node/pull/33364
816+ description: Removal of ` importModuleDynamically` due to compatibility issues
814817-->
815818
816819* ` code` {string} The body of the function to compile.
@@ -833,16 +836,6 @@ changes:
833836 * `contextExtensions` {Object[]} An array containing a collection of context
834837 extensions (objects wrapping the current scope ) to be applied while
835838 compiling. **Default:** `[]`.
836- * `importModuleDynamically` {Function } Called during evaluation of this module
837- when ` import()` is called . If this option is not specified, calls to
838- ` import()` will reject with [` ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING` ][].
839- This option is part of the experimental modules API , and should not be
840- considered stable.
841- * ` specifier` {string} specifier passed to ` import()`
842- * ` function` {Function }
843- * Returns: {Module Namespace Object | vm .Module } Returning a ` vm.Module` is
844- recommended in order to take advantage of error tracking, and to avoid
845- issues with namespaces that contain ` then` function exports.
846839* Returns: {Function }
847840
848841Compiles the given code into the provided context (if no context is
0 commit comments