UNPKG

@endo/compartment-mapper

Version:

The compartment mapper assembles Node applications in a sandbox

147 lines (40 loc) 3.65 kB
/** * Describes the portion of a compartment map dedicated to narrowing * or attenuating the powers available to each compartment. * * @module */ /* eslint-disable no-use-before-define */ /** * An object representing a full attenuation definition. */ /** * An array of any type representing an implicit attenuation definition. */ /** * A type representing an attenuation definition, which can be either a full or * implicit definition. */ /** * A type representing a wildcard policy, which can be 'any'. */ /** * A type representing a property policy, which is a record of string keys and * boolean values */ /** * A type representing a policy item, which can be a {@link WildcardPolicy * wildcard policy}, a property policy, `undefined`, or defined by an * attenuator */ /** * An object representing a nested attenuation definition. */ /** * An object representing a base package policy. */ /** * An object representing a base policy. */ /** Any {@link Policy} */ /** Any {@link PackagePolicy} */