@agoric/zone 0.2.3-dev-b282e92.0 → 0.2.3-dev-7d15388.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/package.json +5 -5
- package/test/exos.test.js +1 -2
- package/test/make-once.test.js +1 -1
- package/test/prepare-test-env-ava.js +0 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/zone",
|
|
3
|
-
"version": "0.2.3-dev-
|
|
3
|
+
"version": "0.2.3-dev-7d15388.0+7d15388",
|
|
4
4
|
"description": "Allocation zone abstraction for objects on the heap, persistent stores, etc.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/Agoric/agoric-sdk",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"author": "Agoric",
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
31
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
30
|
+
"@agoric/base-zone": "0.1.1-dev-7d15388.0+7d15388",
|
|
31
|
+
"@agoric/vat-data": "0.5.3-dev-7d15388.0+7d15388",
|
|
32
32
|
"@endo/errors": "^1.2.5",
|
|
33
33
|
"@endo/far": "^1.1.5",
|
|
34
34
|
"@endo/pass-style": "^1.4.3"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@agoric/swingset-
|
|
37
|
+
"@agoric/swingset-vat": "0.32.3-dev-7d15388.0+7d15388",
|
|
38
38
|
"@endo/patterns": "^1.4.3",
|
|
39
39
|
"ava": "^5.3.0"
|
|
40
40
|
},
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"typeCoverage": {
|
|
58
58
|
"atLeast": 96.68
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "7d153884f98549cd3adbb26e7dad742cafc482ba"
|
|
61
61
|
}
|
package/test/exos.test.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
// eslint-disable-next-line import/order
|
|
2
1
|
import {
|
|
3
2
|
annihilate,
|
|
4
3
|
getBaggage,
|
|
5
4
|
nextLife,
|
|
6
5
|
test,
|
|
7
|
-
} from '
|
|
6
|
+
} from '@agoric/swingset-vat/tools/prepare-strict-test-env-ava.js';
|
|
8
7
|
|
|
9
8
|
import * as vatData from '@agoric/vat-data';
|
|
10
9
|
|
package/test/make-once.test.js
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import '@agoric/swingset-liveslots/tools/prepare-test-env.js';
|
|
2
|
-
import { reincarnate } from '@agoric/swingset-liveslots/tools/setup-vat-data.js';
|
|
3
|
-
|
|
4
|
-
import test from 'ava';
|
|
5
|
-
|
|
6
|
-
export { test };
|
|
7
|
-
|
|
8
|
-
/** @type {ReturnType<typeof reincarnate>} */
|
|
9
|
-
let incarnation;
|
|
10
|
-
|
|
11
|
-
export const annihilate = () => {
|
|
12
|
-
incarnation = reincarnate({ relaxDurabilityRules: false });
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export const getBaggage = () => {
|
|
16
|
-
return incarnation.fakeVomKit.cm.provideBaggage();
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export const nextLife = () => {
|
|
20
|
-
incarnation = reincarnate(incarnation);
|
|
21
|
-
};
|