@fluidframework/runtime-utils
Advanced tools
Comparing version 2.10.0-304831 to 2.10.0-305357
@@ -8,2 +8,5 @@ ## Beta API Report File for "@fluidframework/runtime-utils" | ||
// @public | ||
export function compareFluidHandles(a: IFluidHandle, b: IFluidHandle): boolean; | ||
// @public | ||
export function isFluidHandle(value: unknown): value is IFluidHandle; | ||
@@ -10,0 +13,0 @@ |
@@ -7,2 +7,5 @@ ## Alpha API Report File for "@fluidframework/runtime-utils" | ||
// @public | ||
export function compareFluidHandles(a: IFluidHandle, b: IFluidHandle): boolean; | ||
// @alpha | ||
@@ -9,0 +12,0 @@ export function convertToSummaryTreeWithStats(snapshot: ITree, fullTree?: boolean): ISummaryTreeWithStats; |
@@ -8,2 +8,5 @@ ## Public API Report File for "@fluidframework/runtime-utils" | ||
// @public | ||
export function compareFluidHandles(a: IFluidHandle, b: IFluidHandle): boolean; | ||
// @public | ||
export function isFluidHandle(value: unknown): value is IFluidHandle; | ||
@@ -10,0 +13,0 @@ |
@@ -8,2 +8,5 @@ ## Public API Report File for "@fluidframework/runtime-utils" | ||
// @public | ||
export function compareFluidHandles(a: IFluidHandle, b: IFluidHandle): boolean; | ||
// @public | ||
export function isFluidHandle(value: unknown): value is IFluidHandle; | ||
@@ -10,0 +13,0 @@ |
@@ -29,2 +29,9 @@ /*! | ||
/** | ||
* Compare two {@link @fluidframework/core-interfaces#IFluidHandle|IFluidHandles}. | ||
* @remarks | ||
* Returns true iff both handles have the same internal `absolutePath`. | ||
* @public | ||
*/ | ||
export declare function compareFluidHandles(a: IFluidHandle, b: IFluidHandle): boolean; | ||
/** | ||
* Downcast an IFluidHandle to an IFluidHandleInternal. | ||
@@ -31,0 +38,0 @@ * @legacy |
@@ -7,3 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FluidHandleBase = exports.toFluidHandleErased = exports.toFluidHandleInternal = exports.isFluidHandle = exports.isSerializedHandle = void 0; | ||
exports.FluidHandleBase = exports.toFluidHandleErased = exports.toFluidHandleInternal = exports.compareFluidHandles = exports.isFluidHandle = exports.isSerializedHandle = void 0; | ||
const core_interfaces_1 = require("@fluidframework/core-interfaces"); | ||
@@ -54,2 +54,14 @@ /** | ||
/** | ||
* Compare two {@link @fluidframework/core-interfaces#IFluidHandle|IFluidHandles}. | ||
* @remarks | ||
* Returns true iff both handles have the same internal `absolutePath`. | ||
* @public | ||
*/ | ||
function compareFluidHandles(a, b) { | ||
const aInternal = toFluidHandleInternal(a); | ||
const bInternal = toFluidHandleInternal(b); | ||
return aInternal.absolutePath === bInternal.absolutePath; | ||
} | ||
exports.compareFluidHandles = compareFluidHandles; | ||
/** | ||
* Downcast an IFluidHandle to an IFluidHandleInternal. | ||
@@ -56,0 +68,0 @@ * @legacy |
@@ -7,3 +7,3 @@ /*! | ||
export { create404Response, createDataStoreFactory, createResponseError, exceptionToResponse, Factory, responseToException, } from "./dataStoreHelpers.js"; | ||
export { ISerializedHandle, isSerializedHandle, isFluidHandle, toFluidHandleErased, toFluidHandleInternal, FluidHandleBase, } from "./handles.js"; | ||
export { ISerializedHandle, isSerializedHandle, isFluidHandle, toFluidHandleErased, toFluidHandleInternal, FluidHandleBase, compareFluidHandles, } from "./handles.js"; | ||
export { ObjectStoragePartition } from "./objectstoragepartition.js"; | ||
@@ -17,3 +17,3 @@ export { getNormalizedObjectStoragePathParts, listBlobsAtTreePath, } from "./objectstorageutils.js"; | ||
export { isSnapshotFetchRequiredForLoadingGroupId } from "./snapshotUtils.js"; | ||
export { toDeltaManagerErased, toDeltaManagerInternal } from "./deltaManager.js"; | ||
export { toDeltaManagerErased, toDeltaManagerInternal, } from "./deltaManager.js"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,3 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.toDeltaManagerInternal = exports.toDeltaManagerErased = exports.isSnapshotFetchRequiredForLoadingGroupId = exports.encodeCompactIdToString = exports.seqFromTree = exports.unpackChildNodesUsedRoutes = exports.utf8ByteLength = exports.TelemetryContext = exports.SummaryTreeBuilder = exports.processAttachMessageGCData = exports.mergeStats = exports.getBlobSize = exports.GCDataBuilder = exports.convertToSummaryTreeWithStats = exports.convertToSummaryTree = exports.convertSummaryTreeToITree = exports.convertSnapshotTreeToSummaryTree = exports.calculateStats = exports.addSummarizeResultToSummary = exports.addBlobToSummary = exports.RuntimeFactoryHelper = exports.RequestParser = exports.listBlobsAtTreePath = exports.getNormalizedObjectStoragePathParts = exports.ObjectStoragePartition = exports.FluidHandleBase = exports.toFluidHandleInternal = exports.toFluidHandleErased = exports.isFluidHandle = exports.isSerializedHandle = exports.responseToException = exports.exceptionToResponse = exports.createResponseError = exports.createDataStoreFactory = exports.create404Response = exports.generateHandleContextPath = void 0; | ||
exports.toDeltaManagerInternal = exports.toDeltaManagerErased = exports.isSnapshotFetchRequiredForLoadingGroupId = exports.encodeCompactIdToString = exports.seqFromTree = exports.unpackChildNodesUsedRoutes = exports.utf8ByteLength = exports.TelemetryContext = exports.SummaryTreeBuilder = exports.processAttachMessageGCData = exports.mergeStats = exports.getBlobSize = exports.GCDataBuilder = exports.convertToSummaryTreeWithStats = exports.convertToSummaryTree = exports.convertSummaryTreeToITree = exports.convertSnapshotTreeToSummaryTree = exports.calculateStats = exports.addSummarizeResultToSummary = exports.addBlobToSummary = exports.RuntimeFactoryHelper = exports.RequestParser = exports.listBlobsAtTreePath = exports.getNormalizedObjectStoragePathParts = exports.ObjectStoragePartition = exports.compareFluidHandles = exports.FluidHandleBase = exports.toFluidHandleInternal = exports.toFluidHandleErased = exports.isFluidHandle = exports.isSerializedHandle = exports.responseToException = exports.exceptionToResponse = exports.createResponseError = exports.createDataStoreFactory = exports.create404Response = exports.generateHandleContextPath = void 0; | ||
var dataStoreHandleContextUtils_js_1 = require("./dataStoreHandleContextUtils.js"); | ||
@@ -23,2 +23,3 @@ Object.defineProperty(exports, "generateHandleContextPath", { enumerable: true, get: function () { return dataStoreHandleContextUtils_js_1.generateHandleContextPath; } }); | ||
Object.defineProperty(exports, "FluidHandleBase", { enumerable: true, get: function () { return handles_js_1.FluidHandleBase; } }); | ||
Object.defineProperty(exports, "compareFluidHandles", { enumerable: true, get: function () { return handles_js_1.compareFluidHandles; } }); | ||
var objectstoragepartition_js_1 = require("./objectstoragepartition.js"); | ||
@@ -25,0 +26,0 @@ Object.defineProperty(exports, "ObjectStoragePartition", { enumerable: true, get: function () { return objectstoragepartition_js_1.ObjectStoragePartition; } }); |
@@ -13,2 +13,3 @@ /*! | ||
// @public APIs | ||
compareFluidHandles, | ||
isFluidHandle, | ||
@@ -15,0 +16,0 @@ |
@@ -13,3 +13,4 @@ /*! | ||
// @public APIs | ||
compareFluidHandles, | ||
isFluidHandle | ||
} from "./index.js"; |
@@ -29,2 +29,9 @@ /*! | ||
/** | ||
* Compare two {@link @fluidframework/core-interfaces#IFluidHandle|IFluidHandles}. | ||
* @remarks | ||
* Returns true iff both handles have the same internal `absolutePath`. | ||
* @public | ||
*/ | ||
export declare function compareFluidHandles(a: IFluidHandle, b: IFluidHandle): boolean; | ||
/** | ||
* Downcast an IFluidHandle to an IFluidHandleInternal. | ||
@@ -31,0 +38,0 @@ * @legacy |
@@ -48,2 +48,13 @@ /*! | ||
/** | ||
* Compare two {@link @fluidframework/core-interfaces#IFluidHandle|IFluidHandles}. | ||
* @remarks | ||
* Returns true iff both handles have the same internal `absolutePath`. | ||
* @public | ||
*/ | ||
export function compareFluidHandles(a, b) { | ||
const aInternal = toFluidHandleInternal(a); | ||
const bInternal = toFluidHandleInternal(b); | ||
return aInternal.absolutePath === bInternal.absolutePath; | ||
} | ||
/** | ||
* Downcast an IFluidHandle to an IFluidHandleInternal. | ||
@@ -50,0 +61,0 @@ * @legacy |
@@ -7,3 +7,3 @@ /*! | ||
export { create404Response, createDataStoreFactory, createResponseError, exceptionToResponse, Factory, responseToException, } from "./dataStoreHelpers.js"; | ||
export { ISerializedHandle, isSerializedHandle, isFluidHandle, toFluidHandleErased, toFluidHandleInternal, FluidHandleBase, } from "./handles.js"; | ||
export { ISerializedHandle, isSerializedHandle, isFluidHandle, toFluidHandleErased, toFluidHandleInternal, FluidHandleBase, compareFluidHandles, } from "./handles.js"; | ||
export { ObjectStoragePartition } from "./objectstoragepartition.js"; | ||
@@ -17,3 +17,3 @@ export { getNormalizedObjectStoragePathParts, listBlobsAtTreePath, } from "./objectstorageutils.js"; | ||
export { isSnapshotFetchRequiredForLoadingGroupId } from "./snapshotUtils.js"; | ||
export { toDeltaManagerErased, toDeltaManagerInternal } from "./deltaManager.js"; | ||
export { toDeltaManagerErased, toDeltaManagerInternal, } from "./deltaManager.js"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,3 +7,3 @@ /*! | ||
export { create404Response, createDataStoreFactory, createResponseError, exceptionToResponse, responseToException, } from "./dataStoreHelpers.js"; | ||
export { isSerializedHandle, isFluidHandle, toFluidHandleErased, toFluidHandleInternal, FluidHandleBase, } from "./handles.js"; | ||
export { isSerializedHandle, isFluidHandle, toFluidHandleErased, toFluidHandleInternal, FluidHandleBase, compareFluidHandles, } from "./handles.js"; | ||
export { ObjectStoragePartition } from "./objectstoragepartition.js"; | ||
@@ -17,3 +17,3 @@ export { getNormalizedObjectStoragePathParts, listBlobsAtTreePath, } from "./objectstorageutils.js"; | ||
export { isSnapshotFetchRequiredForLoadingGroupId } from "./snapshotUtils.js"; | ||
export { toDeltaManagerErased, toDeltaManagerInternal } from "./deltaManager.js"; | ||
export { toDeltaManagerErased, toDeltaManagerInternal, } from "./deltaManager.js"; | ||
//# sourceMappingURL=index.js.map |
@@ -13,2 +13,3 @@ /*! | ||
// @public APIs | ||
compareFluidHandles, | ||
isFluidHandle, | ||
@@ -15,0 +16,0 @@ |
@@ -13,3 +13,4 @@ /*! | ||
// @public APIs | ||
compareFluidHandles, | ||
isFluidHandle | ||
} from "./index.js"; |
{ | ||
"name": "@fluidframework/runtime-utils", | ||
"version": "2.10.0-304831", | ||
"version": "2.10.0-305357", | ||
"description": "Collection of utility functions for Fluid Runtime", | ||
@@ -72,12 +72,12 @@ "homepage": "https://fluidframework.com", | ||
"dependencies": { | ||
"@fluid-internal/client-utils": "2.10.0-304831", | ||
"@fluidframework/container-definitions": "2.10.0-304831", | ||
"@fluidframework/container-runtime-definitions": "2.10.0-304831", | ||
"@fluidframework/core-interfaces": "2.10.0-304831", | ||
"@fluidframework/core-utils": "2.10.0-304831", | ||
"@fluidframework/datastore-definitions": "2.10.0-304831", | ||
"@fluidframework/driver-definitions": "2.10.0-304831", | ||
"@fluidframework/driver-utils": "2.10.0-304831", | ||
"@fluidframework/runtime-definitions": "2.10.0-304831", | ||
"@fluidframework/telemetry-utils": "2.10.0-304831" | ||
"@fluid-internal/client-utils": "2.10.0-305357", | ||
"@fluidframework/container-definitions": "2.10.0-305357", | ||
"@fluidframework/container-runtime-definitions": "2.10.0-305357", | ||
"@fluidframework/core-interfaces": "2.10.0-305357", | ||
"@fluidframework/core-utils": "2.10.0-305357", | ||
"@fluidframework/datastore-definitions": "2.10.0-305357", | ||
"@fluidframework/driver-definitions": "2.10.0-305357", | ||
"@fluidframework/driver-utils": "2.10.0-305357", | ||
"@fluidframework/runtime-definitions": "2.10.0-305357", | ||
"@fluidframework/telemetry-utils": "2.10.0-305357" | ||
}, | ||
@@ -87,3 +87,3 @@ "devDependencies": { | ||
"@biomejs/biome": "~1.9.3", | ||
"@fluid-internal/mocha-test-setup": "2.10.0-304831", | ||
"@fluid-internal/mocha-test-setup": "2.10.0-305357", | ||
"@fluid-tools/build-cli": "^0.50.0", | ||
@@ -90,0 +90,0 @@ "@fluidframework/build-common": "^2.0.3", |
@@ -68,2 +68,14 @@ /*! | ||
/** | ||
* Compare two {@link @fluidframework/core-interfaces#IFluidHandle|IFluidHandles}. | ||
* @remarks | ||
* Returns true iff both handles have the same internal `absolutePath`. | ||
* @public | ||
*/ | ||
export function compareFluidHandles(a: IFluidHandle, b: IFluidHandle): boolean { | ||
const aInternal = toFluidHandleInternal(a); | ||
const bInternal = toFluidHandleInternal(b); | ||
return aInternal.absolutePath === bInternal.absolutePath; | ||
} | ||
/** | ||
* Downcast an IFluidHandle to an IFluidHandleInternal. | ||
@@ -70,0 +82,0 @@ * @legacy |
@@ -22,2 +22,3 @@ /*! | ||
FluidHandleBase, | ||
compareFluidHandles, | ||
} from "./handles.js"; | ||
@@ -50,2 +51,5 @@ export { ObjectStoragePartition } from "./objectstoragepartition.js"; | ||
export { isSnapshotFetchRequiredForLoadingGroupId } from "./snapshotUtils.js"; | ||
export { toDeltaManagerErased, toDeltaManagerInternal } from "./deltaManager.js"; | ||
export { | ||
toDeltaManagerErased, | ||
toDeltaManagerInternal, | ||
} from "./deltaManager.js"; |
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
382839
4509
+ Added@fluid-internal/client-utils@2.10.0-305357(transitive)
+ Added@fluidframework/container-definitions@2.10.0-305357(transitive)
+ Added@fluidframework/container-runtime-definitions@2.10.0-305357(transitive)
+ Added@fluidframework/core-interfaces@2.10.0-305357(transitive)
+ Added@fluidframework/core-utils@2.10.0-305357(transitive)
+ Added@fluidframework/datastore-definitions@2.10.0-305357(transitive)
+ Added@fluidframework/driver-definitions@2.10.0-305357(transitive)
+ Added@fluidframework/driver-utils@2.10.0-305357(transitive)
+ Added@fluidframework/id-compressor@2.10.0-305357(transitive)
+ Added@fluidframework/runtime-definitions@2.10.0-305357(transitive)
+ Added@fluidframework/telemetry-utils@2.10.0-305357(transitive)
- Removed@fluid-internal/client-utils@2.10.0-304831(transitive)
- Removed@fluidframework/container-definitions@2.10.0-304831(transitive)
- Removed@fluidframework/container-runtime-definitions@2.10.0-304831(transitive)
- Removed@fluidframework/core-interfaces@2.10.0-304831(transitive)
- Removed@fluidframework/core-utils@2.10.0-304831(transitive)
- Removed@fluidframework/datastore-definitions@2.10.0-304831(transitive)
- Removed@fluidframework/driver-definitions@2.10.0-304831(transitive)
- Removed@fluidframework/driver-utils@2.10.0-304831(transitive)
- Removed@fluidframework/id-compressor@2.10.0-304831(transitive)
- Removed@fluidframework/runtime-definitions@2.10.0-304831(transitive)
- Removed@fluidframework/telemetry-utils@2.10.0-304831(transitive)
Updated@fluidframework/container-runtime-definitions@2.10.0-305357