AdminLTE 4.0.2 — a housekeeping patch: building from source is clean again.
📖 Documentation · 🎨 Live preview · 🚀 Migration from v3
🐛 Fixes
npm run productionworks from a source checkout again — the dev-only social preview script (scripts/social-preview.mjs, new in 4.0.1) tripped 9 ESLint errors during the lint stage and failed the build. The script is now fully lint-clean. (#6048, reported by @lfiorini)
🔒 Security
- Hardened the social preview script's tiny static file server against path traversal and error detail leakage (CodeQL alerts #87–#92). This script is dev-only and has never been part of the npm package — published builds were never affected.
📦 New here? The AdminLTE family
AdminLTE 4 is also available as official framework integrations: adminlte-vue (Vue 3 & Nuxt), adminlte-react (React & Next.js), adminlte-django, and adminlte-laravel.
Install
npm install admin-lte@4.0.2Or via CDN:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/admin-lte@4.0.2/dist/css/adminlte.min.css" />
<script src="https://cdn.jsdelivr.net/npm/admin-lte@4.0.2/dist/js/adminlte.min.js"></script>See CHANGELOG.md for the full notes.
Full Changelog: v4.0.1...v4.0.2
Full Changelog: v4.0.1...v4.0.2