@fluidframework/datastore 2.0.0-internal.6.2.0 → 2.0.0-internal.6.3.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/channelDeltaConnection.js +3 -3
  3. package/dist/channelDeltaConnection.js.map +1 -1
  4. package/dist/dataStoreRuntime.d.ts +1 -1
  5. package/dist/dataStoreRuntime.d.ts.map +1 -1
  6. package/dist/dataStoreRuntime.js +22 -22
  7. package/dist/dataStoreRuntime.js.map +1 -1
  8. package/dist/localChannelContext.d.ts +1 -1
  9. package/dist/localChannelContext.d.ts.map +1 -1
  10. package/dist/localChannelContext.js +10 -11
  11. package/dist/localChannelContext.js.map +1 -1
  12. package/dist/localChannelStorageService.js +2 -2
  13. package/dist/localChannelStorageService.js.map +1 -1
  14. package/dist/remoteChannelContext.d.ts.map +1 -1
  15. package/dist/remoteChannelContext.js +7 -8
  16. package/dist/remoteChannelContext.js.map +1 -1
  17. package/lib/channelDeltaConnection.js +1 -1
  18. package/lib/channelDeltaConnection.js.map +1 -1
  19. package/lib/dataStoreRuntime.d.ts +1 -1
  20. package/lib/dataStoreRuntime.d.ts.map +1 -1
  21. package/lib/dataStoreRuntime.js +2 -2
  22. package/lib/dataStoreRuntime.js.map +1 -1
  23. package/lib/localChannelContext.d.ts +1 -1
  24. package/lib/localChannelContext.d.ts.map +1 -1
  25. package/lib/localChannelContext.js +1 -2
  26. package/lib/localChannelContext.js.map +1 -1
  27. package/lib/localChannelStorageService.js +1 -1
  28. package/lib/localChannelStorageService.js.map +1 -1
  29. package/lib/remoteChannelContext.d.ts.map +1 -1
  30. package/lib/remoteChannelContext.js +1 -2
  31. package/lib/remoteChannelContext.js.map +1 -1
  32. package/package.json +22 -23
  33. package/src/channelDeltaConnection.ts +1 -1
  34. package/src/dataStoreRuntime.ts +2 -2
  35. package/src/localChannelContext.ts +1 -2
  36. package/src/localChannelStorageService.ts +1 -1
  37. 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.2.0",
3
+ "version": "2.0.0-internal.6.3.0",
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
- "nyc": {
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
- "@fluidframework/common-utils": "^1.1.1",
39
- "@fluidframework/container-definitions": ">=2.0.0-internal.6.2.0 <2.0.0-internal.6.3.0",
40
- "@fluidframework/core-interfaces": ">=2.0.0-internal.6.2.0 <2.0.0-internal.6.3.0",
41
- "@fluidframework/core-utils": ">=2.0.0-internal.6.2.0 <2.0.0-internal.6.3.0",
42
- "@fluidframework/datastore-definitions": ">=2.0.0-internal.6.2.0 <2.0.0-internal.6.3.0",
43
- "@fluidframework/driver-definitions": ">=2.0.0-internal.6.2.0 <2.0.0-internal.6.3.0",
44
- "@fluidframework/driver-utils": ">=2.0.0-internal.6.2.0 <2.0.0-internal.6.3.0",
45
- "@fluidframework/protocol-base": "^1.0.0",
38
+ "@fluid-internal/client-utils": ">=2.0.0-internal.6.3.0 <2.0.0-internal.6.4.0",
39
+ "@fluidframework/container-definitions": ">=2.0.0-internal.6.3.0 <2.0.0-internal.6.4.0",
40
+ "@fluidframework/container-utils": ">=2.0.0-internal.6.3.0 <2.0.0-internal.6.4.0",
41
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.6.3.0 <2.0.0-internal.6.4.0",
42
+ "@fluidframework/core-utils": ">=2.0.0-internal.6.3.0 <2.0.0-internal.6.4.0",
43
+ "@fluidframework/datastore-definitions": ">=2.0.0-internal.6.3.0 <2.0.0-internal.6.4.0",
44
+ "@fluidframework/driver-definitions": ">=2.0.0-internal.6.3.0 <2.0.0-internal.6.4.0",
45
+ "@fluidframework/driver-utils": ">=2.0.0-internal.6.3.0 <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.2.0 <2.0.0-internal.6.3.0",
48
- "@fluidframework/runtime-utils": ">=2.0.0-internal.6.2.0 <2.0.0-internal.6.3.0",
49
- "@fluidframework/telemetry-utils": ">=2.0.0-internal.6.2.0 <2.0.0-internal.6.3.0",
48
+ "@fluidframework/runtime-definitions": ">=2.0.0-internal.6.3.0 <2.0.0-internal.6.4.0",
49
+ "@fluidframework/runtime-utils": ">=2.0.0-internal.6.3.0 <2.0.0-internal.6.4.0",
50
+ "@fluidframework/telemetry-utils": ">=2.0.0-internal.6.3.0 <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.23.0",
55
+ "@fluid-tools/build-cli": "^0.22.0",
55
56
  "@fluidframework/build-common": "^2.0.0",
56
- "@fluidframework/build-tools": "^0.23.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.2.0 <2.0.0-internal.6.3.0",
60
- "@fluidframework/test-runtime-utils": ">=2.0.0-internal.6.2.0 <2.0.0-internal.6.3.0",
60
+ "@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.3.0 <2.0.0-internal.6.4.0",
61
+ "@fluidframework/test-runtime-utils": ">=2.0.0-internal.6.3.0 <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
- "concurrently": "^7.6.0",
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 \"dist\" \"lib\" \"*.tsbuildinfo\" \"*.build.log\"",
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": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml",
103
- "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict",
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/common-utils";
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";
@@ -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/common-utils";
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 "@fluidframework/common-utils";
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/common-utils";
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";