Update Composer and npm dependencies to latest

Composer: ~40 Symfony 7.4.x packages patched to 7.4.17, plus four
majors - doctrine/dbal 3->4, phpdocumentor/reflection-docblock 5->6,
symfony/mercure-bundle 0.3->0.5, symfony/monolog-bundle 3->4. Removed
two doctrine.yaml keys (use_savepoints, report_fields_where_declared)
that DBAL 4 deprecated in favor of fixed defaults.

npm: @symfony/webpack-encore 4->6, which required bumping its peers
webpack-cli 5->6 and sass-loader 14->16 together, plus babel-loader
9->10. Fixes the one high-severity audit finding (RCE in
serialize-javascript, via the old css-minimizer-webpack-plugin). One
moderate finding remains in webpack-notifier's dev-only notification
chain - audit's suggested fix would downgrade it, so left alone; it's
build tooling only, never shipped to users.

Verified: full test suite green, lint:container clean, both `encore
dev` and `npm run build` compile without errors, and the production
CSS output was inspected byte-for-byte to confirm the new SVG-minifier
warnings (on Bootstrap's pre-encoded icon data-URIs) don't corrupt
anything.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Frank
2026-08-28 21:02:08 +02:00
co-authored by Claude Sonnet 5
parent 5dc01a358a
commit cafa60b0f2
5 changed files with 1816 additions and 4574 deletions
+4 -4
View File
@@ -7,12 +7,12 @@
"php": ">=8.2", "php": ">=8.2",
"ext-ctype": "*", "ext-ctype": "*",
"ext-iconv": "*", "ext-iconv": "*",
"doctrine/dbal": "^3.10.5", "doctrine/dbal": "^4.4.4",
"doctrine/doctrine-bundle": "^2.18.3", "doctrine/doctrine-bundle": "^2.18.3",
"doctrine/doctrine-migrations-bundle": "^3.7", "doctrine/doctrine-migrations-bundle": "^3.7",
"doctrine/orm": "^3.6.7", "doctrine/orm": "^3.6.7",
"karser/karser-recaptcha3-bundle": "^0.3.0", "karser/karser-recaptcha3-bundle": "^0.3.0",
"phpdocumentor/reflection-docblock": "^5.6.7", "phpdocumentor/reflection-docblock": "^6.0.3",
"phpstan/phpdoc-parser": "^2.3.2", "phpstan/phpdoc-parser": "^2.3.2",
"symfony/asset": "7.4.*", "symfony/asset": "7.4.*",
"symfony/asset-mapper": "7.4.*", "symfony/asset-mapper": "7.4.*",
@@ -27,9 +27,9 @@
"symfony/intl": "7.4.*", "symfony/intl": "7.4.*",
"symfony/mailer": "7.4.*", "symfony/mailer": "7.4.*",
"symfony/mailgun-mailer": "7.4.*", "symfony/mailgun-mailer": "7.4.*",
"symfony/mercure-bundle": "^0.3.9", "symfony/mercure-bundle": "^0.5.0",
"symfony/mime": "7.4.*", "symfony/mime": "7.4.*",
"symfony/monolog-bundle": "^3.11.2", "symfony/monolog-bundle": "^4.0.2",
"symfony/notifier": "7.4.*", "symfony/notifier": "7.4.*",
"symfony/process": "7.4.*", "symfony/process": "7.4.*",
"symfony/property-access": "7.4.*", "symfony/property-access": "7.4.*",
Generated
+364 -360
View File
File diff suppressed because it is too large Load Diff
-2
View File
@@ -15,11 +15,9 @@ doctrine:
#server_version: '16' #server_version: '16'
profiling_collect_backtrace: '%kernel.debug%' profiling_collect_backtrace: '%kernel.debug%'
use_savepoints: true
orm: orm:
auto_generate_proxy_classes: true auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true enable_lazy_ghost_objects: true
report_fields_where_declared: true
validate_xml_mapping: true validate_xml_mapping: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: true auto_mapping: true
+1444 -4204
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -12,16 +12,16 @@
"devDependencies": { "devDependencies": {
"@babel/core": "^7.25.0", "@babel/core": "^7.25.0",
"@babel/preset-env": "^7.25.0", "@babel/preset-env": "^7.25.0",
"@symfony/webpack-encore": "^4.6.1", "@symfony/webpack-encore": "^6.0.0",
"babel-loader": "^9.1.3", "babel-loader": "^10.1.1",
"core-js": "^3.37.1", "core-js": "^3.37.1",
"css-loader": "^7.1.2", "css-loader": "^7.1.2",
"mini-css-extract-plugin": "^2.9.2", "mini-css-extract-plugin": "^2.9.2",
"regenerator-runtime": "^0.14.1", "regenerator-runtime": "^0.14.1",
"sass": "^1.101.0", "sass": "^1.101.0",
"sass-loader": "^14.2.1", "sass-loader": "^16.0.1",
"webpack": "^5.95.0", "webpack": "^5.95.0",
"webpack-cli": "^5.1.4", "webpack-cli": "^6.0.0",
"webpack-notifier": "^1.15.0" "webpack-notifier": "^1.15.0"
}, },
"dependencies": { "dependencies": {