n8n-workflow
Advanced tools
Comparing version 0.37.0 to 0.38.0
@@ -264,2 +264,3 @@ import { Workflow } from './Workflow'; | ||
alwaysOutputData?: boolean; | ||
executeOnce?: boolean; | ||
continueOnFail?: boolean; | ||
@@ -266,0 +267,0 @@ parameters: INodeParameters; |
@@ -551,2 +551,12 @@ "use strict"; | ||
} | ||
if (node.executeOnce === true) { | ||
connectionInputData = connectionInputData.slice(0, 1); | ||
const newInputData = {}; | ||
for (const inputName of Object.keys(inputData)) { | ||
newInputData[inputName] = inputData[inputName].map(input => { | ||
return input && input.slice(0, 1); | ||
}); | ||
} | ||
inputData = newInputData; | ||
} | ||
if (nodeType.executeSingle) { | ||
@@ -553,0 +563,0 @@ const returnPromises = []; |
{ | ||
"name": "n8n-workflow", | ||
"version": "0.37.0", | ||
"version": "0.38.0", | ||
"description": "Workflow base code of n8n", | ||
@@ -28,8 +28,8 @@ "license": "SEE LICENSE IN LICENSE.md", | ||
"devDependencies": { | ||
"@types/express": "^4.16.1", | ||
"@types/jest": "^24.0.18", | ||
"@types/express": "^4.17.6", | ||
"@types/jest": "^25.2.1", | ||
"@types/lodash.get": "^4.4.6", | ||
"@types/node": "^10.10.1", | ||
"@types/node": "^14.0.27", | ||
"jest": "^24.9.0", | ||
"ts-jest": "^24.0.2", | ||
"ts-jest": "^25.4.0", | ||
"tslint": "^6.1.2", | ||
@@ -36,0 +36,0 @@ "typescript": "~3.7.4" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
417111
6638