From b61659f73edddea5a8d02e1af92c89c279d9a883 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Wed, 24 Nov 2021 17:32:47 +0100 Subject: [PATCH] :bug: Temporary remove again security fix as it breaks other functionality --- packages/workflow/src/Expression.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/workflow/src/Expression.ts b/packages/workflow/src/Expression.ts index 964eb128ae..e955df4170 100644 --- a/packages/workflow/src/Expression.ts +++ b/packages/workflow/src/Expression.ts @@ -118,7 +118,7 @@ export class Expression { // 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); + // 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') {