@fluidframework/map 1.2.7 → 1.3.0-100520
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.js +1 -7
- package/dist/directory.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/directory.js +1 -7
- package/lib/directory.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +13 -13
- package/src/directory.ts +1 -7
- package/src/packageVersion.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/map",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0-100520",
|
|
4
4
|
"description": "Distributed map",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -62,24 +62,24 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@fluidframework/common-definitions": "^0.20.1",
|
|
64
64
|
"@fluidframework/common-utils": "^0.32.1",
|
|
65
|
-
"@fluidframework/container-utils": "
|
|
66
|
-
"@fluidframework/core-interfaces": "
|
|
67
|
-
"@fluidframework/datastore-definitions": "
|
|
68
|
-
"@fluidframework/driver-utils": "
|
|
65
|
+
"@fluidframework/container-utils": "1.3.0-100520",
|
|
66
|
+
"@fluidframework/core-interfaces": "1.3.0-100520",
|
|
67
|
+
"@fluidframework/datastore-definitions": "1.3.0-100520",
|
|
68
|
+
"@fluidframework/driver-utils": "1.3.0-100520",
|
|
69
69
|
"@fluidframework/protocol-definitions": "^0.1028.2000",
|
|
70
|
-
"@fluidframework/runtime-definitions": "
|
|
71
|
-
"@fluidframework/runtime-utils": "
|
|
72
|
-
"@fluidframework/shared-object-base": "
|
|
70
|
+
"@fluidframework/runtime-definitions": "1.3.0-100520",
|
|
71
|
+
"@fluidframework/runtime-utils": "1.3.0-100520",
|
|
72
|
+
"@fluidframework/shared-object-base": "1.3.0-100520",
|
|
73
73
|
"path-browserify": "^1.0.1"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@fluid-internal/test-dds-utils": "
|
|
76
|
+
"@fluid-internal/test-dds-utils": "1.3.0-100520",
|
|
77
77
|
"@fluidframework/build-common": "^0.24.0",
|
|
78
78
|
"@fluidframework/build-tools": "^0.2.74327",
|
|
79
79
|
"@fluidframework/eslint-config-fluid": "^0.28.2000",
|
|
80
|
-
"@fluidframework/map-previous": "npm:@fluidframework/map
|
|
81
|
-
"@fluidframework/mocha-test-setup": "
|
|
82
|
-
"@fluidframework/test-runtime-utils": "
|
|
80
|
+
"@fluidframework/map-previous": "npm:@fluidframework/map@^1.2.0",
|
|
81
|
+
"@fluidframework/mocha-test-setup": "1.3.0-100520",
|
|
82
|
+
"@fluidframework/test-runtime-utils": "1.3.0-100520",
|
|
83
83
|
"@microsoft/api-extractor": "^7.22.2",
|
|
84
84
|
"@rushstack/eslint-config": "^2.5.1",
|
|
85
85
|
"@types/mocha": "^9.1.1",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"typescript-formatter": "7.1.0"
|
|
96
96
|
},
|
|
97
97
|
"typeValidation": {
|
|
98
|
-
"version": "1.
|
|
98
|
+
"version": "1.3.0",
|
|
99
99
|
"broken": {}
|
|
100
100
|
}
|
|
101
101
|
}
|
package/src/directory.ts
CHANGED
|
@@ -1263,7 +1263,6 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
1263
1263
|
* Process a clear operation.
|
|
1264
1264
|
* @param op - The op to process
|
|
1265
1265
|
* @param local - Whether the message originated from the local client
|
|
1266
|
-
* @param message - The message
|
|
1267
1266
|
* @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
|
|
1268
1267
|
* For messages from a remote client, this will be undefined.
|
|
1269
1268
|
* @internal
|
|
@@ -1276,7 +1275,7 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
1276
1275
|
this.throwIfDisposed();
|
|
1277
1276
|
if (local) {
|
|
1278
1277
|
assert(isClearLocalOpMetadata(localOpMetadata),
|
|
1279
|
-
0x00f /*
|
|
1278
|
+
0x00f /* pendingMessageId is missing from the local client's operation */);
|
|
1280
1279
|
const pendingClearMessageId = this.pendingClearMessageIds.shift();
|
|
1281
1280
|
assert(pendingClearMessageId === localOpMetadata.pendingMessageId,
|
|
1282
1281
|
0x32a /* pendingMessageId does not match */);
|
|
@@ -1289,7 +1288,6 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
1289
1288
|
* Process a delete operation.
|
|
1290
1289
|
* @param op - The op to process
|
|
1291
1290
|
* @param local - Whether the message originated from the local client
|
|
1292
|
-
* @param message - The message
|
|
1293
1291
|
* @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
|
|
1294
1292
|
* For messages from a remote client, this will be undefined.
|
|
1295
1293
|
* @internal
|
|
@@ -1310,7 +1308,6 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
1310
1308
|
* Process a set operation.
|
|
1311
1309
|
* @param op - The op to process
|
|
1312
1310
|
* @param local - Whether the message originated from the local client
|
|
1313
|
-
* @param message - The message
|
|
1314
1311
|
* @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
|
|
1315
1312
|
* For messages from a remote client, this will be undefined.
|
|
1316
1313
|
* @internal
|
|
@@ -1337,7 +1334,6 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
1337
1334
|
* Process a create subdirectory operation.
|
|
1338
1335
|
* @param op - The op to process
|
|
1339
1336
|
* @param local - Whether the message originated from the local client
|
|
1340
|
-
* @param message - The message
|
|
1341
1337
|
* @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
|
|
1342
1338
|
* For messages from a remote client, this will be undefined.
|
|
1343
1339
|
* @internal
|
|
@@ -1358,7 +1354,6 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
1358
1354
|
* Process a delete subdirectory operation.
|
|
1359
1355
|
* @param op - The op to process
|
|
1360
1356
|
* @param local - Whether the message originated from the local client
|
|
1361
|
-
* @param message - The message
|
|
1362
1357
|
* @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
|
|
1363
1358
|
* For messages from a remote client, this will be undefined.
|
|
1364
1359
|
* @internal
|
|
@@ -1751,7 +1746,6 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
1751
1746
|
/**
|
|
1752
1747
|
* Clear implementation used for both locally sourced clears as well as incoming remote clears.
|
|
1753
1748
|
* @param local - Whether the message originated from the local client
|
|
1754
|
-
* @param op - The message if from a remote clear, or null if from a local clear
|
|
1755
1749
|
*/
|
|
1756
1750
|
private clearCore(local: boolean) {
|
|
1757
1751
|
this._storage.clear();
|
package/src/packageVersion.ts
CHANGED