endojs / endo

Endo is a distributed secure JavaScript sandbox, based on SES
Apache License 2.0
788 stars 70 forks source link

fix: Restore Agoric SDK compatibility for sync #2159

Closed kriskowal closed 4 months ago

kriskowal commented 4 months ago

Two changes are necessary to close the gap with Agoric SDK.

  1. We need to use peerDependencies between @endo/ses-ava and ava, in order to allow Agoric SDK to run behind on Ava 5 while Endo is on Ava 6. This is consistent with the usage pattern of wrapTest, requiring the dependent package to combine their ava with @endo/ses-ava, with some liberty to use either version.
  2. My proposed changes for the bundleSource type signature are not currently reconciled and will have to endure another attempt.