@agoric/xsnap 0.14.3-dev-d355030.0 → 0.14.3-dev-7cead9c.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/api.js +1 -1
- package/package.json +13 -13
- package/src/avaXS.js +3 -5
package/api.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/xsnap",
|
|
3
|
-
"version": "0.14.3-dev-
|
|
3
|
+
"version": "0.14.3-dev-7cead9c.0+7cead9c",
|
|
4
4
|
"description": "Description forthcoming.",
|
|
5
5
|
"author": "Agoric",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
"test:xs": "exit 0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@agoric/assert": "0.6.1-dev-
|
|
31
|
-
"@agoric/internal": "0.3.3-dev-
|
|
32
|
-
"@agoric/xsnap-lockdown": "0.14.1-dev-
|
|
33
|
-
"@endo/bundle-source": "^2.
|
|
34
|
-
"@endo/eventual-send": "^0.17.
|
|
35
|
-
"@endo/init": "^0.5.
|
|
36
|
-
"@endo/netstring": "^0.3.
|
|
37
|
-
"@endo/promise-kit": "^0.2.
|
|
38
|
-
"@endo/stream": "^0.3.
|
|
39
|
-
"@endo/stream-node": "^0.2.
|
|
30
|
+
"@agoric/assert": "0.6.1-dev-7cead9c.0+7cead9c",
|
|
31
|
+
"@agoric/internal": "0.3.3-dev-7cead9c.0+7cead9c",
|
|
32
|
+
"@agoric/xsnap-lockdown": "0.14.1-dev-7cead9c.0+7cead9c",
|
|
33
|
+
"@endo/bundle-source": "^2.7.0",
|
|
34
|
+
"@endo/eventual-send": "^0.17.5",
|
|
35
|
+
"@endo/init": "^0.5.59",
|
|
36
|
+
"@endo/netstring": "^0.3.29",
|
|
37
|
+
"@endo/promise-kit": "^0.2.59",
|
|
38
|
+
"@endo/stream": "^0.3.28",
|
|
39
|
+
"@endo/stream-node": "^0.2.29",
|
|
40
40
|
"glob": "^7.1.6",
|
|
41
41
|
"tmp": "^0.2.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@endo/base64": "^0.2.
|
|
44
|
+
"@endo/base64": "^0.2.34",
|
|
45
45
|
"@types/glob": "^8.1.0",
|
|
46
46
|
"ava": "^5.3.0",
|
|
47
47
|
"c8": "^7.13.0"
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"timeout": "2m",
|
|
66
66
|
"workerThreads": false
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "7cead9c21830d2936f08849568d65a131af3a2fd"
|
|
69
69
|
}
|
package/src/avaXS.js
CHANGED
|
@@ -69,8 +69,6 @@ function isMatch(specimen, pattern) {
|
|
|
69
69
|
*
|
|
70
70
|
* It also calls back if a test calls `bundleSource`.
|
|
71
71
|
*
|
|
72
|
-
* @typedef {{ moduleFormat: string, source: string }} Bundle
|
|
73
|
-
*
|
|
74
72
|
* And finally it reports back a summary of assertion results.
|
|
75
73
|
*
|
|
76
74
|
* @typedef {{
|
|
@@ -84,7 +82,7 @@ function isMatch(specimen, pattern) {
|
|
|
84
82
|
* @param {{ verbose?: boolean, titleMatch?: string }} options
|
|
85
83
|
* @param {{
|
|
86
84
|
* spawnXSnap: (opts: object) => XSnap,
|
|
87
|
-
* bundleSource: (
|
|
85
|
+
* bundleSource: import('@endo/bundle-source').BundleSource,
|
|
88
86
|
* resolve: ResolveFn,
|
|
89
87
|
* dirname: typeof import('path').dirname,
|
|
90
88
|
* basename: typeof import('path').basename,
|
|
@@ -120,7 +118,7 @@ async function runTestScript(
|
|
|
120
118
|
/**
|
|
121
119
|
* See also send() in avaHandler.cjs
|
|
122
120
|
*
|
|
123
|
-
* @type { TapMessage | { testNames: string[] } | { bundleSource:
|
|
121
|
+
* @type { TapMessage | { testNames: string[] } | { bundleSource: Parameters<import('@endo/bundle-source').BundleSource> } | Summary }
|
|
124
122
|
*/
|
|
125
123
|
const msg = JSON.parse(decoder.decode(message));
|
|
126
124
|
// console.log(input, msg, qty, byStatus);
|
|
@@ -303,7 +301,7 @@ async function avaConfig(args, options, { glob, readFile }) {
|
|
|
303
301
|
/**
|
|
304
302
|
* @param {string[]} args - CLI args (excluding node interpreter, script name)
|
|
305
303
|
* @param {{
|
|
306
|
-
* bundleSource:
|
|
304
|
+
* bundleSource: import('@endo/bundle-source').BundleSource,
|
|
307
305
|
* spawn: typeof import('child_process')['spawn'],
|
|
308
306
|
* osType: typeof import('os')['type'],
|
|
309
307
|
* readFile: typeof import('fs')['promises']['readFile'],
|