chore: fix prettier formatting and npm audit vulnerabilities

Reformat admin/index.ts to satisfy prettier checks. Update package-lock.json
via npm audit fix to resolve 17 vulnerabilities in transitive dev dependencies
(webpack, babel, lodash, ws, semver, etc.).
This commit is contained in:
Bart van Bragt 2026-04-10 11:47:38 +02:00
parent 81e7b6502d
commit 4412583cd9
2 changed files with 1056 additions and 845 deletions

1885
js/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,12 +12,16 @@ class ReindexWarningWidget extends DashboardWidget {
} }
content() { content() {
return m(Alert, { return m(
Alert,
{
type: 'warning', type: 'warning',
dismissible: false, dismissible: false,
icon: 'fas fa-exclamation-triangle', icon: 'fas fa-exclamation-triangle',
title: app.translator.trans('blomstra-search.admin.reindex-required.title'), title: app.translator.trans('blomstra-search.admin.reindex-required.title'),
}, app.translator.trans('blomstra-search.admin.reindex-required.detail')); },
app.translator.trans('blomstra-search.admin.reindex-required.detail')
);
} }
} }