From a9d2068d70c61c09910599a37bb8d5e14ead2ffc Mon Sep 17 00:00:00 2001 From: Kar Rui Lau Date: Tue, 17 Nov 2020 21:38:22 +0800 Subject: [PATCH] fix: add minimal polyfill for ie11 in decryption worker --- src/public/modules/forms/helpers/decryption.worker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/public/modules/forms/helpers/decryption.worker.js b/src/public/modules/forms/helpers/decryption.worker.js index ddfdb9bb55..546f059493 100644 --- a/src/public/modules/forms/helpers/decryption.worker.js +++ b/src/public/modules/forms/helpers/decryption.worker.js @@ -6,7 +6,8 @@ const { } = require('../../../../shared/util/verification') const JSZip = require('jszip') const { decode: decodeBase64 } = require('@stablelib/base64') -require('regenerator-runtime') +require('core-js/stable/promise') +require('regenerator-runtime/runtime') let formsgSdk