endojs / endo

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

feat(compartment-mapper): add policy-related types #1778

Closed boneskull closed 10 months ago

boneskull commented 1 year ago

closes: #1776

Description

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

This could cause compiler errors in consumers already using policies (if those consumers exist), since the types have been narrowed.

Testing Considerations

This adds tests using tsd, which requires adding that dev dependency to compartment-mapper and modifying its test script.

Upgrade Considerations

This should not impact live production systems; it may impact builds. Because it may impact builds, this could be construed as a breaking change, depending on Endo's policy or lack thereof.


This is currently a DRAFT and should be considered in-progress.

boneskull commented 10 months ago

Closed in lieu of #1839