@fluidframework/map 2.0.0-internal.4.4.0 → 2.0.0-internal.4.4.2

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.
@@ -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.4.4.0";
8
+ export declare const pkgVersion = "2.0.0-internal.4.4.2";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/map";
8
- export const pkgVersion = "2.0.0-internal.4.4.0";
8
+ export const pkgVersion = "2.0.0-internal.4.4.2";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","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.4.4.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","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.4.4.2\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/map",
3
- "version": "2.0.0-internal.4.4.0",
3
+ "version": "2.0.0-internal.4.4.2",
4
4
  "description": "Distributed map",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -37,27 +37,27 @@
37
37
  "dependencies": {
38
38
  "@fluidframework/common-definitions": "^0.20.1",
39
39
  "@fluidframework/common-utils": "^1.1.1",
40
- "@fluidframework/container-utils": ">=2.0.0-internal.4.4.0 <2.0.0-internal.4.5.0",
41
- "@fluidframework/core-interfaces": ">=2.0.0-internal.4.4.0 <2.0.0-internal.4.5.0",
42
- "@fluidframework/datastore-definitions": ">=2.0.0-internal.4.4.0 <2.0.0-internal.4.5.0",
43
- "@fluidframework/driver-utils": ">=2.0.0-internal.4.4.0 <2.0.0-internal.4.5.0",
40
+ "@fluidframework/container-utils": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
41
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
42
+ "@fluidframework/datastore-definitions": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
43
+ "@fluidframework/driver-utils": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
44
44
  "@fluidframework/protocol-definitions": "^1.1.0",
45
- "@fluidframework/runtime-definitions": ">=2.0.0-internal.4.4.0 <2.0.0-internal.4.5.0",
46
- "@fluidframework/runtime-utils": ">=2.0.0-internal.4.4.0 <2.0.0-internal.4.5.0",
47
- "@fluidframework/shared-object-base": ">=2.0.0-internal.4.4.0 <2.0.0-internal.4.5.0",
45
+ "@fluidframework/runtime-definitions": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
46
+ "@fluidframework/runtime-utils": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
47
+ "@fluidframework/shared-object-base": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
48
48
  "path-browserify": "^1.0.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.4.4.0 <2.0.0-internal.4.5.0",
52
- "@fluid-internal/test-dds-utils": ">=2.0.0-internal.4.4.0 <2.0.0-internal.4.5.0",
51
+ "@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
52
+ "@fluid-internal/test-dds-utils": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
53
53
  "@fluid-tools/benchmark": "^0.47.0",
54
- "@fluid-tools/build-cli": "^0.17.0",
54
+ "@fluid-tools/build-cli": "^0.18.2",
55
55
  "@fluidframework/build-common": "^1.1.0",
56
- "@fluidframework/build-tools": "^0.17.0",
56
+ "@fluidframework/build-tools": "^0.18.2",
57
57
  "@fluidframework/eslint-config-fluid": "^2.0.0",
58
58
  "@fluidframework/map-previous": "npm:@fluidframework/map@2.0.0-internal.4.1.0",
59
- "@fluidframework/mocha-test-setup": ">=2.0.0-internal.4.4.0 <2.0.0-internal.4.5.0",
60
- "@fluidframework/test-runtime-utils": ">=2.0.0-internal.4.4.0 <2.0.0-internal.4.5.0",
59
+ "@fluidframework/mocha-test-setup": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
60
+ "@fluidframework/test-runtime-utils": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
61
61
  "@microsoft/api-extractor": "^7.34.4",
62
62
  "@types/mocha": "^9.1.1",
63
63
  "@types/node": "^14.18.38",
package/src/directory.ts CHANGED
@@ -654,7 +654,10 @@ export class SharedDirectory
654
654
  if (!newSubDir) {
655
655
  const createInfo = subdirObject.ci;
656
656
  newSubDir = new SubDirectory(
657
- createInfo !== undefined ? createInfo.csn : 0,
657
+ // If csn is -1, then initialize it with 0, otherwise we will never process ops for this
658
+ // sub directory. This could be done at serialization time too, but we need to maintain
659
+ // back compat too and also we will actually know the state when it was serialized.
660
+ createInfo !== undefined && createInfo.csn > -1 ? createInfo.csn : 0,
658
661
  createInfo !== undefined
659
662
  ? new Set<string>(createInfo.ccIds)
660
663
  : new Set(),
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/map";
9
- export const pkgVersion = "2.0.0-internal.4.4.0";
9
+ export const pkgVersion = "2.0.0-internal.4.4.2";