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 2.0.0-dev.1.4.6.106135 to 2.0.0-dev.2.2.0.111723

prettier.config.cjs

2

.eslintrc.js

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

"extends": [
require.resolve("@fluidframework/eslint-config-fluid")
require.resolve("@fluidframework/eslint-config-fluid"), "prettier"
],

@@ -11,0 +11,0 @@ "parserOptions": {

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

*/
import { ContainerErrorType, IGenericError, IErrorBase, IThrottlingWarning } from "@fluidframework/container-definitions";
import { ContainerErrorType, IGenericError, IErrorBase, IThrottlingWarning, IUsageError } from "@fluidframework/container-definitions";
import { LoggingError, IFluidErrorBase } from "@fluidframework/telemetry-utils";

@@ -38,4 +38,4 @@ import { ITelemetryLogger, ITelemetryProperties } from "@fluidframework/common-definitions";

/** Error indicating an API is being used improperly resulting in an invalid operation. */
export declare class UsageError extends LoggingError implements IFluidErrorBase {
readonly errorType = "usageError";
export declare class UsageError extends LoggingError implements IUsageError, IFluidErrorBase {
readonly errorType = ContainerErrorType.usageError;
constructor(message: string);

@@ -42,0 +42,0 @@ }

@@ -51,4 +51,3 @@ "use strict";

super(message, { usageError: true });
// TODO: implement IUsageError once available
this.errorType = "usageError";
this.errorType = container_definitions_1.ContainerErrorType.usageError;
}

@@ -55,0 +54,0 @@ }

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

*/
export * from "./error";
export { ClientSessionExpiredError, DataCorruptionError, DataProcessingError, extractSafePropertiesFromMessage, GenericError, ThrottlingWarning, UsageError, } from "./error";
//# sourceMappingURL=index.d.ts.map

@@ -6,14 +6,12 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./error"), exports);
exports.UsageError = exports.ThrottlingWarning = exports.GenericError = exports.extractSafePropertiesFromMessage = exports.DataProcessingError = exports.DataCorruptionError = exports.ClientSessionExpiredError = void 0;
var error_1 = require("./error");
Object.defineProperty(exports, "ClientSessionExpiredError", { enumerable: true, get: function () { return error_1.ClientSessionExpiredError; } });
Object.defineProperty(exports, "DataCorruptionError", { enumerable: true, get: function () { return error_1.DataCorruptionError; } });
Object.defineProperty(exports, "DataProcessingError", { enumerable: true, get: function () { return error_1.DataProcessingError; } });
Object.defineProperty(exports, "extractSafePropertiesFromMessage", { enumerable: true, get: function () { return error_1.extractSafePropertiesFromMessage; } });
Object.defineProperty(exports, "GenericError", { enumerable: true, get: function () { return error_1.GenericError; } });
Object.defineProperty(exports, "ThrottlingWarning", { enumerable: true, get: function () { return error_1.ThrottlingWarning; } });
Object.defineProperty(exports, "UsageError", { enumerable: true, get: function () { return error_1.UsageError; } });
//# sourceMappingURL=index.js.map

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

export declare const pkgName = "@fluidframework/container-utils";
export declare const pkgVersion = "2.0.0-dev.1.4.6.106135";
export declare const pkgVersion = "2.0.0-dev.2.2.0.111723";
//# sourceMappingURL=packageVersion.d.ts.map

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

exports.pkgName = "@fluidframework/container-utils";
exports.pkgVersion = "2.0.0-dev.1.4.6.106135";
exports.pkgVersion = "2.0.0-dev.2.2.0.111723";
//# sourceMappingURL=packageVersion.js.map

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

*/
import { ContainerErrorType, IGenericError, IErrorBase, IThrottlingWarning } from "@fluidframework/container-definitions";
import { ContainerErrorType, IGenericError, IErrorBase, IThrottlingWarning, IUsageError } from "@fluidframework/container-definitions";
import { LoggingError, IFluidErrorBase } from "@fluidframework/telemetry-utils";

@@ -38,4 +38,4 @@ import { ITelemetryLogger, ITelemetryProperties } from "@fluidframework/common-definitions";

