@fluidframework/map 2.63.0-359286 → 2.63.0-359734
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.d.ts.map +1 -1
- package/dist/directory.js +14 -2
- package/dist/directory.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/directory.d.ts.map +1 -1
- package/lib/directory.js +14 -2
- package/lib/directory.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +16 -16
- package/src/directory.ts +16 -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.63.0-
|
|
8
|
+
export declare const pkgVersion = "2.63.0-359734";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -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,eAAe,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.63.0-
|
|
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,eAAe,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.63.0-359734\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/map",
|
|
3
|
-
"version": "2.63.0-
|
|
3
|
+
"version": "2.63.0-359734",
|
|
4
4
|
"description": "Distributed map",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -81,32 +81,32 @@
|
|
|
81
81
|
"temp-directory": "nyc/.nyc_output"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@fluid-internal/client-utils": "2.63.0-
|
|
85
|
-
"@fluidframework/core-interfaces": "2.63.0-
|
|
86
|
-
"@fluidframework/core-utils": "2.63.0-
|
|
87
|
-
"@fluidframework/datastore-definitions": "2.63.0-
|
|
88
|
-
"@fluidframework/driver-definitions": "2.63.0-
|
|
89
|
-
"@fluidframework/driver-utils": "2.63.0-
|
|
90
|
-
"@fluidframework/runtime-definitions": "2.63.0-
|
|
91
|
-
"@fluidframework/runtime-utils": "2.63.0-
|
|
92
|
-
"@fluidframework/shared-object-base": "2.63.0-
|
|
93
|
-
"@fluidframework/telemetry-utils": "2.63.0-
|
|
84
|
+
"@fluid-internal/client-utils": "2.63.0-359734",
|
|
85
|
+
"@fluidframework/core-interfaces": "2.63.0-359734",
|
|
86
|
+
"@fluidframework/core-utils": "2.63.0-359734",
|
|
87
|
+
"@fluidframework/datastore-definitions": "2.63.0-359734",
|
|
88
|
+
"@fluidframework/driver-definitions": "2.63.0-359734",
|
|
89
|
+
"@fluidframework/driver-utils": "2.63.0-359734",
|
|
90
|
+
"@fluidframework/runtime-definitions": "2.63.0-359734",
|
|
91
|
+
"@fluidframework/runtime-utils": "2.63.0-359734",
|
|
92
|
+
"@fluidframework/shared-object-base": "2.63.0-359734",
|
|
93
|
+
"@fluidframework/telemetry-utils": "2.63.0-359734",
|
|
94
94
|
"path-browserify": "^1.0.1"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
98
98
|
"@biomejs/biome": "~1.9.3",
|
|
99
|
-
"@fluid-internal/mocha-test-setup": "2.63.0-
|
|
100
|
-
"@fluid-private/stochastic-test-utils": "2.63.0-
|
|
101
|
-
"@fluid-private/test-dds-utils": "2.63.0-
|
|
99
|
+
"@fluid-internal/mocha-test-setup": "2.63.0-359734",
|
|
100
|
+
"@fluid-private/stochastic-test-utils": "2.63.0-359734",
|
|
101
|
+
"@fluid-private/test-dds-utils": "2.63.0-359734",
|
|
102
102
|
"@fluid-tools/benchmark": "^0.51.0",
|
|
103
103
|
"@fluid-tools/build-cli": "^0.58.3",
|
|
104
104
|
"@fluidframework/build-common": "^2.0.3",
|
|
105
105
|
"@fluidframework/build-tools": "^0.58.3",
|
|
106
|
-
"@fluidframework/container-definitions": "2.63.0-
|
|
106
|
+
"@fluidframework/container-definitions": "2.63.0-359734",
|
|
107
107
|
"@fluidframework/eslint-config-fluid": "^6.0.0",
|
|
108
108
|
"@fluidframework/map-previous": "npm:@fluidframework/map@2.62.0",
|
|
109
|
-
"@fluidframework/test-runtime-utils": "2.63.0-
|
|
109
|
+
"@fluidframework/test-runtime-utils": "2.63.0-359734",
|
|
110
110
|
"@microsoft/api-extractor": "7.52.11",
|
|
111
111
|
"@types/mocha": "^10.0.10",
|
|
112
112
|
"@types/node": "^18.19.0",
|
package/src/directory.ts
CHANGED
|
@@ -2449,9 +2449,15 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
2449
2449
|
(entry) => entry.type === "createSubDirectory" && entry.subdirName === subdirName,
|
|
2450
2450
|
);
|
|
2451
2451
|
const pendingEntry = this.pendingSubDirectoryData[pendingEntryIndex];
|
|
2452
|
+
if (pendingEntry === undefined) {
|
|
2453
|
+
// If we can't find a pending entry then it's likely we deleted and re-created this
|
|
2454
|
+
// subdirectory from a remote delete subdir op. If that's the case then there is
|
|
2455
|
+
// nothing to rollback since the pending data was removed with the subdirectory deletion.
|
|
2456
|
+
return;
|
|
2457
|
+
}
|
|
2452
2458
|
assert(
|
|
2453
|
-
pendingEntry
|
|
2454
|
-
|
|
2459
|
+
pendingEntry.type === "createSubDirectory",
|
|
2460
|
+
"Unexpected pending data for createSubDirectory op",
|
|
2455
2461
|
);
|
|
2456
2462
|
|
|
2457
2463
|
// We still need to emit the disposed event for any locally created (and now
|
|
@@ -2473,9 +2479,15 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
2473
2479
|
(entry) => entry.type === "deleteSubDirectory" && entry.subdirName === subdirName,
|
|
2474
2480
|
);
|
|
2475
2481
|
const pendingEntry = this.pendingSubDirectoryData[pendingEntryIndex];
|
|
2482
|
+
if (pendingEntry === undefined) {
|
|
2483
|
+
// If we can't find a pending entry then it's likely we deleted and re-created this
|
|
2484
|
+
// subdirectory from a remote delete subdir op. If that's the case then there is
|
|
2485
|
+
// nothing to rollback since the pending data was removed with the subdirectory deletion.
|
|
2486
|
+
return;
|
|
2487
|
+
}
|
|
2476
2488
|
assert(
|
|
2477
|
-
pendingEntry
|
|
2478
|
-
|
|
2489
|
+
pendingEntry.type === "deleteSubDirectory",
|
|
2490
|
+
"Unexpected pending data for deleteSubDirectory op",
|
|
2479
2491
|
);
|
|
2480
2492
|
this.pendingSubDirectoryData.splice(pendingEntryIndex, 1);
|
|
2481
2493
|
|
package/src/packageVersion.ts
CHANGED