From 153831b33929d7b5e321dd475cb790044b085c43 Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Thu, 8 Oct 2020 14:57:56 -0400 Subject: [PATCH] Add some polyfills needed by D3 --- modules/id.js | 2 ++ package.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/modules/id.js b/modules/id.js index f12de28b2..f53265dfe 100644 --- a/modules/id.js +++ b/modules/id.js @@ -1,4 +1,6 @@ import 'browser-polyfills'; +import 'es6-symbol/implement'; +import 'regenerator-runtime/runtime'; import 'string.fromcodepoint/auto'; import 'abortcontroller-polyfill/dist/polyfill-patch-fetch'; diff --git a/package.json b/package.json index f2bb72cb5..249fc0d0f 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "alif-toolkit": "^1.2.9", "browser-polyfills": "~1.5.0", "diacritics": "1.3.0", + "es6-symbol": "^3.1.3", "fast-deep-equal": "~3.1.1", "fast-json-stable-stringify": "2.1.0", "lodash-es": "~4.17.15", @@ -61,6 +62,7 @@ "osm-auth": "1.1.0", "pannellum": "2.5.6", "rbush": "3.0.1", + "regenerator-runtime": "^0.13.7", "string.fromcodepoint": "1.0.0", "which-polygon": "2.2.0" },