@agoric/marshal
Advanced tools
Comparing version 0.5.1-dev-72cc8d6.0 to 0.5.1-dev-7b8d7fe.0
{ | ||
"name": "@agoric/marshal", | ||
"version": "0.5.1-dev-72cc8d6.0+72cc8d6", | ||
"version": "0.5.1-dev-7b8d7fe.0+7b8d7fe", | ||
"description": "marshal", | ||
@@ -37,9 +37,8 @@ "type": "module", | ||
"dependencies": { | ||
"@agoric/assert": "0.3.16-dev-72cc8d6.0+72cc8d6", | ||
"@agoric/eventual-send": "0.14.1-dev-72cc8d6.0+72cc8d6", | ||
"@agoric/eventual-send": "0.14.1-dev-7b8d7fe.0+7b8d7fe", | ||
"@agoric/nat": "^4.1.0", | ||
"@agoric/promise-kit": "0.2.30-dev-72cc8d6.0+72cc8d6" | ||
"@agoric/promise-kit": "0.2.30-dev-7b8d7fe.0+7b8d7fe" | ||
}, | ||
"devDependencies": { | ||
"@agoric/lockdown": "0.1.2-dev-72cc8d6.0+72cc8d6", | ||
"@agoric/lockdown": "0.1.2-dev-7b8d7fe.0+7b8d7fe", | ||
"@endo/ses-ava": "^0.2.13", | ||
@@ -72,3 +71,3 @@ "ava": "^3.12.1", | ||
}, | ||
"gitHead": "72cc8d6bcf428596653593708959446fb0a29596" | ||
"gitHead": "7b8d7fe2b094256619394ca352e6ee85fa308d87" | ||
} |
@@ -7,3 +7,2 @@ /* eslint-disable no-use-before-define */ | ||
import { assert, details as X } from '@agoric/assert'; | ||
import { E } from '@agoric/eventual-send'; | ||
@@ -18,2 +17,3 @@ import { isObject } from './helpers/passStyle-helpers.js'; | ||
const { ownKeys } = Reflect; | ||
const { details: X } = assert; | ||
@@ -20,0 +20,0 @@ const makeConverter = (mirrorConverter = undefined) => { |
@@ -8,3 +8,2 @@ // @ts-check | ||
import './internal-types.js'; | ||
import '@agoric/assert/exported.js'; | ||
import { assertChecker, checkNormalProperty } from './passStyle-helpers.js'; | ||
@@ -11,0 +10,0 @@ |
@@ -14,3 +14,2 @@ // @ts-check | ||
import './internal-types.js'; | ||
import '@agoric/assert/exported.js'; | ||
@@ -17,0 +16,0 @@ const { details: X } = assert; |
@@ -8,3 +8,2 @@ // @ts-check | ||
import './internal-types.js'; | ||
import '@agoric/assert/exported.js'; | ||
import { assertChecker } from './passStyle-helpers.js'; | ||
@@ -11,0 +10,0 @@ |
@@ -8,3 +8,2 @@ // @ts-check | ||
import './internal-types.js'; | ||
import '@agoric/assert/exported.js'; | ||
@@ -11,0 +10,0 @@ const { details: X, quote: q } = assert; |
@@ -8,3 +8,2 @@ // @ts-check | ||
import './internal-types.js'; | ||
import '@agoric/assert/exported.js'; | ||
import { | ||
@@ -11,0 +10,0 @@ assertChecker, |
@@ -15,3 +15,2 @@ // @ts-check | ||
import './internal-types.js'; | ||
import '@agoric/assert/exported.js'; | ||
@@ -18,0 +17,0 @@ const { details: X } = assert; |
@@ -6,3 +6,2 @@ // @ts-check | ||
import { assert, details as X, q } from '@agoric/assert'; | ||
import { assertChecker, PASS_STYLE } from './helpers/passStyle-helpers.js'; | ||
@@ -16,2 +15,4 @@ import { | ||
const { quote: q, details: X } = assert; | ||
const { prototype: functionPrototype } = Function; | ||
@@ -18,0 +19,0 @@ const { |
@@ -6,3 +6,2 @@ // @ts-check | ||
import { assert, details as X } from '@agoric/assert'; | ||
import { PASS_STYLE } from './helpers/passStyle-helpers.js'; | ||
@@ -12,2 +11,3 @@ import { assertPassable } from './passStyleOf.js'; | ||
const { create, prototype: objectPrototype } = Object; | ||
const { details: X } = assert; | ||
@@ -14,0 +14,0 @@ export const makeTagged = (tag, payload) => { |
@@ -7,3 +7,2 @@ // @ts-check | ||
import { Nat } from '@agoric/nat'; | ||
import { assert, details as X, q } from '@agoric/assert'; | ||
import { QCLASS } from './marshal.js'; | ||
@@ -19,2 +18,3 @@ | ||
const { stringify: quote } = JSON; | ||
const { quote: q, details: X } = assert; | ||
@@ -21,0 +21,0 @@ /** |
// @ts-check | ||
/// <reference types="ses"/> | ||
import { assert, details as X } from '@agoric/assert'; | ||
import { makeMarshal } from './marshal.js'; | ||
@@ -8,2 +8,4 @@ | ||
const { details: X } = assert; | ||
/** @type {ConvertValToSlot<any>} */ | ||
@@ -10,0 +12,0 @@ const doNotConvertValToSlot = val => |
@@ -7,3 +7,2 @@ // @ts-check | ||
import { Nat } from '@agoric/nat'; | ||
import { assert, details as X, q } from '@agoric/assert'; | ||
import { passStyleOf } from './passStyleOf.js'; | ||
@@ -25,2 +24,3 @@ | ||
const { getOwnPropertyDescriptors, defineProperties, is, fromEntries } = Object; | ||
const { details: X, quote: q } = assert; | ||
@@ -401,2 +401,6 @@ /** | ||
: `Remote${EC.name}(${errorId})`; | ||
// Due to a defect in the SES type definition, the next line is | ||
// fails a type check. | ||
// Pending https://github.com/endojs/endo/issues/977 | ||
// @ts-ignore-next-line | ||
const error = assert.error(`${message}`, EC, { errorName }); | ||
@@ -403,0 +407,0 @@ return error; |
// @ts-check | ||
import { assert, details as X, q } from '@agoric/assert'; | ||
import { getTag } from './helpers/passStyle-helpers.js'; | ||
@@ -9,2 +8,3 @@ import { makeTagged } from './makeTagged.js'; | ||
const { is } = Object; | ||
const { details: X, quote: q } = assert; | ||
@@ -11,0 +11,0 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
3
135074
2887