@fluidframework/protocol-base
Advanced tools
Comparing version 6.0.0-287165 to 6.0.0-297163
@@ -8,4 +8,4 @@ "use strict"; | ||
exports.buildGitTreeHierarchy = exports.getGitType = exports.getGitMode = void 0; | ||
const common_utils_1 = require("@fluidframework/common-utils"); | ||
const protocol_definitions_1 = require("@fluidframework/protocol-definitions"); | ||
const common_utils_1 = require("@fluidframework/common-utils"); | ||
/** | ||
@@ -12,0 +12,0 @@ * Take a summary object and returns its git mode. |
@@ -64,4 +64,5 @@ "use strict"; | ||
case protocol_definitions_1.MessageType.Propose: | ||
// back-compat: ADO #1385: This should become unconditional eventually. | ||
// Can be done only after Container.processRemoteMessage() stops parsing content! | ||
// This should become unconditional once (Loader LTS) DeltaManager.processInboundMessage() stops parsing content (ADO #12052) | ||
// Note: Until that change is made in the loader, this case will never be hit. | ||
// Then there will be a long time of needing both cases, until LTS catches up to the change. | ||
if (typeof message.contents === "string") { | ||
@@ -68,0 +69,0 @@ message.contents = JSON.parse(message.contents); |
@@ -5,4 +5,4 @@ /*! | ||
*/ | ||
import { unreachableCase } from "@fluidframework/common-utils"; | ||
import { FileMode, SummaryType, } from "@fluidframework/protocol-definitions"; | ||
import { unreachableCase } from "@fluidframework/common-utils"; | ||
/** | ||
@@ -9,0 +9,0 @@ * Take a summary object and returns its git mode. |
@@ -61,4 +61,5 @@ /*! | ||
case MessageType.Propose: | ||
// back-compat: ADO #1385: This should become unconditional eventually. | ||
// Can be done only after Container.processRemoteMessage() stops parsing content! | ||
// This should become unconditional once (Loader LTS) DeltaManager.processInboundMessage() stops parsing content (ADO #12052) | ||
// Note: Until that change is made in the loader, this case will never be hit. | ||
// Then there will be a long time of needing both cases, until LTS catches up to the change. | ||
if (typeof message.contents === "string") { | ||
@@ -65,0 +66,0 @@ message.contents = JSON.parse(message.contents); |
{ | ||
"name": "@fluidframework/protocol-base", | ||
"version": "6.0.0-287165", | ||
"version": "6.0.0-297163", | ||
"description": "Fluid protocol base", | ||
@@ -63,3 +63,3 @@ "homepage": "https://fluidframework.com", | ||
"@fluidframework/common-utils": "^3.1.0", | ||
"@fluidframework/gitresources": "6.0.0-287165", | ||
"@fluidframework/gitresources": "6.0.0-297163", | ||
"@fluidframework/protocol-definitions": "^3.2.0", | ||
@@ -66,0 +66,0 @@ "events_pkg": "npm:events@^3.1.0" |
@@ -6,2 +6,3 @@ /*! | ||
import { unreachableCase } from "@fluidframework/common-utils"; | ||
import * as git from "@fluidframework/gitresources"; | ||
@@ -14,3 +15,2 @@ import { | ||
} from "@fluidframework/protocol-definitions"; | ||
import { unreachableCase } from "@fluidframework/common-utils"; | ||
@@ -17,0 +17,0 @@ /** |
@@ -19,2 +19,3 @@ /*! | ||
} from "@fluidframework/protocol-definitions"; | ||
import { IQuorumSnapshot, Quorum } from "./quorum"; | ||
@@ -124,4 +125,5 @@ | ||
case MessageType.Propose: | ||
// back-compat: ADO #1385: This should become unconditional eventually. | ||
// Can be done only after Container.processRemoteMessage() stops parsing content! | ||
// This should become unconditional once (Loader LTS) DeltaManager.processInboundMessage() stops parsing content (ADO #12052) | ||
// Note: Until that change is made in the loader, this case will never be hit. | ||
// Then there will be a long time of needing both cases, until LTS catches up to the change. | ||
if (typeof message.contents === "string") { | ||
@@ -128,0 +130,0 @@ message.contents = JSON.parse(message.contents); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
213922
2602
+ Added@fluidframework/gitresources@6.0.0-297163(transitive)
- Removed@fluidframework/gitresources@6.0.0-287165(transitive)