@@ -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.
@@ -807,6 +807,9 @@ changes:
807807 - v13.14 .0
808808 pr- url: https: // github.com/nodejs/node/pull/32985
809809 description: The ` importModuleDynamically` option is now supported.
810+ - version: REPLACEME
811+ pr- url: https: // github.com/nodejs/node/pull/33364
812+ description: Removal of ` importModuleDynamically` due to compatibility issues
810813-->
811814
812815* ` code` {string} The body of the function to compile.
@@ -829,16 +832,6 @@ changes:
829832 * `contextExtensions` {Object[]} An array containing a collection of context
830833 extensions (objects wrapping the current scope ) to be applied while
831834 compiling. **Default:** `[]`.
832- * `importModuleDynamically` {Function } Called during evaluation of this module
833- when ` import()` is called . If this option is not specified, calls to
834- ` import()` will reject with [` ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING` ][].
835- This option is part of the experimental modules API , and should not be
836- considered stable.
837- * ` specifier` {string} specifier passed to ` import()`
838- * ` function` {Function }
839- * Returns: {Module Namespace Object | vm .Module } Returning a ` vm.Module` is
840- recommended in order to take advantage of error tracking, and to avoid
841- issues with namespaces that contain ` then` function exports.
842835* Returns: {Function }
843836
844837Compiles the given code into the provided context (if no context is
0 commit comments