@agoric/telemetry 0.6.3-dev-5349a2e.0.5349a2e → 0.6.3-dev-70d05b1.0.70d05b1

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/telemetry",
3
- "version": "0.6.3-dev-5349a2e.0.5349a2e",
3
+ "version": "0.6.3-dev-70d05b1.0.70d05b1",
4
4
  "description": "Agoric's telemetry implementation",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/Agoric/agoric-sdk",
@@ -13,7 +13,7 @@
13
13
  "lint-fix": "yarn lint:eslint --fix",
14
14
  "lint": "yarn run -T run-s --continue-on-error 'lint:*'",
15
15
  "lint:types": "yarn run -T tsc",
16
- "lint:eslint": "yarn run -T eslint ."
16
+ "lint:eslint": "node ../../scripts/eslint-repo.mjs ."
17
17
  },
18
18
  "bin": {
19
19
  "frcat": "./src/frcat-entrypoint.js"
@@ -22,8 +22,8 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/internal": "0.3.3-dev-5349a2e.0.5349a2e",
26
- "@agoric/store": "0.9.3-dev-5349a2e.0.5349a2e",
25
+ "@agoric/internal": "0.3.3-dev-70d05b1.0.70d05b1",
26
+ "@agoric/store": "0.9.3-dev-70d05b1.0.70d05b1",
27
27
  "@endo/errors": "^1.2.13",
28
28
  "@endo/init": "^1.1.12",
29
29
  "@endo/marshal": "^1.8.0",
@@ -70,5 +70,5 @@
70
70
  "typeCoverage": {
71
71
  "atLeast": 89.28
72
72
  },
73
- "gitHead": "5349a2e81641e2ffa2ab16840306d6a0a404a1dc"
73
+ "gitHead": "70d05b17afffdebceb4c12d6bc7f0a1db569dbb3"
74
74
  }
@@ -67,7 +67,7 @@ const SLOG_TYPES = {
67
67
  FINISH: 'cosmic-swingset-end-block-finish',
68
68
  START: 'cosmic-swingset-end-block-start',
69
69
  },
70
- // eslint-disable-next-line no-restricted-syntax
70
+
71
71
  RUN: {
72
72
  FINISH: 'cosmic-swingset-run-finish',
73
73
  START: 'cosmic-swingset-run-start',
@@ -227,7 +227,7 @@ export const makeContextualSlogProcessor = (
227
227
 
228
228
  break;
229
229
  }
230
- // eslint-disable-next-line no-restricted-syntax
230
+
231
231
  case SLOG_TYPES.COSMIC_SWINGSET.RUN.START: {
232
232
  if (!finalBody.runNum) {
233
233
  assert(!triggerContext);
@@ -353,7 +353,7 @@ export const makeContextualSlogProcessor = (
353
353
  blockContext = null;
354
354
  break;
355
355
  }
356
- // eslint-disable-next-line no-restricted-syntax
356
+
357
357
  case SLOG_TYPES.COSMIC_SWINGSET.RUN.FINISH: {
358
358
  assert(!!triggerContext);
359
359
  persistContext(
@@ -2,10 +2,10 @@
2
2
  /* eslint-env node */
3
3
  import '@endo/init';
4
4
 
5
- import fs from 'fs';
6
- import zlib from 'zlib';
7
- import readline from 'readline';
8
- import process from 'process';
5
+ import fs from 'node:fs';
6
+ import zlib from 'node:zlib';
7
+ import readline from 'node:readline';
8
+ import process from 'node:process';
9
9
 
10
10
  import { makeSlogSender } from './make-slog-sender.js';
11
11
 
@@ -1,4 +1,4 @@
1
- import path from 'path';
1
+ import path from 'node:path';
2
2
  import tmp from 'tmp';
3
3
  import { PromiseAllOrErrors, unprefixedProperties } from '@agoric/internal';
4
4
  import { serializeSlogObj } from './serialize-slog-obj.js';
@@ -6,7 +6,7 @@ import {
6
6
  LoggerProvider,
7
7
  SimpleLogRecordProcessor,
8
8
  } from '@opentelemetry/sdk-logs';
9
- import { readFileSync, writeFileSync } from 'fs';
9
+ import { readFileSync, writeFileSync } from 'node:fs';
10
10
  import { makeContextualSlogProcessor } from './context-aware-slog.js';
11
11
  import { getResourceAttributes } from './index.js';
12
12
  import { serializeSlogObj } from './serialize-slog-obj.js';
@@ -6,9 +6,9 @@
6
6
  * https://nodejs.org/docs/latest/api/child_process.html#advanced-serialization
7
7
  */
8
8
 
9
- import { fork } from 'child_process';
10
- import path from 'path';
11
- import { promisify } from 'util';
9
+ import { fork } from 'node:child_process';
10
+ import path from 'node:path';
11
+ import { promisify } from 'node:util';
12
12
  import anylogger from '@agoric/internal/vendor/anylogger.js';
13
13
 
14
14
  import { q, Fail } from '@endo/errors';