Skip to content

Commit

Permalink
fix(ses): use generators and trampoline to unify sync and async load …
Browse files Browse the repository at this point in the history
…implementation
  • Loading branch information
naugtur committed Apr 30, 2024
1 parent 2be1491 commit 7bc22f6
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 403 deletions.
3 changes: 1 addition & 2 deletions packages/ses/src/compartment.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import {
setGlobalObjectEvaluators,
} from './global-object.js';
import { sharedGlobalPropertyNames } from './permits.js';
import { load } from './module-load.js';
import { loadSync } from './module-load-sync.js';
import { load, loadSync } from './module-load.js';
import { link } from './module-link.js';
import { getDeferredExports } from './module-proxy.js';
import { assert } from './error/assert.js';
Expand Down
330 changes: 0 additions & 330 deletions packages/ses/src/module-load-sync.js

This file was deleted.

Loading

0 comments on commit 7bc22f6

Please sign in to comment.