@fluidframework/map
Advanced tools
Comparing version 2.3.0-288113 to 2.3.0
# @fluidframework/map | ||
## 2.3.0 | ||
Dependency updates only. | ||
## 2.2.0 | ||
@@ -4,0 +8,0 @@ |
@@ -146,4 +146,5 @@ "use strict"; | ||
// loads all blobs at once and partitioning schema has no impact on that process. | ||
for (const [key, { value, type }] of Object.entries(data)) { | ||
if (value && value.length >= MinValueSizeSeparateSnapshotBlob) { | ||
for (const key of Object.keys(data)) { | ||
const value = data[key]; | ||
if (value.value && value.value.length >= MinValueSizeSeparateSnapshotBlob) { | ||
const blobName = `blob${counter}`; | ||
@@ -154,4 +155,4 @@ counter++; | ||
[key]: { | ||
type, | ||
value: JSON.parse(value), | ||
type: value.type, | ||
value: JSON.parse(value.value), | ||
}, | ||
@@ -162,5 +163,5 @@ }; | ||
else { | ||
currentSize += type.length + 21; // Approximation cost of property header | ||
if (value) { | ||
currentSize += value.length; | ||
currentSize += value.type.length + 21; // Approximation cost of property header | ||
if (value.value) { | ||
currentSize += value.value.length; | ||
} | ||
@@ -176,4 +177,4 @@ if (currentSize > MaxSnapshotBlobSize) { | ||
headerBlob[key] = { | ||
type, | ||
value: value === undefined ? undefined : JSON.parse(value), | ||
type: value.type, | ||
value: value.value === undefined ? undefined : JSON.parse(value.value), | ||
}; | ||
@@ -180,0 +181,0 @@ } |
@@ -462,4 +462,2 @@ "use strict"; | ||
isMapKeyLocalOpMetadata(localOpMetadata) && | ||
// Non null asserting, above we checked that the length is greater than 0. | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
localOpMetadata.pendingMessageId < this.pendingClearMessageIds[0], 0x013 /* "Received out of order op when there is an unackd clear message" */); | ||
@@ -466,0 +464,0 @@ } |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/map"; | ||
export declare const pkgVersion = "2.3.0-288113"; | ||
export declare const pkgVersion = "2.3.0"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -11,3 +11,3 @@ "use strict"; | ||
exports.pkgName = "@fluidframework/map"; | ||
exports.pkgVersion = "2.3.0-288113"; | ||
exports.pkgVersion = "2.3.0"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -143,4 +143,5 @@ /*! | ||
// loads all blobs at once and partitioning schema has no impact on that process. | ||
for (const [key, { value, type }] of Object.entries(data)) { | ||
if (value && value.length >= MinValueSizeSeparateSnapshotBlob) { | ||
for (const key of Object.keys(data)) { | ||
const value = data[key]; | ||
if (value.value && value.value.length >= MinValueSizeSeparateSnapshotBlob) { | ||
const blobName = `blob${counter}`; | ||
@@ -151,4 +152,4 @@ counter++; | ||
[key]: { | ||
type, | ||
value: JSON.parse(value), | ||
type: value.type, | ||
value: JSON.parse(value.value), | ||
}, | ||
@@ -159,5 +160,5 @@ }; | ||
else { | ||
currentSize += type.length + 21; // Approximation cost of property header | ||
if (value) { | ||
currentSize += value.length; | ||
currentSize += value.type.length + 21; // Approximation cost of property header | ||
if (value.value) { | ||
currentSize += value.value.length; | ||
} | ||
@@ -173,4 +174,4 @@ if (currentSize > MaxSnapshotBlobSize) { | ||
headerBlob[key] = { | ||
type, | ||
value: value === undefined ? undefined : JSON.parse(value), | ||
type: value.type, | ||
value: value.value === undefined ? undefined : JSON.parse(value.value), | ||
}; | ||
@@ -177,0 +178,0 @@ } |
@@ -459,4 +459,2 @@ /*! | ||
isMapKeyLocalOpMetadata(localOpMetadata) && | ||
// Non null asserting, above we checked that the length is greater than 0. | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
localOpMetadata.pendingMessageId < this.pendingClearMessageIds[0], 0x013 /* "Received out of order op when there is an unackd clear message" */); | ||
@@ -463,0 +461,0 @@ } |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/map"; | ||
export declare const pkgVersion = "2.3.0-288113"; | ||
export declare const pkgVersion = "2.3.0"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -8,3 +8,3 @@ /*! | ||
export const pkgName = "@fluidframework/map"; | ||
export const pkgVersion = "2.3.0-288113"; | ||
export const pkgVersion = "2.3.0"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.45.1" | ||
"packageVersion": "7.47.8" | ||
} | ||
] | ||
} |
{ | ||
"name": "@fluidframework/map", | ||
"version": "2.3.0-288113", | ||
"version": "2.3.0", | ||
"description": "Distributed map", | ||
@@ -70,13 +70,13 @@ "homepage": "https://fluidframework.com", | ||
"dependencies": { | ||
"@fluid-internal/client-utils": "2.3.0-288113", | ||
"@fluidframework/core-interfaces": "2.3.0-288113", | ||
"@fluidframework/core-utils": "2.3.0-288113", | ||
"@fluidframework/datastore-definitions": "2.3.0-288113", | ||
"@fluidframework/driver-definitions": "2.3.0-288113", | ||
"@fluidframework/driver-utils": "2.3.0-288113", | ||
"@fluidframework/merge-tree": "2.3.0-288113", | ||
"@fluidframework/runtime-definitions": "2.3.0-288113", | ||
"@fluidframework/runtime-utils": "2.3.0-288113", | ||
"@fluidframework/shared-object-base": "2.3.0-288113", | ||
"@fluidframework/telemetry-utils": "2.3.0-288113", | ||
"@fluid-internal/client-utils": "~2.3.0", | ||
"@fluidframework/core-interfaces": "~2.3.0", | ||
"@fluidframework/core-utils": "~2.3.0", | ||
"@fluidframework/datastore-definitions": "~2.3.0", | ||
"@fluidframework/driver-definitions": "~2.3.0", | ||
"@fluidframework/driver-utils": "~2.3.0", | ||
"@fluidframework/merge-tree": "~2.3.0", | ||
"@fluidframework/runtime-definitions": "~2.3.0", | ||
"@fluidframework/runtime-utils": "~2.3.0", | ||
"@fluidframework/shared-object-base": "~2.3.0", | ||
"@fluidframework/telemetry-utils": "~2.3.0", | ||
"path-browserify": "^1.0.1" | ||
@@ -87,14 +87,14 @@ }, | ||
"@biomejs/biome": "~1.8.3", | ||
"@fluid-internal/mocha-test-setup": "2.3.0-288113", | ||
"@fluid-private/stochastic-test-utils": "2.3.0-288113", | ||
"@fluid-private/test-dds-utils": "2.3.0-288113", | ||
"@fluid-internal/mocha-test-setup": "~2.3.0", | ||
"@fluid-private/stochastic-test-utils": "~2.3.0", | ||
"@fluid-private/test-dds-utils": "~2.3.0", | ||
"@fluid-tools/benchmark": "^0.50.0", | ||
"@fluid-tools/build-cli": "^0.43.0", | ||
"@fluid-tools/build-cli": "^0.46.0", | ||
"@fluidframework/build-common": "^2.0.3", | ||
"@fluidframework/build-tools": "^0.43.0", | ||
"@fluidframework/container-definitions": "2.3.0-288113", | ||
"@fluidframework/eslint-config-fluid": "^5.3.0", | ||
"@fluidframework/build-tools": "^0.46.0", | ||
"@fluidframework/container-definitions": "~2.3.0", | ||
"@fluidframework/eslint-config-fluid": "^5.4.0", | ||
"@fluidframework/map-previous": "npm:@fluidframework/map@2.2.0", | ||
"@fluidframework/test-runtime-utils": "2.3.0-288113", | ||
"@microsoft/api-extractor": "^7.45.1", | ||
"@fluidframework/test-runtime-utils": "~2.3.0", | ||
"@microsoft/api-extractor": "7.47.8", | ||
"@types/mocha": "^9.1.1", | ||
@@ -118,3 +118,4 @@ "@types/node": "^18.19.0", | ||
"typeValidation": { | ||
"broken": {} | ||
"broken": {}, | ||
"entrypoint": "internal" | ||
}, | ||
@@ -121,0 +122,0 @@ "scripts": { |
@@ -205,4 +205,5 @@ /*! | ||
// loads all blobs at once and partitioning schema has no impact on that process. | ||
for (const [key, { value, type }] of Object.entries(data)) { | ||
if (value && value.length >= MinValueSizeSeparateSnapshotBlob) { | ||
for (const key of Object.keys(data)) { | ||
const value = data[key]; | ||
if (value.value && value.value.length >= MinValueSizeSeparateSnapshotBlob) { | ||
const blobName = `blob${counter}`; | ||
@@ -213,4 +214,4 @@ counter++; | ||
[key]: { | ||
type, | ||
value: JSON.parse(value) as unknown, | ||
type: value.type, | ||
value: JSON.parse(value.value) as unknown, | ||
}, | ||
@@ -220,5 +221,5 @@ }; | ||
} else { | ||
currentSize += type.length + 21; // Approximation cost of property header | ||
if (value) { | ||
currentSize += value.length; | ||
currentSize += value.type.length + 21; // Approximation cost of property header | ||
if (value.value) { | ||
currentSize += value.value.length; | ||
} | ||
@@ -235,4 +236,4 @@ | ||
headerBlob[key] = { | ||
type, | ||
value: value === undefined ? undefined : (JSON.parse(value) as unknown), | ||
type: value.type, | ||
value: value.value === undefined ? undefined : (JSON.parse(value.value) as unknown), | ||
}; | ||
@@ -239,0 +240,0 @@ } |
@@ -615,5 +615,3 @@ /*! | ||
isMapKeyLocalOpMetadata(localOpMetadata) && | ||
// Non null asserting, above we checked that the length is greater than 0. | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
localOpMetadata.pendingMessageId < this.pendingClearMessageIds[0]!, | ||
localOpMetadata.pendingMessageId < this.pendingClearMessageIds[0], | ||
0x013 /* "Received out of order op when there is an unackd clear message" */, | ||
@@ -620,0 +618,0 @@ ); |
@@ -9,2 +9,2 @@ /*! | ||
export const pkgName = "@fluidframework/map"; | ||
export const pkgVersion = "2.3.0-288113"; | ||
export const pkgVersion = "2.3.0"; |
@@ -8,4 +8,5 @@ { | ||
"outDir": "./lib", | ||
"noUncheckedIndexedAccess": false, | ||
"exactOptionalPropertyTypes": false, | ||
}, | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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 too big to display
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 too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
1084672
13916
+ Added@fluid-internal/client-utils@2.3.1(transitive)
+ Added@fluidframework/container-definitions@2.3.1(transitive)
+ Added@fluidframework/container-runtime@2.3.1(transitive)
+ Added@fluidframework/container-runtime-definitions@2.3.1(transitive)
+ Added@fluidframework/core-interfaces@2.3.1(transitive)
+ Added@fluidframework/core-utils@2.3.1(transitive)
+ Added@fluidframework/datastore@2.3.1(transitive)
+ Added@fluidframework/datastore-definitions@2.3.1(transitive)
+ Added@fluidframework/driver-definitions@2.3.1(transitive)
+ Added@fluidframework/driver-utils@2.3.1(transitive)
+ Added@fluidframework/id-compressor@2.3.1(transitive)
+ Added@fluidframework/merge-tree@2.3.1(transitive)
+ Added@fluidframework/runtime-definitions@2.3.1(transitive)
+ Added@fluidframework/runtime-utils@2.3.1(transitive)
+ Added@fluidframework/shared-object-base@2.3.1(transitive)
+ Added@fluidframework/telemetry-utils@2.3.1(transitive)
- Removed@fluid-internal/client-utils@2.3.0-288113(transitive)
- Removed@fluidframework/container-definitions@2.3.0-288113(transitive)
- Removed@fluidframework/container-runtime@2.3.0-288113(transitive)
- Removed@fluidframework/container-runtime-definitions@2.3.0-288113(transitive)
- Removed@fluidframework/core-interfaces@2.3.0-288113(transitive)
- Removed@fluidframework/core-utils@2.3.0-288113(transitive)
- Removed@fluidframework/datastore@2.3.0-288113(transitive)
- Removed@fluidframework/datastore-definitions@2.3.0-288113(transitive)
- Removed@fluidframework/driver-definitions@2.3.0-288113(transitive)
- Removed@fluidframework/driver-utils@2.3.0-288113(transitive)
- Removed@fluidframework/id-compressor@2.3.0-288113(transitive)
- Removed@fluidframework/merge-tree@2.3.0-288113(transitive)
- Removed@fluidframework/runtime-definitions@2.3.0-288113(transitive)
- Removed@fluidframework/runtime-utils@2.3.0-288113(transitive)
- Removed@fluidframework/shared-object-base@2.3.0-288113(transitive)
- Removed@fluidframework/telemetry-utils@2.3.0-288113(transitive)