From c90b9a4ff010b6024acfa00fd311b4ef461da896 Mon Sep 17 00:00:00 2001 From: Tobias Sorn Date: Wed, 23 Dec 2020 10:55:39 +0100 Subject: [PATCH] [FEATURE] manifestCreator: i18n section v22 changed to Array.from instead of spread operator. --- lib/processors/manifestCreator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/processors/manifestCreator.js b/lib/processors/manifestCreator.js index 68bc526fe..411336dca 100644 --- a/lib/processors/manifestCreator.js +++ b/lib/processors/manifestCreator.js @@ -606,7 +606,7 @@ async function createManifest(libraryResource, libBundle, descriptorVersion, _in i18nToSupportedLocales.set(i18n, supportedLocales); } - const supportedLocalesArray = [...supportedLocales]; + const supportedLocalesArray = Array.from(supportedLocales); supportedLocalesArray.sort(); return { bundleUrl: i18n,