@agoric/zone 0.3.0-upgrade-17-dev-a1453b2.0 → 0.3.0-upgrade-18-dev-bf39b10.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/CHANGELOG.md +2 -1
- package/package.json +11 -11
- package/test/exos.test.js +1 -2
- package/test/make-once.test.js +1 -1
- package/tsconfig.build.tsbuildinfo +1 -0
- package/test/prepare-test-env-ava.js +0 -21
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [0.3.0-
|
|
6
|
+
## [0.3.0-u18.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/zone@0.2.2...@agoric/zone@0.3.0-u18.0) (2024-10-31)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### ⚠ BREAKING CHANGES
|
|
@@ -13,6 +13,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
13
13
|
### Features
|
|
14
14
|
|
|
15
15
|
* **base-zone:** add `zone.watchPromise` ([9ce80d0](https://github.com/Agoric/agoric-sdk/commit/9ce80d06c0a56471d2da9f372b0b2d93d31d159a))
|
|
16
|
+
* **liveslots-tools:** prepare-strict-test-env ([d98d894](https://github.com/Agoric/agoric-sdk/commit/d98d89449d4bfc1419cd4410edef813db0e4ec55))
|
|
16
17
|
* **zone:** implement `isStorable` for virtual zones ([20feefb](https://github.com/Agoric/agoric-sdk/commit/20feefbdef9aec159d32d3b2c6d266e4109ced99))
|
|
17
18
|
* **zone:** implement `zone.makeOnce(key, maker)` ([d3be4c0](https://github.com/Agoric/agoric-sdk/commit/d3be4c08477d958c1760713a88d33de724d6e3a2))
|
|
18
19
|
* **zone:** use fresh heap and virtual zones ([7a1a411](https://github.com/Agoric/agoric-sdk/commit/7a1a411cf719477e29a2bedeb91794fd633989e9))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/zone",
|
|
3
|
-
"version": "0.3.0-upgrade-
|
|
3
|
+
"version": "0.3.0-upgrade-18-dev-bf39b10.0+bf39b10",
|
|
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",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "exit 0",
|
|
10
10
|
"prepack": "tsc --build tsconfig.build.json",
|
|
11
|
-
"postpack": "git clean -f '*.d.ts*'",
|
|
11
|
+
"postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'",
|
|
12
12
|
"test": "ava",
|
|
13
13
|
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
|
|
14
14
|
"test:xs": "exit 0",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"author": "Agoric",
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@agoric/base-zone": "0.1.1-upgrade-
|
|
31
|
-
"@agoric/vat-data": "0.5.3-upgrade-
|
|
32
|
-
"@endo/errors": "^1.2.
|
|
33
|
-
"@endo/far": "^1.1.
|
|
34
|
-
"@endo/pass-style": "^1.4.
|
|
30
|
+
"@agoric/base-zone": "0.1.1-upgrade-18-dev-bf39b10.0+bf39b10",
|
|
31
|
+
"@agoric/vat-data": "0.5.3-upgrade-18-dev-bf39b10.0+bf39b10",
|
|
32
|
+
"@endo/errors": "^1.2.7",
|
|
33
|
+
"@endo/far": "^1.1.8",
|
|
34
|
+
"@endo/pass-style": "^1.4.6"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@agoric/swingset-
|
|
38
|
-
"@endo/patterns": "^1.4.
|
|
37
|
+
"@agoric/swingset-vat": "0.33.0-upgrade-18-dev-bf39b10.0+bf39b10",
|
|
38
|
+
"@endo/patterns": "^1.4.6",
|
|
39
39
|
"ava": "^5.3.0"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"workerThreads": false
|
|
56
56
|
},
|
|
57
57
|
"typeCoverage": {
|
|
58
|
-
"atLeast": 96.
|
|
58
|
+
"atLeast": 96.58
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "bf39b100f0da4380bab0ce2464aaca1988f0b76a"
|
|
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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["./durable.js","./heap.js","./virtual.js","./src/durable.js","./src/index.js","./src/virtual.js"],"version":"5.6.3"}
|
|
@@ -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
|
-
};
|