@agoric/swingset-xsnap-supervisor 0.10.3-u19.0 → 0.10.3-u21.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
dc223308b5429050de02635b0f6deaf469e4d0140298fb785496fa003f2ed016
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
insistVatDeliveryObject,
|
|
7
7
|
insistVatSyscallResult,
|
|
8
8
|
} from '@agoric/swingset-liveslots';
|
|
9
|
-
|
|
9
|
+
|
|
10
10
|
// grumble... waitUntilQuiescent is exported and closes over ambient authority
|
|
11
11
|
import { waitUntilQuiescent } from './waitUntilQuiescent.js';
|
|
12
12
|
import { makeGcAndFinalize } from './gc-and-finalize.js';
|
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-u21.0",
|
|
4
4
|
"description": "Supervisor/Liveslots bundle for swingset xsnap workers",
|
|
5
5
|
"author": "Agoric",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,27 +14,27 @@
|
|
|
14
14
|
"build:bundle": "node scripts/build-bundle.js",
|
|
15
15
|
"build": "yarn build:bundle",
|
|
16
16
|
"clean": "rm -rf dist",
|
|
17
|
-
"lint": "run-s --continue-on-error lint:*",
|
|
17
|
+
"lint": "yarn run -T 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": "yarn run -T tsc",
|
|
20
20
|
"lint-fix": "eslint --fix 'lib/**/*.js' 'src/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
|
|
21
21
|
"test": "ava",
|
|
22
22
|
"test:c8": "c8 --all $C8_OPTIONS ava",
|
|
23
23
|
"test:xs": "exit 0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@agoric/swingset-liveslots": "
|
|
27
|
-
"@endo/errors": "^1.2.
|
|
28
|
-
"@endo/import-bundle": "^1.
|
|
29
|
-
"@endo/promise-kit": "^1.1.
|
|
26
|
+
"@agoric/swingset-liveslots": "workspace:*",
|
|
27
|
+
"@endo/errors": "^1.2.10",
|
|
28
|
+
"@endo/import-bundle": "^1.4.0",
|
|
29
|
+
"@endo/promise-kit": "^1.1.10"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@endo/bundle-source": "^
|
|
33
|
-
"@endo/import-bundle": "^1.
|
|
34
|
-
"@endo/init": "^1.1.
|
|
35
|
-
"@endo/marshal": "^1.6.
|
|
32
|
+
"@endo/bundle-source": "^4.0.0",
|
|
33
|
+
"@endo/import-bundle": "^1.4.0",
|
|
34
|
+
"@endo/init": "^1.1.9",
|
|
35
|
+
"@endo/marshal": "^1.6.4",
|
|
36
36
|
"ava": "^5.3.0",
|
|
37
|
-
"c8": "^10.1.
|
|
37
|
+
"c8": "^10.1.3"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"LICENSE*",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"workerThreads": false
|
|
57
57
|
},
|
|
58
58
|
"typeCoverage": {
|
|
59
|
-
"atLeast":
|
|
59
|
+
"atLeast": 84.6
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "e4dd46857133403d584bcf822a81817b355532f9"
|
|
62
62
|
}
|
package/lib/capdata.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Fail } from '@endo/errors';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Assert function to ensure that something expected to be a capdata object
|
|
5
|
-
* actually is. A capdata object should have a .body property that's a string
|
|
6
|
-
* and a .slots property that's an array of strings.
|
|
7
|
-
*
|
|
8
|
-
* @param {any} capdata The object to be tested
|
|
9
|
-
* @throws {Error} if, upon inspection, the parameter does not satisfy the above
|
|
10
|
-
* criteria.
|
|
11
|
-
* @returns {asserts capdata is import('@endo/marshal').CapData<string>}
|
|
12
|
-
*/
|
|
13
|
-
export function insistCapData(capdata) {
|
|
14
|
-
typeof capdata.body === 'string' ||
|
|
15
|
-
Fail`capdata has non-string .body ${capdata.body}`;
|
|
16
|
-
Array.isArray(capdata.slots) ||
|
|
17
|
-
Fail`capdata has non-Array slots ${capdata.slots}`;
|
|
18
|
-
// TODO check that the .slots array elements are actually strings
|
|
19
|
-
}
|