@agoric/swingset-xsnap-supervisor 0.10.3-u13.0 → 0.10.3-u16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/supervisor.bundle +1 -1
- package/dist/supervisor.bundle.sha256 +1 -1
- package/lib/capdata.js +0 -1
- package/lib/supervisor-helper.js +4 -4
- package/lib/supervisor-subprocess-xsnap.js +9 -9
- package/package.json +18 -12
- package/CHANGELOG.md +0 -65
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
7cd7b3cdaafeba43a6fc38036b482d8f09d248d84c8102bf14165d4f53068ce6
|
package/lib/capdata.js
CHANGED
package/lib/supervisor-helper.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from '@agoric/swingset-liveslots';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @
|
|
8
|
-
* @
|
|
9
|
-
* @
|
|
10
|
-
* @
|
|
7
|
+
* @import {VatDeliveryObject} from '@agoric/swingset-liveslots'
|
|
8
|
+
* @import {VatDeliveryResult} from '@agoric/swingset-liveslots'
|
|
9
|
+
* @import {VatSyscallObject} from '@agoric/swingset-liveslots'
|
|
10
|
+
* @import {VatSyscallHandler} from '@agoric/swingset-liveslots'
|
|
11
11
|
* @typedef {import('@endo/marshal').CapData<string>} SwingSetCapData
|
|
12
12
|
* @typedef { (delivery: VatDeliveryObject) => (VatDeliveryResult | Promise<VatDeliveryResult>) } VatDispatcherSyncAsync
|
|
13
13
|
* @typedef { (delivery: VatDeliveryObject) => Promise<VatDeliveryResult> } VatDispatcher
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
} from './supervisor-helper.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* @
|
|
22
|
-
* @
|
|
23
|
-
* @
|
|
24
|
-
* @
|
|
25
|
-
* @
|
|
26
|
-
* @
|
|
27
|
-
* @
|
|
21
|
+
* @import {VatDeliveryObject} from '@agoric/swingset-liveslots'
|
|
22
|
+
* @import {VatDeliveryResult} from '@agoric/swingset-liveslots'
|
|
23
|
+
* @import {VatSyscallObject} from '@agoric/swingset-liveslots'
|
|
24
|
+
* @import {VatSyscallResult} from '@agoric/swingset-liveslots'
|
|
25
|
+
* @import {VatSyscallHandler} from '@agoric/swingset-liveslots'
|
|
26
|
+
* @import {LiveSlotsOptions} from '@agoric/swingset-liveslots'
|
|
27
|
+
* @import {MeterControl} from '@agoric/swingset-liveslots'
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
30
|
const encoder = new TextEncoder();
|
|
@@ -32,7 +32,6 @@ const decoder = new TextDecoder();
|
|
|
32
32
|
|
|
33
33
|
// eslint-disable-next-line no-unused-vars
|
|
34
34
|
function workerLog(first, ...args) {
|
|
35
|
-
// eslint-disable-next-line
|
|
36
35
|
// console.log(`---worker: ${first}`, ...args);
|
|
37
36
|
}
|
|
38
37
|
|
|
@@ -256,7 +255,8 @@ function makeWorker(port) {
|
|
|
256
255
|
|
|
257
256
|
const workerEndowments = {
|
|
258
257
|
console: makeVatConsole(makeLogMaker('vat')),
|
|
259
|
-
|
|
258
|
+
// See https://github.com/Agoric/agoric-sdk/issues/9515
|
|
259
|
+
assert: globalThis.assert,
|
|
260
260
|
// bootstrap provides HandledPromise
|
|
261
261
|
HandledPromise: globalThis.HandledPromise,
|
|
262
262
|
TextEncoder,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/swingset-xsnap-supervisor",
|
|
3
|
-
"version": "0.10.3-
|
|
3
|
+
"version": "0.10.3-u16.0",
|
|
4
4
|
"description": "Supervisor/Liveslots bundle for swingset xsnap workers",
|
|
5
5
|
"author": "Agoric",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -16,21 +16,21 @@
|
|
|
16
16
|
"clean": "rm -rf dist",
|
|
17
17
|
"lint": "run-s --continue-on-error lint:*",
|
|
18
18
|
"lint:js": "eslint 'lib/**/*.js' 'src/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
|
|
19
|
-
"lint:types": "tsc
|
|
19
|
+
"lint:types": "tsc",
|
|
20
20
|
"lint-fix": "eslint --fix 'lib/**/*.js' 'src/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
|
|
21
21
|
"test": "ava",
|
|
22
22
|
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
|
|
23
23
|
"test:xs": "exit 0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@agoric/assert": "^0.6.1-
|
|
27
|
-
"@agoric/swingset-liveslots": "^0.10.3-
|
|
28
|
-
"@endo/bundle-source": "2.
|
|
29
|
-
"@endo/import-bundle": "
|
|
30
|
-
"@endo/init": "
|
|
31
|
-
"@endo/marshal": "
|
|
32
|
-
"ava": "^5.
|
|
33
|
-
"c8": "^
|
|
26
|
+
"@agoric/assert": "^0.6.1-u16.0",
|
|
27
|
+
"@agoric/swingset-liveslots": "^0.10.3-u16.0",
|
|
28
|
+
"@endo/bundle-source": "^3.2.3",
|
|
29
|
+
"@endo/import-bundle": "^1.1.2",
|
|
30
|
+
"@endo/init": "^1.1.2",
|
|
31
|
+
"@endo/marshal": "^1.5.0",
|
|
32
|
+
"ava": "^5.3.0",
|
|
33
|
+
"c8": "^9.1.0"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
36
36
|
"LICENSE*",
|
|
@@ -43,10 +43,16 @@
|
|
|
43
43
|
},
|
|
44
44
|
"ava": {
|
|
45
45
|
"files": [
|
|
46
|
-
"test
|
|
46
|
+
"test/**/*.test.*"
|
|
47
|
+
],
|
|
48
|
+
"require": [
|
|
49
|
+
"@endo/init/debug.js"
|
|
47
50
|
],
|
|
48
51
|
"timeout": "2m",
|
|
49
52
|
"workerThreads": false
|
|
50
53
|
},
|
|
51
|
-
"
|
|
54
|
+
"typeCoverage": {
|
|
55
|
+
"atLeast": 83.64
|
|
56
|
+
},
|
|
57
|
+
"gitHead": "bbdf652c3f413381cb352a8a360db1063974fafd"
|
|
52
58
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
### [0.10.3-u13.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/swingset-xsnap-supervisor@0.10.3-u12.0...@agoric/swingset-xsnap-supervisor@0.10.3-u13.0) (2023-12-07)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @agoric/swingset-xsnap-supervisor
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
### [0.10.3-u12.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/swingset-xsnap-supervisor@0.10.3-u11wf.0...@agoric/swingset-xsnap-supervisor@0.10.3-u12.0) (2023-11-10)
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @agoric/swingset-xsnap-supervisor
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### [0.10.3-u11wf.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/swingset-xsnap-supervisor@0.10.3-u11.0...@agoric/swingset-xsnap-supervisor@0.10.3-u11wf.0) (2023-09-23)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @agoric/swingset-xsnap-supervisor
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
### [0.10.3-u11.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/swingset-xsnap-supervisor@0.10.2...@agoric/swingset-xsnap-supervisor@0.10.3-u11.0) (2023-08-24)
|
|
31
|
-
|
|
32
|
-
**Note:** Version bump only for package @agoric/swingset-xsnap-supervisor
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
### [0.10.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/swingset-xsnap-supervisor@0.10.1...@agoric/swingset-xsnap-supervisor@0.10.2) (2023-06-02)
|
|
39
|
-
|
|
40
|
-
**Note:** Version bump only for package @agoric/swingset-xsnap-supervisor
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### [0.10.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/swingset-xsnap-supervisor@0.10.0...@agoric/swingset-xsnap-supervisor@0.10.1) (2023-05-24)
|
|
47
|
-
|
|
48
|
-
**Note:** Version bump only for package @agoric/swingset-xsnap-supervisor
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
## 0.10.0 (2023-05-19)
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
### Features
|
|
58
|
-
|
|
59
|
-
* add APIs for tracking/debugging undesired object retention (aka "leaks") ([0a7221b](https://github.com/Agoric/agoric-sdk/commit/0a7221b3c04f3b2894c30346fa2ea6fb0130c046)), closes [#7318](https://github.com/Agoric/agoric-sdk/issues/7318)
|
|
60
|
-
* extract swingset-xsnap-supervisor out to a separate package ([0024f01](https://github.com/Agoric/agoric-sdk/commit/0024f0128ff658c93468069b6fa5cc3bebfbdc78)), closes [#6596](https://github.com/Agoric/agoric-sdk/issues/6596)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
### Bug Fixes
|
|
64
|
-
|
|
65
|
-
* don't retain a vat's raw bundle string after use ([1dda5ef](https://github.com/Agoric/agoric-sdk/commit/1dda5ef23e8fa624942a580487b3c94595eae5c3)), closes [#6981](https://github.com/Agoric/agoric-sdk/issues/6981)
|