From 95f6a35747869b98630588ed74cfd4d56734491a Mon Sep 17 00:00:00 2001 From: Tam Date: Thu, 27 Jun 2024 11:15:16 +0100 Subject: [PATCH 1/2] Remove Polyfill.io --- src/fields/MapField.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/fields/MapField.php b/src/fields/MapField.php index 009bcfb..0461728 100644 --- a/src/fields/MapField.php +++ b/src/fields/MapField.php @@ -474,7 +474,6 @@ private function _renderMap (Map $value, bool $isSettings = false): string $containerId = 'map-' . $this->id . '-container'; $vueContainerId = $view->namespaceInputId($containerId); - $view->registerJsFile('https://polyfill.io/v3/polyfill.min.js?flags=gated&features=default%2CIntersectionObserver%2CIntersectionObserverEntry'); $view->registerAssetBundle(MapAsset::class); $view->registerJs('new Vue({ el: \'#' . $vueContainerId . '\' });'); $view->registerTranslations('simplemap', [ From 87efd6cc25f16f18b4615ef187a410d50f5a46f6 Mon Sep 17 00:00:00 2001 From: Tam Date: Thu, 27 Jun 2024 11:19:33 +0100 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa3b9a9..d791309 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 4.0.8 - 2024-06-27 +### Security +- Removed Polyfill.io (https://sansec.io/research/polyfill-supply-chain-attack) + ## 4.0.7 - 2024-06-06 ### Fixed - Fix issue when using count query on location search results (Fixes #391)