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

n8n-workflow

Package Overview
Dependencies
Maintainers
1
Versions
286
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-workflow - npm Package Compare versions

Comparing version 0.70.0 to 0.71.0

5

dist/src/Workflow.d.ts

@@ -26,3 +26,6 @@ import { Expression, IConnections, IGetExecuteTriggerFunctions, INode, INodeExecuteFunctions, INodeExecutionData, INodeParameters, INodes, INodeType, INodeTypes, IPollFunctions, IRunExecutionData, ITaskDataConnections, ITriggerResponse, IWebhookData, IWebhookResponseData, IWorfklowIssues, IWorkflowExecuteAdditionalData, IWorkflowSettings, NodeParameterValue, WebhookSetupMethodNames, WorkflowActivateMode, WorkflowExecuteMode } from '.';

checkIfWorkflowCanBeActivated(ignoreNodeTypes?: string[]): boolean;
checkReadyForExecution(): IWorfklowIssues | null;
checkReadyForExecution(inputData: {
startNode?: string;
destinationNode?: string;
}): IWorfklowIssues | null;
getStaticData(type: string, node?: INode): IDataObject;

@@ -29,0 +32,0 @@ getTriggerNodes(): INode[];

13

dist/src/Workflow.js

@@ -91,3 +91,3 @@ "use strict";

}
checkReadyForExecution() {
checkReadyForExecution(inputData) {
let node;

@@ -97,3 +97,12 @@ let nodeType;

const workflowIssues = {};
for (const nodeName of Object.keys(this.nodes)) {
let checkNodes = [];
if (inputData.destinationNode) {
checkNodes = this.getParentNodes(inputData.destinationNode);
checkNodes.push(inputData.destinationNode);
}
else if (inputData.startNode) {
checkNodes = this.getChildNodes(inputData.startNode);
checkNodes.push(inputData.startNode);
}
for (const nodeName of checkNodes) {
nodeIssues = null;

@@ -100,0 +109,0 @@ node = this.nodes[nodeName];

{
"name": "n8n-workflow",
"version": "0.70.0",
"version": "0.71.0",
"description": "Workflow base code of n8n",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md",

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