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

n8n-core

Package Overview
Dependencies
Maintainers
1
Versions
330
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-core - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

dist/test/Helpers.d.ts

2

dist/src/NodeExecuteFunctions.js

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

}
return n8n_workflow_1.NodeHelpers.getNodeWebhookUrl(baseUrl, workflow.id, node, path);
return n8n_workflow_1.NodeHelpers.getNodeWebhookUrl(baseUrl, workflow.id, node, path.toString());
}

@@ -123,0 +123,0 @@ exports.getNodeWebhookUrl = getNodeWebhookUrl;

@@ -8,3 +8,3 @@ import { IConnection, INode, INodeExecutionData, IRunData, IRunExecutionData, IWorkflowExecuteAdditionalData, WorkflowExecuteMode, Workflow } from 'n8n-workflow';

constructor(additionalData: IWorkflowExecuteAdditionalData, mode: WorkflowExecuteMode);
run(workflow: Workflow, startNodes?: INode[], destinationNode?: string): Promise<string>;
run(workflow: Workflow, startNode?: INode, destinationNode?: string): Promise<string>;
runPartialWorkflow(workflow: Workflow, runData: IRunData, startNodes: string[], destinationNode: string): Promise<string>;

@@ -11,0 +11,0 @@ executeHook(hookName: string, parameters: any[]): Promise<void>;

@@ -11,4 +11,7 @@ "use strict";

}
async run(workflow, startNodes, destinationNode) {
startNodes = startNodes || workflow.getStartNodes(destinationNode);
async run(workflow, startNode, destinationNode) {
startNode = startNode || workflow.getStartNode(destinationNode);
if (startNode === undefined) {
throw new Error('No node to start the workflow from could be found!');
}
let runNodeFilter = undefined;

@@ -19,6 +22,5 @@ if (destinationNode) {

}
const nodeExecutionStack = [];
startNodes.forEach((node) => {
nodeExecutionStack.push({
node,
const nodeExecutionStack = [
{
node: startNode,
data: {

@@ -33,4 +35,4 @@ main: [

},
});
});
}
];
const runExecutionData = {

@@ -368,3 +370,3 @@ startData: {

runExecutionData.resultData.lastNodeExecuted = executionData.node.name;
nodeSuccessData = await workflow.runNode(executionData.node, JSON.parse(JSON.stringify(executionData.data)), runExecutionData, runIndex, this.additionalData, _1.NodeExecuteFunctions, this.mode);
nodeSuccessData = await workflow.runNode(executionData.node, executionData.data, runExecutionData, runIndex, this.additionalData, _1.NodeExecuteFunctions, this.mode);
if (nodeSuccessData === null) {

@@ -394,3 +396,3 @@ continue executionLoop;

if (executionData.data.main[0] !== null) {
nodeSuccessData = [JSON.parse(JSON.stringify(executionData.data.main[0]))];
nodeSuccessData = [executionData.data.main[0]];
}

@@ -397,0 +399,0 @@ }

{
"name": "n8n-core",
"version": "0.6.0",
"version": "0.7.0",
"description": "Core functionality of n8n",

@@ -43,3 +43,3 @@ "license": "SEE LICENSE IN LICENSE.md",

"mmmagic": "^0.5.2",
"n8n-workflow": "^0.7.0",
"n8n-workflow": "^0.8.0",
"request-promise-native": "^1.0.7"

@@ -46,0 +46,0 @@ },

# n8n-core
![n8n.io - Workflow Automation](https://n8n.io/n8n-logo.png)
![n8n.io - Workflow Automation](https://raw.githubusercontent.com/n8n-io/n8n/master/docs/images/n8n-logo.png)

@@ -5,0 +5,0 @@ Core components for n8n

Sorry, the diff of this file is not supported yet

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