New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fluidframework/container-definitions

Package Overview
Dependencies
Maintainers
1
Versions
495
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluidframework/container-definitions - npm Package Compare versions

Comparing version 2.20.0 to 2.21.0

2

api-report/container-definitions.legacy.alpha.api.md

@@ -167,3 +167,3 @@ ## Alpha API Report File for "@fluidframework/container-definitions"

readonly submitSummaryFn: (summaryOp: ISummaryContent, referenceSequenceNumber?: number) => number;
// (undocumented)
// @deprecated (undocumented)
readonly supportedFeatures?: ReadonlyMap<string, unknown>;

@@ -170,0 +170,0 @@ // (undocumented)

# @fluidframework/container-definitions
## 2.21.0
### Minor Changes
- The IContainerContext.supportedFeatures property is now deprecated ([#22877](https://github.com/microsoft/FluidFramework/pull/22877)) [4c06412bb3](https://github.com/microsoft/FluidFramework/commit/4c06412bb365d680430f83b87c456d132d9da1be)
The `IContainerContext.supportedFeatures` optional property was used internally to communicate features supported by the
Loader layer to the Runtime layer. This has since been replaced with functionality that is not exposed externally.
## 2.20.0

@@ -4,0 +13,0 @@

@@ -30,35 +30,2 @@ /*!

/**
* Different error types the Container may report out to the Host.
*
* @deprecated ContainerErrorType is being deprecated as a public export. Please use {@link ContainerErrorTypes#clientSessionExpiredError} instead.
* @internal
*/
export declare enum ContainerErrorType {
/**
* Some error, most likely an exception caught by runtime and propagated to container as critical error
*/
genericError = "genericError",
/**
* Throttling error from server. Server is busy and is asking not to reconnect for some time
*/
throttlingError = "throttlingError",
/**
* Data loss error detected by Container / DeltaManager. Likely points to storage issue.
*/
dataCorruptionError = "dataCorruptionError",
/**
* Error encountered when processing an operation. May correlate with data corruption.
*/
dataProcessingError = "dataProcessingError",
/**
* Error indicating an API is being used improperly resulting in an invalid operation.
*/
usageError = "usageError",
/**
* Error indicating an client session has expired. Currently this only happens when GC is allowed on a document and
* aids in safely deleting unused objects.
*/
clientSessionExpiredError = "clientSessionExpiredError"
}
/**
* Represents warnings raised on container.

@@ -65,0 +32,0 @@ * @legacy

@@ -7,3 +7,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.ContainerErrorType = exports.ContainerErrorTypes = void 0;
exports.ContainerErrorTypes = void 0;
const internal_1 = require("@fluidframework/core-interfaces/internal");

@@ -23,36 +23,2 @@ /**

};
/**
* Different error types the Container may report out to the Host.
*
* @deprecated ContainerErrorType is being deprecated as a public export. Please use {@link ContainerErrorTypes#clientSessionExpiredError} instead.
* @internal
*/
var ContainerErrorType;
(function (ContainerErrorType) {
/**
* Some error, most likely an exception caught by runtime and propagated to container as critical error
*/
ContainerErrorType["genericError"] = "genericError";
/**
* Throttling error from server. Server is busy and is asking not to reconnect for some time
*/
ContainerErrorType["throttlingError"] = "throttlingError";
/**
* Data loss error detected by Container / DeltaManager. Likely points to storage issue.
*/
ContainerErrorType["dataCorruptionError"] = "dataCorruptionError";
/**
* Error encountered when processing an operation. May correlate with data corruption.
*/
ContainerErrorType["dataProcessingError"] = "dataProcessingError";
/**
* Error indicating an API is being used improperly resulting in an invalid operation.
*/
ContainerErrorType["usageError"] = "usageError";
/**
* Error indicating an client session has expired. Currently this only happens when GC is allowed on a document and
* aids in safely deleting unused objects.
*/
ContainerErrorType["clientSessionExpiredError"] = "clientSessionExpiredError";
})(ContainerErrorType || (exports.ContainerErrorType = ContainerErrorType = {}));
//# sourceMappingURL=error.js.map

@@ -589,6 +589,2 @@ /*!

export interface ILoaderHeader {
/**
* @deprecated This header has been deprecated and will be removed in a future release
*/
[LoaderHeader.cache]: boolean;
[LoaderHeader.clientDetails]: IClientDetails;

@@ -595,0 +591,0 @@ [LoaderHeader.loadMode]: IContainerLoadMode;

@@ -157,2 +157,5 @@ /*!

updateDirtyContainerState(dirty: boolean): void;
/**
* @deprecated - This has been deprecated. It was used internally and there is no replacement.
*/
readonly supportedFeatures?: ReadonlyMap<string, unknown>;

@@ -159,0 +162,0 @@ /**

@@ -30,35 +30,2 @@ /*!

/**
* Different error types the Container may report out to the Host.
*
* @deprecated ContainerErrorType is being deprecated as a public export. Please use {@link ContainerErrorTypes#clientSessionExpiredError} instead.
* @internal
*/
export declare enum ContainerErrorType {
/**
* Some error, most likely an exception caught by runtime and propagated to container as critical error
*/
genericError = "genericError",
/**
* Throttling error from server. Server is busy and is asking not to reconnect for some time
*/
throttlingError = "throttlingError",
/**
* Data loss error detected by Container / DeltaManager. Likely points to storage issue.
*/
dataCorruptionError = "dataCorruptionError",
/**
* Error encountered when processing an operation. May correlate with data corruption.
*/
dataProcessingError = "dataProcessingError",
/**
* Error indicating an API is being used improperly resulting in an invalid operation.
*/
usageError = "usageError",
/**
* Error indicating an client session has expired. Currently this only happens when GC is allowed on a document and
* aids in safely deleting unused objects.
*/
clientSessionExpiredError = "clientSessionExpiredError"
}
/**
* Represents warnings raised on container.

@@ -65,0 +32,0 @@ * @legacy

@@ -19,36 +19,2 @@ /*!

};
/**
* Different error types the Container may report out to the Host.
*
* @deprecated ContainerErrorType is being deprecated as a public export. Please use {@link ContainerErrorTypes#clientSessionExpiredError} instead.
* @internal
*/
export var ContainerErrorType;
(function (ContainerErrorType) {
/**
* Some error, most likely an exception caught by runtime and propagated to container as critical error
*/
ContainerErrorType["genericError"] = "genericError";
/**
* Throttling error from server. Server is busy and is asking not to reconnect for some time
*/
ContainerErrorType["throttlingError"] = "throttlingError";
/**
* Data loss error detected by Container / DeltaManager. Likely points to storage issue.
*/
ContainerErrorType["dataCorruptionError"] = "dataCorruptionError";
/**
* Error encountered when processing an operation. May correlate with data corruption.
*/
ContainerErrorType["dataProcessingError"] = "dataProcessingError";
/**
* Error indicating an API is being used improperly resulting in an invalid operation.
*/
ContainerErrorType["usageError"] = "usageError";
/**
* Error indicating an client session has expired. Currently this only happens when GC is allowed on a document and
* aids in safely deleting unused objects.
*/
ContainerErrorType["clientSessionExpiredError"] = "clientSessionExpiredError";
})(ContainerErrorType || (ContainerErrorType = {}));
//# sourceMappingURL=error.js.map

@@ -589,6 +589,2 @@ /*!

export interface ILoaderHeader {
/**
* @deprecated This header has been deprecated and will be removed in a future release
*/
[LoaderHeader.cache]: boolean;
[LoaderHeader.clientDetails]: IClientDetails;

@@ -595,0 +591,0 @@ [LoaderHeader.loadMode]: IContainerLoadMode;

@@ -157,2 +157,5 @@ /*!

updateDirtyContainerState(dirty: boolean): void;
/**
* @deprecated - This has been deprecated. It was used internally and there is no replacement.
*/
readonly supportedFeatures?: ReadonlyMap<string, unknown>;

@@ -159,0 +162,0 @@ /**

{
"name": "@fluidframework/container-definitions",
"version": "2.20.0",
"version": "2.21.0",
"description": "Fluid container definitions",

@@ -50,4 +50,4 @@ "homepage": "https://fluidframework.com",

"dependencies": {
"@fluidframework/core-interfaces": "~2.20.0",
"@fluidframework/driver-definitions": "~2.20.0"
"@fluidframework/core-interfaces": "~2.21.0",
"@fluidframework/driver-definitions": "~2.21.0"
},

@@ -60,4 +60,4 @@ "devDependencies": {

"@fluidframework/build-tools": "^0.51.0",
"@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@2.13.0",
"@fluidframework/eslint-config-fluid": "^5.6.0",
"@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@2.20.0",
"@fluidframework/eslint-config-fluid": "^5.7.3",
"@microsoft/api-extractor": "7.47.8",

@@ -67,3 +67,2 @@ "concurrently": "^8.2.1",

"eslint": "~8.55.0",
"eslint-plugin-deprecation": "~2.0.0",
"prettier": "~3.0.3",

@@ -109,3 +108,3 @@ "rimraf": "^4.4.0",

"ci:test:coverage": "echo No test for this package",
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
"eslint": "eslint --format stylish src",

@@ -112,0 +111,0 @@ "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",

@@ -32,41 +32,2 @@ /*!

/**
* Different error types the Container may report out to the Host.
*
* @deprecated ContainerErrorType is being deprecated as a public export. Please use {@link ContainerErrorTypes#clientSessionExpiredError} instead.
* @internal
*/
export enum ContainerErrorType {
/**
* Some error, most likely an exception caught by runtime and propagated to container as critical error
*/
genericError = "genericError",
/**
* Throttling error from server. Server is busy and is asking not to reconnect for some time
*/
throttlingError = "throttlingError",
/**
* Data loss error detected by Container / DeltaManager. Likely points to storage issue.
*/
dataCorruptionError = "dataCorruptionError",
/**
* Error encountered when processing an operation. May correlate with data corruption.
*/
dataProcessingError = "dataProcessingError",
/**
* Error indicating an API is being used improperly resulting in an invalid operation.
*/
usageError = "usageError",
/**
* Error indicating an client session has expired. Currently this only happens when GC is allowed on a document and
* aids in safely deleting unused objects.
*/
clientSessionExpiredError = "clientSessionExpiredError",
}
/**
* Represents warnings raised on container.

@@ -73,0 +34,0 @@ * @legacy

@@ -729,6 +729,2 @@ /*!

export interface ILoaderHeader {
/**
* @deprecated This header has been deprecated and will be removed in a future release
*/
[LoaderHeader.cache]: boolean;
[LoaderHeader.clientDetails]: IClientDetails;

@@ -735,0 +731,0 @@ [LoaderHeader.loadMode]: IContainerLoadMode;

@@ -209,2 +209,5 @@ /*!

/**
* @deprecated - This has been deprecated. It was used internally and there is no replacement.
*/
readonly supportedFeatures?: ReadonlyMap<string, unknown>;

@@ -211,0 +214,0 @@

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc