endojs / endo

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

refactor(patterns): improve pattern types. Flatten @imports #2256

Closed erights closed 2 months ago

erights commented 2 months ago

closes: #XXXX refs: #2248 #1584 https://github.com/Agoric/agoric-sdk/pull/6432

Description

Pure refactor. Changes only static info. Mostly more consistent and more readable use of @import.

One case made less readable: Remove newlines within a large @import directive. The reason is that yarn lerna run build:types chokes on those newlines. TODO minimal repro + report issue.

Extracted from other PRs #1584 #2248 which are now staged on this one. But this should be a reviewable and mergeable improvement regardless of whether we move forward on the others.

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

none

Testing Considerations

none

Compatibility Considerations

none

Upgrade Considerations

none