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

@agoric/swingset-xsnap-supervisor

Package Overview
Dependencies
Maintainers
0
Versions
1330
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/swingset-xsnap-supervisor - npm Package Compare versions

Comparing version 0.10.3-dev-09e90ee.0 to 0.10.3-dev-0a07188.0

3

lib/capdata.js

@@ -1,4 +0,3 @@

import { Fail } from '@agoric/assert';
import { Fail } from '@endo/errors';
/* eslint-disable jsdoc/require-returns-check */
/**

@@ -5,0 +4,0 @@ * Assert function to ensure that something expected to be a capdata object

@@ -7,6 +7,6 @@ import {

/**
* @typedef {import('@agoric/swingset-liveslots').VatDeliveryObject} VatDeliveryObject
* @typedef {import('@agoric/swingset-liveslots').VatDeliveryResult} VatDeliveryResult
* @typedef {import('@agoric/swingset-liveslots').VatSyscallObject} VatSyscallObject
* @typedef {import('@agoric/swingset-liveslots').VatSyscallHandler} VatSyscallHandler
* @import {VatDeliveryObject} from '@agoric/swingset-liveslots'
* @import {VatDeliveryResult} from '@agoric/swingset-liveslots'
* @import {VatSyscallObject} from '@agoric/swingset-liveslots'
* @import {VatSyscallHandler} from '@agoric/swingset-liveslots'
* @typedef {import('@endo/marshal').CapData<string>} SwingSetCapData

@@ -13,0 +13,0 @@ * @typedef { (delivery: VatDeliveryObject) => (VatDeliveryResult | Promise<VatDeliveryResult>) } VatDispatcherSyncAsync

/* global globalThis WeakRef FinalizationRegistry */
import { assert, Fail } from '@agoric/assert';
import { assert, Fail } from '@endo/errors';
import { importBundle } from '@endo/import-bundle';

@@ -21,9 +21,9 @@ import {

/**
* @typedef {import('@agoric/swingset-liveslots').VatDeliveryObject} VatDeliveryObject
* @typedef {import('@agoric/swingset-liveslots').VatDeliveryResult} VatDeliveryResult
* @typedef {import('@agoric/swingset-liveslots').VatSyscallObject} VatSyscallObject
* @typedef {import('@agoric/swingset-liveslots').VatSyscallResult} VatSyscallResult
* @typedef {import('@agoric/swingset-liveslots').VatSyscallHandler} VatSyscallHandler
* @typedef {import('@agoric/swingset-liveslots').LiveSlotsOptions} LiveSlotsOptions
* @typedef {import('@agoric/swingset-liveslots').MeterControl} MeterControl
* @import {VatDeliveryObject} from '@agoric/swingset-liveslots'
* @import {VatDeliveryResult} from '@agoric/swingset-liveslots'
* @import {VatSyscallObject} from '@agoric/swingset-liveslots'
* @import {VatSyscallResult} from '@agoric/swingset-liveslots'
* @import {VatSyscallHandler} from '@agoric/swingset-liveslots'
* @import {LiveSlotsOptions} from '@agoric/swingset-liveslots'
* @import {MeterControl} from '@agoric/swingset-liveslots'
*/

@@ -36,3 +36,2 @@

function workerLog(first, ...args) {
// eslint-disable-next-line
// console.log(`---worker: ${first}`, ...args);

@@ -106,7 +105,7 @@ }

*
* @param {(cmd: ArrayBuffer) => ArrayBuffer} issueCommand as from xsnap
* @param {(cmd: ArrayBufferLike) => ArrayBuffer} issueCommand as from xsnap
* @typedef { [unknown, ...unknown[]] } Tagged tagged array
*/
function managerPort(issueCommand) {
/** @type { (item: Tagged) => ArrayBuffer } */
/** @type { (item: Tagged) => ArrayBufferLike } */
const encode = item => {

@@ -262,3 +261,4 @@ let txt;

console: makeVatConsole(makeLogMaker('vat')),
assert,
// See https://github.com/Agoric/agoric-sdk/issues/9515
assert: globalThis.assert,
// bootstrap provides HandledPromise

@@ -265,0 +265,0 @@ HandledPromise: globalThis.HandledPromise,

{
"name": "@agoric/swingset-xsnap-supervisor",
"version": "0.10.3-dev-09e90ee.0+09e90ee",
"version": "0.10.3-dev-0a07188.0+0a07188",
"description": "Supervisor/Liveslots bundle for swingset xsnap workers",

@@ -22,14 +22,14 @@ "author": "Agoric",

"test": "ava",
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:c8": "c8 --all $C8_OPTIONS ava",
"test:xs": "exit 0"
},
"devDependencies": {
"@agoric/assert": "0.6.1-dev-09e90ee.0+09e90ee",
"@agoric/swingset-liveslots": "0.10.3-dev-09e90ee.0+09e90ee",
"@endo/bundle-source": "^3.0.2",
"@endo/import-bundle": "^1.0.2",
"@endo/init": "^1.0.2",
"@endo/marshal": "^1.1.0",
"@agoric/swingset-liveslots": "0.10.3-dev-0a07188.0+0a07188",
"@endo/bundle-source": "^3.5.0",
"@endo/errors": "^1.2.8",
"@endo/import-bundle": "^1.3.2",
"@endo/init": "^1.1.7",
"@endo/marshal": "^1.6.2",
"ava": "^5.3.0",
"c8": "^7.13.0"
"c8": "^10.1.2"
},

@@ -47,3 +47,3 @@ "files": [

"files": [
"test/**/test-*.js"
"test/**/*.test.*"
],

@@ -57,5 +57,5 @@ "require": [

"typeCoverage": {
"atLeast": 83.64
"atLeast": 83.68
},
"gitHead": "09e90eeb90153b39018afe6309ebdcafa02b07b2"
"gitHead": "0a07188a9db63f72e2b960924628e00c4d44e7eb"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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