Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
@legendecas suggestion
  • Loading branch information
GeoffreyBooth committed Feb 17, 2024
commit fb07f0c4ec47d0019b162da48170fd5c190edbcd
12 changes: 6 additions & 6 deletions lib/internal/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ function registerImportModuleDynamically(referrer, importModuleDynamically) {
* @param {string} filename - The filename to use for the compiled function.
* @param {number} lineOffset - The line offset to use for the compiled function.
* @param {number} columnOffset - The column offset to use for the compiled function.
* @param {Buffer} cachedData - The cached data to use for the compiled function.
* @param {Buffer} [cachedData=undefined] - The cached data to use for the compiled function.
* @param {boolean} produceCachedData - Whether to produce cached data for the compiled function.
* @param {ReturnType<import('vm').createContext} parsingContext - The parsing context to use for the compiled function.
* @param {object[]} contextExtensions - An array of context extensions to use for the compiled function.
* @param {string[]} params - An optional array of parameter names for the compiled function.
* @param {object} hostDefinedOptionId - The host defined option id to use for the compiled function.
* @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback} importModuleDynamically -
* @param {ReturnType<import('vm').createContext} [parsingContext=undefined] - The parsing context to use for the compiled function.
* @param {object[]} [contextExtensions=[]] - An array of context extensions to use for the compiled function.
* @param {string[]} [params] - An optional array of parameter names for the compiled function.
* @param {symbol} hostDefinedOptionId - A symbol referenced by the field `host_defined_option_symbol`.
* @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback} [importModuleDynamically] -
* A function to use for dynamically importing modules.
* @returns {object} An object containing the compiled function and any associated data.
* @throws {TypeError} If any of the arguments are of the wrong type.
Expand Down