mirror of
https://github.com/flarum/framework.git
synced 2025-01-22 15:53:16 +08:00
06e1d21331
Due to a commit by @fabpot in october, the mimetypes symfony class now re-orders the shortened mimetypes that are returned when looking up based on header mimetype. Our validator uses the first key, pops the prefix off and then matches against our hardcoded array. I've added a constraint to symfony/mime ^5.2.0 which ships with this change. This constraint is fully compatible with our current lineup. In addition I changed the hardcoded array to use the first entry from symfony mime types now `jpg` instead of `jpeg`.
129 lines
3.9 KiB
JSON
129 lines
3.9 KiB
JSON
{
|
|
"name": "flarum/core",
|
|
"description": "Delightfully simple forum software.",
|
|
"keywords": ["forum", "discussion"],
|
|
"homepage": "https://flarum.org/",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Franz Liedke",
|
|
"email": "franz@develophp.org"
|
|
},
|
|
{
|
|
"name": "Daniël Klabbers",
|
|
"email": "daniel@klabbers.email",
|
|
"homepage": "https://luceos.com"
|
|
},
|
|
{
|
|
"name": "David Sevilla Martin",
|
|
"email": "me+flarum@datitisev.me",
|
|
"homepage": "https://datitisev.me"
|
|
},
|
|
{
|
|
"name": "Clark Winkelmann",
|
|
"email": "clark.winkelmann@gmail.com",
|
|
"homepage": "https://clarkwinkelmann.com"
|
|
},
|
|
{
|
|
"name": "Matthew Kilgore",
|
|
"email": "matthew@kilgore.dev"
|
|
},
|
|
{
|
|
"name": "Alexander (Sasha) Skvortsov",
|
|
"email": "askvortsov@flarum.org"
|
|
}
|
|
],
|
|
"support": {
|
|
"issues": "https://github.com/flarum/core/issues",
|
|
"source": "https://github.com/flarum/core",
|
|
"docs": "https://flarum.org/docs/"
|
|
},
|
|
"require": {
|
|
"php": ">=7.2",
|
|
"axy/sourcemap": "^0.1.4",
|
|
"components/font-awesome": "^5.14.0",
|
|
"dflydev/fig-cookies": "^2.0.1",
|
|
"doctrine/dbal": "^2.7",
|
|
"franzl/whoops-middleware": "^0.4.0",
|
|
"illuminate/bus": "^6.0",
|
|
"illuminate/cache": "^6.0",
|
|
"illuminate/config": "^6.0",
|
|
"illuminate/container": "^6.0",
|
|
"illuminate/contracts": "^6.0",
|
|
"illuminate/database": "^6.0",
|
|
"illuminate/events": "^6.0",
|
|
"illuminate/filesystem": "^6.0",
|
|
"illuminate/hashing": "^6.0",
|
|
"illuminate/mail": "^6.0",
|
|
"illuminate/queue": "^6.0",
|
|
"illuminate/session": "^6.0",
|
|
"illuminate/support": "^6.0",
|
|
"illuminate/validation": "^6.0",
|
|
"illuminate/view": "^6.0",
|
|
"intervention/image": "^2.5.0",
|
|
"laminas/laminas-diactoros": "^1.8.4",
|
|
"laminas/laminas-httphandlerrunner": "^1.0",
|
|
"laminas/laminas-stratigility": "^3.0",
|
|
"league/flysystem": "^1.0.11",
|
|
"matthiasmullie/minify": "^1.3",
|
|
"middlewares/base-path": "^1.1",
|
|
"middlewares/base-path-router": "^0.2.1",
|
|
"middlewares/request-handler": "^1.2",
|
|
"monolog/monolog": "^1.16.0",
|
|
"nesbot/carbon": "^2.0",
|
|
"nikic/fast-route": "^0.6",
|
|
"psr/http-message": "^1.0",
|
|
"psr/http-server-handler": "^1.0",
|
|
"psr/http-server-middleware": "^1.0",
|
|
"s9e/text-formatter": "^2.3.6",
|
|
"symfony/config": "^4.3.4",
|
|
"symfony/console": "^4.3.4",
|
|
"symfony/event-dispatcher": "^4.3.4",
|
|
"symfony/mime": "^5.2.0",
|
|
"symfony/translation": "^4.3.4",
|
|
"symfony/yaml": "^4.3.4",
|
|
"tobscure/json-api": "^0.3.0",
|
|
"wikimedia/less.php": "^3.0"
|
|
},
|
|
"require-dev": {
|
|
"mockery/mockery": "^1.0",
|
|
"phpunit/phpunit": "^7.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Flarum\\": "src/"
|
|
},
|
|
"files": [
|
|
"src/helpers.php"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Flarum\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"config": {
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "0.1.x-dev"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"@test:unit",
|
|
"@test:integration"
|
|
],
|
|
"test:unit": "phpunit -c tests/phpunit.unit.xml",
|
|
"test:integration": "phpunit -c tests/phpunit.integration.xml",
|
|
"test:setup": "@php tests/integration/setup.php"
|
|
},
|
|
"scripts-descriptions": {
|
|
"test": "Runs all tests.",
|
|
"test:unit": "Runs all unit tests.",
|
|
"test:integration": "Runs all integration tests.",
|
|
"test:setup": "Sets up a database for use with integration tests. Execute this only once."
|
|
}
|
|
}
|