@fluid-experimental/tree 2.101.1 → 2.103.0
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/CHANGELOG.md +8 -0
- package/dist/Checkout.d.ts.map +1 -1
- package/dist/Checkout.js.map +1 -1
- package/dist/EditLog.d.ts +2 -1
- package/dist/EditLog.d.ts.map +1 -1
- package/dist/EditLog.js.map +1 -1
- package/dist/HistoryEditFactory.d.ts +2 -2
- package/dist/HistoryEditFactory.d.ts.map +1 -1
- package/dist/HistoryEditFactory.js.map +1 -1
- package/dist/id-compressor/IdCompressor.d.ts.map +1 -1
- package/dist/id-compressor/IdCompressor.js.map +1 -1
- package/lib/Checkout.d.ts.map +1 -1
- package/lib/Checkout.js.map +1 -1
- package/lib/EditLog.d.ts +2 -1
- package/lib/EditLog.d.ts.map +1 -1
- package/lib/EditLog.js.map +1 -1
- package/lib/HistoryEditFactory.d.ts +2 -2
- package/lib/HistoryEditFactory.d.ts.map +1 -1
- package/lib/HistoryEditFactory.js.map +1 -1
- package/lib/id-compressor/IdCompressor.d.ts.map +1 -1
- package/lib/id-compressor/IdCompressor.js.map +1 -1
- package/package.json +23 -23
- package/src/Checkout.ts +2 -2
- package/src/EditLog.ts +2 -2
- package/src/HistoryEditFactory.ts +2 -2
- package/src/id-compressor/IdCompressor.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-experimental/tree",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.103.0",
|
|
4
4
|
"description": "Distributed tree",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"main": "lib/index.js",
|
|
28
28
|
"types": "lib/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@fluid-internal/client-utils": "~2.
|
|
31
|
-
"@fluidframework/container-definitions": "~2.
|
|
32
|
-
"@fluidframework/core-interfaces": "~2.
|
|
33
|
-
"@fluidframework/core-utils": "~2.
|
|
34
|
-
"@fluidframework/datastore-definitions": "~2.
|
|
35
|
-
"@fluidframework/driver-definitions": "~2.
|
|
36
|
-
"@fluidframework/id-compressor": "~2.
|
|
37
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
38
|
-
"@fluidframework/runtime-utils": "~2.
|
|
39
|
-
"@fluidframework/shared-object-base": "~2.
|
|
40
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
41
|
-
"@fluidframework/tree": "~2.
|
|
30
|
+
"@fluid-internal/client-utils": "~2.103.0",
|
|
31
|
+
"@fluidframework/container-definitions": "~2.103.0",
|
|
32
|
+
"@fluidframework/core-interfaces": "~2.103.0",
|
|
33
|
+
"@fluidframework/core-utils": "~2.103.0",
|
|
34
|
+
"@fluidframework/datastore-definitions": "~2.103.0",
|
|
35
|
+
"@fluidframework/driver-definitions": "~2.103.0",
|
|
36
|
+
"@fluidframework/id-compressor": "~2.103.0",
|
|
37
|
+
"@fluidframework/runtime-definitions": "~2.103.0",
|
|
38
|
+
"@fluidframework/runtime-utils": "~2.103.0",
|
|
39
|
+
"@fluidframework/shared-object-base": "~2.103.0",
|
|
40
|
+
"@fluidframework/telemetry-utils": "~2.103.0",
|
|
41
|
+
"@fluidframework/tree": "~2.103.0",
|
|
42
42
|
"@tylerbu/sorted-btree-es6": "^2.1.1",
|
|
43
43
|
"buffer": "^6.0.3",
|
|
44
44
|
"denque": "^1.5.1",
|
|
@@ -48,20 +48,20 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
50
50
|
"@biomejs/biome": "~2.4.5",
|
|
51
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
52
|
-
"@fluid-private/stochastic-test-utils": "~2.
|
|
53
|
-
"@fluid-private/test-drivers": "~2.
|
|
51
|
+
"@fluid-internal/mocha-test-setup": "~2.103.0",
|
|
52
|
+
"@fluid-private/stochastic-test-utils": "~2.103.0",
|
|
53
|
+
"@fluid-private/test-drivers": "~2.103.0",
|
|
54
54
|
"@fluid-tools/benchmark": "^0.59.0",
|
|
55
55
|
"@fluidframework/build-common": "^2.0.3",
|
|
56
56
|
"@fluidframework/build-tools": "^0.65.0",
|
|
57
|
-
"@fluidframework/container-definitions": "~2.
|
|
58
|
-
"@fluidframework/container-loader": "~2.
|
|
59
|
-
"@fluidframework/container-runtime": "~2.
|
|
57
|
+
"@fluidframework/container-definitions": "~2.103.0",
|
|
58
|
+
"@fluidframework/container-loader": "~2.103.0",
|
|
59
|
+
"@fluidframework/container-runtime": "~2.103.0",
|
|
60
60
|
"@fluidframework/eslint-config-fluid": "^9.0.0",
|
|
61
|
-
"@fluidframework/runtime-utils": "~2.
|
|
62
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
63
|
-
"@fluidframework/test-utils": "~2.
|
|
64
|
-
"@fluidframework/undo-redo": "~2.
|
|
61
|
+
"@fluidframework/runtime-utils": "~2.103.0",
|
|
62
|
+
"@fluidframework/test-runtime-utils": "~2.103.0",
|
|
63
|
+
"@fluidframework/test-utils": "~2.103.0",
|
|
64
|
+
"@fluidframework/undo-redo": "~2.103.0",
|
|
65
65
|
"@microsoft/api-extractor": "7.58.1",
|
|
66
66
|
"@types/chai": "^4.0.0",
|
|
67
67
|
"@types/lru-cache": "^5.1.0",
|
package/src/Checkout.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { IDisposable, IErrorEvent, ITelemetryBaseProperties } from '@fluidframework/core-interfaces';
|
|
7
7
|
import { assert } from '@fluidframework/core-utils/internal';
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
TelemetryLoggerExt,
|
|
10
10
|
EventEmitterWithErrorHandling,
|
|
11
11
|
createChildLogger,
|
|
12
12
|
} from '@fluidframework/telemetry-utils/internal';
|
|
@@ -121,7 +121,7 @@ export abstract class Checkout extends EventEmitterWithErrorHandling<ICheckoutEv
|
|
|
121
121
|
*/
|
|
122
122
|
private currentEdit?: GenericTransaction;
|
|
123
123
|
|
|
124
|
-
private readonly logger:
|
|
124
|
+
private readonly logger: TelemetryLoggerExt;
|
|
125
125
|
|
|
126
126
|
public disposed: boolean = false;
|
|
127
127
|
|
package/src/EditLog.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
7
7
|
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
8
8
|
import { assert, compareArrays } from '@fluidframework/core-utils/internal';
|
|
9
|
-
import {
|
|
9
|
+
import { TelemetryLoggerExt } from '@fluidframework/telemetry-utils/internal';
|
|
10
10
|
import { BTree } from '@tylerbu/sorted-btree-es6';
|
|
11
11
|
|
|
12
12
|
import type { ChangeCompressor } from './ChangeCompression.js';
|
|
@@ -265,7 +265,7 @@ export class EditLog<TChange = unknown> extends TypedEventEmitter<IEditLogEvents
|
|
|
265
265
|
*/
|
|
266
266
|
public constructor(
|
|
267
267
|
summary: EditLogSummary<TChange, EditHandle<TChange>> = { editIds: [], editChunks: [] },
|
|
268
|
-
private readonly logger?:
|
|
268
|
+
private readonly logger?: TelemetryLoggerExt,
|
|
269
269
|
editAddedHandlers: readonly EditAddedHandler<TChange>[] = [],
|
|
270
270
|
private readonly targetLength = Infinity,
|
|
271
271
|
private readonly evictionFrequency = targetLength * 2,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { assert } from '@fluidframework/core-utils/internal';
|
|
7
|
-
import {
|
|
7
|
+
import { TelemetryLoggerExt } from '@fluidframework/telemetry-utils/internal';
|
|
8
8
|
|
|
9
9
|
import { StablePlace } from './ChangeTypes.js';
|
|
10
10
|
import { fail } from './Common.js';
|
|
@@ -53,7 +53,7 @@ export enum HistoryEditFactoryEvents {
|
|
|
53
53
|
export function revert(
|
|
54
54
|
changes: readonly ChangeInternal[],
|
|
55
55
|
before: RevisionView,
|
|
56
|
-
logger?:
|
|
56
|
+
logger?: TelemetryLoggerExt,
|
|
57
57
|
emit?: (event: string, ...args: any[]) => void
|
|
58
58
|
): ChangeInternal[] | undefined {
|
|
59
59
|
const result: ChangeInternal[] = [];
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
7
7
|
import { assert } from '@fluidframework/core-utils/internal';
|
|
8
|
-
import {
|
|
8
|
+
import { TelemetryLoggerExt, createChildLogger } from '@fluidframework/telemetry-utils/internal';
|
|
9
9
|
import { BTree } from '@tylerbu/sorted-btree-es6';
|
|
10
10
|
// eslint-disable-next-line import-x/no-internal-modules
|
|
11
11
|
import { diffAgainst } from '@tylerbu/sorted-btree-es6/extended/diffAgainst';
|
|
@@ -385,7 +385,7 @@ export class IdCompressor {
|
|
|
385
385
|
compareFiniteNumbers
|
|
386
386
|
);
|
|
387
387
|
|
|
388
|
-
private readonly logger:
|
|
388
|
+
private readonly logger: TelemetryLoggerExt;
|
|
389
389
|
|
|
390
390
|
/**
|
|
391
391
|
* @param localSessionId - the `IdCompressor`'s current local session ID.
|