@agoric/solo 0.10.4-dev-5349a2e.0.5349a2e → 0.10.4-dev-c5dea1c.0.c5dea1c

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/solo",
3
- "version": "0.10.4-dev-5349a2e.0.5349a2e",
3
+ "version": "0.10.4-dev-c5dea1c.0.c5dea1c",
4
4
  "description": "Agoric's Solo vat runner",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,20 +22,20 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/access-token": "0.4.22-dev-5349a2e.0.5349a2e",
26
- "@agoric/cache": "0.3.3-dev-5349a2e.0.5349a2e",
27
- "@agoric/cosmic-proto": "0.4.1-dev-5349a2e.0.5349a2e",
28
- "@agoric/cosmic-swingset": "0.41.4-dev-5349a2e.0.5349a2e",
29
- "@agoric/internal": "0.3.3-dev-5349a2e.0.5349a2e",
30
- "@agoric/notifier": "0.6.3-dev-5349a2e.0.5349a2e",
31
- "@agoric/spawner": "0.6.9-dev-5349a2e.0.5349a2e",
32
- "@agoric/store": "0.9.3-dev-5349a2e.0.5349a2e",
33
- "@agoric/swing-store": "0.9.2-dev-5349a2e.0.5349a2e",
34
- "@agoric/swingset-vat": "0.32.3-dev-5349a2e.0.5349a2e",
35
- "@agoric/telemetry": "0.6.3-dev-5349a2e.0.5349a2e",
36
- "@agoric/time": "0.3.3-dev-5349a2e.0.5349a2e",
37
- "@agoric/vats": "0.15.2-dev-5349a2e.0.5349a2e",
38
- "@agoric/wallet": "0.18.4-dev-5349a2e.0.5349a2e",
25
+ "@agoric/access-token": "0.4.22-dev-c5dea1c.0.c5dea1c",
26
+ "@agoric/cache": "0.3.3-dev-c5dea1c.0.c5dea1c",
27
+ "@agoric/cosmic-proto": "0.4.1-dev-c5dea1c.0.c5dea1c",
28
+ "@agoric/cosmic-swingset": "0.41.4-dev-c5dea1c.0.c5dea1c",
29
+ "@agoric/internal": "0.3.3-dev-c5dea1c.0.c5dea1c",
30
+ "@agoric/notifier": "0.6.3-dev-c5dea1c.0.c5dea1c",
31
+ "@agoric/spawner": "0.6.9-dev-c5dea1c.0.c5dea1c",
32
+ "@agoric/store": "0.9.3-dev-c5dea1c.0.c5dea1c",
33
+ "@agoric/swing-store": "0.9.2-dev-c5dea1c.0.c5dea1c",
34
+ "@agoric/swingset-vat": "0.32.3-dev-c5dea1c.0.c5dea1c",
35
+ "@agoric/telemetry": "0.6.3-dev-c5dea1c.0.c5dea1c",
36
+ "@agoric/time": "0.3.3-dev-c5dea1c.0.c5dea1c",
37
+ "@agoric/vats": "0.15.2-dev-c5dea1c.0.c5dea1c",
38
+ "@agoric/wallet": "0.18.4-dev-c5dea1c.0.c5dea1c",
39
39
  "@endo/base64": "^1.0.12",
40
40
  "@endo/captp": "^4.4.8",
41
41
  "@endo/errors": "^1.2.13",
@@ -55,7 +55,7 @@
55
55
  "ws": "^7.2.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@agoric/ertp": "0.16.3-dev-5349a2e.0.5349a2e",
58
+ "@agoric/ertp": "0.16.3-dev-c5dea1c.0.c5dea1c",
59
59
  "@endo/bundle-source": "^4.1.2",
60
60
  "ava": "^6.4.1",
61
61
  "c8": "^10.1.3"
@@ -78,5 +78,5 @@
78
78
  "typeCoverage": {
79
79
  "atLeast": 74.43
80
80
  },
81
- "gitHead": "5349a2e81641e2ffa2ab16840306d6a0a404a1dc"
81
+ "gitHead": "c5dea1c874d9ab8a0da0d559d66be9c7d611741f"
82
82
  }
package/src/add-chain.js CHANGED
@@ -1,9 +1,9 @@
1
1
  // @ts-nocheck
2
2
  /* eslint-env node */
3
- import crypto from 'crypto';
3
+ import crypto from 'node:crypto';
4
4
  import djson from 'deterministic-json';
5
- import path from 'path';
6
- import fs from 'fs';
5
+ import path from 'node:path';
6
+ import fs from 'node:fs';
7
7
 
8
8
  import { Fail } from '@endo/errors';
9
9
  import setGCIIngress from './set-gci-ingress.js';
@@ -1,9 +1,9 @@
1
1
  // @ts-nocheck
2
2
  /* global clearTimeout setTimeout */
3
- import path from 'path';
4
- import fs from 'fs';
5
- import url from 'url';
6
- import { execFile } from 'child_process';
3
+ import path from 'node:path';
4
+ import fs from 'node:fs';
5
+ import url from 'node:url';
6
+ import { execFile } from 'node:child_process';
7
7
  import { open as tempOpen } from 'temp';
