@fluidframework/datastore 2.0.0-internal.6.2.0 → 2.0.0-internal.6.3.1
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 +4 -0
- package/dist/channelDeltaConnection.js +3 -3
- package/dist/channelDeltaConnection.js.map +1 -1
- package/dist/dataStoreRuntime.d.ts +1 -1
- package/dist/dataStoreRuntime.d.ts.map +1 -1
- package/dist/dataStoreRuntime.js +22 -22
- package/dist/dataStoreRuntime.js.map +1 -1
- package/dist/localChannelContext.d.ts +1 -1
- package/dist/localChannelContext.d.ts.map +1 -1
- package/dist/localChannelContext.js +10 -11
- package/dist/localChannelContext.js.map +1 -1
- package/dist/localChannelStorageService.js +2 -2
- package/dist/localChannelStorageService.js.map +1 -1
- package/dist/remoteChannelContext.d.ts.map +1 -1
- package/dist/remoteChannelContext.js +7 -8
- package/dist/remoteChannelContext.js.map +1 -1
- package/lib/channelDeltaConnection.js +1 -1
- package/lib/channelDeltaConnection.js.map +1 -1
- package/lib/dataStoreRuntime.d.ts +1 -1
- package/lib/dataStoreRuntime.d.ts.map +1 -1
- package/lib/dataStoreRuntime.js +2 -2
- package/lib/dataStoreRuntime.js.map +1 -1
- package/lib/localChannelContext.d.ts +1 -1
- package/lib/localChannelContext.d.ts.map +1 -1
- package/lib/localChannelContext.js +1 -2
- package/lib/localChannelContext.js.map +1 -1
- package/lib/localChannelStorageService.js +1 -1
- package/lib/localChannelStorageService.js.map +1 -1
- package/lib/remoteChannelContext.d.ts.map +1 -1
- package/lib/remoteChannelContext.js +1 -2
- package/lib/remoteChannelContext.js.map +1 -1
- package/package.json +22 -23
- package/src/channelDeltaConnection.ts +1 -1
- package/src/dataStoreRuntime.ts +2 -2
- package/src/localChannelContext.ts +1 -2
- package/src/localChannelStorageService.ts +1 -1
- package/src/remoteChannelContext.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/datastore",
|
|
3
|
-
"version": "2.0.0-internal.6.
|
|
3
|
+
"version": "2.0.0-internal.6.3.1",
|
|
4
4
|
"description": "Fluid data store implementation",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"module": "lib/index.js",
|
|
16
16
|
"types": "dist/index.d.ts",
|
|
17
|
-
"
|
|
17
|
+
"c8": {
|
|
18
18
|
"all": true,
|
|
19
19
|
"cache-dir": "nyc/.cache",
|
|
20
20
|
"exclude": [
|
|
@@ -35,34 +35,35 @@
|
|
|
35
35
|
"temp-directory": "nyc/.nyc_output"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@
|
|
39
|
-
"@fluidframework/container-definitions": ">=2.0.0-internal.6.
|
|
40
|
-
"@fluidframework/
|
|
41
|
-
"@fluidframework/core-
|
|
42
|
-
"@fluidframework/
|
|
43
|
-
"@fluidframework/
|
|
44
|
-
"@fluidframework/driver-
|
|
45
|
-
"@fluidframework/
|
|
38
|
+
"@fluid-internal/client-utils": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
39
|
+
"@fluidframework/container-definitions": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
40
|
+
"@fluidframework/container-utils": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
41
|
+
"@fluidframework/core-interfaces": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
42
|
+
"@fluidframework/core-utils": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
43
|
+
"@fluidframework/datastore-definitions": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
44
|
+
"@fluidframework/driver-definitions": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
45
|
+
"@fluidframework/driver-utils": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
46
|
+
"@fluidframework/protocol-base": "^1.0.1",
|
|
46
47
|
"@fluidframework/protocol-definitions": "^1.1.0",
|
|
47
|
-
"@fluidframework/runtime-definitions": ">=2.0.0-internal.6.
|
|
48
|
-
"@fluidframework/runtime-utils": ">=2.0.0-internal.6.
|
|
49
|
-
"@fluidframework/telemetry-utils": ">=2.0.0-internal.6.
|
|
48
|
+
"@fluidframework/runtime-definitions": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
49
|
+
"@fluidframework/runtime-utils": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
50
|
+
"@fluidframework/telemetry-utils": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
50
51
|
"lodash": "^4.17.21",
|
|
51
52
|
"uuid": "^9.0.0"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
|
-
"@fluid-tools/build-cli": "^0.
|
|
55
|
+
"@fluid-tools/build-cli": "^0.22.0",
|
|
55
56
|
"@fluidframework/build-common": "^2.0.0",
|
|
56
|
-
"@fluidframework/build-tools": "^0.
|
|
57
|
+
"@fluidframework/build-tools": "^0.22.0",
|
|
57
58
|
"@fluidframework/datastore-previous": "npm:@fluidframework/datastore@2.0.0-internal.6.1.1",
|
|
58
59
|
"@fluidframework/eslint-config-fluid": "^2.1.0",
|
|
59
|
-
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.
|
|
60
|
-
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.6.
|
|
60
|
+
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
61
|
+
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.6.3.1 <2.0.0-internal.6.4.0",
|
|
61
62
|
"@microsoft/api-extractor": "^7.34.4",
|
|
62
63
|
"@types/mocha": "^9.1.1",
|
|
63
64
|
"@types/node": "^16.18.38",
|
|
64
65
|
"@types/uuid": "^9.0.2",
|
|
65
|
-
"
|
|
66
|
+
"c8": "^7.7.1",
|
|
66
67
|
"copyfiles": "^2.4.1",
|
|
67
68
|
"cross-env": "^7.0.3",
|
|
68
69
|
"eslint": "~8.6.0",
|
|
@@ -70,7 +71,6 @@
|
|
|
70
71
|
"mocha-json-output-reporter": "^2.0.1",
|
|
71
72
|
"mocha-multi-reporters": "^1.5.1",
|
|
72
73
|
"moment": "^2.21.0",
|
|
73
|
-
"nyc": "^15.1.0",
|
|
74
74
|
"prettier": "~2.6.2",
|
|
75
75
|
"rimraf": "^4.4.0",
|
|
76
76
|
"typescript": "~4.5.5"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"build:esnext": "tsc --project ./tsconfig.esnext.json",
|
|
91
91
|
"build:test": "tsc --project ./src/test/tsconfig.json",
|
|
92
92
|
"ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/",
|
|
93
|
-
"clean": "rimraf --glob
|
|
93
|
+
"clean": "rimraf --glob 'dist' 'lib' '*.tsbuildinfo' '*.build.log' '_api-extractor-temp' 'nyc'",
|
|
94
94
|
"eslint": "eslint --format stylish src",
|
|
95
95
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
96
96
|
"format": "npm run prettier:fix",
|
|
@@ -99,9 +99,8 @@
|
|
|
99
99
|
"prettier": "prettier --check . --ignore-path ../../../.prettierignore",
|
|
100
100
|
"prettier:fix": "prettier --write . --ignore-path ../../../.prettierignore",
|
|
101
101
|
"test": "npm run test:mocha",
|
|
102
|
-
"test:coverage": "
|
|
103
|
-
"test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup
|
|
104
|
-
"test:mocha:multireport": "npm run test:mocha",
|
|
102
|
+
"test:coverage": "c8 npm test",
|
|
103
|
+
"test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup",
|
|
105
104
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
106
105
|
"tsc": "tsc",
|
|
107
106
|
"tsc:watch": "tsc --watch",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { assert } from "@fluidframework/
|
|
6
|
+
import { assert } from "@fluidframework/core-utils";
|
|
7
7
|
import { ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
|
|
8
8
|
import { IDeltaConnection, IDeltaHandler } from "@fluidframework/datastore-definitions";
|
|
9
9
|
import { DataProcessingError } from "@fluidframework/telemetry-utils";
|
package/src/dataStoreRuntime.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
import { TypedEventEmitter } from "@fluid-internal/client-utils";
|
|
6
7
|
import {
|
|
7
8
|
DataProcessingError,
|
|
8
9
|
ITelemetryLoggerExt,
|
|
@@ -21,14 +22,13 @@ import {
|
|
|
21
22
|
IRequest,
|
|
22
23
|
IResponse,
|
|
23
24
|
} from "@fluidframework/core-interfaces";
|
|
24
|
-
import { LazyPromise } from "@fluidframework/core-utils";
|
|
25
|
+
import { assert, Deferred, LazyPromise, unreachableCase } from "@fluidframework/core-utils";
|
|
25
26
|
import {
|
|
26
27
|
IAudience,
|
|
27
28
|
IDeltaManager,
|
|
28
29
|
AttachState,
|
|
29
30
|
ILoaderOptions,
|
|
30
31
|
} from "@fluidframework/container-definitions";
|
|
31
|
-
import { assert, Deferred, TypedEventEmitter, unreachableCase } from "@fluidframework/common-utils";
|
|
32
32
|
import { buildSnapshotTree } from "@fluidframework/driver-utils";
|
|
33
33
|
import {
|
|
34
34
|
IClientDetails,
|
|
@@ -15,9 +15,8 @@ import {
|
|
|
15
15
|
ISummarizeResult,
|
|
16
16
|
ITelemetryContext,
|
|
17
17
|
} from "@fluidframework/runtime-definitions";
|
|
18
|
-
import { assert } from "@fluidframework/
|
|
18
|
+
import { assert, Lazy, LazyPromise } from "@fluidframework/core-utils";
|
|
19
19
|
import { IFluidHandle } from "@fluidframework/core-interfaces";
|
|
20
|
-
import { Lazy, LazyPromise } from "@fluidframework/core-utils";
|
|
21
20
|
import {
|
|
22
21
|
ChannelServiceEndpoints,
|
|
23
22
|
createChannelServiceEndpoints,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { IChannelStorageService } from "@fluidframework/datastore-definitions";
|
|
7
|
-
import { stringToBuffer } from "@
|
|
7
|
+
import { stringToBuffer } from "@fluid-internal/client-utils";
|
|
8
8
|
import { IBlob, ITree, TreeEntry } from "@fluidframework/protocol-definitions";
|
|
9
9
|
import { listBlobsAtTreePath } from "@fluidframework/runtime-utils";
|
|
10
10
|
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { assert } from "@fluidframework/
|
|
6
|
+
import { assert, LazyPromise } from "@fluidframework/core-utils";
|
|
7
7
|
import { IFluidHandle } from "@fluidframework/core-interfaces";
|
|
8
|
-
import { LazyPromise } from "@fluidframework/core-utils";
|
|
9
8
|
import { IChannel, IFluidDataStoreRuntime } from "@fluidframework/datastore-definitions";
|
|
10
9
|
import { IDocumentStorageService } from "@fluidframework/driver-definitions";
|
|
11
10
|
import { ISequencedDocumentMessage, ISnapshotTree } from "@fluidframework/protocol-definitions";
|