Skip to content
prod e051e98
Browse

Security package update

Execute from: Vendor updates playbook for vendor-owned packages; this runbook is the security-audit fix card.

composer audit or npm audit reports a vulnerability you intend to fix now.

👤 Create a Hostinger (or host) backup in hPanel before local changes.

Terminal window
cp composer.lock composer.lock.backup
git checkout develop && git pull
git checkout -b security-update/<package>-$(date +%Y%m%d)
composer update <vendor/package> --with-dependencies
# npm: cp package-lock.json package-lock.json.backup && npm audit fix
Terminal window
php artisan list > /dev/null && echo OK boots
php artisan route:list > /dev/null && echo OK routes
php artisan config:cache > /dev/null && echo OK config
php artisan view:cache > /dev/null && echo OK views
composer dump-autoload > /dev/null && echo OK autoload
npm run build 2>/dev/null || true

If any fails → git checkout develop && git branch -D security-update/... and restore lock file.

Terminal window
git checkout develop && git merge security-update/<branch>
git push origin develop
# Then follow code-test-ship runbook: staging → production

Document vendor-owned packages in _CUSTOMIZATIONS.md — WF4 vendor merge may conflict.

Any automated check fails · manual smoke test fails · Friday after 3 PM · production backup not confirmed.