8
8
 
9
9
  import WebSocket from 'ws';
@@ -447,7 +447,6 @@ export async function connectToChain(
447
447
 
448
448
  // Find only the latest value in the events.
449
449
  let storageValue;
450
- // eslint-disable-next-line github/array-foreach
451
450
  paths.forEach((key, i) => {
452
451
  if (key === storagePath) {
453
452
  storageValue = values[i];
package/src/entrypoint.js CHANGED
@@ -4,8 +4,8 @@
4
4
  // (dep chain: temp->glob->minimatch->brace-expansion)
5
5
  import '@endo/init/legacy.js';
6
6
 
7
- import process from 'process';
8
- import path from 'path';
7
+ import process from 'node:process';
8
+ import path from 'node:path';
9
9
 
10
10
  // Configure logs.
11
11
  import '@agoric/cosmic-swingset/src/anylogger-agoric.js';
@@ -1,8 +1,8 @@
1
1
  // @ts-check
2
2
  /* eslint-env node */
3
- import fs from 'fs';
4
- import path from 'path';
5
- import { execFileSync } from 'child_process';
3
+ import fs from 'node:fs';
4
+ import path from 'node:path';
5
+ import { execFileSync } from 'node:child_process';
6
6
 
7
7
  import { assert, X } from '@endo/errors';
8
8
  import anylogger from '@agoric/internal/vendor/anylogger.js';
package/src/main.js CHANGED
@@ -1,8 +1,8 @@
1
- import fs from 'fs';
2
- import path from 'path';
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
3
  import parseArgs from 'minimist';
4
- import process from 'process';
5
- import { spawnSync } from 'child_process';
4
+ import process from 'node:process';
5
+ import { spawnSync } from 'node:child_process';
6
6
  import { assert } from '@endo/errors';
7
7
 
8
8
  import anylogger from '@agoric/internal/vendor/anylogger.js';
package/src/pipe.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // @ts-check
2
- import { fork } from 'child_process';
3
- import path from 'path';
2
+ import { fork } from 'node:child_process';
3
+ import path from 'node:path';
4
4
 
5
5
  import { makePromiseKit } from '@endo/promise-kit';
6
6
  import { parse, stringify } from '@endo/marshal';
@@ -1,5 +1,5 @@
1
- import path from 'path';
2
- import fs from 'fs';
1
+ import path from 'node:path';
2
+ import fs from 'node:fs';
3
3
 
4
4
  import { initSwingStore } from '@agoric/swing-store';
5
5
 
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
- import fs from 'fs';
3
- import path from 'path';
2
+ import fs from 'node:fs';
3
+ import path from 'node:path';
4
4
 
5
5
  export default function setFakeChain(basedir, GCI, fakeDelay) {
6
6
  const fn = path.join(basedir, 'connections.json');
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
- import fs from 'fs';
3
- import path from 'path';
2
+ import fs from 'node:fs';
3
+ import path from 'node:path';
4
4
 
5
5
  export default function setGCIIngress(basedir, GCI, rpcAddresses, chainID) {
6
6
  const myAddrFn = path.join(basedir, 'ag-cosmos-helper-address');
package/src/start.js CHANGED
@@ -1,11 +1,11 @@
1
1
  // @ts-check
2
2
  /* eslint-env node */
3
- import fs from 'fs';
4
- import url from 'url';
5
- import path from 'path';
3
+ import fs from 'node:fs';
4
+ import url from 'node:url';
5
+ import path from 'node:path';
6
6
  import temp from 'temp';
7
- import { fork } from 'child_process';
8
- import { promisify } from 'util';
7
+ import { fork } from 'node:child_process';
8
+ import { promisify } from 'node:util';
9
9
  import { resolve as importMetaResolve } from 'import-meta-resolve';
10
10
  // import { createHash } from 'crypto';
11
11
 
package/src/web.js CHANGED
@@ -1,16 +1,16 @@
1
1
  // @ts-nocheck
2
2
  /* global setTimeout clearTimeout setInterval clearInterval process */
3
3
  // Start a network service
4
- import path from 'path';
5
- import http from 'http';
6
- import { createConnection } from 'net';
7
- import { existsSync as existsSyncAmbient } from 'fs';
4
+ import path from 'node:path';
5
+ import http from 'node:http';
6
+ import { createConnection } from 'node:net';
7
+ import { existsSync as existsSyncAmbient } from 'node:fs';
8
8
  import express from 'express';
9
9
  import { createProxyMiddleware } from 'http-proxy-middleware';
10
10
  import WebSocket from 'ws';
11
11
  import anylogger from '@agoric/internal/vendor/anylogger.js';
12
12
  import morgan from 'morgan';
13
- import { format as urlFormat } from 'url';
13
+ import { format as urlFormat } from 'node:url';
14
14
 
15
15
  import { getAccessToken } from '@agoric/access-token';
16
16
 
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
2
  /* eslint-env node */
3
- import { spawn } from 'child_process';
3
+ import { spawn } from 'node:child_process';
4
4
  import WebSocket from 'ws';
5
5
  import { makeCapTP, E } from '@endo/captp';
6
6