/** Error indicating an API is being used improperly resulting in an invalid operation. */
export declare class UsageError extends LoggingError implements IFluidErrorBase {
readonly errorType = "usageError";
export declare class UsageError extends LoggingError implements IUsageError, IFluidErrorBase {
readonly errorType = ContainerErrorType.usageError;
constructor(message: string);

@@ -42,0 +42,0 @@ }

@@ -46,4 +46,3 @@ /*!

super(message, { usageError: true });
// TODO: implement IUsageError once available
this.errorType = "usageError";
this.errorType = ContainerErrorType.usageError;
}

@@ -50,0 +49,0 @@ }

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

*/
export * from "./error";
export { ClientSessionExpiredError, DataCorruptionError, DataProcessingError, extractSafePropertiesFromMessage, GenericError, ThrottlingWarning, UsageError, } from "./error";
//# sourceMappingURL=index.d.ts.map

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

*/
export * from "./error";
export { ClientSessionExpiredError, DataCorruptionError, DataProcessingError, extractSafePropertiesFromMessage, GenericError, ThrottlingWarning, UsageError, } from "./error";
//# sourceMappingURL=index.js.map

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

export declare const pkgName = "@fluidframework/container-utils";
export declare const pkgVersion = "2.0.0-dev.1.4.6.106135";
export declare const pkgVersion = "2.0.0-dev.2.2.0.111723";
//# sourceMappingURL=packageVersion.d.ts.map

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

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

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

"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
"format": "npm run prettier:fix",
"lint": "npm run eslint",
"lint:fix": "npm run eslint:fix",
"prettier": "prettier --check . --ignore-path ../../../.prettierignore",
"prettier:fix": "prettier --write . --ignore-path ../../../.prettierignore",
"test": "npm run test:mocha",

@@ -40,3 +43,4 @@ "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml",

"tsc:watch": "tsc --watch",
"typetests:gen": "fluid-type-validator -g -d ."
"typetests:gen": "flub generate typetests --generate --dir .",
"typetests:prepare": "flub generate typetests --prepare --dir . --pin"
},

@@ -66,13 +70,14 @@ "nyc": {

"@fluidframework/common-utils": "^1.0.0",
"@fluidframework/container-definitions": "2.0.0-dev.1.4.6.106135",
"@fluidframework/protocol-definitions": "^1.0.0",
"@fluidframework/telemetry-utils": "2.0.0-dev.1.4.6.106135"
"@fluidframework/container-definitions": ">=2.0.0-dev.2.2.0.111723 <2.0.0-dev.3.0.0",
"@fluidframework/protocol-definitions": "^1.1.0",
"@fluidframework/telemetry-utils": ">=2.0.0-dev.2.2.0.111723 <2.0.0-dev.3.0.0"
},
"devDependencies": {
"@fluidframework/build-common": "^1.0.0",
"@fluidframework/build-tools": "^0.4.4000",
"@fluidframework/container-utils-previous": "npm:@fluidframework/container-utils@^1.0.0",
"@fluidframework/eslint-config-fluid": "^1.0.0",
"@fluidframework/mocha-test-setup": "2.0.0-dev.1.4.6.106135",
"@fluidframework/test-runtime-utils": "2.0.0-dev.1.4.6.106135",
"@fluid-tools/build-cli": "^0.6.0-109663",
"@fluidframework/build-common": "^1.1.0",
"@fluidframework/build-tools": "^0.6.0-109663",
"@fluidframework/container-utils-previous": "npm:@fluidframework/container-utils@2.0.0-internal.2.1.0",
"@fluidframework/eslint-config-fluid": "^1.2.0",
"@fluidframework/mocha-test-setup": ">=2.0.0-dev.2.2.0.111723 <2.0.0-dev.3.0.0",
"@fluidframework/test-runtime-utils": ">=2.0.0-dev.2.2.0.111723 <2.0.0-dev.3.0.0",
"@microsoft/api-extractor": "^7.22.2",

@@ -88,2 +93,3 @@ "@rushstack/eslint-config": "^2.5.1",

"nyc": "^15.0.0",
"prettier": "~2.6.2",
"rimraf": "^2.6.2",

@@ -93,5 +99,7 @@ "typescript": "~4.5.5"

"typeValidation": {
"version": "2.0.0",
"version": "2.0.0-internal.2.2.0",
"baselineRange": ">=2.0.0-internal.2.1.0 <2.0.0-internal.2.2.0",
"baselineVersion": "2.0.0-internal.2.1.0",
"broken": {}
}
}

@@ -11,2 +11,3 @@ /*!

IThrottlingWarning,
IUsageError,
} from "@fluidframework/container-definitions";

@@ -77,5 +78,4 @@ import {

/** Error indicating an API is being used improperly resulting in an invalid operation. */
export class UsageError extends LoggingError implements IFluidErrorBase {
// TODO: implement IUsageError once available
readonly errorType = "usageError";
export class UsageError extends LoggingError implements IUsageError, IFluidErrorBase {
readonly errorType = ContainerErrorType.usageError;

@@ -82,0 +82,0 @@ constructor(

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

export * from "./error";
export {
ClientSessionExpiredError,
DataCorruptionError,
DataProcessingError,
extractSafePropertiesFromMessage,
GenericError,
ThrottlingWarning,
UsageError,
} from "./error";

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

export const pkgName = "@fluidframework/container-utils";
export const pkgVersion = "2.0.0-dev.1.4.6.106135";
export const pkgVersion = "2.0.0-dev.2.2.0.111723";

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