botbuilder-core
Advanced tools
Comparing version 4.22.0 to 4.23.0-dev.20240126
@@ -138,2 +138,3 @@ /** | ||
* | ||
* @remarks Primarily used to skip properties before calculating the hash value in the calculateChangeHash function. | ||
* @param state Dictionary of state values. | ||
@@ -140,0 +141,0 @@ * @returns Dictionary of state values, without the skipped properties. |
@@ -138,2 +138,3 @@ /** | ||
* | ||
* @remarks Primarily used to skip properties before calculating the hash value in the calculateChangeHash function. | ||
* @param state Dictionary of state values. | ||
@@ -140,0 +141,0 @@ * @returns Dictionary of state values, without the skipped properties. |
@@ -176,2 +176,3 @@ "use strict"; | ||
* | ||
* @remarks Primarily used to skip properties before calculating the hash value in the calculateChangeHash function. | ||
* @param state Dictionary of state values. | ||
@@ -191,3 +192,3 @@ * @returns Dictionary of state values, without the skipped properties. | ||
const inner = ([key, value], skip = []) => { | ||
if (skip.includes(key)) { | ||
if (value === null || value === undefined || skip.includes(key)) { | ||
return; | ||
@@ -198,4 +199,4 @@ } | ||
} | ||
if (value === null || typeof value !== 'object') { | ||
return value; | ||
if (typeof value !== 'object') { | ||
return value.valueOf(); | ||
} | ||
@@ -207,3 +208,3 @@ return Object.entries(value).reduce((acc, [k, v]) => { | ||
return acc; | ||
}, value); | ||
}, {}); | ||
}; | ||
@@ -210,0 +211,0 @@ return inner([null, state]); |
@@ -5,3 +5,3 @@ { | ||
"description": "Core components for Microsoft Bot Builder. Components in this library can run either in a browser or on the server.", | ||
"version": "4.22.0", | ||
"version": "4.23.0-dev.20240126", | ||
"license": "MIT", | ||
@@ -31,6 +31,6 @@ "keywords": [ | ||
"dependencies": { | ||
"botbuilder-dialogs-adaptive-runtime-core": "4.22.0-preview", | ||
"botbuilder-stdlib": "4.22.0-internal", | ||
"botframework-connector": "4.22.0", | ||
"botframework-schema": "4.22.0", | ||
"botbuilder-dialogs-adaptive-runtime-core": "4.23.0-dev.preview.20240126", | ||
"botbuilder-stdlib": "4.23.0-dev.internal.20240126", | ||
"botframework-connector": "4.23.0-dev.20240126", | ||
"botframework-schema": "4.23.0-dev.20240126", | ||
"uuid": "^8.3.2", | ||
@@ -37,0 +37,0 @@ "zod": "^3.22.4" |
@@ -205,2 +205,3 @@ /** | ||
* | ||
* @remarks Primarily used to skip properties before calculating the hash value in the calculateChangeHash function. | ||
* @param state Dictionary of state values. | ||
@@ -221,3 +222,3 @@ * @returns Dictionary of state values, without the skipped properties. | ||
const inner = ([key, value], skip = []) => { | ||
if (skip.includes(key)) { | ||
if (value === null || value === undefined || skip.includes(key)) { | ||
return; | ||
@@ -230,4 +231,4 @@ } | ||
if (value === null || typeof value !== 'object') { | ||
return value; | ||
if (typeof value !== 'object') { | ||
return value.valueOf(); | ||
} | ||
@@ -239,3 +240,3 @@ | ||
return acc; | ||
}, value); | ||
}, {}); | ||
}; | ||
@@ -242,0 +243,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1352170
27035
2
+ Addedbotbuilder-dialogs-adaptive-runtime-core@4.23.0-dev.preview.20240126(transitive)
+ Addedbotbuilder-stdlib@4.23.0-dev.internal.20240126(transitive)
+ Addedbotframework-connector@4.23.0-dev.20240126(transitive)
+ Addedbotframework-schema@4.23.0-dev.20240126(transitive)
- Removedbotbuilder-dialogs-adaptive-runtime-core@4.22.0-preview(transitive)
- Removedbotbuilder-stdlib@4.22.0-internal(transitive)
- Removedbotframework-connector@4.22.0(transitive)
- Removedbotframework-schema@4.22.0(transitive)
Updatedbotbuilder-dialogs-adaptive-runtime-core@4.23.0-dev.preview.20240126