@agoric/pola-io 0.1.1-other-dev-fbe72e7.0.fbe72e7 → 0.1.1-other-dev-d15096d.0.d15096d

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/pola-io",
3
- "version": "0.1.1-other-dev-fbe72e7.0.fbe72e7",
3
+ "version": "0.1.1-other-dev-d15096d.0.d15096d",
4
4
  "description": "Least Authority I/O utilities",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -15,7 +15,7 @@
15
15
  "lint-fix": "eslint --fix ."
16
16
  },
17
17
  "dependencies": {
18
- "@agoric/internal": "0.3.3-other-dev-fbe72e7.0.fbe72e7"
18
+ "@agoric/internal": "0.3.3-other-dev-d15096d.0.d15096d"
19
19
  },
20
20
  "devDependencies": {
21
21
  "ava": "^5.3.0"
@@ -38,10 +38,10 @@
38
38
  "timeout": "2m"
39
39
  },
40
40
  "typeCoverage": {
41
- "atLeast": 91.94
41
+ "atLeast": 92.3
42
42
  },
43
43
  "engines": {
44
44
  "node": "^20.9 || ^22.11"
45
45
  },
46
- "gitHead": "fbe72e72107f9997f788674e668c660d92ec4492"
46
+ "gitHead": "d15096dc4ff8b96e9b6cd11954c20d3a9efbb393"
47
47
  }
@@ -2,6 +2,10 @@ import { execFile as execFileAmbient } from 'child_process';
2
2
  import { promisify } from 'node:util';
3
3
  import * as cmd from '../cmd.js';
4
4
 
5
+ /**
6
+ * @import {Environment} from '../cmd.js';
7
+ */
8
+
5
9
  /**
6
10
  * Access to run a command with flags appended.
7
11
  *
@@ -13,7 +17,7 @@ import * as cmd from '../cmd.js';
13
17
  * TODO? .withPath('/opt') or .withEnv({PATH: `${env.PATH}:/opt`})
14
18
  *
15
19
  * @param {string} file
16
- * @param {{ execFile?: any, defaultEnv?: import('../cmd.js').Environment }} [io]
20
+ * @param {{ execFile?: any, defaultEnv?: Environment }} [io]
17
21
  */
18
22
  export const makeCmdRunner = (
19
23
  file,
package/src/cmd.js CHANGED
@@ -80,4 +80,4 @@ export const makeCmdRunner = (file, { execFile, defaultEnv } = {}) => {
80
80
  return make({ preArgs: [], postArgs: [], postEnv: {} });
81
81
  };
82
82
  freeze(makeCmdRunner);
83
- /** @typedef {ReturnType<makeCmdRunner>} CmdRunner */
83
+ /** @typedef {ReturnType<typeof makeCmdRunner>} CmdRunner */
package/src/net.js CHANGED
@@ -3,7 +3,7 @@
3
3
  const { freeze } = Object;
4
4
 
5
5
  /**
6
- * @import {PathNode, FileRd, FileRW} from './file';
6
+ * @import {PathNode, FileRd, FileRW} from './file.js';
7
7
  *
8
8
  * XXX TODO: basename, relative
9
9
  * @typedef {Omit<PathNode, 'basename' | 'relative'> & Pick<FileRd, 'readText' | 'readJSON'>} TextRd