@agoric/xsnap 0.14.3-dev-2dc53d7.0 → 0.14.3-dev-0f94e34.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 +6 -6
- package/src/avaHandler.cjs +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/xsnap",
|
|
3
|
-
"version": "0.14.3-dev-
|
|
3
|
+
"version": "0.14.3-dev-0f94e34.0+0f94e34",
|
|
4
4
|
"description": "Snapshotting VM worker based on Moddable's XS Javascript engine",
|
|
5
5
|
"author": "Agoric",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"test:xs": "exit 0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@agoric/assert": "0.6.1-dev-
|
|
31
|
-
"@agoric/internal": "0.3.3-dev-
|
|
32
|
-
"@agoric/xsnap-lockdown": "0.14.1-dev-
|
|
30
|
+
"@agoric/assert": "0.6.1-dev-0f94e34.0+0f94e34",
|
|
31
|
+
"@agoric/internal": "0.3.3-dev-0f94e34.0+0f94e34",
|
|
32
|
+
"@agoric/xsnap-lockdown": "0.14.1-dev-0f94e34.0+0f94e34",
|
|
33
33
|
"@endo/bundle-source": "^3.2.3",
|
|
34
34
|
"@endo/eventual-send": "^1.2.2",
|
|
35
35
|
"@endo/init": "^1.1.2",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"workerThreads": false
|
|
75
75
|
},
|
|
76
76
|
"typeCoverage": {
|
|
77
|
-
"atLeast": 94.
|
|
77
|
+
"atLeast": 94.04
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "0f94e34eb539b8f91c82d0877df836738e58cc69"
|
|
80
80
|
}
|
package/src/avaHandler.cjs
CHANGED
|
@@ -12,7 +12,6 @@ HandledPromise is defined by eventual send shim.
|
|
|
12
12
|
/// <reference types="ses" />
|
|
13
13
|
/// <reference types="@endo/eventual-send" />
|
|
14
14
|
|
|
15
|
-
// @ts-expect-error cannot redeclare encoder
|
|
16
15
|
const encoder = new TextEncoder();
|
|
17
16
|
const decoder = new TextDecoder();
|
|
18
17
|
|
|
@@ -33,7 +32,6 @@ function send(item) {
|
|
|
33
32
|
*/
|
|
34
33
|
const bundleSource = async (startFilename, ...args) => {
|
|
35
34
|
const msg = await send({ bundleSource: [startFilename, ...args] });
|
|
36
|
-
// @ts-expect-error send() returns void
|
|
37
35
|
return JSON.parse(decoder.decode(msg));
|
|
38
36
|
};
|
|
39
37
|
|
|
@@ -87,7 +85,6 @@ function handler(rawMessage) {
|
|
|
87
85
|
__filename,
|
|
88
86
|
console,
|
|
89
87
|
assert,
|
|
90
|
-
// @ts-expect-error
|
|
91
88
|
HandledPromise,
|
|
92
89
|
URL: class URLStub {
|
|
93
90
|
constructor(url, base) {
|