@fluidframework/container-runtime 2.5.0 → 2.10.0-304831
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/container-runtime.test-files.tar +0 -0
- package/dist/containerRuntime.d.ts.map +1 -1
- package/dist/containerRuntime.js +7 -9
- package/dist/containerRuntime.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/containerRuntime.d.ts.map +1 -1
- package/lib/containerRuntime.js +7 -9
- package/lib/containerRuntime.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 +21 -25
- package/src/containerRuntime.ts +10 -11
- 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/container-runtime";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.10.0-304831";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,sCAAsC,CAAC;AAC3D,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,sCAAsC,CAAC;AAC3D,eAAO,MAAM,UAAU,kBAAkB,CAAC"}
|
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,mCAAmC,CAAC;AAC3D,MAAM,CAAC,MAAM,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,mCAAmC,CAAC;AAC3D,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/container-runtime\";\nexport const pkgVersion = \"2.10.0-304831\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/container-runtime",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0-304831",
|
|
4
4
|
"description": "Fluid container runtime",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -129,18 +129,18 @@
|
|
|
129
129
|
"temp-directory": "nyc/.nyc_output"
|
|
130
130
|
},
|
|
131
131
|
"dependencies": {
|
|
132
|
-
"@fluid-internal/client-utils": "
|
|
133
|
-
"@fluidframework/container-definitions": "
|
|
134
|
-
"@fluidframework/container-runtime-definitions": "
|
|
135
|
-
"@fluidframework/core-interfaces": "
|
|
136
|
-
"@fluidframework/core-utils": "
|
|
137
|
-
"@fluidframework/datastore": "
|
|
138
|
-
"@fluidframework/driver-definitions": "
|
|
139
|
-
"@fluidframework/driver-utils": "
|
|
140
|
-
"@fluidframework/id-compressor": "
|
|
141
|
-
"@fluidframework/runtime-definitions": "
|
|
142
|
-
"@fluidframework/runtime-utils": "
|
|
143
|
-
"@fluidframework/telemetry-utils": "
|
|
132
|
+
"@fluid-internal/client-utils": "2.10.0-304831",
|
|
133
|
+
"@fluidframework/container-definitions": "2.10.0-304831",
|
|
134
|
+
"@fluidframework/container-runtime-definitions": "2.10.0-304831",
|
|
135
|
+
"@fluidframework/core-interfaces": "2.10.0-304831",
|
|
136
|
+
"@fluidframework/core-utils": "2.10.0-304831",
|
|
137
|
+
"@fluidframework/datastore": "2.10.0-304831",
|
|
138
|
+
"@fluidframework/driver-definitions": "2.10.0-304831",
|
|
139
|
+
"@fluidframework/driver-utils": "2.10.0-304831",
|
|
140
|
+
"@fluidframework/id-compressor": "2.10.0-304831",
|
|
141
|
+
"@fluidframework/runtime-definitions": "2.10.0-304831",
|
|
142
|
+
"@fluidframework/runtime-utils": "2.10.0-304831",
|
|
143
|
+
"@fluidframework/telemetry-utils": "2.10.0-304831",
|
|
144
144
|
"@tylerbu/sorted-btree-es6": "^1.8.0",
|
|
145
145
|
"double-ended-queue": "^2.1.0-0",
|
|
146
146
|
"lz4js": "^0.2.0",
|
|
@@ -149,16 +149,16 @@
|
|
|
149
149
|
"devDependencies": {
|
|
150
150
|
"@arethetypeswrong/cli": "^0.16.4",
|
|
151
151
|
"@biomejs/biome": "~1.9.3",
|
|
152
|
-
"@fluid-internal/mocha-test-setup": "
|
|
153
|
-
"@fluid-private/stochastic-test-utils": "
|
|
154
|
-
"@fluid-private/test-pairwise-generator": "
|
|
152
|
+
"@fluid-internal/mocha-test-setup": "2.10.0-304831",
|
|
153
|
+
"@fluid-private/stochastic-test-utils": "2.10.0-304831",
|
|
154
|
+
"@fluid-private/test-pairwise-generator": "2.10.0-304831",
|
|
155
155
|
"@fluid-tools/benchmark": "^0.50.0",
|
|
156
|
-
"@fluid-tools/build-cli": "^0.
|
|
156
|
+
"@fluid-tools/build-cli": "^0.50.0",
|
|
157
157
|
"@fluidframework/build-common": "^2.0.3",
|
|
158
|
-
"@fluidframework/build-tools": "^0.
|
|
159
|
-
"@fluidframework/container-runtime-previous": "npm:@fluidframework/container-runtime@~2.
|
|
158
|
+
"@fluidframework/build-tools": "^0.50.0",
|
|
159
|
+
"@fluidframework/container-runtime-previous": "npm:@fluidframework/container-runtime@~2.5.0",
|
|
160
160
|
"@fluidframework/eslint-config-fluid": "^5.4.0",
|
|
161
|
-
"@fluidframework/test-runtime-utils": "
|
|
161
|
+
"@fluidframework/test-runtime-utils": "2.10.0-304831",
|
|
162
162
|
"@microsoft/api-extractor": "7.47.8",
|
|
163
163
|
"@types/double-ended-queue": "^2.1.0",
|
|
164
164
|
"@types/mocha": "^9.1.1",
|
|
@@ -179,11 +179,7 @@
|
|
|
179
179
|
"typescript": "~5.4.5"
|
|
180
180
|
},
|
|
181
181
|
"typeValidation": {
|
|
182
|
-
"broken": {
|
|
183
|
-
"Class_DocumentsSchemaController": {
|
|
184
|
-
"forwardCompat": false
|
|
185
|
-
}
|
|
186
|
-
},
|
|
182
|
+
"broken": {},
|
|
187
183
|
"entrypoint": "legacy"
|
|
188
184
|
},
|
|
189
185
|
"scripts": {
|
package/src/containerRuntime.ts
CHANGED
|
@@ -2819,17 +2819,6 @@ export class ContainerRuntime
|
|
|
2819
2819
|
: false /* groupedBatch */,
|
|
2820
2820
|
);
|
|
2821
2821
|
} else {
|
|
2822
|
-
if (!runtimeBatch) {
|
|
2823
|
-
// The DeltaManager used to do this, but doesn't anymore as of Loader v2.4
|
|
2824
|
-
// Anyone listening to our "op" event would expect the contents to be parsed per this same logic
|
|
2825
|
-
if (
|
|
2826
|
-
typeof messageCopy.contents === "string" &&
|
|
2827
|
-
messageCopy.contents !== "" &&
|
|
2828
|
-
messageCopy.type !== MessageType.ClientLeave
|
|
2829
|
-
) {
|
|
2830
|
-
messageCopy.contents = JSON.parse(messageCopy.contents);
|
|
2831
|
-
}
|
|
2832
|
-
}
|
|
2833
2822
|
this.processInboundMessages(
|
|
2834
2823
|
[{ message: messageCopy, localOpMetadata: undefined }],
|
|
2835
2824
|
{ batchStart: true, batchEnd: true }, // Single message
|
|
@@ -2996,6 +2985,16 @@ export class ContainerRuntime
|
|
|
2996
2985
|
this.updateDocumentDirtyState(false);
|
|
2997
2986
|
}
|
|
2998
2987
|
|
|
2988
|
+
// The DeltaManager used to do this, but doesn't anymore as of Loader v2.4
|
|
2989
|
+
// Anyone listening to our "op" event would expect the contents to be parsed per this same logic
|
|
2990
|
+
if (
|
|
2991
|
+
typeof message.contents === "string" &&
|
|
2992
|
+
message.contents !== "" &&
|
|
2993
|
+
message.type !== MessageType.ClientLeave
|
|
2994
|
+
) {
|
|
2995
|
+
message.contents = JSON.parse(message.contents);
|
|
2996
|
+
}
|
|
2997
|
+
|
|
2999
2998
|
this.emit("op", message, false /* runtimeMessage */);
|
|
3000
2999
|
}
|
|
3001
3000
|
|
package/src/packageVersion.ts
CHANGED