@fluid-experimental/tree 2.53.1 → 2.61.0-355054
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/.mocharc.cjs +2 -2
- package/CHANGELOG.md +4 -0
- package/api-report/experimental-tree.alpha.api.md +2 -2
- package/api-report/experimental-tree.beta.api.md +6 -0
- package/dist/publicContracts.d.ts +2 -2
- package/dist/publicContracts.js +2 -2
- package/dist/publicContracts.js.map +1 -1
- package/lib/publicContracts.d.ts +2 -2
- package/lib/publicContracts.js +2 -2
- package/lib/publicContracts.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +31 -31
- package/src/publicContracts.ts +2 -2
package/.mocharc.cjs
CHANGED
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
const getFluidTestMochaConfig = require('@fluid-internal/mocha-test-setup/mocharc-common');
|
|
9
9
|
|
|
10
|
-
const
|
|
11
|
-
|
|
10
|
+
const config = getFluidTestMochaConfig(__dirname);
|
|
11
|
+
config.exit = true;
|
|
12
12
|
module.exports = config;
|
package/CHANGELOG.md
CHANGED
|
@@ -686,7 +686,7 @@ export class SharedTree extends SharedObject<ISharedTreeEvents> implements NodeI
|
|
|
686
686
|
// @alpha
|
|
687
687
|
export type SharedTreeArgs<WF extends WriteFormat = WriteFormat> = [writeFormat: WF, options?: SharedTreeOptions<WF>];
|
|
688
688
|
|
|
689
|
-
// @
|
|
689
|
+
// @beta @legacy
|
|
690
690
|
export const SharedTreeAttributes: IChannelAttributes;
|
|
691
691
|
|
|
692
692
|
// @alpha
|
|
@@ -712,7 +712,7 @@ export class SharedTreeFactory implements IChannelFactory {
|
|
|
712
712
|
get type(): string;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
-
// @
|
|
715
|
+
// @beta @legacy
|
|
716
716
|
export const SharedTreeFactoryType = "SharedTree";
|
|
717
717
|
|
|
718
718
|
// @alpha
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
import type { IChannelAttributes } from '@fluidframework/datastore-definitions/internal';
|
|
6
6
|
/**
|
|
7
7
|
* {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory."type"}
|
|
8
|
-
* @
|
|
8
|
+
* @beta
|
|
9
9
|
* @legacy
|
|
10
10
|
*/
|
|
11
11
|
export declare const SharedTreeFactoryType = "SharedTree";
|
|
12
12
|
/**
|
|
13
13
|
* {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory.attributes}
|
|
14
|
-
* @
|
|
14
|
+
* @beta
|
|
15
15
|
* @legacy
|
|
16
16
|
*/
|
|
17
17
|
export declare const SharedTreeAttributes: IChannelAttributes;
|
package/dist/publicContracts.js
CHANGED
|
@@ -7,13 +7,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.SharedTreeAttributes = exports.SharedTreeFactoryType = void 0;
|
|
8
8
|
/**
|
|
9
9
|
* {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory."type"}
|
|
10
|
-
* @
|
|
10
|
+
* @beta
|
|
11
11
|
* @legacy
|
|
12
12
|
*/
|
|
13
13
|
exports.SharedTreeFactoryType = 'SharedTree';
|
|
14
14
|
/**
|
|
15
15
|
* {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory.attributes}
|
|
16
|
-
* @
|
|
16
|
+
* @beta
|
|
17
17
|
* @legacy
|
|
18
18
|
*/
|
|
19
19
|
exports.SharedTreeAttributes = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicContracts.js","sourceRoot":"","sources":["../src/publicContracts.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH;;;;GAIG;AACU,QAAA,qBAAqB,GAAG,YAAY,CAAC;AAElD;;;;GAIG;AACU,QAAA,oBAAoB,GAAuB;IACvD,IAAI,EAAE,6BAAqB;IAC3B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,KAAK;CACrB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { IChannelAttributes } from '@fluidframework/datastore-definitions/internal';\n\n/**\n * {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory.\"type\"}\n * @
|
|
1
|
+
{"version":3,"file":"publicContracts.js","sourceRoot":"","sources":["../src/publicContracts.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH;;;;GAIG;AACU,QAAA,qBAAqB,GAAG,YAAY,CAAC;AAElD;;;;GAIG;AACU,QAAA,oBAAoB,GAAuB;IACvD,IAAI,EAAE,6BAAqB;IAC3B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,KAAK;CACrB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { IChannelAttributes } from '@fluidframework/datastore-definitions/internal';\n\n/**\n * {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory.\"type\"}\n * @beta\n * @legacy\n */\nexport const SharedTreeFactoryType = 'SharedTree';\n\n/**\n * {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory.attributes}\n * @beta\n * @legacy\n */\nexport const SharedTreeAttributes: IChannelAttributes = {\n\ttype: SharedTreeFactoryType,\n\tsnapshotFormatVersion: '0.1',\n\tpackageVersion: '0.1',\n};\n"]}
|
package/lib/publicContracts.d.ts
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
import type { IChannelAttributes } from '@fluidframework/datastore-definitions/internal';
|
|
6
6
|
/**
|
|
7
7
|
* {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory."type"}
|
|
8
|
-
* @
|
|
8
|
+
* @beta
|
|
9
9
|
* @legacy
|
|
10
10
|
*/
|
|
11
11
|
export declare const SharedTreeFactoryType = "SharedTree";
|
|
12
12
|
/**
|
|
13
13
|
* {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory.attributes}
|
|
14
|
-
* @
|
|
14
|
+
* @beta
|
|
15
15
|
* @legacy
|
|
16
16
|
*/
|
|
17
17
|
export declare const SharedTreeAttributes: IChannelAttributes;
|
package/lib/publicContracts.js
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory."type"}
|
|
7
|
-
* @
|
|
7
|
+
* @beta
|
|
8
8
|
* @legacy
|
|
9
9
|
*/
|
|
10
10
|
export const SharedTreeFactoryType = 'SharedTree';
|
|
11
11
|
/**
|
|
12
12
|
* {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory.attributes}
|
|
13
|
-
* @
|
|
13
|
+
* @beta
|
|
14
14
|
* @legacy
|
|
15
15
|
*/
|
|
16
16
|
export const SharedTreeAttributes = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicContracts.js","sourceRoot":"","sources":["../src/publicContracts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,YAAY,CAAC;AAElD;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAuB;IACvD,IAAI,EAAE,qBAAqB;IAC3B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,KAAK;CACrB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { IChannelAttributes } from '@fluidframework/datastore-definitions/internal';\n\n/**\n * {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory.\"type\"}\n * @
|
|
1
|
+
{"version":3,"file":"publicContracts.js","sourceRoot":"","sources":["../src/publicContracts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,YAAY,CAAC;AAElD;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAuB;IACvD,IAAI,EAAE,qBAAqB;IAC3B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,KAAK;CACrB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { IChannelAttributes } from '@fluidframework/datastore-definitions/internal';\n\n/**\n * {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory.\"type\"}\n * @beta\n * @legacy\n */\nexport const SharedTreeFactoryType = 'SharedTree';\n\n/**\n * {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory.attributes}\n * @beta\n * @legacy\n */\nexport const SharedTreeAttributes: IChannelAttributes = {\n\ttype: SharedTreeFactoryType,\n\tsnapshotFormatVersion: '0.1',\n\tpackageVersion: '0.1',\n};\n"]}
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-experimental/tree",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.61.0-355054",
|
|
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": "
|
|
31
|
-
"@fluidframework/container-definitions": "
|
|
32
|
-
"@fluidframework/core-interfaces": "
|
|
33
|
-
"@fluidframework/core-utils": "
|
|
34
|
-
"@fluidframework/datastore-definitions": "
|
|
35
|
-
"@fluidframework/driver-definitions": "
|
|
36
|
-
"@fluidframework/id-compressor": "
|
|
37
|
-
"@fluidframework/runtime-definitions": "
|
|
38
|
-
"@fluidframework/runtime-utils": "
|
|
39
|
-
"@fluidframework/shared-object-base": "
|
|
40
|
-
"@fluidframework/telemetry-utils": "
|
|
41
|
-
"@fluidframework/tree": "
|
|
30
|
+
"@fluid-internal/client-utils": "2.61.0-355054",
|
|
31
|
+
"@fluidframework/container-definitions": "2.61.0-355054",
|
|
32
|
+
"@fluidframework/core-interfaces": "2.61.0-355054",
|
|
33
|
+
"@fluidframework/core-utils": "2.61.0-355054",
|
|
34
|
+
"@fluidframework/datastore-definitions": "2.61.0-355054",
|
|
35
|
+
"@fluidframework/driver-definitions": "2.61.0-355054",
|
|
36
|
+
"@fluidframework/id-compressor": "2.61.0-355054",
|
|
37
|
+
"@fluidframework/runtime-definitions": "2.61.0-355054",
|
|
38
|
+
"@fluidframework/runtime-utils": "2.61.0-355054",
|
|
39
|
+
"@fluidframework/shared-object-base": "2.61.0-355054",
|
|
40
|
+
"@fluidframework/telemetry-utils": "2.61.0-355054",
|
|
41
|
+
"@fluidframework/tree": "2.61.0-355054",
|
|
42
42
|
"@tylerbu/sorted-btree-es6": "^1.8.0",
|
|
43
43
|
"buffer": "^6.0.3",
|
|
44
44
|
"denque": "^1.5.1",
|
|
@@ -48,25 +48,25 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
50
50
|
"@biomejs/biome": "~1.9.3",
|
|
51
|
-
"@fluid-internal/mocha-test-setup": "
|
|
52
|
-
"@fluid-private/stochastic-test-utils": "
|
|
53
|
-
"@fluid-private/test-drivers": "
|
|
51
|
+
"@fluid-internal/mocha-test-setup": "2.61.0-355054",
|
|
52
|
+
"@fluid-private/stochastic-test-utils": "2.61.0-355054",
|
|
53
|
+
"@fluid-private/test-drivers": "2.61.0-355054",
|
|
54
54
|
"@fluid-tools/benchmark": "^0.51.0",
|
|
55
55
|
"@fluidframework/build-common": "^2.0.3",
|
|
56
|
-
"@fluidframework/build-tools": "^0.
|
|
57
|
-
"@fluidframework/container-definitions": "
|
|
58
|
-
"@fluidframework/container-loader": "
|
|
59
|
-
"@fluidframework/container-runtime": "
|
|
60
|
-
"@fluidframework/eslint-config-fluid": "^
|
|
61
|
-
"@fluidframework/runtime-utils": "
|
|
62
|
-
"@fluidframework/test-runtime-utils": "
|
|
63
|
-
"@fluidframework/test-utils": "
|
|
64
|
-
"@fluidframework/undo-redo": "
|
|
65
|
-
"@microsoft/api-extractor": "7.52.
|
|
56
|
+
"@fluidframework/build-tools": "^0.58.2",
|
|
57
|
+
"@fluidframework/container-definitions": "2.61.0-355054",
|
|
58
|
+
"@fluidframework/container-loader": "2.61.0-355054",
|
|
59
|
+
"@fluidframework/container-runtime": "2.61.0-355054",
|
|
60
|
+
"@fluidframework/eslint-config-fluid": "^6.0.0",
|
|
61
|
+
"@fluidframework/runtime-utils": "2.61.0-355054",
|
|
62
|
+
"@fluidframework/test-runtime-utils": "2.61.0-355054",
|
|
63
|
+
"@fluidframework/test-utils": "2.61.0-355054",
|
|
64
|
+
"@fluidframework/undo-redo": "2.61.0-355054",
|
|
65
|
+
"@microsoft/api-extractor": "7.52.11",
|
|
66
66
|
"@types/chai": "^4.0.0",
|
|
67
67
|
"@types/lru-cache": "^5.1.0",
|
|
68
68
|
"@types/mocha": "^10.0.10",
|
|
69
|
-
"c8": "^
|
|
69
|
+
"c8": "^10.1.3",
|
|
70
70
|
"chai": "^4.2.0",
|
|
71
71
|
"concurrently": "^8.2.1",
|
|
72
72
|
"copyfiles": "^2.4.1",
|
|
@@ -108,14 +108,14 @@
|
|
|
108
108
|
"lint": "fluid-build . --task lint",
|
|
109
109
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
110
110
|
"pack:tests": "tar -cf ./experimental-tree.test-files.tar ./src/test ./dist/test ./lib/test",
|
|
111
|
-
"perf": "cross-env FLUID_TEST_VERBOSE=1 mocha
|
|
111
|
+
"perf": "cross-env FLUID_TEST_VERBOSE=1 mocha --perfMode --fgrep @Benchmark --fgrep @ExecutionTime --reporter @fluid-tools/benchmark/dist/MochaReporter.js --timeout 30000",
|
|
112
112
|
"perf:measure": "npm run perf -- --fgrep @Measurement",
|
|
113
113
|
"test": "npm run test:mocha",
|
|
114
|
-
"test:benchmark:report": "mocha
|
|
114
|
+
"test:benchmark:report": "mocha --perfMode --fgrep @Benchmark --fgrep @ExecutionTime --reporter @fluid-tools/benchmark/dist/MochaReporter.js --timeout 60000",
|
|
115
115
|
"test:coverage": "c8 npm test",
|
|
116
|
-
"test:mocha": "mocha
|
|
116
|
+
"test:mocha": "mocha",
|
|
117
117
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
118
|
-
"test:stress": "cross-env FUZZ_TEST_COUNT=10 FUZZ_STRESS_RUN=normal
|
|
118
|
+
"test:stress": "cross-env FUZZ_TEST_COUNT=10 FUZZ_STRESS_RUN=normal \"MOCHA_SPEC=dist/test/**/*.fuzz.tests.js\" mocha",
|
|
119
119
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist"
|
|
120
120
|
}
|
|
121
121
|
}
|
package/src/publicContracts.ts
CHANGED
|
@@ -7,14 +7,14 @@ import type { IChannelAttributes } from '@fluidframework/datastore-definitions/i
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory."type"}
|
|
10
|
-
* @
|
|
10
|
+
* @beta
|
|
11
11
|
* @legacy
|
|
12
12
|
*/
|
|
13
13
|
export const SharedTreeFactoryType = 'SharedTree';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* {@inheritDoc @fluidframework/shared-object-base#ISharedObjectFactory.attributes}
|
|
17
|
-
* @
|
|
17
|
+
* @beta
|
|
18
18
|
* @legacy
|
|
19
19
|
*/
|
|
20
20
|
export const SharedTreeAttributes: IChannelAttributes = {
|