@agoric/swingset-vat 0.32.3-dev-d355030.0 → 0.32.3-dev-386dc7c.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 (2) hide show
  1. package/package.json +27 -27
  2. package/tools/bundleTool.js +5 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/swingset-vat",
3
- "version": "0.32.3-dev-d355030.0+d355030",
3
+ "version": "0.32.3-dev-386dc7c.0+386dc7c",
4
4
  "description": "Vat/Container Launcher",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -27,31 +27,31 @@
27
27
  "@types/yargs-parser": "^21.0.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/store": "0.9.3-dev-d355030.0+d355030",
33
- "@agoric/swing-store": "0.9.2-dev-d355030.0+d355030",
34
- "@agoric/swingset-liveslots": "0.10.3-dev-d355030.0+d355030",
35
- "@agoric/swingset-xsnap-supervisor": "0.10.3-dev-d355030.0+d355030",
36
- "@agoric/time": "0.3.3-dev-d355030.0+d355030",
37
- "@agoric/vat-data": "0.5.3-dev-d355030.0+d355030",
38
- "@agoric/xsnap": "0.14.3-dev-d355030.0+d355030",
39
- "@agoric/xsnap-lockdown": "0.14.1-dev-d355030.0+d355030",
40
- "@endo/base64": "^0.2.32",
41
- "@endo/bundle-source": "^2.5.2",
42
- "@endo/captp": "^3.1.2",
43
- "@endo/check-bundle": "^0.2.19",
44
- "@endo/compartment-mapper": "^0.8.5",
45
- "@endo/eventual-send": "^0.17.3",
46
- "@endo/far": "^0.2.19",
47
- "@endo/import-bundle": "^0.3.5",
48
- "@endo/init": "^0.5.57",
49
- "@endo/marshal": "^0.8.6",
50
- "@endo/nat": "^4.1.28",
51
- "@endo/patterns": "^0.2.3",
52
- "@endo/promise-kit": "^0.2.57",
53
- "@endo/ses-ava": "^0.2.41",
54
- "@endo/zip": "^0.2.32",
30
+ "@agoric/assert": "0.6.1-dev-386dc7c.0+386dc7c",
31
+ "@agoric/internal": "0.3.3-dev-386dc7c.0+386dc7c",
32
+ "@agoric/store": "0.9.3-dev-386dc7c.0+386dc7c",
33
+ "@agoric/swing-store": "0.9.2-dev-386dc7c.0+386dc7c",
34
+ "@agoric/swingset-liveslots": "0.10.3-dev-386dc7c.0+386dc7c",
35
+ "@agoric/swingset-xsnap-supervisor": "0.10.3-dev-386dc7c.0+386dc7c",
36
+ "@agoric/time": "0.3.3-dev-386dc7c.0+386dc7c",
37
+ "@agoric/vat-data": "0.5.3-dev-386dc7c.0+386dc7c",
38
+ "@agoric/xsnap": "0.14.3-dev-386dc7c.0+386dc7c",
39
+ "@agoric/xsnap-lockdown": "0.14.1-dev-386dc7c.0+386dc7c",
40
+ "@endo/base64": "^0.2.34",
41
+ "@endo/bundle-source": "^2.7.0",
42
+ "@endo/captp": "^3.1.4",
43
+ "@endo/check-bundle": "^0.2.21",
44
+ "@endo/compartment-mapper": "^0.9.1",
45
+ "@endo/eventual-send": "^0.17.5",
46
+ "@endo/far": "^0.2.21",
47
+ "@endo/import-bundle": "^0.4.1",
48
+ "@endo/init": "^0.5.59",
49
+ "@endo/marshal": "^0.8.8",
50
+ "@endo/nat": "^4.1.30",
51
+ "@endo/patterns": "^0.2.5",
52
+ "@endo/promise-kit": "^0.2.59",
53
+ "@endo/ses-ava": "^0.2.43",
54
+ "@endo/zip": "^0.2.34",
55
55
  "ansi-styles": "^6.2.1",
56
56
  "anylogger": "^0.21.0",
57
57
  "better-sqlite3": "^8.2.0",
@@ -97,5 +97,5 @@
97
97
  "publishConfig": {
98
98
  "access": "public"
99
99
  },
100
- "gitHead": "d35503027f8de03dfedf7bc3a5adce00d0985435"
100
+ "gitHead": "386dc7cf179bf610841dec4a0b1f55d5d5c50878"
101
101
  }
@@ -1,7 +1,7 @@
1
1
  import { makeNodeBundleCache as wrappedMaker } from '@endo/bundle-source/cache.js';
2
2
  import styles from 'ansi-styles'; // less authority than 'chalk'
3
3
 
4
- export const makeNodeBundleCache = async (dest, options, loadModule) => {
4
+ export const makeNodeBundleCache = async (dest, options, loadModule, pid) => {
5
5
  const log = (...args) => {
6
6
  const flattened = args.map(arg =>
7
7
  // Don't print stack traces.
@@ -14,7 +14,7 @@ export const makeNodeBundleCache = async (dest, options, loadModule) => {
14
14
  styles.dim.close,
15
15
  );
16
16
  };
17
- return wrappedMaker(dest, { log, ...options }, loadModule);
17
+ return wrappedMaker(dest, { log, ...options }, loadModule, pid);
18
18
  };
19
19
 
20
20
  /** @type {Map<string, ReturnType<typeof makeNodeBundleCache>>} */
@@ -27,12 +27,13 @@ const providedCaches = new Map();
27
27
  * @param {string} dest
28
28
  * @param {{ format?: string, dev?: boolean }} options
29
29
  * @param {(id: string) => Promise<any>} loadModule
30
+ * @param {number} [pid]
30
31
  */
31
- export const provideBundleCache = (dest, options, loadModule) => {
32
+ export const provideBundleCache = (dest, options, loadModule, pid) => {
32
33
  const uniqueDest = [dest, options.format, options.dev].join('-');
33
34
  let bundleCache = providedCaches.get(uniqueDest);
34
35
  if (!bundleCache) {
35
- bundleCache = makeNodeBundleCache(dest, options, loadModule);
36
+ bundleCache = makeNodeBundleCache(dest, options, loadModule, pid);
36
37
  providedCaches.set(uniqueDest, bundleCache);
37
38
  }
38
39
  return bundleCache;