@agoric/harden

v0.0.3
Create a 'hardener' which freezes the API surface of a set of objects
deepFreeze harden Object.freeze freeze

Harden

The harden package has been deprecated. Please use the shim for harden provided [SES][].

SES: https://github.com/Agoric/SES-shim/blob/master/packages/ses/README.md#harden

Since calling harden before lockdown provides no security guarantees, and since a single harden should be shared throughout a realm, SES now provides this singleton and exposes it globally.

The last coherent version of harden, prior to deprecation, was version 0.0.8.

npm i @agoric/[email protected]

Metadata

Downloads