From ca531614601bf50d49698c468c0ca7a9ecd55a21 Mon Sep 17 00:00:00 2001 From: Tam Date: Thu, 27 Jun 2024 11:15:38 +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 dfd2f3a..6c266de 100644 --- a/src/fields/MapField.php +++ b/src/fields/MapField.php @@ -479,7 +479,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 d03bf99642ace498ccfce2b992a99c1fd88fdd49 Mon Sep 17 00:00:00 2001 From: Tam Date: Thu, 27 Jun 2024 11:19:13 +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 27194bc..236d4cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 5.0.1 - 2024-06-27 +### Security +- Removed Polyfill.io (https://sansec.io/research/polyfill-supply-chain-attack) + ## 5.0.0 - 2024-04-04 ### Fixed - Fix referred on Mapbox geo requests (Fixes #338, via @maxdmyers)