endojs / endo

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

fix: restore compatibility with Agoric SDK master #1759

Closed michaelfig closed 1 year ago

michaelfig commented 1 year ago

Description

This fixes some of Endo's drifting away from Agoric SDK's requirements. Other changes can be made in the Agoric SDK directly, so they are being done there.

Notably:

  1. @endo/bundle-source typing and cache semantics (partly because cache.js was omitted from typechecking)
  2. ?. and ?? causing problems when attempting to bundle-source modules that use them.
  3. Improve typing of @endo/exo to align with Agoric SDK's packages/zone and packages/base-zone.

Security Considerations

n/a

Scaling Considerations

n/a

Documentation Considerations

n/a

Testing Considerations

We really need CI somehow to trigger an integration test on Agoric SDK (#1761), to prevent landing Endo PRs that break things unless we know what we're doing, but that's for a later date.

Upgrade Considerations

n/a