UNPKG

@endo/compartment-mapper

Version:

The compartment mapper assembles Node applications in a sandbox

53 lines (23 loc) 1.47 kB
/** * These interfaces describe the powers needed in `node-powers.js` to * adapt host capabilities for the compartment mapper. * * @module */ /* eslint-disable no-use-before-define */ /** For creating `ReadPowers` */ /** * The portion of the "node:url" module needed to normalize paths to fully * qualified file URLs, as used by the compartment mapper internally. */ /** * The portion of the "node:path" module needed to support dynamic-require for * a module specifier that is an absolute path. */ /** * The portion of the "node:crypto" module needed for generating and verifying * integrity hashes, optionally consumed to make "read powers". */ /** * Object returned by function in `CryptoInterface` */