@agoric/stat-logger 0.4.29-other-dev-d15096d.0.d15096d → 0.4.29-other-dev-ecf44df.0.ecf44df

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/ava.config.js ADDED
@@ -0,0 +1,10 @@
1
+ // This file configures AVA for this package. A config file next to each
2
+ // package.json avoids AVA's warning about using a config file from an
3
+ // ancestor directory:
4
+ // https://github.com/avajs/ava/blob/main/lib/cli.js
5
+ import base from '../../ava.config.js';
6
+
7
+ export default {
8
+ ...base,
9
+ timeout: '10s',
10
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/stat-logger",
3
- "version": "0.4.29-other-dev-d15096d.0.d15096d",
3
+ "version": "0.4.29-other-dev-ecf44df.0.ecf44df",
4
4
  "description": "Simple library for logging and graphing performance statistics",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -13,10 +13,10 @@
13
13
  "test:xs": "exit 0",
14
14
  "lint": "yarn run -T run-s --continue-on-error 'lint:*'",
15
15
  "lint-fix": "yarn lint:eslint --fix",
16
- "lint:eslint": "yarn run -T eslint ."
16
+ "lint:eslint": "node ../../scripts/eslint-repo.mjs ."
17
17
  },
18
18
  "dependencies": {
19
- "@endo/errors": "^1.2.13"
19
+ "@endo/errors": "^1.3.1"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "canvas": "^2.6.1",
@@ -41,7 +41,7 @@
41
41
  "atLeast": 63.11
42
42
  },
43
43
  "engines": {
44
- "node": "^20.9 || ^22.11"
44
+ "node": "^22.11 || ^24.14"
45
45
  },
46
- "gitHead": "d15096dc4ff8b96e9b6cd11954c20d3a9efbb393"
46
+ "gitHead": "ecf44df5eadcc7a1d68745f056fca19155fb5231"
47
47
  }
package/src/statGraph.js CHANGED
@@ -1,6 +1,6 @@
1
- /* eslint-env node */
2
- import fs from 'fs';
3
- import path from 'path';
1
+ // @ts-nocheck unsupported module
2
+ import fs from 'node:fs';
3
+ import path from 'node:path';
4
4
 
5
5
  import { Fail } from '@endo/errors';
6
6
 
package/src/statLogger.js CHANGED
@@ -1,5 +1,5 @@
1
- import fs from 'fs';
2
- import process from 'process';
1
+ import fs from 'node:fs';
2
+ import process from 'node:process';
3
3
 
4
4
  export function makeStatLogger(tag, headers, options) {
5
5
  const dir = (options && options.dir) || '.';