@agoric/swingset-vat 0.32.3-dev-dcc80f2.0.dcc80f2 → 0.32.3-dev-4b83f24.0.4b83f24
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/package.json +12 -12
- package/tools/bundleTool.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/swingset-vat",
|
|
3
|
-
"version": "0.32.3-dev-
|
|
3
|
+
"version": "0.32.3-dev-4b83f24.0.4b83f24",
|
|
4
4
|
"description": "Vat/Container Launcher",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"lint:eslint": "yarn run -T eslint ."
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@agoric/xsnap": "0.14.3-dev-
|
|
25
|
+
"@agoric/xsnap": "0.14.3-dev-4b83f24.0.4b83f24",
|
|
26
26
|
"@types/better-sqlite3": "^7.6.13",
|
|
27
27
|
"@types/microtime": "^2.1.0",
|
|
28
28
|
"@types/tmp": "^0.2.0",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"ava": "^6.4.1"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@agoric/internal": "0.3.3-dev-
|
|
34
|
-
"@agoric/kmarshal": "0.1.1-dev-
|
|
35
|
-
"@agoric/store": "0.9.3-dev-
|
|
36
|
-
"@agoric/swing-store": "0.9.2-dev-
|
|
37
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
38
|
-
"@agoric/swingset-xsnap-supervisor": "0.10.3-dev-
|
|
39
|
-
"@agoric/time": "0.3.3-dev-
|
|
40
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
41
|
-
"@agoric/xsnap-lockdown": "0.14.1-dev-
|
|
33
|
+
"@agoric/internal": "0.3.3-dev-4b83f24.0.4b83f24",
|
|
34
|
+
"@agoric/kmarshal": "0.1.1-dev-4b83f24.0.4b83f24",
|
|
35
|
+
"@agoric/store": "0.9.3-dev-4b83f24.0.4b83f24",
|
|
36
|
+
"@agoric/swing-store": "0.9.2-dev-4b83f24.0.4b83f24",
|
|
37
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-4b83f24.0.4b83f24",
|
|
38
|
+
"@agoric/swingset-xsnap-supervisor": "0.10.3-dev-4b83f24.0.4b83f24",
|
|
39
|
+
"@agoric/time": "0.3.3-dev-4b83f24.0.4b83f24",
|
|
40
|
+
"@agoric/vat-data": "0.5.3-dev-4b83f24.0.4b83f24",
|
|
41
|
+
"@agoric/xsnap-lockdown": "0.14.1-dev-4b83f24.0.4b83f24",
|
|
42
42
|
"@endo/base64": "^1.0.12",
|
|
43
43
|
"@endo/bundle-source": "^4.1.2",
|
|
44
44
|
"@endo/captp": "^4.4.8",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"typeCoverage": {
|
|
106
106
|
"atLeast": 76.72
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "4b83f243d627e8214b1b33338566dff420259339"
|
|
109
109
|
}
|
package/tools/bundleTool.js
CHANGED
|
@@ -32,6 +32,9 @@ import { setTimeout as delay } from 'timers/promises';
|
|
|
32
32
|
* }} BundleCache
|
|
33
33
|
*/
|
|
34
34
|
|
|
35
|
+
const BUNDLE_LOCK_ACQUIRE_TIMEOUT_MS = 5 * 60_000;
|
|
36
|
+
const BUNDLE_STALE_LOCK_MS = 60_000;
|
|
37
|
+
|
|
35
38
|
/**
|
|
36
39
|
* @param {string} dest
|
|
37
40
|
* @param {Parameters<typeof wrappedMaker>[1]} options
|
|
@@ -39,9 +42,6 @@ import { setTimeout as delay } from 'timers/promises';
|
|
|
39
42
|
* @param {number} [pid]
|
|
40
43
|
* @returns {Promise<BundleCache>}
|
|
41
44
|
*/
|
|
42
|
-
const BUNDLE_LOCK_ACQUIRE_TIMEOUT_MS = 5 * 60_000;
|
|
43
|
-
const BUNDLE_STALE_LOCK_MS = 60_000;
|
|
44
|
-
|
|
45
45
|
export const makeNodeBundleCache = async (dest, options, loadModule, pid) => {
|
|
46
46
|
/** @param {string} sourceSpec */
|
|
47
47
|
const canonicalizeSourceSpec = sourceSpec => {
|