(nodeData: NodeData, componentNode: NodeDataSchema)
| 3 | import { initNode } from './nodeFactory' |
| 4 | |
| 5 | export 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 | |
| 10 | export function getNodeVersionWarning(nodeData: NodeData, componentNode: NodeDataSchema): string | null { |
| 11 | if (nodeData.version == null && componentNode.version != null) { |
no outgoing calls
no test coverage detected