Add support to download SVG locally

This commit is contained in:
Jeremy Benoist
2022-09-27 15:39:39 +02:00
parent 3340262707
commit dc28d7ea0f
5 changed files with 344 additions and 6 deletions

51
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "0d0c51bee0ced9698321d0fd2ad33aca",
"content-hash": "5aec7c6af1a3c05510db2e1243da8db5",
"packages": [
{
"name": "babdev/pagerfanta-bundle",
@ -2060,6 +2060,51 @@
],
"time": "2022-06-18T20:57:19+00:00"
},
{
"name": "enshrined/svg-sanitize",
"version": "0.15.4",
"source": {
"type": "git",
"url": "https://github.com/darylldoyle/svg-sanitizer.git",
"reference": "e50b83a2f1f296ca61394fe88fbfe3e896a84cf4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/darylldoyle/svg-sanitizer/zipball/e50b83a2f1f296ca61394fe88fbfe3e896a84cf4",
"reference": "e50b83a2f1f296ca61394fe88fbfe3e896a84cf4",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-libxml": "*",
"php": "^7.0 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "^6.5 || ^8.5"
},
"type": "library",
"autoload": {
"psr-4": {
"enshrined\\svgSanitize\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Daryll Doyle",
"email": "daryll@enshrined.co.uk"
}
],
"description": "An SVG sanitizer for PHP",
"support": {
"issues": "https://github.com/darylldoyle/svg-sanitizer/issues",
"source": "https://github.com/darylldoyle/svg-sanitizer/tree/0.15.4"
},
"time": "2022-02-21T09:13:59+00:00"
},
{
"name": "fig/link-util",
"version": "1.1.2",
@ -12997,7 +13042,6 @@
"prefer-lowest": false,
"platform": {
"php": ">=7.4",
"composer": "< 2.3",
"ext-ctype": "*",
"ext-curl": "*",
"ext-dom": "*",
@ -13013,7 +13057,8 @@
"ext-simplexml": "*",
"ext-tidy": "*",
"ext-tokenizer": "*",
"ext-xml": "*"
"ext-xml": "*",
"composer": "< 2.3"
},
"platform-dev": [],
"platform-overrides": {