@fluidframework/map 2.0.0-internal.7.4.2 → 2.0.0-internal.7.4.4
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/dist/directory.cjs +8 -4
- package/dist/directory.cjs.map +1 -1
- package/dist/directory.d.ts.map +1 -1
- package/dist/packageVersion.cjs +1 -1
- package/dist/packageVersion.cjs.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/lib/directory.d.ts.map +1 -1
- package/lib/directory.mjs +8 -4
- package/lib/directory.mjs.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.mjs +1 -1
- package/lib/packageVersion.mjs.map +1 -1
- package/map.test-files.tar +0 -0
- package/package.json +15 -15
- package/src/directory.ts +8 -4
- package/src/packageVersion.ts +1 -1
package/lib/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/map";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-internal.7.4.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-internal.7.4.4";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.mjs","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAC7C,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/map\";\nexport const pkgVersion = \"2.0.0-internal.7.4.
|
|
1
|
+
{"version":3,"file":"packageVersion.mjs","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAC7C,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/map\";\nexport const pkgVersion = \"2.0.0-internal.7.4.4\";\n"]}
|
package/map.test-files.tar
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/map",
|
|
3
|
-
"version": "2.0.0-internal.7.4.
|
|
3
|
+
"version": "2.0.0-internal.7.4.4",
|
|
4
4
|
"description": "Distributed map",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -35,31 +35,31 @@
|
|
|
35
35
|
"temp-directory": "nyc/.nyc_output"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@fluid-internal/client-utils": ">=2.0.0-internal.7.4.
|
|
39
|
-
"@fluidframework/core-interfaces": ">=2.0.0-internal.7.4.
|
|
40
|
-
"@fluidframework/core-utils": ">=2.0.0-internal.7.4.
|
|
41
|
-
"@fluidframework/datastore-definitions": ">=2.0.0-internal.7.4.
|
|
42
|
-
"@fluidframework/driver-utils": ">=2.0.0-internal.7.4.
|
|
43
|
-
"@fluidframework/merge-tree": ">=2.0.0-internal.7.4.
|
|
38
|
+
"@fluid-internal/client-utils": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
39
|
+
"@fluidframework/core-interfaces": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
40
|
+
"@fluidframework/core-utils": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
41
|
+
"@fluidframework/datastore-definitions": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
42
|
+
"@fluidframework/driver-utils": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
43
|
+
"@fluidframework/merge-tree": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
44
44
|
"@fluidframework/protocol-definitions": "^3.0.0",
|
|
45
|
-
"@fluidframework/runtime-definitions": ">=2.0.0-internal.7.4.
|
|
46
|
-
"@fluidframework/runtime-utils": ">=2.0.0-internal.7.4.
|
|
47
|
-
"@fluidframework/shared-object-base": ">=2.0.0-internal.7.4.
|
|
48
|
-
"@fluidframework/telemetry-utils": ">=2.0.0-internal.7.4.
|
|
45
|
+
"@fluidframework/runtime-definitions": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
46
|
+
"@fluidframework/runtime-utils": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
47
|
+
"@fluidframework/shared-object-base": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
48
|
+
"@fluidframework/telemetry-utils": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
49
49
|
"path-browserify": "^1.0.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@arethetypeswrong/cli": "^0.13.3",
|
|
53
|
-
"@fluid-private/stochastic-test-utils": ">=2.0.0-internal.7.4.
|
|
54
|
-
"@fluid-private/test-dds-utils": ">=2.0.0-internal.7.4.
|
|
53
|
+
"@fluid-private/stochastic-test-utils": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
54
|
+
"@fluid-private/test-dds-utils": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
55
55
|
"@fluid-tools/benchmark": "^0.48.0",
|
|
56
56
|
"@fluid-tools/build-cli": "^0.28.0",
|
|
57
57
|
"@fluidframework/build-common": "^2.0.3",
|
|
58
58
|
"@fluidframework/build-tools": "^0.28.0",
|
|
59
59
|
"@fluidframework/eslint-config-fluid": "^3.1.0",
|
|
60
60
|
"@fluidframework/map-previous": "npm:@fluidframework/map@2.0.0-internal.7.2.0",
|
|
61
|
-
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.7.4.
|
|
62
|
-
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.7.4.
|
|
61
|
+
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
62
|
+
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.7.4.4 <2.0.0-internal.7.5.0",
|
|
63
63
|
"@microsoft/api-extractor": "^7.38.3",
|
|
64
64
|
"@types/mocha": "^9.1.1",
|
|
65
65
|
"@types/node": "^18.19.0",
|
package/src/directory.ts
CHANGED
|
@@ -781,10 +781,7 @@ export class SharedDirectory
|
|
|
781
781
|
// guaranteed during the serialization process. As a result, it is only essential to utilize the
|
|
782
782
|
// "fake" client sequence number to signify the loading order, and there is no need to retain
|
|
783
783
|
// the actual client sequence number at this point.
|
|
784
|
-
if (createInfo !== undefined && createInfo.csn >
|
|
785
|
-
// If csn is -1, then initialize it with 0, otherwise we will never process ops for this
|
|
786
|
-
// sub directory. This could be done at serialization time too, but we need to maintain
|
|
787
|
-
// back compat too and also we will actually know the state when it was serialized.
|
|
784
|
+
if (createInfo !== undefined && createInfo.csn > 0) {
|
|
788
785
|
if (!tempSeqNums.has(createInfo.csn)) {
|
|
789
786
|
tempSeqNums.set(createInfo.csn, 0);
|
|
790
787
|
}
|
|
@@ -792,6 +789,13 @@ export class SharedDirectory
|
|
|
792
789
|
seqData = { seq: createInfo.csn, clientSeq: fakeClientSeq };
|
|
793
790
|
tempSeqNums.set(createInfo.csn, ++fakeClientSeq);
|
|
794
791
|
} else {
|
|
792
|
+
/**
|
|
793
|
+
* 1. If csn is -1, then initialize it with 0, otherwise we will never process ops for this
|
|
794
|
+
* sub directory. This could be done at serialization time too, but we need to maintain
|
|
795
|
+
* back compat too and also we will actually know the state when it was serialized.
|
|
796
|
+
* 2. We need to make the csn = -1 and csn = 0 share the same counter, there are cases
|
|
797
|
+
* where both -1 and 0 coexist within a single document.
|
|
798
|
+
*/
|
|
795
799
|
seqData = {
|
|
796
800
|
seq: 0,
|
|
797
801
|
clientSeq: ++currentSubDir.localCreationSeq,
|
package/src/packageVersion.ts
CHANGED