ses@2.2.0
Minor Changes
-
#3285
889be5eThanks @erights! - Permit both initial powerful Temporal and safe shared Temporal -
#2422
fe6be07Thanks @kriskowal! - Add support for host module exits in bundled compartments.sesexports a newStrictModuleDescriptortype that consists only of the
NamespaceModuleDescriptorandSourceModuleDescriptorshapes mutually
supported by SES and XS.compartment-mapperlets arbitrary module descriptors pass through
importHookwhen no policy is in effect for that edge (the
policy-enforcement runtime was previously limited to virtual module sources).
It also implicitly treats any module specifier with a URL-scheme prefix
(likenode:fs) as an exit module when bundling, removing the need for an
additional bundler flag in the common case.import-bundlethreads theimportHookoption through to the underlying
compartment so that bundled applications can route exits to host-provided
implementations at import time.
Host-provided modules must be hardened and pure to avoid being a
side-channel or man-in-the-middle attack surface between guests.