Update intervention/image package
Also fix a unit test, the image package had changed how it loads images so my test for is a file upload an image was failing
This commit is contained in:
parent
35c54d05c1
commit
5fa788b362
4 changed files with 29 additions and 17 deletions
|
@ -149,7 +149,7 @@ class MicropubMediaController extends Controller
|
|||
try {
|
||||
$image = $manager->read($request->file('file'));
|
||||
$width = $image->width();
|
||||
} catch (DecoderException) {
|
||||
} catch (Exception) {
|
||||
// not an image
|
||||
$width = null;
|
||||
}
|
||||
|
|
40
composer.lock
generated
40
composer.lock
generated
|
@ -1644,16 +1644,16 @@
|
|||
},
|
||||
{
|
||||
"name": "intervention/gif",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Intervention/gif.git",
|
||||
"reference": "521010e0cf1f5cde9df54b8adcd7496ab5f1504f"
|
||||
"reference": "3d4fa6e5eed87f344ada9c0beb410d68e9f274ae"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Intervention/gif/zipball/521010e0cf1f5cde9df54b8adcd7496ab5f1504f",
|
||||
"reference": "521010e0cf1f5cde9df54b8adcd7496ab5f1504f",
|
||||
"url": "https://api.github.com/repos/Intervention/gif/zipball/3d4fa6e5eed87f344ada9c0beb410d68e9f274ae",
|
||||
"reference": "3d4fa6e5eed87f344ada9c0beb410d68e9f274ae",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1661,7 +1661,8 @@
|
|||
},
|
||||
"require-dev": {
|
||||
"phpstan/phpstan": "^1",
|
||||
"phpunit/phpunit": "^9"
|
||||
"phpunit/phpunit": "^9",
|
||||
"squizlabs/php_codesniffer": "^3.8"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
|
@ -1690,33 +1691,44 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Intervention/gif/issues",
|
||||
"source": "https://github.com/Intervention/gif/tree/4.0.0"
|
||||
"source": "https://github.com/Intervention/gif/tree/4.0.1"
|
||||
},
|
||||
"time": "2024-01-06T16:35:57+00:00"
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://paypal.me/interventionio",
|
||||
"type": "custom"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/Intervention",
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2024-01-27T08:01:45+00:00"
|
||||
},
|
||||
{
|
||||
"name": "intervention/image",
|
||||
"version": "3.3.1",
|
||||
"version": "3.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Intervention/image.git",
|
||||
"reference": "fd09f59b09b3f1ee9ad90a893230781f03d1e33d"
|
||||
"reference": "fe1b0e2e64157133322974c28b44c25c2770a0c5"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Intervention/image/zipball/fd09f59b09b3f1ee9ad90a893230781f03d1e33d",
|
||||
"reference": "fd09f59b09b3f1ee9ad90a893230781f03d1e33d",
|
||||
"url": "https://api.github.com/repos/Intervention/image/zipball/fe1b0e2e64157133322974c28b44c25c2770a0c5",
|
||||
"reference": "fe1b0e2e64157133322974c28b44c25c2770a0c5",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-mbstring": "*",
|
||||
"intervention/gif": "^4",
|
||||
"intervention/gif": "^4.0.1",
|
||||
"php": "^8.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"mockery/mockery": "^1.6",
|
||||
"phpstan/phpstan": "^1",
|
||||
"phpunit/phpunit": "^9",
|
||||
"slevomat/coding-standard": "~8.0",
|
||||
"squizlabs/php_codesniffer": "^3.8"
|
||||
},
|
||||
"suggest": {
|
||||
|
@ -1751,7 +1763,7 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Intervention/image/issues",
|
||||
"source": "https://github.com/Intervention/image/tree/3.3.1"
|
||||
"source": "https://github.com/Intervention/image/tree/3.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -1763,7 +1775,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2024-01-22T17:56:18+00:00"
|
||||
"time": "2024-02-14T15:11:21+00:00"
|
||||
},
|
||||
{
|
||||
"name": "jonnybarnes/indieweb",
|
||||
|
|
2
public/vendor/horizon/app.js
vendored
2
public/vendor/horizon/app.js
vendored
File diff suppressed because one or more lines are too long
2
public/vendor/horizon/mix-manifest.json
vendored
2
public/vendor/horizon/mix-manifest.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"/app.js": "/app.js?id=79bae40dcb18de9ca1b5d0008c577471",
|
||||
"/app.js": "/app.js?id=b4f3f08e60211bd6948ec35e5e9de9a1",
|
||||
"/app-dark.css": "/app-dark.css?id=15c72df05e2b1147fa3e4b0670cfb435",
|
||||
"/app.css": "/app.css?id=4d6a1a7fe095eedc2cb2a4ce822ea8a5",
|
||||
"/img/favicon.png": "/img/favicon.png?id=1542bfe8a0010dcbee710da13cce367f",
|
||||
|
|
Loading…
Add table
Reference in a new issue