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

behave-graph

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

behave-graph - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

dist/node-spec.json

8

dist/examples/exec-graph/index.js

@@ -965,13 +965,17 @@ import * as fs from 'fs/promises';

node.inputSockets.forEach((socket) => {
if (socket.valueTypeName === 'flow')
return;
const valueType = graphRegistry.values.valueTypeNameToValueType.get(socket.valueTypeName);
// check to ensure all value types are supported.
if (valueType === undefined) {
errorList.push(`node '${node.typeName}' has on input socket '${socket.name}' an unregistered value type ${socket.valueTypeName}'`);
errorList.push(`node '${node.typeName}' has on input socket '${socket.name}' an unregistered value type '${socket.valueTypeName}'`);
}
});
node.outputSockets.forEach((socket) => {
if (socket.valueTypeName === 'flow')
return;
const valueType = graphRegistry.values.valueTypeNameToValueType.get(socket.valueTypeName);
// check to ensure all value types are supported.
if (valueType === undefined) {
errorList.push(`node '${node.typeName}' has on output socket '${socket.name}' an unregistered value type ${socket.valueTypeName}'`);
errorList.push(`node '${node.typeName}' has on output socket '${socket.name}' an unregistered value type '${socket.valueTypeName}'`);
}

@@ -978,0 +982,0 @@ });

@@ -510,13 +510,17 @@ import * as fs from 'fs/promises';

node.inputSockets.forEach((socket) => {
if (socket.valueTypeName === 'flow')
return;
const valueType = graphRegistry.values.valueTypeNameToValueType.get(socket.valueTypeName);
// check to ensure all value types are supported.
if (valueType === undefined) {
errorList.push(`node '${node.typeName}' has on input socket '${socket.name}' an unregistered value type ${socket.valueTypeName}'`);
errorList.push(`node '${node.typeName}' has on input socket '${socket.name}' an unregistered value type '${socket.valueTypeName}'`);
}
});
node.outputSockets.forEach((socket) => {
if (socket.valueTypeName === 'flow')
return;
const valueType = graphRegistry.values.valueTypeNameToValueType.get(socket.valueTypeName);
// check to ensure all value types are supported.
if (valueType === undefined) {
errorList.push(`node '${node.typeName}' has on output socket '${socket.name}' an unregistered value type ${socket.valueTypeName}'`);
errorList.push(`node '${node.typeName}' has on output socket '${socket.name}' an unregistered value type '${socket.valueTypeName}'`);
}

@@ -523,0 +527,0 @@ });

@@ -1014,13 +1014,17 @@ class Debug {

node.inputSockets.forEach((socket) => {
if (socket.valueTypeName === 'flow')
return;
const valueType = graphRegistry.values.valueTypeNameToValueType.get(socket.valueTypeName);
// check to ensure all value types are supported.
if (valueType === undefined) {
errorList.push(`node '${node.typeName}' has on input socket '${socket.name}' an unregistered value type ${socket.valueTypeName}'`);
errorList.push(`node '${node.typeName}' has on input socket '${socket.name}' an unregistered value type '${socket.valueTypeName}'`);
}
});
node.outputSockets.forEach((socket) => {
if (socket.valueTypeName === 'flow')
return;
const valueType = graphRegistry.values.valueTypeNameToValueType.get(socket.valueTypeName);
// check to ensure all value types are supported.
if (valueType === undefined) {
errorList.push(`node '${node.typeName}' has on output socket '${socket.name}' an unregistered value type ${socket.valueTypeName}'`);
errorList.push(`node '${node.typeName}' has on output socket '${socket.name}' an unregistered value type '${socket.valueTypeName}'`);
}

@@ -1027,0 +1031,0 @@ });

{
"name": "behave-graph",
"version": "0.0.9",
"version": "0.0.10",
"description": "Simple, extensible behavior graph engine",

@@ -58,4 +58,4 @@ "type": "module",

"test": "jest src",
"prepublishOnly": "npm run export-node-spec node-spec.json"
"prepublishOnly": "npm run export-node-spec dist/node-spec.json"
}
}
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