@fluidframework/telemetry-utils 2.0.0-rc.5.0.0 → 2.1.0-274160
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.
|
@@ -4,26 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import type { ConfigTypes } from '@fluidframework/core-interfaces';
|
|
8
|
-
import type { EventEmitter } from '@fluid-internal/client-utils';
|
|
9
|
-
import { EventEmitterEventType } from '@fluid-internal/client-utils';
|
|
10
|
-
import type { IConfigProviderBase } from '@fluidframework/core-interfaces';
|
|
11
|
-
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
12
|
-
import type { IErrorBase } from '@fluidframework/core-interfaces';
|
|
13
|
-
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
14
|
-
import { IGenericError } from '@fluidframework/core-interfaces/internal';
|
|
15
|
-
import type { ILoggingError } from '@fluidframework/core-interfaces/internal';
|
|
16
|
-
import type { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
|
|
17
|
-
import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
|
|
18
|
-
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
19
|
-
import type { ITelemetryBaseProperties } from '@fluidframework/core-interfaces';
|
|
20
|
-
import { IUsageError } from '@fluidframework/core-interfaces/internal';
|
|
21
|
-
import { Lazy } from '@fluidframework/core-utils/internal';
|
|
22
|
-
import { LogLevel } from '@fluidframework/core-interfaces';
|
|
23
|
-
import type { Tagged } from '@fluidframework/core-interfaces';
|
|
24
|
-
import { TelemetryBaseEventPropertyType } from '@fluidframework/core-interfaces';
|
|
25
|
-
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
26
|
-
|
|
27
7
|
// @alpha
|
|
28
8
|
export function createChildLogger(props?: {
|
|
29
9
|
logger?: ITelemetryBaseLogger;
|
|
@@ -4,26 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import type { ConfigTypes } from '@fluidframework/core-interfaces';
|
|
8
|
-
import type { EventEmitter } from '@fluid-internal/client-utils';
|
|
9
|
-
import { EventEmitterEventType } from '@fluid-internal/client-utils';
|
|
10
|
-
import type { IConfigProviderBase } from '@fluidframework/core-interfaces';
|
|
11
|
-
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
12
|
-
import type { IErrorBase } from '@fluidframework/core-interfaces';
|
|
13
|
-
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
14
|
-
import { IGenericError } from '@fluidframework/core-interfaces/internal';
|
|
15
|
-
import type { ILoggingError } from '@fluidframework/core-interfaces/internal';
|
|
16
|
-
import type { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
|
|
17
|
-
import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
|
|
18
|
-
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
19
|
-
import type { ITelemetryBaseProperties } from '@fluidframework/core-interfaces';
|
|
20
|
-
import { IUsageError } from '@fluidframework/core-interfaces/internal';
|
|
21
|
-
import { Lazy } from '@fluidframework/core-utils/internal';
|
|
22
|
-
import { LogLevel } from '@fluidframework/core-interfaces';
|
|
23
|
-
import type { Tagged } from '@fluidframework/core-interfaces';
|
|
24
|
-
import { TelemetryBaseEventPropertyType } from '@fluidframework/core-interfaces';
|
|
25
|
-
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
26
|
-
|
|
27
7
|
// (No @packageDocumentation comment for this package)
|
|
28
8
|
|
|
29
9
|
```
|
|
@@ -4,26 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import type { ConfigTypes } from '@fluidframework/core-interfaces';
|
|
8
|
-
import type { EventEmitter } from '@fluid-internal/client-utils';
|
|
9
|
-
import { EventEmitterEventType } from '@fluid-internal/client-utils';
|
|
10
|
-
import type { IConfigProviderBase } from '@fluidframework/core-interfaces';
|
|
11
|
-
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
12
|
-
import type { IErrorBase } from '@fluidframework/core-interfaces';
|
|
13
|
-
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
14
|
-
import { IGenericError } from '@fluidframework/core-interfaces/internal';
|
|
15
|
-
import type { ILoggingError } from '@fluidframework/core-interfaces/internal';
|
|
16
|
-
import type { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
|
|
17
|
-
import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
|
|
18
|
-
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
19
|
-
import type { ITelemetryBaseProperties } from '@fluidframework/core-interfaces';
|
|
20
|
-
import { IUsageError } from '@fluidframework/core-interfaces/internal';
|
|
21
|
-
import { Lazy } from '@fluidframework/core-utils/internal';
|
|
22
|
-
import { LogLevel } from '@fluidframework/core-interfaces';
|
|
23
|
-
import type { Tagged } from '@fluidframework/core-interfaces';
|
|
24
|
-
import { TelemetryBaseEventPropertyType } from '@fluidframework/core-interfaces';
|
|
25
|
-
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
26
|
-
|
|
27
7
|
// (No @packageDocumentation comment for this package)
|
|
28
8
|
|
|
29
9
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/telemetry-utils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0-274160",
|
|
4
4
|
"description": "Collection of telemetry relates utilities for Fluid",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -67,22 +67,22 @@
|
|
|
67
67
|
"temp-directory": "nyc/.nyc_output"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@fluid-internal/client-utils": "
|
|
71
|
-
"@fluidframework/core-interfaces": "
|
|
72
|
-
"@fluidframework/core-utils": "
|
|
73
|
-
"@fluidframework/driver-definitions": "
|
|
70
|
+
"@fluid-internal/client-utils": "2.1.0-274160",
|
|
71
|
+
"@fluidframework/core-interfaces": "2.1.0-274160",
|
|
72
|
+
"@fluidframework/core-utils": "2.1.0-274160",
|
|
73
|
+
"@fluidframework/driver-definitions": "2.1.0-274160",
|
|
74
74
|
"debug": "^4.3.4",
|
|
75
75
|
"uuid": "^9.0.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
79
79
|
"@biomejs/biome": "^1.7.3",
|
|
80
|
-
"@fluid-internal/mocha-test-setup": "
|
|
80
|
+
"@fluid-internal/mocha-test-setup": "2.1.0-274160",
|
|
81
81
|
"@fluid-tools/build-cli": "^0.39.0",
|
|
82
82
|
"@fluidframework/build-common": "^2.0.3",
|
|
83
83
|
"@fluidframework/build-tools": "^0.39.0",
|
|
84
84
|
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
85
|
-
"@fluidframework/telemetry-utils-previous": "npm:@fluidframework/telemetry-utils@2.0.0-rc.
|
|
85
|
+
"@fluidframework/telemetry-utils-previous": "npm:@fluidframework/telemetry-utils@2.0.0-rc.5.0.0",
|
|
86
86
|
"@microsoft/api-extractor": "^7.45.1",
|
|
87
87
|
"@types/debug": "^4.1.5",
|
|
88
88
|
"@types/mocha": "^9.1.1",
|
|
@@ -104,16 +104,7 @@
|
|
|
104
104
|
"typescript": "~5.4.5"
|
|
105
105
|
},
|
|
106
106
|
"typeValidation": {
|
|
107
|
-
"broken": {
|
|
108
|
-
"ClassDeclaration_MockLogger": {
|
|
109
|
-
"backCompat": false,
|
|
110
|
-
"forwardCompat": false
|
|
111
|
-
},
|
|
112
|
-
"RemovedFunctionDeclaration_isValidLegacyError": {
|
|
113
|
-
"forwardCompat": false,
|
|
114
|
-
"backCompat": false
|
|
115
|
-
}
|
|
116
|
-
}
|
|
107
|
+
"broken": {}
|
|
117
108
|
},
|
|
118
109
|
"scripts": {
|
|
119
110
|
"api": "fluid-build . --task api",
|
|
@@ -122,7 +113,9 @@
|
|
|
122
113
|
"build": "fluid-build . --task build",
|
|
123
114
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
124
115
|
"build:compile": "fluid-build . --task compile",
|
|
125
|
-
"build:docs": "
|
|
116
|
+
"build:docs": "concurrently \"npm:build:docs:*\"",
|
|
117
|
+
"build:docs:current": "api-extractor run --local",
|
|
118
|
+
"build:docs:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
|
|
126
119
|
"build:esnext": "tsc --project ./tsconfig.json",
|
|
127
120
|
"build:test": "npm run build:test:esm && npm run build:test:cjs",
|
|
128
121
|
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
|
|
@@ -138,7 +131,9 @@
|
|
|
138
131
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
139
132
|
"check:format": "npm run check:biome",
|
|
140
133
|
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
141
|
-
"ci:build:docs": "
|
|
134
|
+
"ci:build:docs": "concurrently \"npm:ci:build:docs:*\"",
|
|
135
|
+
"ci:build:docs:current": "api-extractor run",
|
|
136
|
+
"ci:build:docs:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
142
137
|
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
143
138
|
"eslint": "eslint --format stylish src",
|
|
144
139
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
@@ -154,7 +149,7 @@
|
|
|
154
149
|
"test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\" --exit",
|
|
155
150
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
156
151
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
157
|
-
"typetests:gen": "flub generate typetests --dir . -v
|
|
152
|
+
"typetests:gen": "flub generate typetests --dir . -v",
|
|
158
153
|
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
159
154
|
}
|
|
160
155
|
}
|