MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / isNodeOutdated

Function isNodeOutdated

packages/agentflow/src/core/utils/nodeVersionUtils.ts:5–8  ·  view source on GitHub ↗
(nodeData: NodeData, componentNode: NodeDataSchema)

Source from the content-addressed store, hash-verified

3import { initNode } from './nodeFactory'
4
5export function isNodeOutdated(nodeData: NodeData, componentNode: NodeDataSchema): boolean {
6 if (componentNode.version == null || nodeData.version == null) return false
7 return componentNode.version > nodeData.version
8}
9
10export function getNodeVersionWarning(nodeData: NodeData, componentNode: NodeDataSchema): string | null {
11 if (nodeData.version == null && componentNode.version != null) {

Callers 2

AgentflowStateProviderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected