Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@agoric/assert

Package Overview
Dependencies
Maintainers
5
Versions
2115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/assert - npm Package Compare versions

Comparing version 0.2.5-dev.0 to 0.2.5

3

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

## [0.2.5-dev.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/assert@0.2.4...@agoric/assert@0.2.5-dev.0) (2021-03-26)
## [0.2.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/assert@0.2.4...@agoric/assert@0.2.5) (2021-04-06)

@@ -13,2 +13,3 @@

* update to depend on ses 0.12.5 ([#2718](https://github.com/Agoric/agoric-sdk/issues/2718)) ([08dbe0d](https://github.com/Agoric/agoric-sdk/commit/08dbe0db5ce06944dc92c710865e441a60b31b5b))
* update to ses 0.12.7, ses-ava 0.1.1 ([#2820](https://github.com/Agoric/agoric-sdk/issues/2820)) ([6d81775](https://github.com/Agoric/agoric-sdk/commit/6d81775715bc80e6033d75cb65edbfb1452b1608))

@@ -15,0 +16,0 @@

{
"name": "@agoric/assert",
"version": "0.2.5-dev.0",
"version": "0.2.5",
"description": "Assert expression support that protects sensitive data",

@@ -38,3 +38,3 @@ "parsers": {

"devDependencies": {
"@agoric/install-ses": "^0.5.5-dev.0",
"@agoric/install-ses": "^0.5.5",
"ava": "^3.12.1",

@@ -72,5 +72,5 @@ "esm": "^3.2.25",

"dependencies": {
"ses": "^0.12.5"
"ses": "^0.12.7"
},
"gitHead": "3600ed30e30d2b26512fe8fd8e73d9f13ab0d125"
"gitHead": "fda787c49e9e3a80c3b2c3b0e620da0208ca7a3e"
}

@@ -17,2 +17,6 @@ /* global globalThis */

// At https://github.com/Agoric/agoric-sdk/issues/2774
// is a record of a failed attempt to remove '.types'.
// To satisfy CI, not only do we need to keep the file,
// but we need to import it here as well.
import './types';

@@ -19,0 +23,0 @@

@@ -8,2 +8,4 @@ // @ts-check

// Coordinate edits until we refactor to avoid this duplication
// At https://github.com/Agoric/agoric-sdk/issues/2774
// is a record of a failed attempt to remove this duplication.

@@ -22,2 +24,7 @@ /**

/**
* @typedef {Object} AssertMakeErrorOptions
* @property {string=} errorName
*/
/**
* @callback AssertMakeError

@@ -31,2 +38,3 @@ *

* constructor to use.
* @param {AssertMakeErrorOptions=} options
* @returns {Error}

@@ -188,6 +196,6 @@ */

*
* The normal convention is to locally rename `details` to `X` and import `q`
* and `assert` unmodified.
* The normal convention is to locally rename `quote` to `q` and
* `details` to `X`
* ```js
* import { assert, details as X, q } from \'@agoric/assert\';
* const { details: X, quote: q } = assert;
* ```

@@ -205,2 +213,3 @@ * so the above example would then be

* @param {*} payload What to declassify
* @param {(string|number)=} spaces
* @returns {StringablePayload} The declassified payload

@@ -239,2 +248,3 @@ */

* @param {Raise=} optRaise
* @param {boolean=} unredacted
* @returns {Assert}

@@ -241,0 +251,0 @@ */

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc