@fluidframework/container-utils
Advanced tools
Comparing version 2.0.0-dev.3.1.0.125672 to 2.0.0-dev.4.1.0.148229
@@ -39,3 +39,3 @@ /*! | ||
readonly errorType = ContainerErrorType.usageError; | ||
constructor(message: string); | ||
constructor(message: string, props?: ITelemetryProperties); | ||
} | ||
@@ -42,0 +42,0 @@ /** Error indicating that a client's session has reached its time limit and is closed. */ |
@@ -49,4 +49,4 @@ "use strict"; | ||
class UsageError extends telemetry_utils_1.LoggingError { | ||
constructor(message) { | ||
super(message, { usageError: true }); | ||
constructor(message, props) { | ||
super(message, Object.assign(Object.assign({}, props), { usageError: true })); | ||
this.errorType = container_definitions_1.ContainerErrorType.usageError; | ||
@@ -53,0 +53,0 @@ } |
@@ -5,3 +5,4 @@ /*! | ||
*/ | ||
export { DeltaManagerProxyBase } from "./deltaManagerProxyBase"; | ||
export { ClientSessionExpiredError, DataCorruptionError, DataProcessingError, extractSafePropertiesFromMessage, GenericError, ThrottlingWarning, UsageError, } from "./error"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,3 +7,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UsageError = exports.ThrottlingWarning = exports.GenericError = exports.extractSafePropertiesFromMessage = exports.DataProcessingError = exports.DataCorruptionError = exports.ClientSessionExpiredError = void 0; | ||
exports.UsageError = exports.ThrottlingWarning = exports.GenericError = exports.extractSafePropertiesFromMessage = exports.DataProcessingError = exports.DataCorruptionError = exports.ClientSessionExpiredError = exports.DeltaManagerProxyBase = void 0; | ||
var deltaManagerProxyBase_1 = require("./deltaManagerProxyBase"); | ||
Object.defineProperty(exports, "DeltaManagerProxyBase", { enumerable: true, get: function () { return deltaManagerProxyBase_1.DeltaManagerProxyBase; } }); | ||
var error_1 = require("./error"); | ||
@@ -10,0 +12,0 @@ Object.defineProperty(exports, "ClientSessionExpiredError", { enumerable: true, get: function () { return error_1.ClientSessionExpiredError; } }); |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/container-utils"; | ||
export declare const pkgVersion = "2.0.0-dev.3.1.0.125672"; | ||
export declare const pkgVersion = "2.0.0-dev.4.1.0.148229"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -11,3 +11,3 @@ "use strict"; | ||
exports.pkgName = "@fluidframework/container-utils"; | ||
exports.pkgVersion = "2.0.0-dev.3.1.0.125672"; | ||
exports.pkgVersion = "2.0.0-dev.4.1.0.148229"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -39,3 +39,3 @@ /*! | ||
readonly errorType = ContainerErrorType.usageError; | ||
constructor(message: string); | ||
constructor(message: string, props?: ITelemetryProperties); | ||
} | ||
@@ -42,0 +42,0 @@ /** Error indicating that a client's session has reached its time limit and is closed. */ |
@@ -44,4 +44,4 @@ /*! | ||
export class UsageError extends LoggingError { | ||
constructor(message) { | ||
super(message, { usageError: true }); | ||
constructor(message, props) { | ||
super(message, Object.assign(Object.assign({}, props), { usageError: true })); | ||
this.errorType = ContainerErrorType.usageError; | ||
@@ -48,0 +48,0 @@ } |
@@ -5,3 +5,4 @@ /*! | ||
*/ | ||
export { DeltaManagerProxyBase } from "./deltaManagerProxyBase"; | ||
export { ClientSessionExpiredError, DataCorruptionError, DataProcessingError, extractSafePropertiesFromMessage, GenericError, ThrottlingWarning, UsageError, } from "./error"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,3 +5,4 @@ /*! | ||
*/ | ||
export { DeltaManagerProxyBase } from "./deltaManagerProxyBase"; | ||
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.3.1.0.125672"; | ||
export declare const pkgVersion = "2.0.0-dev.4.1.0.148229"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -8,3 +8,3 @@ /*! | ||
export const pkgName = "@fluidframework/container-utils"; | ||
export const pkgVersion = "2.0.0-dev.3.1.0.125672"; | ||
export const pkgVersion = "2.0.0-dev.4.1.0.148229"; | ||
//# sourceMappingURL=packageVersion.js.map |
{ | ||
"name": "@fluidframework/container-utils", | ||
"version": "2.0.0-dev.3.1.0.125672", | ||
"version": "2.0.0-dev.4.1.0.148229", | ||
"description": "Fluid container utils", | ||
@@ -17,30 +17,2 @@ "homepage": "https://fluidframework.com", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"build": "npm run build:genver && concurrently npm:build:compile npm:lint && npm run build:docs", | ||
"build:commonjs": "npm run tsc && npm run typetests:gen && npm run build:test", | ||
"build:compile": "concurrently npm:build:commonjs npm:build:esnext", | ||
"build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", | ||
"build:esnext": "tsc --project ./tsconfig.esnext.json", | ||
"build:full": "npm run build", | ||
"build:full:compile": "npm run build:compile", | ||
"build:genver": "gen-version", | ||
"build:test": "tsc --project ./src/test/tsconfig.json", | ||
"ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", | ||
"clean": "rimraf dist lib *.tsbuildinfo *.build.log", | ||
"eslint": "eslint --format stylish src", | ||
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout", | ||
"format": "npm run prettier:fix", | ||
"lint": "npm run prettier && npm run eslint", | ||
"lint:fix": "npm run prettier:fix && npm run eslint:fix", | ||
"prettier": "prettier --check . --ignore-path ../../../.prettierignore", | ||
"prettier:fix": "prettier --write . --ignore-path ../../../.prettierignore", | ||
"test": "npm run test:mocha", | ||
"test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", | ||
"test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", | ||
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", | ||
"tsc": "tsc", | ||
"tsc:watch": "tsc --watch", | ||
"typetests:gen": "flub generate typetests --generate --dir .", | ||
"typetests:prepare": "flub generate typetests --prepare --dir . --pin" | ||
}, | ||
"nyc": { | ||
@@ -68,36 +40,63 @@ "all": true, | ||
"@fluidframework/common-definitions": "^0.20.1", | ||
"@fluidframework/common-utils": "^1.0.0", | ||
"@fluidframework/container-definitions": ">=2.0.0-dev.3.1.0.125672 <2.0.0-dev.4.0.0", | ||
"@fluidframework/common-utils": "^1.1.1", | ||
"@fluidframework/container-definitions": "2.0.0-dev.4.1.0.148229", | ||
"@fluidframework/protocol-definitions": "^1.1.0", | ||
"@fluidframework/telemetry-utils": ">=2.0.0-dev.3.1.0.125672 <2.0.0-dev.4.0.0" | ||
"@fluidframework/telemetry-utils": "2.0.0-dev.4.1.0.148229" | ||
}, | ||
"devDependencies": { | ||
"@fluid-tools/build-cli": "^0.8.0", | ||
"@fluid-tools/build-cli": "^0.13.1", | ||
"@fluidframework/build-common": "^1.1.0", | ||
"@fluidframework/build-tools": "^0.8.0", | ||
"@fluidframework/container-utils-previous": "npm:@fluidframework/container-utils@2.0.0-internal.3.0.0", | ||
"@fluidframework/build-tools": "^0.13.1", | ||
"@fluidframework/container-utils-previous": "npm:@fluidframework/container-utils@2.0.0-internal.4.0.0", | ||
"@fluidframework/eslint-config-fluid": "^2.0.0", | ||
"@fluidframework/mocha-test-setup": ">=2.0.0-dev.3.1.0.125672 <2.0.0-dev.4.0.0", | ||
"@fluidframework/test-runtime-utils": ">=2.0.0-dev.3.1.0.125672 <2.0.0-dev.4.0.0", | ||
"@microsoft/api-extractor": "^7.22.2", | ||
"@rushstack/eslint-config": "^2.5.1", | ||
"@fluidframework/mocha-test-setup": "2.0.0-dev.4.1.0.148229", | ||
"@fluidframework/test-runtime-utils": "2.0.0-dev.4.1.0.148229", | ||
"@microsoft/api-extractor": "^7.34.4", | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^14.18.36", | ||
"concurrently": "^6.2.0", | ||
"@types/node": "^14.18.38", | ||
"concurrently": "^7.6.0", | ||
"copyfiles": "^2.4.1", | ||
"cross-env": "^7.0.2", | ||
"cross-env": "^7.0.3", | ||
"eslint": "~8.6.0", | ||
"mocha": "^10.0.0", | ||
"nyc": "^15.0.0", | ||
"mocha": "^10.2.0", | ||
"mocha-json-output-reporter": "^2.0.1", | ||
"mocha-multi-reporters": "^1.5.1", | ||
"moment": "^2.21.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "~2.6.2", | ||
"rimraf": "^2.6.2", | ||
"rimraf": "^4.4.0", | ||
"typescript": "~4.5.5" | ||
}, | ||
"typeValidation": { | ||
"version": "2.0.0-internal.3.1.0", | ||
"previousVersionStyle": "~previousMinor", | ||
"baselineRange": ">=2.0.0-internal.3.0.0 <2.0.0-internal.3.1.0", | ||
"baselineVersion": "2.0.0-internal.3.0.0", | ||
"broken": {} | ||
}, | ||
"scripts": { | ||
"build": "npm run build:genver && concurrently npm:build:compile npm:lint && npm run build:docs", | ||
"build:commonjs": "npm run tsc && npm run typetests:gen && npm run build:test", | ||
"build:compile": "concurrently npm:build:commonjs npm:build:esnext", | ||
"build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", | ||
"build:esnext": "tsc --project ./tsconfig.esnext.json", | ||
"build:full": "npm run build", | ||
"build:full:compile": "npm run build:compile", | ||
"build:genver": "gen-version", | ||
"build:test": "tsc --project ./src/test/tsconfig.json", | ||
"ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", | ||
"clean": "rimraf dist lib *.tsbuildinfo *.build.log", | ||
"eslint": "eslint --format stylish src", | ||
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout", | ||
"format": "npm run prettier:fix", | ||
"lint": "npm run prettier && npm run eslint", | ||
"lint:fix": "npm run prettier:fix && npm run eslint:fix", | ||
"prettier": "prettier --check . --ignore-path ../../../.prettierignore", | ||
"prettier:fix": "prettier --write . --ignore-path ../../../.prettierignore", | ||
"test": "npm run test:mocha", | ||
"test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", | ||
"test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", | ||
"test:mocha:multireport": "cross-env FLUID_TEST_MULTIREPORT=1 npm run test:mocha", | ||
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", | ||
"tsc": "tsc", | ||
"tsc:watch": "tsc --watch", | ||
"typetests:gen": "fluid-type-test-generator", | ||
"typetests:prepare": "flub generate typetests --prepare --dir . --pin" | ||
} | ||
} | ||
} |
@@ -75,4 +75,4 @@ /*! | ||
constructor(message: string) { | ||
super(message, { usageError: true }); | ||
constructor(message: string, props?: ITelemetryProperties) { | ||
super(message, { ...props, usageError: true }); | ||
} | ||
@@ -79,0 +79,0 @@ } |
@@ -6,2 +6,3 @@ /*! | ||
export { DeltaManagerProxyBase } from "./deltaManagerProxyBase"; | ||
export { | ||
@@ -8,0 +9,0 @@ ClientSessionExpiredError, |
@@ -9,2 +9,2 @@ /*! | ||
export const pkgName = "@fluidframework/container-utils"; | ||
export const pkgVersion = "2.0.0-dev.3.1.0.125672"; | ||
export const pkgVersion = "2.0.0-dev.4.1.0.148229"; |
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
91023
45
1049
22
+ Added@fluidframework/container-definitions@2.0.0-dev.4.1.0.148229(transitive)
+ Added@fluidframework/core-interfaces@2.0.0-dev.4.1.0.148229(transitive)
+ Added@fluidframework/driver-definitions@2.0.0-dev.4.1.0.148229(transitive)
+ Added@fluidframework/telemetry-utils@2.0.0-dev.4.1.0.148229(transitive)
- Removed@fluidframework/container-definitions@2.0.0-dev.3.1.0.125672(transitive)
- Removed@fluidframework/core-interfaces@2.0.0-dev.3.1.0.125672(transitive)
- Removed@fluidframework/driver-definitions@2.0.0-dev.3.1.0.125672(transitive)
- Removed@fluidframework/telemetry-utils@2.0.0-dev.3.1.0.125672(transitive)
Updated@fluidframework/container-definitions@2.0.0-dev.4.1.0.148229
Updated@fluidframework/telemetry-utils@2.0.0-dev.4.1.0.148229