diff --git a/packages/ses/src/module-load.js b/packages/ses/src/module-load.js index 19c17e4ac8..b28dc70e0f 100644 --- a/packages/ses/src/module-load.js +++ b/packages/ses/src/module-load.js @@ -348,13 +348,13 @@ function asyncJobQueue() { * * @returns {Promise>} */ - async function drainQueue () { + async function drainQueue() { for (const job of pendingJobs) { // eslint-disable-next-line no-await-in-loop await job; } return errors; - }; + } return { enqueueJob, drainQueue }; } @@ -387,7 +387,7 @@ const preferAsync = (asyncImpl, _syncImpl) => asyncImpl; * compartment and the specifier of the module within its own compartment. * This graph is then ready to be synchronously linked and executed. */ -export async function load ( +export async function load( compartmentPrivateFields, moduleAliases, compartment, @@ -422,7 +422,7 @@ export async function load ( compartmentName, )}`, }); -}; +} /* * `loadNow` synchronously gathers the `StaticModuleRecord`s for a module and its diff --git a/packages/ses/src/permits.js b/packages/ses/src/permits.js index 6a58840eb0..bc7205d218 100644 --- a/packages/ses/src/permits.js +++ b/packages/ses/src/permits.js @@ -1574,7 +1574,7 @@ export const permitted = { }; try { -new FERAL_FUNCTION('async function* AsyncGeneratorFunctionInstance() {}')(); + new FERAL_FUNCTION('async function* AsyncGeneratorFunctionInstance() {}')(); assign(permitted, { '%InertAsyncGeneratorFunction%': { // Properties of the AsyncGeneratorFunction Constructor diff --git a/packages/ses/src/tame-function-constructors.js b/packages/ses/src/tame-function-constructors.js index 8d26ee0f28..b73dd539b5 100644 --- a/packages/ses/src/tame-function-constructors.js +++ b/packages/ses/src/tame-function-constructors.js @@ -128,7 +128,7 @@ export default function tameFunctionConstructors() { ); try { -new FERAL_FUNCTION('async function* AsyncGeneratorFunctionInstance() {}')(); + new FERAL_FUNCTION('async function* AsyncGeneratorFunctionInstance() {}')(); repairFunction( 'AsyncGeneratorFunction', '%InertAsyncGeneratorFunction%',