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
284
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.29.0 to 0.30.0

2

dist/src/Interfaces.d.ts

@@ -438,3 +438,3 @@ import { Workflow } from './Workflow';

}
export declare type WebhookHttpMethod = 'GET' | 'POST';
export declare type WebhookHttpMethod = 'GET' | 'POST' | 'HEAD';
export interface IWebhookResponseData {

@@ -441,0 +441,0 @@ workflowData?: INodeExecutionData[][];

@@ -521,5 +521,2 @@ "use strict";

}
if (workflow.id === undefined) {
return [];
}
const nodeType = workflow.nodeTypes.getByName(node.type);

@@ -529,2 +526,3 @@ if (nodeType.description.webhooks === undefined) {

}
const workflowId = workflow.id || '__UNSAVED__';
const returnData = [];

@@ -534,3 +532,3 @@ for (const webhookDescription of nodeType.description.webhooks) {

if (nodeWebhookPath === undefined) {
console.error(`No webhook path could be found for node "${node.name}" in workflow "${workflow.id}".`);
console.error(`No webhook path could be found for node "${node.name}" in workflow "${workflowId}".`);
continue;

@@ -542,6 +540,6 @@ }

}
const path = getNodeWebhookPath(workflow.id, node, nodeWebhookPath);
const path = getNodeWebhookPath(workflowId, node, nodeWebhookPath);
const httpMethod = workflow.getSimpleParameterValue(node, webhookDescription['httpMethod'], 'GET');
if (httpMethod === undefined) {
console.error(`The webhook "${path}" for node "${node.name}" in workflow "${workflow.id}" could not be added because the httpMethod is not defined.`);
console.error(`The webhook "${path}" for node "${node.name}" in workflow "${workflowId}" could not be added because the httpMethod is not defined.`);
continue;

@@ -554,3 +552,3 @@ }

webhookDescription,
workflowId: workflow.id,
workflowId,
workflowExecuteAdditionalData: additionalData,

@@ -557,0 +555,0 @@ });

@@ -24,3 +24,3 @@ “Commons Clause” License Condition v1.0

Licensor: Jan Oberhauser
Licensor: n8n GmbH

@@ -27,0 +27,0 @@

{
"name": "n8n-workflow",
"version": "0.29.0",
"version": "0.30.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