🔀 Merge master

This commit is contained in:
Iván Ovejero
2021-12-06 09:41:15 +01:00
32 changed files with 1345 additions and 286 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "n8n-workflow",
"version": "0.78.0",
"version": "0.79.0",
"description": "Workflow base code of n8n",
"license": "SEE LICENSE IN LICENSE.md",
"homepage": "https://n8n.io",

View File

@@ -114,11 +114,11 @@ export class Expression {
// @ts-ignore
data.document = {};
// @ts-ignore
data.constructor = {};
// Execute the expression
try {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call
// tmpl.tmpl('{{this.Promise=global.Promise;global=this;}}', data);
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call
const returnValue = tmpl.tmpl(parameterValue, data);
if (typeof returnValue === 'function') {

View File

@@ -57,7 +57,7 @@ export function getSpecialNodeParameters(nodeType: INodeType): INodeProperties[]
multipleValueButtonText: 'Add Poll Time',
},
default: {},
description: 'Time at which polling should occur.',
description: 'Time at which polling should occur',
placeholder: 'Add Poll Time',
options: [
{
@@ -115,7 +115,7 @@ export function getSpecialNodeParameters(nodeType: INodeType): INodeProperties[]
},
},
default: 14,
description: 'The hour of the day to trigger (24h format).',
description: 'The hour of the day to trigger (24h format)',
},
{
displayName: 'Minute',
@@ -131,7 +131,7 @@ export function getSpecialNodeParameters(nodeType: INodeType): INodeProperties[]
},
},
default: 0,
description: 'The minute of the day to trigger.',
description: 'The minute of the day to trigger',
},
{
displayName: 'Day of Month',
@@ -147,7 +147,7 @@ export function getSpecialNodeParameters(nodeType: INodeType): INodeProperties[]
maxValue: 31,
},
default: 1,
description: 'The day of the month to trigger.',
description: 'The day of the month to trigger',
},
{
displayName: 'Weekday',
@@ -189,7 +189,7 @@ export function getSpecialNodeParameters(nodeType: INodeType): INodeProperties[]
},
],
default: '1',
description: 'The weekday to trigger.',
description: 'The weekday to trigger',
},
{
displayName: 'Cron Expression',
@@ -218,7 +218,7 @@ export function getSpecialNodeParameters(nodeType: INodeType): INodeProperties[]
},
},
default: 2,
description: 'All how many X minutes/hours it should trigger.',
description: 'All how many X minutes/hours it should trigger',
},
{
displayName: 'Unit',
@@ -240,7 +240,7 @@ export function getSpecialNodeParameters(nodeType: INodeType): INodeProperties[]
},
],
default: 'hours',
description: 'If it should trigger all X minutes or hours.',
description: 'If it should trigger all X minutes or hours',
},
],
},