chore: upgrade npm deps — vite 8, prettier plugins, @types/node, @eslint/compat
CI / Docker compose check (push) Successful in 14s
CI / Env docs check (push) Successful in 15s
CI / Nginx config check (push) Successful in 18s
CI / Frontend deps check (push) Successful in 27s
CI / Frontend major deps (push) Failing after 27s
CI / Go build (push) Successful in 35s
CI / Secrets scan (push) Successful in 41s
CI / Frontend build (push) Successful in 43s
CI / Knip (push) Successful in 28s
CI / Frontend a11y check (push) Successful in 1m35s
CI / Go vet (prod) (push) Successful in 2m11s
CI / go mod tidy (push) Successful in 42s
CI / Go vet (dev) (push) Successful in 2m18s
CI / Frontend QC (audit) (push) Successful in 48s
CI / Staticcheck (prod) (push) Successful in 2m57s
CI / Staticcheck (dev) (push) Successful in 3m1s
CI / Go vulnerabilities (push) Successful in 1m27s
CI / golangci-lint (push) Successful in 3m41s
CI / Frontend QC (typecheck) (push) Successful in 1m35s
CI / Frontend QC (lint) (push) Successful in 1m51s
CI / Security scan (prod) (push) Successful in 4m29s
CI / Security scan (dev) (push) Successful in 4m44s
CI / Svelte strict check (push) Successful in 1m49s
CI / Tests (prod) (push) Successful in 3m30s
CI / Tests (dev) (push) Successful in 3m57s
CI / Race (prod) (push) Successful in 7m14s
CI / Race (dev) (push) Successful in 7m25s

Upgrades applied:
  @types/node: 22.20.1 → 26.1.1
  @eslint/compat: 1.4.1 → 2.1.0
  prettier-plugin-tailwindcss: 0.7.4 → 0.8.0
  prettier-plugin-svelte: 3.5.2 → 4.1.1 (formatted textarea.svelte)
  vite: 7.3.6 → 8.1.4
  @sveltejs/vite-plugin-svelte: 6.2.4 → 7.2.0

Left at current (blocked by deps chain):
  eslint / @eslint/js — typescript-eslint needs eslint 10 support
  typescript — typescript-eslint needs TS 7 support

Added CI TODO note for when vite-plugin-svelte-inspector catches up.
This commit is contained in:
2026-07-10 20:03:41 +01:00
parent 609a099677
commit e896591098
6 changed files with 321 additions and 814 deletions
@@ -19,5 +19,4 @@
className
)}
bind:value
{...restProps}
></textarea>
{...restProps}></textarea>
+3 -3
View File
@@ -11,12 +11,12 @@
import { savedCardsStore, type SavedCard } from '$lib/stores/savedCards.svelte';
// zxcvbn-ts imports
import { zxcvbn, zxcvbnOptions } from '@zxcvbn-ts/core';
import { ZxcvbnFactory } from '@zxcvbn-ts/core';
import * as languageCommon from '@zxcvbn-ts/language-common';
import * as languageEn from '@zxcvbn-ts/language-en';
// set up options so that feedback, dictionary etc. are included
zxcvbnOptions.setOptions({
const zxcvbn = new ZxcvbnFactory({
translations: languageEn.translations,
graphs: languageCommon.adjacencyGraphs,
dictionary: {
@@ -1111,7 +1111,7 @@
let changingPassword = $state(false);
// Password strength using zxcvbn
const newPasswordStrength = $derived(passwordData.new ? zxcvbn(passwordData.new) : null);
const newPasswordStrength = $derived(passwordData.new ? zxcvbn.check(passwordData.new) : null);
const isPasswordStrongEnough = $derived(
!passwordData.new || newPasswordStrength === null || newPasswordStrength.score >= 2
);
+3 -3
View File
@@ -11,14 +11,14 @@
import { SvelteDate } from 'svelte/reactivity';
// zxcvbn-ts imports
import { zxcvbn, zxcvbnOptions } from '@zxcvbn-ts/core';
import { ZxcvbnFactory } from '@zxcvbn-ts/core';
import * as languageCommon from '@zxcvbn-ts/language-common';
import * as languageEn from '@zxcvbn-ts/language-en';
import { toast } from 'svelte-sonner';
import { sanitizeText } from '$lib/utils/toast-safe';
// set up options so that feedback, dictionary etc. are included
zxcvbnOptions.setOptions({
const zxcvbn = new ZxcvbnFactory({
translations: languageEn.translations,
graphs: languageCommon.adjacencyGraphs,
dictionary: {
@@ -229,7 +229,7 @@
const passwordStrength = $derived(
formData.password
? (() => {
const result = zxcvbn(formData.password);
const result = zxcvbn.check(formData.password);
// Add minimum length check (6 chars) to the score feedback
if (formData.password.length < 6) {
return {