Skip to content

ses@1.15.0

Choose a tag to compare

@boneskull boneskull released this 26 Feb 21:48
· 372 commits to master since this release
f91329e

Minor Changes

  • #2895 1834932 Thanks @gibson042! - - Adds assert.makeError and deprecates assert.error as an alias, matching
    the API already exported from @endo/errors.

    • Before this version, the assert left in global scope before lockdown
      would redact errors and would be replaced by lockdown with a version that
      did not redact errors if the caller opted-in with errorTaming
      set to one of the unsafe variants.
      After this version, the reverse is true: the assert left in global scope
      before lockdown does not redact.
      Then, lockdown replaces assert with a redacting assert unless the
      caller opted-out with errorTaming set to one of the unsafe variants.
  • #3008 a29ecd4 Thanks @kriskowal! - - lockdown and repairIntrinsics now detect when code has already called a
    harden imported from @endo/harden before lockdown, and fail with a clear
    error about hardened modules executing before lockdown.

    • Adds Object[Symbol.for('harden')] as a variant of globalThis.harden that
      cannot be overridden by an endowment named harden in compartments.