@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.
Files changed (3) hide show
  1. package/api.js +1 -1
  2. package/package.json +13 -13
  3. package/src/avaXS.js +3 -5
package/api.js CHANGED
@@ -7,7 +7,7 @@
7
7
  * Also, update golden master test/test-xs-perf.js to reflect new meter
8
8
  * version.
9
9
  */
10
- export const METER_TYPE = 'xs-meter-21';
10
+ export const METER_TYPE = 'xs-meter-22';
11
11
 
12
12
  export const ExitCode = {
13
13
  E_UNKNOWN_ERROR: -1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/xsnap",
3
- "version": "0.14.3-dev-d355030.0+d355030",
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-d355030.0+d355030",
31
- "@agoric/internal": "0.3.3-dev-d355030.0+d355030",
32
- "@agoric/xsnap-lockdown": "0.14.1-dev-d355030.0+d355030",
33
- "@endo/bundle-source": "^2.5.2",
34
- "@endo/eventual-send": "^0.17.3",
35
- "@endo/init": "^0.5.57",
36
- "@endo/netstring": "^0.3.27",
37
- "@endo/promise-kit": "^0.2.57",
38
- "@endo/stream": "^0.3.26",
39
- "@endo/stream-node": "^0.2.27",
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.32",
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": "d35503027f8de03dfedf7bc3a5adce00d0985435"
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: (...args: [string, ...unknown[]]) => Promise<Bundle>,
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: [string, ...unknown[]] } | Summary }
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: typeof import('@endo/bundle-source').default,
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'],