Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fluidframework/container-utils

Package Overview
Dependencies
Maintainers
3
Versions
423
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluidframework/container-utils - npm Package Compare versions

Comparing version 0.29.3 to 0.29.4

8

dist/error.d.ts

@@ -5,4 +5,5 @@ /*!

*/
import { ContainerErrorType, IGenericError, ICriticalContainerError } from "@fluidframework/container-definitions";
import { ContainerErrorType, IGenericError, ICriticalContainerError, IErrorBase } from "@fluidframework/container-definitions";
import { CustomErrorWithProps } from "@fluidframework/telemetry-utils";
import { ITelemetryProperties } from "@fluidframework/common-definitions";
/**

@@ -16,2 +17,7 @@ * Generic error

}
export declare class DataCorruptionError extends CustomErrorWithProps implements IErrorBase {
readonly errorType = "dataCorruptionError";
readonly canRetry = false;
constructor(errorMessage: string, props: ITelemetryProperties);
}
/**

@@ -18,0 +24,0 @@ * Convert the error into one of the error types.

@@ -29,2 +29,10 @@ "use strict";

exports.GenericError = GenericError;
class DataCorruptionError extends telemetry_utils_1.CustomErrorWithProps {
constructor(errorMessage, props) {
super(errorMessage, props);
this.errorType = "dataCorruptionError";
this.canRetry = false;
}
}
exports.DataCorruptionError = DataCorruptionError;
/**

@@ -31,0 +39,0 @@ * Convert the error into one of the error types.

2

dist/packageVersion.d.ts

@@ -8,3 +8,3 @@ /*!

export declare const pkgName = "@fluidframework/container-utils";
export declare const pkgVersion = "0.29.3";
export declare const pkgVersion = "0.29.4";
//# sourceMappingURL=packageVersion.d.ts.map

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

exports.pkgName = "@fluidframework/container-utils";
exports.pkgVersion = "0.29.3";
exports.pkgVersion = "0.29.4";
//# sourceMappingURL=packageVersion.js.map

@@ -5,4 +5,5 @@ /*!

*/
import { ContainerErrorType, IGenericError, ICriticalContainerError } from "@fluidframework/container-definitions";
import { ContainerErrorType, IGenericError, ICriticalContainerError, IErrorBase } from "@fluidframework/container-definitions";
import { CustomErrorWithProps } from "@fluidframework/telemetry-utils";
import { ITelemetryProperties } from "@fluidframework/common-definitions";
/**

@@ -16,2 +17,7 @@ * Generic error

}
export declare class DataCorruptionError extends CustomErrorWithProps implements IErrorBase {
readonly errorType = "dataCorruptionError";
readonly canRetry = false;
constructor(errorMessage: string, props: ITelemetryProperties);
}
/**

@@ -18,0 +24,0 @@ * Convert the error into one of the error types.

@@ -6,3 +6,3 @@ /*!

import { assert } from "@fluidframework/common-utils";
import { ContainerErrorType } from "@fluidframework/container-definitions";
import { ContainerErrorType, } from "@fluidframework/container-definitions";
import { CustomErrorWithProps } from "@fluidframework/telemetry-utils";

@@ -27,2 +27,9 @@ function messageFromError(error) {

}
export class DataCorruptionError extends CustomErrorWithProps {
constructor(errorMessage, props) {
super(errorMessage, props);
this.errorType = "dataCorruptionError";
this.canRetry = false;
}
}
/**

@@ -29,0 +36,0 @@ * Convert the error into one of the error types.

@@ -8,3 +8,3 @@ /*!

export declare const pkgName = "@fluidframework/container-utils";
export declare const pkgVersion = "0.29.3";
export declare const pkgVersion = "0.29.4";
//# sourceMappingURL=packageVersion.d.ts.map

@@ -8,3 +8,3 @@ /*!

export const pkgName = "@fluidframework/container-utils";
export const pkgVersion = "0.29.3";
export const pkgVersion = "0.29.4";
//# sourceMappingURL=packageVersion.js.map
{
"name": "@fluidframework/container-utils",
"version": "0.29.3",
"version": "0.29.4",
"description": "Fluid container utils",

@@ -54,5 +54,6 @@ "homepage": "https://fluidframework.com",

"dependencies": {
"@fluidframework/common-definitions": "^0.19.1",
"@fluidframework/common-utils": "^0.25.0",
"@fluidframework/container-definitions": "^0.29.3",
"@fluidframework/telemetry-utils": "^0.29.3",
"@fluidframework/container-definitions": "^0.29.4",
"@fluidframework/telemetry-utils": "^0.29.4",
"assert": "^2.0.0"

@@ -63,3 +64,3 @@ },

"@fluidframework/eslint-config-fluid": "^0.21.0",
"@fluidframework/mocha-test-setup": "^0.29.3",
"@fluidframework/mocha-test-setup": "^0.29.4",
"@microsoft/api-extractor": "^7.7.2",

@@ -66,0 +67,0 @@ "@types/assert": "^1.5.1",

@@ -7,4 +7,10 @@ /*!

import { assert } from "@fluidframework/common-utils";
import { ContainerErrorType, IGenericError, ICriticalContainerError } from "@fluidframework/container-definitions";
import {
ContainerErrorType,
IGenericError,
ICriticalContainerError,
IErrorBase,
} from "@fluidframework/container-definitions";
import { CustomErrorWithProps } from "@fluidframework/telemetry-utils";
import { ITelemetryProperties } from "@fluidframework/common-definitions";

@@ -33,2 +39,14 @@ function messageFromError(error: any) {

export class DataCorruptionError extends CustomErrorWithProps implements IErrorBase {
readonly errorType = "dataCorruptionError";
readonly canRetry = false;
constructor(
errorMessage: string,
props: ITelemetryProperties,
) {
super(errorMessage, props);
}
}
/**

@@ -35,0 +53,0 @@ * Convert the error into one of the error types.

@@ -9,2 +9,2 @@ /*!

export const pkgName = "@fluidframework/container-utils";
export const pkgVersion = "0.29.3";
export const pkgVersion = "0.29.4";

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