@agoric/xsnap 0.14.3-dev-c27a7e6.0 → 0.14.3-dev-bd19a6f.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 +4 -4
  2. package/src/build.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/xsnap",
3
- "version": "0.14.3-dev-c27a7e6.0+c27a7e6",
3
+ "version": "0.14.3-dev-bd19a6f.0+bd19a6f",
4
4
  "description": "Snapshotting VM worker based on Moddable's XS Javascript engine",
5
5
  "author": "Agoric",
6
6
  "license": "Apache-2.0",
@@ -28,8 +28,8 @@
28
28
  "test:xs": "exit 0"
29
29
  },
30
30
  "dependencies": {
31
- "@agoric/internal": "0.3.3-dev-c27a7e6.0+c27a7e6",
32
- "@agoric/xsnap-lockdown": "0.14.1-dev-c27a7e6.0+c27a7e6",
31
+ "@agoric/internal": "0.3.3-dev-bd19a6f.0+bd19a6f",
32
+ "@agoric/xsnap-lockdown": "0.14.1-dev-bd19a6f.0+bd19a6f",
33
33
  "@endo/bundle-source": "^3.4.0",
34
34
  "@endo/errors": "^1.2.5",
35
35
  "@endo/eventual-send": "^1.2.5",
@@ -78,5 +78,5 @@
78
78
  "typeCoverage": {
79
79
  "atLeast": 93.99
80
80
  },
81
- "gitHead": "c27a7e6b55064e7e86613ae5a923cc6511d15c1e"
81
+ "gitHead": "bd19a6f72106d0f0843a48e8a725e8b426132a1e"
82
82
  }
package/src/build.js CHANGED
@@ -341,7 +341,7 @@ async function main(args, { env, stdout, spawn, fs, os }) {
341
341
 
342
342
  if (isWorkingCopy || showEnv) {
343
343
  if (showEnv && !isWorkingCopy) {
344
- throw new Error('XSnap requires a working copy and git to --show-env');
344
+ throw Error('XSnap requires a working copy and git to --show-env');
345
345
  }
346
346
  await updateSubmodules(showEnv, { env, stdout, spawn, fs });
347
347
  hasSource = true;
@@ -362,7 +362,7 @@ async function main(args, { env, stdout, spawn, fs, os }) {
362
362
  }
363
363
  await makeXsnap({ spawn, fs, os }, { forceBuild });
364
364
  } else if (!hasBin) {
365
- throw new Error(
365
+ throw Error(
366
366
  'XSnap has neither sources nor a pre-built binary. Docker? .dockerignore? npm files?',
367
367
  );
368
368
  }