@fluidframework/sequence 2.50.0 → 2.51.0-347100
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/intervalCollection.d.ts.map +1 -1
- package/dist/intervalCollection.js +13 -10
- package/dist/intervalCollection.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/intervalCollection.d.ts.map +1 -1
- package/lib/intervalCollection.js +13 -10
- package/lib/intervalCollection.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 +18 -19
- package/src/intervalCollection.ts +13 -10
- package/src/packageVersion.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/sequence",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.51.0-347100",
|
|
4
4
|
"description": "Distributed sequence",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -91,39 +91,38 @@
|
|
|
91
91
|
"temp-directory": "nyc/.nyc_output"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"@fluid-internal/client-utils": "
|
|
95
|
-
"@fluidframework/core-interfaces": "
|
|
96
|
-
"@fluidframework/core-utils": "
|
|
97
|
-
"@fluidframework/datastore-definitions": "
|
|
98
|
-
"@fluidframework/driver-definitions": "
|
|
99
|
-
"@fluidframework/merge-tree": "
|
|
100
|
-
"@fluidframework/runtime-definitions": "
|
|
101
|
-
"@fluidframework/runtime-utils": "
|
|
102
|
-
"@fluidframework/shared-object-base": "
|
|
103
|
-
"@fluidframework/telemetry-utils": "
|
|
94
|
+
"@fluid-internal/client-utils": "2.51.0-347100",
|
|
95
|
+
"@fluidframework/core-interfaces": "2.51.0-347100",
|
|
96
|
+
"@fluidframework/core-utils": "2.51.0-347100",
|
|
97
|
+
"@fluidframework/datastore-definitions": "2.51.0-347100",
|
|
98
|
+
"@fluidframework/driver-definitions": "2.51.0-347100",
|
|
99
|
+
"@fluidframework/merge-tree": "2.51.0-347100",
|
|
100
|
+
"@fluidframework/runtime-definitions": "2.51.0-347100",
|
|
101
|
+
"@fluidframework/runtime-utils": "2.51.0-347100",
|
|
102
|
+
"@fluidframework/shared-object-base": "2.51.0-347100",
|
|
103
|
+
"@fluidframework/telemetry-utils": "2.51.0-347100",
|
|
104
104
|
"double-ended-queue": "^2.1.0-0",
|
|
105
|
-
"uuid": "^
|
|
105
|
+
"uuid": "^11.1.0"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
108
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
109
109
|
"@biomejs/biome": "~1.9.3",
|
|
110
|
-
"@fluid-internal/mocha-test-setup": "
|
|
111
|
-
"@fluid-private/stochastic-test-utils": "
|
|
112
|
-
"@fluid-private/test-dds-utils": "
|
|
110
|
+
"@fluid-internal/mocha-test-setup": "2.51.0-347100",
|
|
111
|
+
"@fluid-private/stochastic-test-utils": "2.51.0-347100",
|
|
112
|
+
"@fluid-private/test-dds-utils": "2.51.0-347100",
|
|
113
113
|
"@fluid-tools/benchmark": "^0.51.0",
|
|
114
114
|
"@fluid-tools/build-cli": "^0.56.0",
|
|
115
115
|
"@fluidframework/build-common": "^2.0.3",
|
|
116
116
|
"@fluidframework/build-tools": "^0.56.0",
|
|
117
|
-
"@fluidframework/container-definitions": "
|
|
117
|
+
"@fluidframework/container-definitions": "2.51.0-347100",
|
|
118
118
|
"@fluidframework/eslint-config-fluid": "^5.7.4",
|
|
119
|
-
"@fluidframework/sequence-previous": "npm:@fluidframework/sequence@2.
|
|
120
|
-
"@fluidframework/test-runtime-utils": "
|
|
119
|
+
"@fluidframework/sequence-previous": "npm:@fluidframework/sequence@2.50.0",
|
|
120
|
+
"@fluidframework/test-runtime-utils": "2.51.0-347100",
|
|
121
121
|
"@microsoft/api-extractor": "7.52.8",
|
|
122
122
|
"@types/diff": "^3.5.1",
|
|
123
123
|
"@types/double-ended-queue": "^2.1.0",
|
|
124
124
|
"@types/mocha": "^10.0.10",
|
|
125
125
|
"@types/node": "^18.19.0",
|
|
126
|
-
"@types/uuid": "^9.0.2",
|
|
127
126
|
"c8": "^8.0.1",
|
|
128
127
|
"concurrently": "^8.2.1",
|
|
129
128
|
"copyfiles": "^2.4.1",
|
|
@@ -832,13 +832,14 @@ export class IntervalCollection
|
|
|
832
832
|
? interval.changeProperties(properties, undefined, true)
|
|
833
833
|
: undefined;
|
|
834
834
|
if (localOpMetadata.endpointChangesNode !== undefined) {
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
835
|
+
if (previous !== undefined) {
|
|
836
|
+
this.localCollection?.removeExistingInterval(interval);
|
|
837
|
+
this.localCollection?.add(previous);
|
|
838
|
+
this.emitChange(previous, interval, true, true);
|
|
839
|
+
}
|
|
840
|
+
if (previous !== interval) {
|
|
841
|
+
interval.dispose();
|
|
842
|
+
}
|
|
842
843
|
}
|
|
843
844
|
if (changeProperties) {
|
|
844
845
|
this.emit("propertyChanged", previous, deltaProps, true, undefined);
|
|
@@ -846,9 +847,11 @@ export class IntervalCollection
|
|
|
846
847
|
break;
|
|
847
848
|
}
|
|
848
849
|
case "delete": {
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
850
|
+
// a remote could delete the same interval, so it may not exist to re-add
|
|
851
|
+
if (previous !== undefined) {
|
|
852
|
+
this.localCollection?.add(previous);
|
|
853
|
+
this.emit("addInterval", previous, true, undefined);
|
|
854
|
+
}
|
|
852
855
|
break;
|
|
853
856
|
}
|
|
854
857
|
default:
|
package/src/packageVersion.ts
CHANGED