diff --git a/composer.json b/composer.json index c516645610e213dfbd234a6adc137ee1e4feb492..d02806bc3db87d23a4c541a68f841b7ca26c16de 100644 --- a/composer.json +++ b/composer.json @@ -167,7 +167,7 @@ "drupal/social_media": "1.8", "drupal/social_media_links": "2.6", "drupal/superfish": "1.2", - "drupal/svg_image": "1.13", + "drupal/svg_image": "1.14", "drupal/token": "1.5", "drupal/twig_tweak": "2.5", "drupal/twitter_block": "3.0-alpha0", diff --git a/composer.lock b/composer.lock index d59cdf15b657c01536b0e0e6769fda7eecd07e74..cf0e283fd2db8dcfebc772c5dd8e64ed4bfe7ee4 100644 --- a/composer.lock +++ b/composer.lock @@ -7586,30 +7586,27 @@ }, { "name": "drupal/svg_image", - "version": "1.13.0", + "version": "1.14.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/svg_image.git", - "reference": "8.x-1.13" + "reference": "8.x-1.14" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/svg_image-8.x-1.13.zip", - "reference": "8.x-1.13", - "shasum": "3b60ab47802bfaa046da54d7179e47889b41a845" + "url": "https://ftp.drupal.org/files/projects/svg_image-8.x-1.14.zip", + "reference": "8.x-1.14", + "shasum": "0a6ca8104995a8cf4a1fff3e9e04e1fecf734b11" }, "require": { - "drupal/core": "*", + "drupal/core": "^8 || ^9", "enshrined/svg-sanitize": ">=0.9 <1.0" }, "type": "drupal-module", "extra": { - "branch-alias": { - "dev-1.x": "1.x-dev" - }, "drupal": { - "version": "8.x-1.13", - "datestamp": "1585379082", + "version": "8.x-1.14", + "datestamp": "1591251834", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index c3fa289926ec0df88a181906014f1ed1c5d006e9..398f19841bfcbd8fb50c0cd182262edfa6b4eeba 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -7820,31 +7820,28 @@ }, { "name": "drupal/svg_image", - "version": "1.13.0", - "version_normalized": "1.13.0.0", + "version": "1.14.0", + "version_normalized": "1.14.0.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/svg_image.git", - "reference": "8.x-1.13" + "reference": "8.x-1.14" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/svg_image-8.x-1.13.zip", - "reference": "8.x-1.13", - "shasum": "3b60ab47802bfaa046da54d7179e47889b41a845" + "url": "https://ftp.drupal.org/files/projects/svg_image-8.x-1.14.zip", + "reference": "8.x-1.14", + "shasum": "0a6ca8104995a8cf4a1fff3e9e04e1fecf734b11" }, "require": { - "drupal/core": "*", + "drupal/core": "^8 || ^9", "enshrined/svg-sanitize": ">=0.9 <1.0" }, "type": "drupal-module", "extra": { - "branch-alias": { - "dev-1.x": "1.x-dev" - }, "drupal": { - "version": "8.x-1.13", - "datestamp": "1585379082", + "version": "8.x-1.14", + "datestamp": "1591251834", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" diff --git a/web/modules/svg_image/README.md b/web/modules/svg_image/README.md index 6578bc88d950255289c910e6fd86dd44d4c52aa5..468f54c81355aacaf68235728677dcf7ca625f8a 100644 --- a/web/modules/svg_image/README.md +++ b/web/modules/svg_image/README.md @@ -33,9 +33,8 @@ Module was tested on Drupal versions: * 8.5.x ## INSTALLATION -Install as you would normally install a contributed Drupal module. See: -https://drupal.org/documentation/install/modules-themes/modules-7 for further -information. +Install as you would normally install a contributed Drupal module. Visit: +https://www.drupal.org/docs/extending-drupal/installing-drupal-modules for further information. ## CONFIGURATION All configuration is available via Image field settings. diff --git a/web/modules/svg_image/modules/svg_image_responsive/src/Plugin/Field/FieldFormatter/SvgResponsiveImageFormatter.php b/web/modules/svg_image/modules/svg_image_responsive/src/Plugin/Field/FieldFormatter/SvgResponsiveImageFormatter.php old mode 100644 new mode 100755 diff --git a/web/modules/svg_image/modules/svg_image_responsive/svg_image_responsive.info.yml b/web/modules/svg_image/modules/svg_image_responsive/svg_image_responsive.info.yml index 98dad562c96659609ec6a8e5c35c28d2fb6a0a1c..b3ddc7ffc866ae92bfd7292b159dc21ffda846f8 100644 --- a/web/modules/svg_image/modules/svg_image_responsive/svg_image_responsive.info.yml +++ b/web/modules/svg_image/modules/svg_image_responsive/svg_image_responsive.info.yml @@ -1,6 +1,7 @@ name: SVG Image Responsive description: Overrides the responsive image formatter to support SVG files. core: 8.x +core_version_requirement: ^8 || ^9 type: module package: Media @@ -8,7 +9,7 @@ dependencies: - svg_image:svg_image - drupal:responsive_image -# Information added by Drupal.org packaging script on 2020-03-28 -version: '8.x-1.13' +# Information added by Drupal.org packaging script on 2020-06-04 +version: '8.x-1.14' project: 'svg_image' -datestamp: 1585379084 +datestamp: 1591251835 diff --git a/web/modules/svg_image/src/Plugin/Field/FieldFormatter/SvgImageFormatter.php b/web/modules/svg_image/src/Plugin/Field/FieldFormatter/SvgImageFormatter.php old mode 100644 new mode 100755 diff --git a/web/modules/svg_image/src/Plugin/Field/FieldWidget/SvgImageWidget.php b/web/modules/svg_image/src/Plugin/Field/FieldWidget/SvgImageWidget.php old mode 100644 new mode 100755 diff --git a/web/modules/svg_image/svg_image.info.yml b/web/modules/svg_image/svg_image.info.yml index a1a1b84e94e87868a8c978c107473b978d18fa63..1ab3af2a09389fce8b7f1b789e0c42327973c0d9 100644 --- a/web/modules/svg_image/svg_image.info.yml +++ b/web/modules/svg_image/svg_image.info.yml @@ -3,11 +3,12 @@ description: Overrides the standard image formatter and widget to support SVG fi core: 8.x type: module package: Media +core_version_requirement: ^8 || ^9 dependencies: - drupal:image -# Information added by Drupal.org packaging script on 2020-03-28 -version: '8.x-1.13' +# Information added by Drupal.org packaging script on 2020-06-04 +version: '8.x-1.14' project: 'svg_image' -datestamp: 1585379084 +datestamp: 1591251835 diff --git a/web/modules/svg_image/svg_image.install b/web/modules/svg_image/svg_image.install index 8551bf0d3e54b7d6f2b7a70963a061a8672f5379..af4369a592a7fbc461ab5ce6476f6bb9cf675ee0 100644 --- a/web/modules/svg_image/svg_image.install +++ b/web/modules/svg_image/svg_image.install @@ -68,6 +68,6 @@ function svg_image_uninstall() { 'SVG was removed from the allowed extensions list in fields: @field_list.', ['@field_list' => implode(', ', $changedFields)] ); - drupal_set_message($message, 'warning'); + \Drupal::messenger()->addWarning($message); } }