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) 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', [