Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botbuilder-core

Package Overview
Dependencies
Maintainers
3
Versions
539
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botbuilder-core - npm Package Compare versions

Comparing version 4.22.0 to 4.23.0-dev.20240126

1

_ts3.4/lib/botState.d.ts

@@ -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.

9

lib/botState.js

@@ -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

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