@cs-chatbots/router-masterbot-tools
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "@cs-chatbots/router-masterbot-tools", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,5 +23,6 @@ 'use strict'; | ||
if (req.data.sharedContext) { | ||
const { sharedContext } = req.data; | ||
req.sharedContext = sharedContext; | ||
res.setState({ sharedContext }); | ||
req.sharedContext = req.data.sharedContext; | ||
res.setState({ sharedContext: req.sharedContext }); | ||
} else { | ||
req.sharedContext = req.state.sharedContext || { }; | ||
} | ||
@@ -38,3 +39,4 @@ } | ||
const sharedContext = { | ||
...(res.newState.sharedContext || {}), | ||
...req.sharedContext, | ||
...(res.newState.sharedContext || { }), | ||
...data | ||
@@ -41,0 +43,0 @@ }; |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1316630
2746