{{ displayName }}
-- {{ humanSize }} + +
+ {{ displayName }} + push_pin
-- + +
+ {{ displayName }}
+{{ humanSize }}
+{{ formattedDuration }}
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6aaccf1841..fa46933cac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,34 @@ All notable changes to this project will be documented in this file. For commit guidelines, please refer to [Standard Version](https://github.com/conventional-changelog/standard-version). +## v1.4.3 + + **Security**: + - [High] Path traversal in subtitle handler allows any authenticated user to read arbitrary files (GHSA-vvp7-h4fj-m28w) + + **New Features**: + - pinned files/folders (#2396) (#2510) + - Markdown Image relative reference support (#2355) + - Add an option to create a new folder for unarchiving (#2338) + + **Notes**: + - added fallback to show text in notification if copy fails (#2517) + - added `alt`+`arrow up` shortcut as alias of `backspace` to go into parent directory (#2501) (#2521) + - added `alt`+`arrow down` shortcut as alias of `enter` to open files in Listing View (#2501) (#2521) + - updated help menu with better translations + - migrate i18n to v11 (#2472) (#2504) + - migrate eslint (#2459) + - improved preview cancellation to improve performance when navigating UI. + + **BugFixes**: + - fix lyrics regex parsing (#2505) + - fix folder previews issue (#2487) (#2492) + - fix accidental exit on images while using gestures (#2508) + - navigating using the up/down arrow keys in Listing View was "jumping randomly" in some view modes (#2521) + - socket field in config.yaml is ignored (#2497) + - fix keep opened file selected after closing its preview @anpryl (#2515) + + ## v1.4.2 **Security**: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 914320c2b3..adf9b7d659 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,17 +5,22 @@ Thank you for your interest in contributing to FileBrowser Quantum! This guide w ## Prerequisites - **Go 1.25+** (see `backend/go.mod`) -- **Node.js 20.0.0+** with npm 9.0.0+ (see `frontend/package.json`) +- **Node.js 22.0.0+** with npm 9.0.0+ (see `frontend/package.json`) - **Docker** (optional, for containerized development) - **Git** especially improtant on windows -- needed for bash support. ### Optional Tools -- **ffmpeg**: For media features (subtitles, thumbnails, heic) +- **ffmpeg/ffprobe**: For media features (subtitles, thumbnails, heic) - Ubuntu/Debian: `sudo apt-get install ffmpeg` - macOS: `brew install ffmpeg` - Windows: Download from [ffmpeg.org](https://ffmpeg.org/download.html) +- **exiftool**: For photo metadata processing (RAW/HEIC previews, EXIF orientation) + - Ubuntu/Debian: `sudo apt-get install libimage-exiftool-perl` + - macOS: `brew install exiftool` + - Windows: Download from [exiftool.org](https://exiftool.org/) (install `exiftool.exe` and add it to your PATH, or set `integrations.media.exiftoolPath` in config) + - **mupdf-tools**: For PDF preview generation - Ubuntu/Debian: `sudo apt-get install mupdf-tools` - macOS: `brew install mupdf-tools` @@ -90,18 +95,6 @@ make test-playwright # E2E tests in Docker E2E tests run with three authentication modes: standard auth, no auth, and proxy auth. -### Coverage & Performance -```bash -cd backend -./run_check_coverage.sh # Coverage report with HTML output -./run_benchmark.sh # Benchmarks -``` - -**Code Coverage:** -- View report: Open `backend/coverage.html` after running coverage script -- CI enforces coverage for critical packages -- Use `go test -cover` for quick package coverage - ## Code Standards ### Backend (Go) @@ -156,53 +149,3 @@ type(scope): description Types: feat, fix, docs, refactor, test, chore ``` - -## Roadmap - -Check the [Project Roadmap](https://github.com/users/gtsteffaniak/projects/4/views/2) to see issues sorted by priority. This helps you understand what features are planned and where you can contribute most effectively. - -## Troubleshooting - -### Common Issues - -**Build failures:** -```bash -# Frontend -cd frontend && rm -rf node_modules && npm install - -# Backend -cd backend && go mod tidy && go clean -modcache -``` - -**Authentication Issues:** - -Always first enable debug logging in your config file if you have issues. - -1. **OIDC Login Fails:** - - Check redirect URLs match your config - - Verify OIDC provider settings - - Enable debug logs to see auth flow - - Common issue: mismatched callback URLs - -2. **Proxy Auth Not Working:** - - Verify header names match config - - Check nginx/reverse proxy passes headers - - Test with: `curl -H "X-Auth: username" localhost:8080` - - Enable `--log-level debug` to see headers - -3. **TOTP Issues:** - - Ensure server time is synchronized - - Check QR code generation in logs - - Test with authenticator app time settings - - Database might have stale TOTP secrets - -4. **Session/Cookie Problems:** - - Clear browser cookies and localStorage - - Verify cookie domain settings - - Try incognito/private browsing mode - -### Getting Help - -- **Wiki**: [Project Wiki](https://github.com/gtsteffaniak/filebrowser/wiki) -- **Issues**: [GitHub Issues](https://github.com/gtsteffaniak/filebrowser/issues) -- **PR Template**: See `.github/PULL_REQUEST_TEMPLATE.md` diff --git a/backend/adapters/fs/files/file_test.go b/backend/adapters/fs/files/file_test.go index a252ddf3fa..02ad0ea16c 100644 --- a/backend/adapters/fs/files/file_test.go +++ b/backend/adapters/fs/files/file_test.go @@ -357,7 +357,7 @@ func TestOverrideDirectoryToFile(t *testing.T) { {Name: "Test Object", Type: "directory"}, }, } - idx.UpdateMetadata(rootInfo, nil) // nil scanner for test + idx.UpdateMetadata(rootInfo, nil, true) // nil scanner for test // Delete the old directory item from the database before replacing it with a file idx.DeleteMetadata("/Test Object", true, false) @@ -375,7 +375,7 @@ func TestOverrideDirectoryToFile(t *testing.T) { }, }, } - idx.UpdateMetadata(rootInfo, nil) // nil scanner for test + idx.UpdateMetadata(rootInfo, nil, true) // nil scanner for test // Verify the directory was replaced with a file in the mock data rootInfo, exists := idx.GetMetadataInfo("/", true, false) @@ -467,7 +467,7 @@ func TestOverrideFileToDirectory(t *testing.T) { {ItemInfo: iteminfo.ItemInfo{Name: "Test Object", Size: 12}}, // Length of "test content" }, } - idx.UpdateMetadata(rootInfo, nil) // nil scanner for test + idx.UpdateMetadata(rootInfo, nil, true) // nil scanner for test // Delete the old file item from the database before replacing it with a directory idx.DeleteMetadata("/Test Object", false, false) @@ -483,7 +483,7 @@ func TestOverrideFileToDirectory(t *testing.T) { Type: "directory", }, } - idx.UpdateMetadata(rootInfo, nil) // nil scanner for test + idx.UpdateMetadata(rootInfo, nil, true) // nil scanner for test // Verify the file was replaced with a directory in the mock data rootInfo, exists := idx.GetMetadataInfo("/", true, false) diff --git a/backend/adapters/fs/files/files.go b/backend/adapters/fs/files/files.go index 0c21070bc8..ef25c91396 100644 --- a/backend/adapters/fs/files/files.go +++ b/backend/adapters/fs/files/files.go @@ -27,6 +27,8 @@ import ( "github.com/gtsteffaniak/go-logger/logger" ) +var reDuration = regexp.MustCompile(`^\[(?:(\d{1,2}):)?(\d{1,2}):(\d{1,2})\.(\d+)\](.*)`) + // CheckPermissionsFunc allows tests to override CheckPermissions behavior var CheckPermissionsFunc = checkPermissionsImpl @@ -381,13 +383,12 @@ func generateOfficeId(realPath string) string { func parseLRC(raw string) []iteminfo.Lyric { var lines []iteminfo.Lyric scanner := bufio.NewScanner(strings.NewReader(raw)) - re := regexp.MustCompile(`^\[(?:(\d{1,2}):)?(\d{1,2}):(\d{1,2})\.(\d+)\](.*)`) for scanner.Scan() { line := strings.TrimSpace(scanner.Text()) if line == "" { continue } - matches := re.FindStringSubmatch(line) + matches := reDuration.FindStringSubmatch(line) if len(matches) == 6 { // Hours default to 0 (if not present in the timestamps) h := 0 diff --git a/backend/common/settings/config.go b/backend/common/settings/config.go index 38c712b353..8311d669cb 100644 --- a/backend/common/settings/config.go +++ b/backend/common/settings/config.go @@ -8,7 +8,6 @@ import ( "os" "os/exec" "path/filepath" - "runtime" "slices" "strconv" "strings" @@ -63,6 +62,9 @@ func Initialize(configFile string) { } func setupServer() { + if Config.Server.Socket != "" && (Config.Server.TLSCert != "" || Config.Server.TLSKey != "") { + logger.Fatal("server.socket cannot be used with tlsCert or tlsKey") + } if Config.Server.ListenAddress == "" { Config.Server.ListenAddress = "0.0.0.0" } @@ -971,12 +973,6 @@ func loadEnvConfig() { } func SetDefaults(generate bool) Settings { - // get number of CPUs available - numCpus := 4 // default to 4 CPUs if runtime.NumCPU() fails or is not available - cpus := runtime.NumCPU() - if cpus > 0 && !generate { - numCpus = cpus - } database := os.Getenv("FILEBROWSER_DATABASE") if database == "" { database = "database.db" @@ -987,7 +983,7 @@ func SetDefaults(generate bool) Settings { s := Settings{ Server: Server{ Port: 80, - NumImageProcessors: numCpus, + NumImageProcessors: 4, BaseURL: "", Database: database, SourceMap: map[string]*Source{}, diff --git a/backend/common/settings/structs.go b/backend/common/settings/structs.go index a42a2f4765..b8782d7e4b 100644 --- a/backend/common/settings/structs.go +++ b/backend/common/settings/structs.go @@ -49,8 +49,8 @@ type Environment struct { type Server struct { MinSearchLength int `json:"minSearchLength" yaml:"minSearchLength"` // minimum length of search query to begin searching (default: 3) DisableUpdateCheck bool `json:"disableUpdateCheck"` // disables backend update check service - NumImageProcessors int `json:"numImageProcessors"` // number of concurrent image processing jobs used to create previews, default is number of cpu cores available. - Socket string `json:"socket"` // socket to listen on + NumImageProcessors int `json:"numImageProcessors"` // number of concurrent image processing jobs used to create previews, default is 4. + Socket string `json:"socket"` // socket to listen on - eg. /var/run/filebrowser.sock TLSKey string `json:"tlsKey"` // path to TLS key TLSCert string `json:"tlsCert"` // path to TLS cert DisablePreviews bool `json:"disablePreviews"` // disable all previews thumbnails, simple icons will be used diff --git a/backend/config.yaml b/backend/config.yaml index 49c76a517e..15358d264c 100644 --- a/backend/config.yaml +++ b/backend/config.yaml @@ -6,8 +6,6 @@ server: sources: - path: "/srv" auth: - key: "change-me-to-a-random-string" - totpSecret: "change-me-to-another-random-string" methods: password: enabled: true diff --git a/backend/database/storage/bolt/config.go b/backend/database/storage/bolt/config.go index d38d97b386..075bb832c9 100644 --- a/backend/database/storage/bolt/config.go +++ b/backend/database/storage/bolt/config.go @@ -21,7 +21,7 @@ func (s settingsBackend) Save(set *settings.Settings) error { func (s settingsBackend) GetServer() (*settings.Server, error) { server := &settings.Server{ Port: 80, - NumImageProcessors: 1, + NumImageProcessors: 4, } return server, get(s.db, "server", server) } diff --git a/backend/database/storage/bolt/users.go b/backend/database/storage/bolt/users.go index 3409f1b5ab..feb8b1d9b4 100644 --- a/backend/database/storage/bolt/users.go +++ b/backend/database/storage/bolt/users.go @@ -138,8 +138,17 @@ func (st usersBackend) Update(user *users.User, actorIsAdmin bool, fields ...str } user.SidebarLinks = adjustedLinks } + if slices.Contains(fields, "PinnedItems") { + adjustedPinnedItems, err := user.GetBackendPinnedItems() + if err != nil { + return err + } + user.PinnedItems = adjustedPinnedItems + } // Use reflection to access struct fields userFields := reflect.ValueOf(user).Elem() // Get struct value + existingUserFields := reflect.ValueOf(existingUser).Elem() + needsUserSave := false for _, field := range fields { // Get the corresponding field using reflection fieldValue := userFields.FieldByName(field) @@ -162,12 +171,27 @@ func (st usersBackend) Update(user *users.User, actorIsAdmin bool, fields ...str } // If otpEnabled is true, continue with normal field update } + existingFieldValue := existingUserFields.FieldByName(field) + if existingFieldValue.IsValid() && existingFieldValue.CanSet() { + existingFieldValue.Set(reflect.ValueOf(val)) + } + if field == "PinnedItems" { + existingUser.PinnedItems = user.PinnedItems + needsUserSave = true + continue + } // Update the database if err := st.db.UpdateField(existingUser, field, val); err != nil { return fmt.Errorf("failed to update user field: %s, error: %v", field, err) } } + if needsUserSave { + if err := st.db.Save(existingUser); err != nil { + return fmt.Errorf("failed to save user with pinned items: %v", err) + } + } + return nil } diff --git a/backend/database/storage/bolt/users_test.go b/backend/database/storage/bolt/users_test.go index 7852396d9f..22a5034a1f 100644 --- a/backend/database/storage/bolt/users_test.go +++ b/backend/database/storage/bolt/users_test.go @@ -492,13 +492,13 @@ func TestFilterRestrictedFields(t *testing.T) { }{ { name: "all allowed fields", - fields: []string{"DarkMode", "OtpEnabled", "Locale", "ViewMode"}, - expected: []string{"DarkMode", "OtpEnabled", "Locale", "ViewMode"}, + fields: []string{"DarkMode", "OtpEnabled", "Locale", "ViewMode", "PinnedItems"}, + expected: []string{"DarkMode", "OtpEnabled", "Locale", "ViewMode", "PinnedItems"}, }, { name: "mixed allowed and restricted", - fields: []string{"DarkMode", "Permissions", "Scopes", "OtpEnabled"}, - expected: []string{"DarkMode", "OtpEnabled"}, + fields: []string{"DarkMode", "Permissions", "Scopes", "OtpEnabled", "PinnedItems"}, + expected: []string{"DarkMode", "OtpEnabled", "PinnedItems"}, }, { name: "all restricted fields", diff --git a/backend/database/users/conversions.go b/backend/database/users/conversions.go index 39beac093c..7a7a97dc35 100644 --- a/backend/database/users/conversions.go +++ b/backend/database/users/conversions.go @@ -119,6 +119,64 @@ func (u *User) GetBackendSidebarLinks() ([]SidebarLink, error) { return newLinks, nil } +// GetBackendPinnedItems converts pinned item source keys from frontend source names to backend source paths. +func (u *User) GetBackendPinnedItems() (PinnedItems, error) { + if len(u.PinnedItems) == 0 { + return PinnedItems{}, nil + } + if sourceConfig == nil { + return nil, fmt.Errorf("source config not initialized") + } + + newPinnedItems := PinnedItems{} + for sourceKey, directories := range u.PinnedItems { + source, ok := sourceConfig.GetSourceByPath(sourceKey) + if !ok { + source, ok = sourceConfig.GetSourceByName(sourceKey) + } + if !ok { + continue + } + + if newPinnedItems[source.Path] == nil { + newPinnedItems[source.Path] = map[string][]string{} + } + + for directoryPath, pinnedPaths := range directories { + copiedPaths := append([]string(nil), pinnedPaths...) + newPinnedItems[source.Path][directoryPath] = copiedPaths + } + } + + return newPinnedItems, nil +} + +// GetFrontendPinnedItems converts pinned item source keys from backend source paths to frontend source names. +func (u *User) GetFrontendPinnedItems() PinnedItems { + if len(u.PinnedItems) == 0 || sourceConfig == nil { + return PinnedItems{} + } + + newPinnedItems := PinnedItems{} + for sourceKey, directories := range u.PinnedItems { + source, ok := sourceConfig.GetSourceByPath(sourceKey) + if !ok { + continue + } + + if newPinnedItems[source.Name] == nil { + newPinnedItems[source.Name] = map[string][]string{} + } + + for directoryPath, pinnedPaths := range directories { + copiedPaths := append([]string(nil), pinnedPaths...) + newPinnedItems[source.Name][directoryPath] = copiedPaths + } + } + + return newPinnedItems +} + // normalizeScope ensures scope starts with / and doesn't end with / (except for root) func normalizeScope(scope string) string { if !strings.HasPrefix(scope, "/") { diff --git a/backend/database/users/users.go b/backend/database/users/users.go index d8e7ce0c53..61e6508ee6 100644 --- a/backend/database/users/users.go +++ b/backend/database/users/users.go @@ -96,6 +96,8 @@ type Preview struct { Models bool `json:"models"` // show live thumbnails for 3D models files } +type PinnedItems map[string]map[string][]string + // User describes a persisted account. Scopes and source sidebar links store filesystem paths in Name/SourceName; // JSON responses use display names only (see http prepForFrontend). type User struct { @@ -151,6 +153,7 @@ type NonAdminEditable struct { DisablePreviewExt string `json:"disablePreviewExt"` // space separated list of file extensions to disable preview for DisableViewingExt string `json:"disableViewingExt"` // space separated list of file extensions to disable viewing for CustomTheme string `json:"customTheme"` // Name of theme to use chosen from custom themes config. + PinnedItems PinnedItems `json:"pinnedItems,omitempty"` // pinned items organized by source and directory path ShowSelectMultiple bool `json:"showSelectMultiple"` // show select multiple files on desktop ShowCopyPath bool `json:"showCopyPath"` // show copy path action in the context menu ShowToolsInSidebar bool `json:"showToolsInSidebar"` // when false, sidebar hides links with category "tool" (default: true) diff --git a/backend/go.mod b/backend/go.mod index 70c972b21f..6612ae7693 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -10,30 +10,30 @@ require ( github.com/dsoprea/go-exif/v3 v3.0.1 github.com/gen2brain/go-fitz v1.24.15 github.com/go-ldap/ldap/v3 v3.4.13 - github.com/go-playground/validator/v10 v10.30.2 - github.com/go-webauthn/webauthn v0.17.3 + github.com/go-playground/validator/v10 v10.30.3 + github.com/go-webauthn/webauthn v0.17.4 github.com/goccy/go-yaml v1.19.2 github.com/golang-jwt/jwt/v4 v4.5.2 github.com/google/go-cmp v0.7.0 github.com/gtsteffaniak/go-cache v1.1.0 github.com/gtsteffaniak/go-logger v1.1.0 github.com/kovidgoyal/imaging v1.8.21 - github.com/mattn/go-sqlite3 v1.14.44 + github.com/mattn/go-sqlite3 v1.14.45 github.com/pquerna/otp v1.5.0 github.com/spf13/afero v1.15.0 github.com/stretchr/testify v1.11.1 github.com/swaggo/http-swagger v1.3.4 github.com/swaggo/swag v1.16.6 - golang.org/x/crypto v0.51.0 - golang.org/x/image v0.40.0 + golang.org/x/crypto v0.52.0 + golang.org/x/image v0.41.0 golang.org/x/mod v0.36.0 - golang.org/x/net v0.54.0 + golang.org/x/net v0.55.0 golang.org/x/oauth2 v0.36.0 - golang.org/x/sys v0.44.0 + golang.org/x/sys v0.45.0 golang.org/x/time v0.15.0 golang.org/x/tools v0.45.0 gopkg.in/yaml.v3 v3.0.1 - modernc.org/sqlite v1.50.1 + modernc.org/sqlite v1.51.0 ) require ( @@ -60,7 +60,7 @@ require ( github.com/Masterminds/semver/v3 v3.5.0 // indirect github.com/MirrexOne/unqueryvet v1.5.4 // indirect github.com/OpenPeeDeeP/depguard/v2 v2.2.1 // indirect - github.com/air-verse/air v1.65.1 // indirect + github.com/air-verse/air v1.65.3 // indirect github.com/alecthomas/chroma/v2 v2.24.1 // indirect github.com/alecthomas/go-check-sumtype v0.3.1 // indirect github.com/alexkohler/nakedret/v2 v2.0.6 // indirect @@ -106,7 +106,7 @@ require ( github.com/dsoprea/go-logging v0.0.0-20200710184922-b02d349568dd // indirect github.com/dsoprea/go-utility/v2 v2.0.0-20221003172846-a3e1774ef349 // indirect github.com/dustin/go-humanize v1.0.1 // indirect - github.com/ebitengine/purego v0.10.0 // indirect + github.com/ebitengine/purego v0.10.1 // indirect github.com/ettle/strcase v0.2.0 // indirect github.com/fatih/color v1.19.0 // indirect github.com/fatih/structtag v1.2.0 // indirect @@ -121,8 +121,8 @@ require ( github.com/go-errors/errors v1.5.1 // indirect github.com/go-jose/go-jose/v4 v4.1.4 // indirect github.com/go-openapi/jsonpointer v0.23.1 // indirect - github.com/go-openapi/jsonreference v0.21.5 // indirect - github.com/go-openapi/spec v0.22.4 // indirect + github.com/go-openapi/jsonreference v0.21.6 // indirect + github.com/go-openapi/spec v0.22.5 // indirect github.com/go-openapi/swag/conv v0.26.0 // indirect github.com/go-openapi/swag/jsonname v0.26.0 // indirect github.com/go-openapi/swag/jsonutils v0.26.0 // indirect @@ -140,14 +140,14 @@ require ( github.com/go-toolsmith/strparse v1.1.0 // indirect github.com/go-toolsmith/typep v1.1.0 // indirect github.com/go-viper/mapstructure/v2 v2.5.0 // indirect - github.com/go-webauthn/x v0.2.5 // indirect + github.com/go-webauthn/x v0.2.6 // indirect github.com/go-xmlfmt/xmlfmt v1.1.3 // indirect github.com/gobwas/glob v0.2.3 // indirect github.com/godoc-lint/godoc-lint v0.11.2 // indirect github.com/gofrs/flock v0.13.0 // indirect github.com/gohugoio/hugo v0.149.1 // indirect github.com/golang-jwt/jwt/v5 v5.3.1 // indirect - github.com/golang/geo v0.0.0-20260512202753-e3c51de6d1b6 // indirect + github.com/golang/geo v0.0.0-20260605061815-58f45aa500f1 // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/golangci/asciicheck v0.5.0 // indirect github.com/golangci/dupl v0.0.0-20260401084720-c99c5cf5c202 // indirect @@ -294,7 +294,7 @@ require ( gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect honnef.co/go/tools v0.7.0 // indirect - modernc.org/libc v1.72.3 // indirect + modernc.org/libc v1.72.5 // indirect modernc.org/mathutil v1.7.1 // indirect modernc.org/memory v1.11.0 // indirect mvdan.cc/gofumpt v0.9.2 // indirect diff --git a/backend/go.sum b/backend/go.sum index b05fd8120d..3e55ee79d0 100644 --- a/backend/go.sum +++ b/backend/go.sum @@ -85,8 +85,8 @@ github.com/OpenPeeDeeP/depguard/v2 v2.2.1 h1:vckeWVESWp6Qog7UZSARNqfu/cZqvki8zsu github.com/OpenPeeDeeP/depguard/v2 v2.2.1/go.mod h1:q4DKzC4UcVaAvcfd41CZh0PWpGgzrVxUYBlgKNGquUo= github.com/Sereal/Sereal v0.0.0-20190618215532-0b8ac451a863 h1:BRrxwOZBolJN4gIwvZMJY1tzqBvQgpaZiQRuIDD40jM= github.com/Sereal/Sereal v0.0.0-20190618215532-0b8ac451a863/go.mod h1:D0JMgToj/WdxCgd30Kc1UcA9E+WdZoJqeVOuYW7iTBM= -github.com/air-verse/air v1.65.1 h1:G4hy4YemKrIcGAvYMor+86PhxdtBEq0n9ebJ4RoYy8w= -github.com/air-verse/air v1.65.1/go.mod h1:OaJZSfZqf7wyjS2oP/CcEVyIt0JmZuPh5x1gdtklmmY= +github.com/air-verse/air v1.65.3 h1:7NUAqofZuSf5vZbVoZpdTr/4LuKkOCj1JTiMrOdUs7A= +github.com/air-verse/air v1.65.3/go.mod h1:OaJZSfZqf7wyjS2oP/CcEVyIt0JmZuPh5x1gdtklmmY= github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0= github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k= github.com/alecthomas/chroma/v2 v2.24.1 h1:m5ffpfZbIb++k8AqFEKy9uVgY12xIQtBsQlc6DfZJQM= @@ -256,8 +256,8 @@ github.com/dsoprea/go-utility/v2 v2.0.0-20221003172846-a3e1774ef349 h1:DilThiXje github.com/dsoprea/go-utility/v2 v2.0.0-20221003172846-a3e1774ef349/go.mod h1:4GC5sXji84i/p+irqghpPFZBF8tRN/Q7+700G0/DLe8= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/ebitengine/purego v0.10.0 h1:QIw4xfpWT6GWTzaW5XEKy3HXoqrJGx1ijYHzTF0/ISU= -github.com/ebitengine/purego v0.10.0/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ= +github.com/ebitengine/purego v0.10.1 h1:dewVBCBT2GaMu1SrNTYxQhgQBethzfhiwvZiLGP/qyY= +github.com/ebitengine/purego v0.10.1/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= @@ -318,10 +318,10 @@ github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-openapi/jsonpointer v0.23.1 h1:1HBACs7XIwR2RcmItfdSFlALhGbe6S92p0ry4d1GWg4= github.com/go-openapi/jsonpointer v0.23.1/go.mod h1:iWRmZTrGn7XwYhtPt/fvdSFj1OfNBngqRT2UG3BxSqY= -github.com/go-openapi/jsonreference v0.21.5 h1:6uCGVXU/aNF13AQNggxfysJ+5ZcU4nEAe+pJyVWRdiE= -github.com/go-openapi/jsonreference v0.21.5/go.mod h1:u25Bw85sX4E2jzFodh1FOKMTZLcfifd1Q+iKKOUxExw= -github.com/go-openapi/spec v0.22.4 h1:4pxGjipMKu0FzFiu/DPwN3CTBRlVM2yLf/YTWorYfDQ= -github.com/go-openapi/spec v0.22.4/go.mod h1:WQ6Ai0VPWMZgMT4XySjlRIE6GP1bGQOtEThn3gcWLtQ= +github.com/go-openapi/jsonreference v0.21.6 h1:NZ5nGfnaM1n4I43Xjm1e5/M2GjOwQwndQz22uhxwD+Y= +github.com/go-openapi/jsonreference v0.21.6/go.mod h1:xzbgtQ3ZbWxvET3AxdzCJlJt6vkovbf+IfSPJjD0tUY= +github.com/go-openapi/spec v0.22.5 h1:KhO7RBlKQfonUWX2WzQCoLIXVA6AcNqDGZ3a1Dutdlo= +github.com/go-openapi/spec v0.22.5/go.mod h1:vxpOtMya5TXtENXKE5bKqv5NjocVhyhxHrlZfvKnZ74= github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE= github.com/go-openapi/swag/conv v0.26.0 h1:5yGGsPYI1ZCva93U0AoKi/iZrNhaJEjr324YVsiD89I= github.com/go-openapi/swag/conv v0.26.0/go.mod h1:tpAmIL7X58VPnHHiSO4uE3jBeRamGsFsfdDeDtb5ECE= @@ -339,18 +339,18 @@ github.com/go-openapi/swag/typeutils v0.26.0 h1:2kdEwdiNWy+JJdOvu5MA2IIg2SylWAFu github.com/go-openapi/swag/typeutils v0.26.0/go.mod h1:oovDuIUvTrEHVMqWilQzKzV4YlSKgyZmFh7AlfABNVE= github.com/go-openapi/swag/yamlutils v0.26.0 h1:H7O8l/8NJJQ/oiReEN+oMpnGMyt8G0hl460nRZxhLMQ= github.com/go-openapi/swag/yamlutils v0.26.0/go.mod h1:1evKEGAtP37Pkwcc7EWMF0hedX0/x3Rkvei2wtG/TbU= -github.com/go-openapi/testify/enable/yaml/v2 v2.4.2 h1:5zRca5jw7lzVREKCZVNBpysDNBjj74rBh0N2BGQbSR0= -github.com/go-openapi/testify/enable/yaml/v2 v2.4.2/go.mod h1:XVevPw5hUXuV+5AkI1u1PeAm27EQVrhXTTCPAF85LmE= -github.com/go-openapi/testify/v2 v2.4.2 h1:tiByHpvE9uHrrKjOszax7ZvKB7QOgizBWGBLuq0ePx4= -github.com/go-openapi/testify/v2 v2.4.2/go.mod h1:SgsVHtfooshd0tublTtJ50FPKhujf47YRqauXXOUxfw= +github.com/go-openapi/testify/enable/yaml/v2 v2.5.1 h1:q9NtHwK4qHF7yZziBPvZyv7zWAIk8ok88Gh2mR6Jpc8= +github.com/go-openapi/testify/enable/yaml/v2 v2.5.1/go.mod h1:JW0MXIotCYps/XsgJnG3a8Q7rE5xAiBwoOD5OfaIQBk= +github.com/go-openapi/testify/v2 v2.5.1 h1:TMdhCaw8fUNraVSf3Omoob1dO/AzBfhtFAPW0an6sBo= +github.com/go-openapi/testify/v2 v2.5.1/go.mod h1:SgsVHtfooshd0tublTtJ50FPKhujf47YRqauXXOUxfw= github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= -github.com/go-playground/validator/v10 v10.30.2 h1:JiFIMtSSHb2/XBUbWM4i/MpeQm9ZK2xqPNk8vgvu5JQ= -github.com/go-playground/validator/v10 v10.30.2/go.mod h1:mAf2pIOVXjTEBrwUMGKkCWKKPs9NheYGabeB04txQSc= +github.com/go-playground/validator/v10 v10.30.3 h1:4MU6YkEwx7GbcPJOZxrtbu+QfF3pJLJuaYTeAH0DYy8= +github.com/go-playground/validator/v10 v10.30.3/go.mod h1:4Axh7oCNGcoGkqLoE4YWt6n20mcEIsPRlB7vPk3lpyc= github.com/go-quicktest/qt v1.101.0 h1:O1K29Txy5P2OK0dGo59b7b0LR6wKfIhttaAhHUyn7eI= github.com/go-quicktest/qt v1.101.0/go.mod h1:14Bz/f7NwaXPtdYEgzsx46kqSxVwTbzVZsDC26tQJow= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= @@ -377,10 +377,10 @@ github.com/go-toolsmith/typep v1.1.0 h1:fIRYDyF+JywLfqzyhdiHzRop/GQDxxNhLGQ6gFUN github.com/go-toolsmith/typep v1.1.0/go.mod h1:fVIw+7zjdsMxDA3ITWnH1yOiw1rnTQKCsF/sk2H/qig= github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro= github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= -github.com/go-webauthn/webauthn v0.17.3 h1:XHZ0TXV7k8vChcE4TFgPitOPJ5cb7h1dpAeFDS0cjCo= -github.com/go-webauthn/webauthn v0.17.3/go.mod h1:PlkMgmuL9McCT7dvgBj/Sz/fgs3V6ZID6/KnFkEcPvQ= -github.com/go-webauthn/x v0.2.5 h1:wEVTfU04XFyPTXGQbKOQwMKhcDWfDAkdsDDBsDaG9yY= -github.com/go-webauthn/x v0.2.5/go.mod h1:Qna/yJz9rV6lRzwl5BfYbmTJpVGxcBIds3gJtw2tlGg= +github.com/go-webauthn/webauthn v0.17.4 h1:KFTSz3R2RYDiUn/0cDi3XTJgFenSG74eKTTHlqWhlxk= +github.com/go-webauthn/webauthn v0.17.4/go.mod h1:pZk63EE/BdztlmyS4Yc+9H5g4a8blNlbtGmdHQHbZX8= +github.com/go-webauthn/x v0.2.6 h1:TEyDuQAIiEgYpx60nKiBJIX/5nSUC8LxNbH+uf5U9uk= +github.com/go-webauthn/x v0.2.6/go.mod h1:45bA7YEqyQhRcQJ/TiBb46Ww8yqHBGvgEhQ3WWF0aDo= github.com/go-xmlfmt/xmlfmt v1.1.3 h1:t8Ey3Uy7jDSEisW2K3somuMKIpzktkWptA0iFCnRUWY= github.com/go-xmlfmt/xmlfmt v1.1.3/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM= github.com/gobuffalo/flect v1.0.3 h1:xeWBM2nui+qnVvNM4S3foBhCAL2XgPU+a7FdpelbTq4= @@ -417,8 +417,8 @@ github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArs github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI= github.com/golang/geo v0.0.0-20200319012246-673a6f80352d/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI= github.com/golang/geo v0.0.0-20210211234256-740aa86cb551/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI= -github.com/golang/geo v0.0.0-20260512202753-e3c51de6d1b6 h1:maAhA7cpighmEi96eTgDdmlhwnHYEgwhR6t+T7k3Png= -github.com/golang/geo v0.0.0-20260512202753-e3c51de6d1b6/go.mod h1:Mymr9kRGDc64JPr03TSZmuIBODZ3KyswLzm1xL0HFA8= +github.com/golang/geo v0.0.0-20260605061815-58f45aa500f1 h1:vkAT/N8DPfmQ3ZltANiX95HhM0nv/tqoq5Innoimcwo= +github.com/golang/geo v0.0.0-20260605061815-58f45aa500f1/go.mod h1:Mymr9kRGDc64JPr03TSZmuIBODZ3KyswLzm1xL0HFA8= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -664,8 +664,8 @@ github.com/mattn/go-isatty v0.0.22 h1:j8l17JJ9i6VGPUFUYoTUKPSgKe/83EYU2zBC7YNKMw github.com/mattn/go-isatty v0.0.22/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4= github.com/mattn/go-runewidth v0.0.23 h1:7ykA0T0jkPpzSvMS5i9uoNn2Xy3R383f9HDx3RybWcw= github.com/mattn/go-runewidth v0.0.23/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs= -github.com/mattn/go-sqlite3 v1.14.44 h1:3VSe+xafpbzsLbdr2AWlAZk9yRHiBhTBakioXaCKTF8= -github.com/mattn/go-sqlite3 v1.14.44/go.mod h1:pjEuOr8IwzLJP2MfGeTb0A35jauH+C2kbHKBr7yXKVQ= +github.com/mattn/go-sqlite3 v1.14.45 h1:6KA/spDguL3KV8rnybG7ezSaE4SeMR3KC9VbUoAQaIk= +github.com/mattn/go-sqlite3 v1.14.45/go.mod h1:pjEuOr8IwzLJP2MfGeTb0A35jauH+C2kbHKBr7yXKVQ= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/mgechev/revive v1.15.0 h1:vJ0HzSBzfNyPbHKolgiFjHxLek9KUijhqh42yGoqZ8Q= @@ -952,8 +952,8 @@ golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.51.0 h1:IBPXwPfKxY7cWQZ38ZCIRPI50YLeevDLlLnyC5wRGTI= -golang.org/x/crypto v0.51.0/go.mod h1:8AdwkbraGNABw2kOX6YFPs3WM22XqI4EXEd8g+x7Oc8= +golang.org/x/crypto v0.52.0 h1:RMs7fP2rXdep0CftQlK8Uf+kibLm7qkCcradZWYz988= +golang.org/x/crypto v0.52.0/go.mod h1:1QgfPxDqh0T2M/elOJtp9RvuR95kVjir0e6/BvEmGbc= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -972,8 +972,8 @@ golang.org/x/exp/typeparams v0.0.0-20260209203927-2842357ff358 h1:qWFG1Dj7TBjOjO golang.org/x/exp/typeparams v0.0.0-20260209203927-2842357ff358/go.mod h1:4Mzdyp/6jzw9auFDJ3OMF5qksa7UvPnzKqTVGcb04ms= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.40.0 h1:Tw4GyDXMo+daZN1znreBRC3VayR1aLFUyUEOLUdW1a8= -golang.org/x/image v0.40.0/go.mod h1:uIc348UZMSvS5Z65CVZ7iDPaNobNFEPeJ4kbqTOszmA= +golang.org/x/image v0.41.0 h1:8wS72eGJMJaBxK6okTzd4WaXumUlTVlb753MlsSvTCo= +golang.org/x/image v0.41.0/go.mod h1:uIc348UZMSvS5Z65CVZ7iDPaNobNFEPeJ4kbqTOszmA= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1036,8 +1036,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20221002022538-bcab6841153b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.54.0 h1:2zJIZAxAHV/OHCDTCOHAYehQzLfSXuf/5SoL/Dv6w/w= -golang.org/x/net v0.54.0/go.mod h1:Sj4oj8jK6XmHpBZU/zWHw3BV3abl4Kvi+Ut7cQcY+cQ= +golang.org/x/net v0.55.0 h1:bcvxaJn3e1U6InsFWt1JUq1aSjnRxLzT2rtD2KfkDF8= +golang.org/x/net v0.55.0/go.mod h1:L5U2KuzuOe1lY7Z+aWVIKK6qEeJXnXV9yzGA+WCHJww= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1107,8 +1107,8 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.44.0 h1:ildZl3J4uzeKP07r2F++Op7E9B29JRUy+a27EibtBTQ= -golang.org/x/sys v0.44.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/sys v0.45.0 h1:dO4czNzziLiiXplLQgBCEpCvXQ3dnkn0SdaZSYdQ+FY= +golang.org/x/sys v0.45.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= @@ -1294,18 +1294,18 @@ honnef.co/go/tools v0.7.0 h1:w6WUp1VbkqPEgLz4rkBzH/CSU6HkoqNLp6GstyTx3lU= honnef.co/go/tools v0.7.0/go.mod h1:pm29oPxeP3P82ISxZDgIYeOaf9ta6Pi0EWvCFoLG2vc= modernc.org/cc/v4 v4.28.2 h1:3tQ0lf2ADtoby2EtSP+J7IE2SHwEJdP8ioR59wx7XpY= modernc.org/cc/v4 v4.28.2/go.mod h1:OnovgIhbbMXMu1aISnJ0wvVD1KnW+cAUJkIrAWh+kVI= -modernc.org/ccgo/v4 v4.34.0 h1:yRLPFZieg532OT4rp4JFNIVcquwalMX26G95WQDqwCQ= -modernc.org/ccgo/v4 v4.34.0/go.mod h1:AS5WYMyBakQ+fhsHhtP8mWB82KTGPkNNJDGfGQCe0/A= +modernc.org/ccgo/v4 v4.34.2 h1:mxsy2FdrB6+qG3NfXefz1AmWv0ehOSDO4jxgxd7h9yo= +modernc.org/ccgo/v4 v4.34.2/go.mod h1:1L7us56+kAKu04p25EATpmBBvhbcqqZ85ibqWVwVgog= modernc.org/fileutil v1.4.0 h1:j6ZzNTftVS054gi281TyLjHPp6CPHr2KCxEXjEbD6SM= modernc.org/fileutil v1.4.0/go.mod h1:EqdKFDxiByqxLk8ozOxObDSfcVOv/54xDs/DUHdvCUU= modernc.org/gc/v2 v2.6.5 h1:nyqdV8q46KvTpZlsw66kWqwXRHdjIlJOhG6kxiV/9xI= modernc.org/gc/v2 v2.6.5/go.mod h1:YgIahr1ypgfe7chRuJi2gD7DBQiKSLMPgBQe9oIiito= -modernc.org/gc/v3 v3.1.2 h1:ZtDCnhonXSZexk/AYsegNRV1lJGgaNZJuKjJSWKyEqo= -modernc.org/gc/v3 v3.1.2/go.mod h1:HFK/6AGESC7Ex+EZJhJ2Gni6cTaYpSMmU/cT9RmlfYY= +modernc.org/gc/v3 v3.1.3 h1:6QAplYyVO+KdPW3pGnqmJDUxtkec8ooEWvks/hhU3lc= +modernc.org/gc/v3 v3.1.3/go.mod h1:HFK/6AGESC7Ex+EZJhJ2Gni6cTaYpSMmU/cT9RmlfYY= modernc.org/goabi0 v0.2.0 h1:HvEowk7LxcPd0eq6mVOAEMai46V+i7Jrj13t4AzuNks= modernc.org/goabi0 v0.2.0/go.mod h1:CEFRnnJhKvWT1c1JTI3Avm+tgOWbkOu5oPA8eH8LnMI= -modernc.org/libc v1.72.3 h1:ZnDF4tXn4NBXFutMMQC4vtbTFSXhhKzR73fv0beZEAU= -modernc.org/libc v1.72.3/go.mod h1:dn0dZNnnn1clLyvRxLxYExxiKRZIRENOfqQ8XEeg4Qs= +modernc.org/libc v1.72.5 h1:m2OGx9Ser1VvTS4Z9ZJlWs+CBMxutLaTiAWkNz+NB9U= +modernc.org/libc v1.72.5/go.mod h1:np0N7KDJ7eUtMZmOqVZNldrZyG+DHLl2B5pg8Hbar3U= modernc.org/mathutil v1.7.1 h1:GCZVGXdaN8gTqB1Mf/usp1Y/hSqgI2vAGGP4jZMCxOU= modernc.org/mathutil v1.7.1/go.mod h1:4p5IwJITfppl0G4sUEDtCr4DthTaT47/N3aT6MhfgJg= modernc.org/memory v1.11.0 h1:o4QC8aMQzmcwCK3t3Ux/ZHmwFPzE6hf2Y5LbkRs+hbI= @@ -1314,8 +1314,8 @@ modernc.org/opt v0.2.0 h1:tGyef5ApycA7FSEOMraay9SaTk5zmbx7Tu+cJs4QKZg= modernc.org/opt v0.2.0/go.mod h1:03fq9lsNfvkYSfxrfUhZCWPk1lm4cq4N+Bh//bEtgns= modernc.org/sortutil v1.2.1 h1:+xyoGf15mM3NMlPDnFqrteY07klSFxLElE2PVuWIJ7w= modernc.org/sortutil v1.2.1/go.mod h1:7ZI3a3REbai7gzCLcotuw9AC4VZVpYMjDzETGsSMqJE= -modernc.org/sqlite v1.50.1 h1:l+cQvn0sd0zJJtfygGHuQJ5AjlrwXmWPw4KP3ZMwr9w= -modernc.org/sqlite v1.50.1/go.mod h1:tcNzv5p84E0skkmJn038y+hWJbLQXQqEnQfeh5r2JLM= +modernc.org/sqlite v1.51.0 h1:aH/MMSoayAIhozZ7uJbVTT9QO/VhzBf0J9tymmmuC/U= +modernc.org/sqlite v1.51.0/go.mod h1:tcNzv5p84E0skkmJn038y+hWJbLQXQqEnQfeh5r2JLM= modernc.org/strutil v1.2.1 h1:UneZBkQA+DX2Rp35KcM69cSsNES9ly8mQWD71HKlOA0= modernc.org/strutil v1.2.1/go.mod h1:EHkiggD70koQxjVdSBM3JKM7k6L0FbGE5eymy9i3B9A= modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y= diff --git a/backend/http/httpRouter.go b/backend/http/httpRouter.go index 946c24aec9..ddee6c9918 100644 --- a/backend/http/httpRouter.go +++ b/backend/http/httpRouter.go @@ -10,6 +10,7 @@ import ( "io/fs" "net" "net/http" + "os" "time" _ "net/http/pprof" @@ -127,7 +128,7 @@ func StartHttp(ctx context.Context, storage *bolt.BoltStore, shutdownComplete ch api.HandleFunc("POST /resources/archive", withUser(archiveCreateHandler)) api.HandleFunc("POST /resources/unarchive", withUser(unarchiveHandler)) api.HandleFunc("GET /resources/download", withUser(downloadHandler)) - api.HandleFunc("GET /resources/preview", withTimeout(60*time.Second, withUserHelper(previewHandler))) + api.HandleFunc("GET /resources/preview", withTimeout(30*time.Second, withUserHelper(previewHandler))) api.HandleFunc("POST /resources/pause", withUser(resourcePauseHandler)) publicApi.HandleFunc("GET /resources", withHashFile(publicGetResourceHandler)) publicApi.HandleFunc("GET /resources/items", withHashFile(publicItemsGetHandler)) @@ -137,7 +138,7 @@ func StartHttp(ctx context.Context, storage *bolt.BoltStore, shutdownComplete ch publicApi.HandleFunc("DELETE /resources/bulk", withHashFile(publicBulkDeleteHandler)) publicApi.HandleFunc("PATCH /resources", withHashFile(publicPatchHandler)) publicApi.HandleFunc("GET /resources/download", withHashFile(publicDownloadHandler)) - publicApi.HandleFunc("GET /resources/preview", withHashFile(publicPreviewHandler)) + publicApi.HandleFunc("GET /resources/preview", withTimeout(30*time.Second, withHashFileHelper(publicPreviewHandler))) publicApi.HandleFunc("POST /resources/pause", withHashFile(publicPauseHandler)) // Legacy routes (backwards compatibility) api.HandleFunc("GET /raw", withUser(downloadHandler)) @@ -253,16 +254,28 @@ func StartHttp(ctx context.Context, storage *bolt.BoltStore, shutdownComplete ch }) } - var scheme string - port := "" srv := &http.Server{ Addr: fmt.Sprintf("%v:%v", config.Server.ListenAddress, config.Server.Port), Handler: muxWithMiddleware(router), } listenAddress := config.Server.ListenAddress go func() { - // Determine whether to use HTTPS (TLS) or HTTP - if config.Server.TLSCert != "" && config.Server.TLSKey != "" { + var listener net.Listener + + if config.Server.Socket != "" { + if err := os.Remove(config.Server.Socket); err != nil && !os.IsNotExist(err) { + logger.Fatalf("Could not remove existing socket: %v", err) + } + var err error + listener, err = net.Listen("unix", config.Server.Socket) + if err != nil { + logger.Fatalf("Could not listen on unix socket: %v", err) + } + logger.Infof("Running at : unix://%s%s", config.Server.Socket, config.Server.BaseURL) + } else if config.Server.TLSCert != "" && config.Server.TLSKey != "" { + var scheme string + port := "" + // Determine whether to use HTTPS (TLS) or HTTP // Load the TLS certificate and key cer, err := tls.LoadX509KeyPair(config.Server.TLSCert, config.Server.TLSKey) if err != nil { @@ -286,8 +299,6 @@ func StartHttp(ctx context.Context, storage *bolt.BoltStore, shutdownComplete ch logger.Infof("Running at : %s", fullURL) // Attempt to get listener from socket activation with TLS configuration - var listener net.Listener - socketActivationListeners, err := activation.TLSListeners(tlsConfig) if err == nil && len(socketActivationListeners) > 0 { listener = socketActivationListeners[0] @@ -306,10 +317,9 @@ func StartHttp(ctx context.Context, storage *bolt.BoltStore, shutdownComplete ch } } - if err := srv.Serve(listener); err != nil && err != http.ErrServerClosed { - logger.Fatalf("Server error: %v", err) - } } else { + var scheme string + port := "" // Set HTTP scheme and the default port for HTTP scheme = "http" if config.Server.Port != 80 { @@ -320,8 +330,6 @@ func StartHttp(ctx context.Context, storage *bolt.BoltStore, shutdownComplete ch fullURL := fmt.Sprintf("%s://%s%s%s", scheme, listenAddress, port, config.Server.BaseURL) logger.Infof("Running at : %s", fullURL) - var listener net.Listener - // Attempt to get the listener from socket activation socketActivationListeners, err := activation.Listeners() if err == nil && len(socketActivationListeners) > 0 { @@ -347,10 +355,10 @@ func StartHttp(ctx context.Context, storage *bolt.BoltStore, shutdownComplete ch } } - // Start HTTP server - if err := srv.Serve(listener); err != nil && err != http.ErrServerClosed { - logger.Fatalf("Server error: %v", err) - } + } + + if err := srv.Serve(listener); err != nil && err != http.ErrServerClosed { + logger.Fatalf("Server error: %v", err) } }() @@ -389,6 +397,12 @@ func StartHttp(ctx context.Context, storage *bolt.BoltStore, shutdownComplete ch logger.Info("HTTP server shut down gracefully.") } + if config.Server.Socket != "" { + if err := os.Remove(config.Server.Socket); err != nil && !os.IsNotExist(err) { + logger.Debugf("Could not remove unix socket: %v", err) + } + } + // Signal that shutdown is complete close(shutdownComplete) } diff --git a/backend/http/media.go b/backend/http/media.go index c3129493bf..21b868c671 100644 --- a/backend/http/media.go +++ b/backend/http/media.go @@ -5,14 +5,13 @@ import ( "errors" "fmt" "net/http" - "os" "path/filepath" + "strings" "time" "github.com/gtsteffaniak/filebrowser/backend/adapters/fs/files" "github.com/gtsteffaniak/filebrowser/backend/common/utils" "github.com/gtsteffaniak/filebrowser/backend/ffmpeg" - "github.com/gtsteffaniak/filebrowser/backend/indexing" ) // subtitlesHandler handles subtitle requests for both external files and embedded streams @@ -37,58 +36,49 @@ func subtitlesHandler(w http.ResponseWriter, r *http.Request, d *requestContext) name := r.URL.Query().Get("name") embedded := r.URL.Query().Get("embedded") == "true" + if path == "" || source == "" { + return http.StatusBadRequest, fmt.Errorf("path and source are required") + } if name == "" { return http.StatusBadRequest, fmt.Errorf("name parameter is required") } - userscope, err := d.user.GetScopeForSourceName(source) + fileInfo, err := files.FileInfoFaster(utils.FileOptions{ + FollowSymlinks: true, + Path: path, + Source: source, + Expand: true, + Content: false, + Metadata: true, + ExtractEmbeddedSubtitles: config.Integrations.Media.ExtractEmbeddedSubtitles, + ShowHidden: d.user.ShowHidden, + HideFileExt: d.user.HideFileExt, + SkipExtendedAttrs: false, + }, store.Access, d.user, store.Share) if err != nil { - return http.StatusForbidden, err + return errToStatus(err), err + } + if !strings.HasPrefix(fileInfo.Type, "video") { + return http.StatusNotFound, fmt.Errorf("file is not a video") } - idx := indexing.GetIndex(source) - if idx == nil { - return http.StatusNotFound, fmt.Errorf("source %s not found", source) + track := findSubtitleTrack(fileInfo.Subtitles, name, embedded) + if track == nil { + return http.StatusNotFound, fmt.Errorf("subtitle track '%s' not found", name) } - realPath, _, err := idx.GetRealPath(userscope, path) - if err != nil { - return http.StatusNotFound, fmt.Errorf("file not found: %v", err) - } - - parentDir := filepath.Dir(realPath) var content string - if !embedded { - content, err = utils.GetSubtitleSidecarContent(filepath.Join(parentDir, name)) + subtitlePath := filepath.Join(filepath.Dir(fileInfo.RealPath), filepath.Base(track.Name)) + content, err = utils.GetSubtitleSidecarContent(subtitlePath) if err != nil { return http.StatusInternalServerError, fmt.Errorf("failed to get subtitle sidecar content: %v", err) } } else { - // For embedded subtitles, we need to find the stream index by name - // Get file modification time for caching - fileInfo, err := os.Stat(realPath) - if err != nil { - return http.StatusInternalServerError, fmt.Errorf("failed to stat file: %v", err) - } - - // Detect embedded subtitles - embeddedSubs := ffmpeg.DetectEmbeddedSubtitles(realPath, fileInfo.ModTime()) - - // Find the subtitle track by name - var streamIndex *int - for _, sub := range embeddedSubs { - if sub.Name == name { - streamIndex = sub.Index - break - } - } - - if streamIndex == nil { + if track.Index == nil { return http.StatusNotFound, fmt.Errorf("embedded subtitle track '%s' not found", name) } - - content, err = ffmpeg.ExtractSubtitleContent(realPath, *streamIndex) + content, err = ffmpeg.ExtractSubtitleContent(fileInfo.RealPath, *track.Index) if err != nil { return http.StatusInternalServerError, fmt.Errorf("failed to extract embedded subtitle: %v", err) } @@ -102,6 +92,16 @@ func subtitlesHandler(w http.ResponseWriter, r *http.Request, d *requestContext) return http.StatusOK, nil } +func findSubtitleTrack(subtitles []utils.SubtitleTrack, name string, embedded bool) *utils.SubtitleTrack { + for i := range subtitles { + sub := &subtitles[i] + if sub.Name == name && sub.Embedded == embedded { + return sub + } + } + return nil +} + // metadataHandler returns the same directory resource shape as GET /api/resources with metadata enabled, // for client-side patching after a fast listing load. // @Summary Directory with media metadata @@ -196,19 +196,26 @@ func lyricsHandler(w http.ResponseWriter, r *http.Request, d *requestContext) (i if path == "" || source == "" { return http.StatusBadRequest, fmt.Errorf("path and source are required") } - userscope, err := d.user.GetScopeForSourceName(source) + + fileInfo, err := files.FileInfoFaster(utils.FileOptions{ + FollowSymlinks: true, + Path: path, + Source: source, + Expand: true, + Content: false, + Metadata: false, + ShowHidden: d.user.ShowHidden, + HideFileExt: d.user.HideFileExt, + SkipExtendedAttrs: false, + }, store.Access, d.user, store.Share) if err != nil { - return http.StatusForbidden, err + return errToStatus(err), err } - idx := indexing.GetIndex(source) - if idx == nil { - return http.StatusNotFound, fmt.Errorf("source %s not found", source) + if !strings.HasPrefix(fileInfo.Type, "audio") { + return http.StatusNotFound, fmt.Errorf("file is not an audio file") } - realPath, _, err := idx.GetRealPath(userscope, path) - if err != nil { - return http.StatusNotFound, err - } - lyrics, err := files.ExtractLyrics(realPath) + + lyrics, err := files.ExtractLyrics(fileInfo.RealPath) if err != nil { return http.StatusInternalServerError, fmt.Errorf("failed to extract lyrics: %v", err) } @@ -230,15 +237,26 @@ func publicLyricsHandler(w http.ResponseWriter, r *http.Request, d *requestConte if !ok { return http.StatusNotFound, fmt.Errorf("source not found") } - idx := indexing.GetIndex(sourceCfg.Name) - if idx == nil { - return http.StatusNotFound, fmt.Errorf("source not found") - } - realPath, _, err := idx.GetRealPath(d.IndexPath) + + fileInfo, err := files.FileInfoFaster(utils.FileOptions{ + Path: d.IndexPath, + Source: sourceCfg.Name, + Expand: true, + Content: false, + Metadata: false, + ShowHidden: d.share.ShowHidden, + HideFileExt: d.user.HideFileExt, + FollowSymlinks: false, + SkipExtendedAttrs: false, + }, store.Access, d.shareUser, store.Share) if err != nil { - return http.StatusNotFound, errors.New("could not find real path for file") + return errToStatus(err), err } - lyrics, err := files.ExtractLyrics(realPath) + if !strings.HasPrefix(fileInfo.Type, "audio") { + return http.StatusNotFound, fmt.Errorf("file is not an audio file") + } + + lyrics, err := files.ExtractLyrics(fileInfo.RealPath) if err != nil { return http.StatusInternalServerError, errors.New("failed to extract lyrics") } diff --git a/backend/http/preview.go b/backend/http/preview.go index 70e44e65a9..65ce18b878 100644 --- a/backend/http/preview.go +++ b/backend/http/preview.go @@ -84,6 +84,22 @@ func previewHandler(w http.ResponseWriter, r *http.Request, d *requestContext) ( return status, nil } +func shouldServeOriginalPreview(ext string, resizable bool, realPath, previewSize string, fileSize int64) bool { + if !resizable { + return false + } + // HEIC/TIFF still need conversion for reliable web display. + switch ext { + case ".heic", ".heif", ".tiff", ".tif": + return false + } + const maxSizeForOriginal = 256 * 1024 // 256KB + if config.Server.DisableResize || fileSize < maxSizeForOriginal { + return true + } + return preview.ShouldServeOriginalImage(realPath, previewSize) +} + func rawFileHandler(w http.ResponseWriter, r *http.Request, file iteminfo.ExtendedFileInfo) (int, error) { fd, err := os.Open(file.RealPath) if err != nil { @@ -155,6 +171,11 @@ func getDirectoryPreview(r *http.Request, d *requestContext, frameIndex int) (*i } func previewHelperFunc(w http.ResponseWriter, r *http.Request, d *requestContext) (int, error) { + ctx := r.Context() + if d.ctx != nil { + ctx = d.ctx + } + previewSize := r.URL.Query().Get("size") if !(previewSize == "large" || previewSize == "original" || previewSize == "xlarge") { previewSize = "small" @@ -191,6 +212,12 @@ func previewHelperFunc(w http.ResponseWriter, r *http.Request, d *requestContext } fileInfo, err := getDirectoryPreview(r, d, dirFrameIndex) if err != nil { + if isClientCancellation(ctx, err) { + return http.StatusOK, nil + } + if ctx.Err() == context.DeadlineExceeded || errors.Is(err, context.DeadlineExceeded) { + return http.StatusRequestTimeout, fmt.Errorf("preview generation timed out") + } logger.Errorf("error getting directory preview: %v", err) return http.StatusInternalServerError, err } @@ -203,9 +230,9 @@ func previewHelperFunc(w http.ResponseWriter, r *http.Request, d *requestContext ext := strings.ToLower(filepath.Ext(d.fileInfo.Name)) resizable := iteminfo.ResizableImageTypes[ext] - // For small, displayable images (jpg, png, etc.) serve the original to avoid processing. - const maxSizeForOriginal = 128 * 1024 // 128KB - if resizable && (config.Server.DisableResize || d.fileInfo.Size < maxSizeForOriginal) && isImage { + // For small displayable images (jpg, png, etc.) serve the original to avoid processing. + // Also serve the original when dimensions already fit the requested preview size. + if isImage && shouldServeOriginalPreview(ext, resizable, d.fileInfo.RealPath, previewSize, d.fileInfo.Size) { return rawFileHandler(w, r, d.fileInfo) } @@ -223,12 +250,6 @@ func previewHelperFunc(w http.ResponseWriter, r *http.Request, d *requestContext officeUrl = scheme + "://" + r.Host + pathUrl } } - // Use the context from the request context (which includes timeout) - ctx := r.Context() - if d.ctx != nil { - ctx = d.ctx - } - previewImg, err := preview.GetPreviewForFile(ctx, d.fileInfo, previewSize, officeUrl, seekPercentage) if err != nil { // Check if it was a context cancellation (client navigated away) @@ -239,8 +260,8 @@ func previewHelperFunc(w http.ResponseWriter, r *http.Request, d *requestContext // Check if it was a context timeout (server-side timeout) if ctx.Err() == context.DeadlineExceeded || errors.Is(err, context.DeadlineExceeded) { - logger.Errorf("Preview timeout for file '%s' after 60 seconds", d.fileInfo.Name) - return http.StatusRequestTimeout, fmt.Errorf("preview generation timed out after 60 seconds") + logger.Errorf("Preview timeout for file '%s' after 15 seconds", d.fileInfo.Name) + return http.StatusRequestTimeout, fmt.Errorf("preview generation timed out after 15 seconds") } // Log detailed error information for actual server errors diff --git a/backend/http/resource.go b/backend/http/resource.go index d770da69b2..5929efc518 100644 --- a/backend/http/resource.go +++ b/backend/http/resource.go @@ -907,7 +907,7 @@ func resourcePatchHandler(w http.ResponseWriter, r *http.Request, d *requestCont } if srcIdx.Config.ReadOnly && req.Action == "move" { - item.Message = "source source is read-only" + item.Message = "From source is read-only and cannot be moved" if d.share != nil { response.Failed = append(response.Failed, MoveCopyItem{ Message: item.Message, diff --git a/backend/http/users.go b/backend/http/users.go index baf234955b..61281b26dd 100644 --- a/backend/http/users.go +++ b/backend/http/users.go @@ -99,6 +99,7 @@ func prepForFrontend(u *users.User) { u.TOTPSecret = "" u.TOTPNonce = "" u.Scopes = u.GetFrontendScopes() + u.PinnedItems = u.GetFrontendPinnedItems() u.SidebarLinks = GetFrontendSidebarLinks(u.SidebarLinks, u.ShowToolsInSidebar) u.Locale = normalizeLocale(u.Locale) for i := range u.PasskeyCredentials { @@ -355,6 +356,10 @@ func userPutOnlyNonAdminEditableFields(which []string) bool { return true } +func userPutOnlyPinnedItems(which []string) bool { + return len(which) == 1 && strings.EqualFold(strings.TrimSpace(which[0]), "PinnedItems") +} + // verifyActorPasswordForUserPut requires URL-encoded X-Password when the authenticated actor uses // password login. Callers should invoke this only when the update requires re-authentication. func verifyActorPasswordForUserActions(r *http.Request, d *requestContext) (int, error) { @@ -453,6 +458,18 @@ func userPutHandler(w http.ResponseWriter, r *http.Request, d *requestContext) ( } } + if userPutOnlyPinnedItems(req.Which) { + adjustedPinnedItems, err2 := req.User.GetBackendPinnedItems() + if err2 != nil { + return http.StatusBadRequest, err2 + } + oldUser.PinnedItems = adjustedPinnedItems + if err2 := store.Users.Save(oldUser, false, false); err2 != nil { + return http.StatusBadRequest, err2 + } + return http.StatusNoContent, nil + } + err = store.Users.Update(&req.User, d.user.Permissions.Admin, req.Which...) if err != nil { return http.StatusBadRequest, err diff --git a/backend/icons/generator.go b/backend/icons/generator.go index 06661135e8..e360133110 100644 --- a/backend/icons/generator.go +++ b/backend/icons/generator.go @@ -2,6 +2,7 @@ package icons import ( "bytes" + "context" "errors" "fmt" "io/fs" @@ -205,6 +206,7 @@ func generateSingleIcon(previewService *preview.Service, sourceData []byte, icon // Resize image using the preview service's Resize method err = previewService.Resize( + context.Background(), bytes.NewReader(sourceData), outFile, preview.ResizeOptions{ diff --git a/backend/indexing/indexingFiles.go b/backend/indexing/indexingFiles.go index 17caf5a252..3d1b48a1f9 100644 --- a/backend/indexing/indexingFiles.go +++ b/backend/indexing/indexingFiles.go @@ -624,7 +624,7 @@ func (idx *Index) indexDirectory(indexPath string, opts Options, scanner *Scanne if err2 != nil { return 0, false, err2 } - idx.UpdateMetadata(dirFileInfo, scanner) + idx.UpdateMetadata(dirFileInfo, scanner, !opts.Recursive) // Always store the calculated directory size in the in-memory map // This ensures parent directories are updated after copy/move operations diff --git a/backend/indexing/indexingScanner.go b/backend/indexing/indexingScanner.go index b149d6d75b..eb4793d831 100644 --- a/backend/indexing/indexingScanner.go +++ b/backend/indexing/indexingScanner.go @@ -635,7 +635,7 @@ func (s *Scanner) checkFolderModtime(folderPath string) (bool, error) { } // Update metadata (will be batched) - s.idx.UpdateMetadata(dirInfo, s) + s.idx.UpdateMetadata(dirInfo, s, true) // Track this directory as having been updated (for file purge logic) s.idx.mu.Lock() @@ -650,11 +650,17 @@ func (s *Scanner) checkFolderModtime(folderPath string) (bool, error) { // Modtime unchanged - update last_updated to prevent folder from being purged // Note: we DON'T add this folder to scanUpdatedPaths, so Phase 2 won't check its files - // Use cached aggregate size: BulkInsertItems overwrites DB size;0 would corrupt LoadFolderSizes on restart. + // BulkInsertItems overwrites all columns — preserve size/hasPreview/hidden from cache/DB, not hardcoded defaults. var sizeForDB int64 if cached, ok := s.idx.GetFolderSize(folderPath); ok { sizeForDB = int64(cached) } + hasPreview := false + hidden := IsHidden(realPath) + if existing, ok := s.idx.GetReducedMetadata(folderPath, true); ok && existing != nil { + hasPreview = existing.HasPreview + hidden = existing.Hidden + } fileInfo := &iteminfo.FileInfo{ Path: folderPath, ItemInfo: iteminfo.ItemInfo{ @@ -662,8 +668,8 @@ func (s *Scanner) checkFolderModtime(folderPath string) (bool, error) { Size: sizeForDB, ModTime: info.ModTime(), Type: "directory", - Hidden: false, - HasPreview: false, + Hidden: hidden, + HasPreview: hasPreview, }, } diff --git a/backend/indexing/indexingScanner_test.go b/backend/indexing/indexingScanner_test.go index 0a514c3c56..263ff62919 100644 --- a/backend/indexing/indexingScanner_test.go +++ b/backend/indexing/indexingScanner_test.go @@ -3,8 +3,11 @@ package indexing import ( "os" "testing" + "time" "github.com/gtsteffaniak/filebrowser/backend/common/settings" + dbsql "github.com/gtsteffaniak/filebrowser/backend/database/sql" + "github.com/gtsteffaniak/filebrowser/backend/indexing/iteminfo" ) func TestPrepareScanStateInitializesMaps(t *testing.T) { @@ -33,3 +36,80 @@ func TestIsPathGone(t *testing.T) { t.Fatal("os.ErrNotExist should be path gone") } } + +// TestCheckFolderModtime_unchangedPreservesHasPreviewAndHidden verifies quick-scan touch updates +// do not clobber has_preview/hidden when folder modtime is unchanged. +func TestCheckFolderModtime_unchangedPreservesHasPreviewAndHidden(t *testing.T) { + if indexDB == nil { + var err error + indexDB, _, err = dbsql.NewIndexDB("test_scanner_modtime", "OFF", 1000, 32, false) + if err != nil { + t.Fatalf("Failed to create test database: %v", err) + } + } + + root := t.TempDir() + photosDir := root + "/photos" + if err := os.Mkdir(photosDir, 0o755); err != nil { + t.Fatalf("mkdir photos: %v", err) + } + + idx := &Index{ + ReducedIndex: ReducedIndex{}, + Source: settings.Source{ + Name: "test_modtime", + Path: root, + }, + db: indexDB, + scanUpdatedPaths: make(map[string]bool), + folderSizes: make(map[string]uint64), + folderSizesUnsynced: make(map[string]struct{}), + } + + folderPath := "/photos/" + now := time.Now() + stored := &iteminfo.FileInfo{ + Path: folderPath, + ItemInfo: iteminfo.ItemInfo{ + Name: "photos", + Type: "directory", + Size: 42, + ModTime: now.Add(-time.Hour), + Hidden: true, + HasPreview: true, + }, + } + if err := idx.db.InsertItem("test_modtime", folderPath, stored); err != nil { + t.Fatalf("InsertItem: %v", err) + } + idx.SetFolderSize(folderPath, 42) + + s := &Scanner{ + scanPath: "/", + idx: idx, + } + s.withStatsLock(func() { + s.lastScanned = time.Now() + }) + s.batchItems = make([]*iteminfo.FileInfo, 0, idx.db.BatchSize) + + changed, err := s.checkFolderModtime(folderPath) + if err != nil { + t.Fatalf("checkFolderModtime: %v", err) + } + if changed { + t.Fatal("expected unchanged folder") + } + s.flushBatch() + + got, ok := idx.GetReducedMetadata(folderPath, true) + if !ok || got == nil { + t.Fatal("expected folder metadata after touch update") + } + if !got.HasPreview { + t.Error("HasPreview should be preserved on unchanged modtime touch update") + } + if !got.Hidden { + t.Error("Hidden should be preserved on unchanged modtime touch update") + } +} diff --git a/backend/indexing/indexingSchedulerLoop.go b/backend/indexing/indexingSchedulerLoop.go index cfe14b679a..1dfcf19f81 100644 --- a/backend/indexing/indexingSchedulerLoop.go +++ b/backend/indexing/indexingSchedulerLoop.go @@ -213,11 +213,7 @@ func (idx *Index) runSerialScanPass() { paths := sortedScannerPaths(idx) idx.mu.Lock() idx.schedulerBatch++ - batchDepth := idx.schedulerBatch idx.mu.Unlock() - logger.Debugf("[%s] scheduler: serialPass start paths=%d batchDepth=%d adaptive=%v", - idx.Name, len(paths), batchDepth, idx.useAdaptiveScheduling()) - defer func() { idx.mu.Lock() idx.schedulerBatch-- @@ -225,7 +221,6 @@ func (idx *Index) runSerialScanPass() { if err := idx.PostScan(); err != nil { logger.Errorf("PostScan after serial pass: %v", err) } - logger.Debugf("[%s] scheduler: serialPass done", idx.Name) }() for _, p := range paths { @@ -334,7 +329,7 @@ func (idx *Index) runIndexScheduler() { for { now := time.Now() next := idx.earliestSlotWake(now) - d := time.Until(next) + d := time.Until(next).Truncate(time.Second) if d < time.Second { d = time.Second } diff --git a/backend/indexing/iteminfo/mediaMeta.go b/backend/indexing/iteminfo/mediaMeta.go index 1eb4d2bca8..fa6ff82de2 100644 --- a/backend/indexing/iteminfo/mediaMeta.go +++ b/backend/indexing/iteminfo/mediaMeta.go @@ -411,20 +411,7 @@ func ShouldBubbleUpToFolderPreview(item ItemInfo) bool { if item.Type == "directory" || !item.HasPreview { return false } - // Get the simple type (e.g., "image", "video", "text") simpleType := strings.Split(item.Type, "/")[0] - // Text files should NOT bubble up - if simpleType == "text" { - return false - } - // Office documents should NOT bubble up - if IsOnlyOffice(item.Name) { - return false - } - // Document convertable files (PDFs, etc.) should NOT bubble up - if HasDocConvertableExtension(item.Name, item.Type) { - return false - } // Only allow images, videos, and audio with album art to bubble up if simpleType == "image" || simpleType == "video" || simpleType == "audio" { return true diff --git a/backend/indexing/mock.go b/backend/indexing/mock.go index f78e7fdfa5..3fc6bbb51e 100644 --- a/backend/indexing/mock.go +++ b/backend/indexing/mock.go @@ -30,7 +30,7 @@ func (idx *Index) CreateMockData(numDirs, numFilesPerDir int) { Files: files, } - idx.UpdateMetadata(dirInfo, nil) // nil scanner for mock + idx.UpdateMetadata(dirInfo, nil, true) // nil scanner for mock } } diff --git a/backend/indexing/mutate.go b/backend/indexing/mutate.go index 969a3a2c9f..0764987fb6 100644 --- a/backend/indexing/mutate.go +++ b/backend/indexing/mutate.go @@ -13,57 +13,35 @@ import ( ) // UpdateMetadata persists a completed directory listing to the index. The directory row's has_preview -// scanner is optional — if nil (API refresh), inserts run immediately; otherwise items batch until flush. -func (idx *Index) UpdateMetadata(info *iteminfo.FileInfo, scanner *Scanner) bool { +// reflects direct previewable children only (see GetDirInfoCore). +func (idx *Index) UpdateMetadata(info *iteminfo.FileInfo, scanner *Scanner, persistListedFolders bool) bool { items := make([]*iteminfo.FileInfo, 0, len(info.Files)+len(info.Folders)+1) dirItem := *info items = append(items, &dirItem) - // Check if we're in a batch scan (scanner provided) isBatchScan := scanner != nil + includeListedFolders := !isBatchScan || persistListedFolders - if isBatchScan { - // During recursive scans: only insert directory itself and direct files - // Subdirectories will be inserted by their own recursive indexDirectory call - // This avoids redundant inserts and maintains the in-memory size calculation pattern - for i := range info.Files { - f := &info.Files[i] - // Construct index path for the file - filePath := strings.TrimRight(info.Path, "/") + "/" + f.Name - - fileItem := &iteminfo.FileInfo{ - ItemInfo: f.ItemInfo, - Path: filePath, // Store index path, not absolute path - } - items = append(items, fileItem) - } - } else { - // Not in batch scan (e.g., API-triggered updates): insert everything - // Add folders to the bulk insert with index paths + if includeListedFolders { for i := range info.Folders { folder := &info.Folders[i] - // Construct index path for the folder (with trailing slash) folderPath := strings.TrimRight(info.Path, "/") + "/" + folder.Name + "/" - folderItem := &iteminfo.FileInfo{ ItemInfo: *folder, - Path: folderPath, // Store index path with trailing slash + Path: folderPath, } items = append(items, folderItem) } + } - // Add files to the bulk insert with index paths - for i := range info.Files { - f := &info.Files[i] - // Construct index path for the file - filePath := strings.TrimRight(info.Path, "/") + "/" + f.Name - - fileItem := &iteminfo.FileInfo{ - ItemInfo: f.ItemInfo, - Path: filePath, // Store index path, not absolute path - } - items = append(items, fileItem) + for i := range info.Files { + f := &info.Files[i] + filePath := strings.TrimRight(info.Path, "/") + "/" + f.Name + fileItem := &iteminfo.FileInfo{ + ItemInfo: f.ItemInfo, + Path: filePath, } + items = append(items, fileItem) } // Use scanner-specific batch if available diff --git a/backend/indexing/mutate_test.go b/backend/indexing/mutate_test.go index f3e5b4710b..580c71022a 100644 --- a/backend/indexing/mutate_test.go +++ b/backend/indexing/mutate_test.go @@ -242,7 +242,7 @@ func TestUpdateFileMetadata(t *testing.T) { mock: true, } - success := index.UpdateMetadata(info, nil) // nil scanner for test + success := index.UpdateMetadata(info, nil, true) // nil scanner for test if !success { t.Fatalf("expected UpdateFileMetadata to succeed") } @@ -315,9 +315,73 @@ func TestSetDirectoryInfo(t *testing.T) { {ItemInfo: iteminfo.ItemInfo{Name: "testfile.txt", ModTime: time.Now()}}, }, } - index.UpdateMetadata(dir, nil) // nil scanner for test + index.UpdateMetadata(dir, nil, true) // nil scanner for test storedDir, exists := index.GetMetadataInfo("/newPath/", true, false) if !exists || storedDir.Files[0].Name != "testfile.txt" { t.Fatalf("expected SetDirectoryInfo to store directory info correctly") } } + +func TestUpdateMetadata_batchScanPersistListedFolders(t *testing.T) { + t.Parallel() + if indexDB == nil { + var err error + indexDB, _, err = dbsql.NewIndexDB("test_mutate_batch", "OFF", 1000, 32, false) + if err != nil { + t.Fatalf("Failed to create test database: %v", err) + } + } + + index := &Index{ + Source: settings.Source{ + Name: "test_batch_folders", + Path: "/mock/path", + }, + db: indexDB, + mock: true, + } + scanner := &Scanner{idx: index, batchItems: make([]*iteminfo.FileInfo, 0, 16)} + + now := time.Now() + parent := &iteminfo.FileInfo{ + Path: "/parent/", + ItemInfo: iteminfo.ItemInfo{ + Name: "parent", + Type: "directory", + ModTime: now, + }, + Folders: []iteminfo.ItemInfo{ + { + Name: "child", + Type: "directory", + Size: 100, + ModTime: now, + HasPreview: true, + Hidden: true, + }, + }, + } + + index.UpdateMetadata(parent, scanner, false) + scanner.flushBatch() + + _, exists := index.GetReducedMetadata("/parent/child/", true) + if exists { + t.Fatal("recursive batch scan should not persist listed subfolders when persistListedFolders is false") + } + + scanner.batchItems = scanner.batchItems[:0] + index.UpdateMetadata(parent, scanner, true) + scanner.flushBatch() + + child, exists := index.GetReducedMetadata("/parent/child/", true) + if !exists || child == nil { + t.Fatal("expected child folder row after persistListedFolders=true batch update") + } + if !child.HasPreview { + t.Error("child HasPreview should be persisted from listing") + } + if !child.Hidden { + t.Error("child Hidden should be persisted from listing") + } +} diff --git a/backend/preview/image.go b/backend/preview/image.go index 0c59ed6b48..6e93595cec 100644 --- a/backend/preview/image.go +++ b/backend/preview/image.go @@ -2,6 +2,7 @@ package preview import ( "bytes" + "context" "fmt" "image" "image/jpeg" @@ -12,6 +13,22 @@ import ( "github.com/kovidgoyal/imaging" ) +// configureImagingParallelism limits kovidgoyal/imaging to one thread per resize. +// Concurrent preview jobs are capped separately by imageSem (like OG filebrowser). +func configureImagingParallelism() { + imaging.SetMaxProcs(1) +} + +// previewDecodeOpts returns decode options tuned for thumbnails: skip ICC/sRGB conversion +// (not needed for previews) and optionally apply EXIF orientation. +func previewDecodeOpts(autoOrient bool) []imaging.DecodeOption { + opts := []imaging.DecodeOption{imaging.ColorSpace(imaging.NO_CHANGE_OF_COLORSPACE)} + if autoOrient { + opts = append(opts, imaging.AutoOrientation(true)) + } + return opts +} + // Format is an image file format. /* ENUM( @@ -150,12 +167,26 @@ type ResizeOptions struct { JpegQuality int // JPEG encoding quality (1-100), 0 means use Quality default } -func (s *Service) Resize(in io.Reader, out io.Writer, opts ResizeOptions) error { - return s.ResizeWithSize(in, out, 0, opts) +func (s *Service) Resize(ctx context.Context, in io.Reader, out io.Writer, opts ResizeOptions) error { + return s.ResizeWithSize(ctx, in, out, 0, opts) } -// ResizeWithSize resizes an image with file size information for appropriate semaphore selection -func (s *Service) ResizeWithSize(in io.Reader, out io.Writer, fileSize int64, opts ResizeOptions) error { +// ResizeWithSize resizes an image with file size information for appropriate semaphore selection. +// Resize runs synchronously so the image semaphore accurately bounds concurrent CPU work. +// A detached goroutine would return on ctx cancellation while still decoding/resizing, +// defeating the semaphore and piling up orphaned work that causes preview timeouts under load. +func (s *Service) ResizeWithSize(ctx context.Context, in io.Reader, out io.Writer, fileSize int64, opts ResizeOptions) error { + if ctx.Err() != nil { + return ctx.Err() + } + err := s.resizeWithSize(in, out, fileSize, opts) + if ctx.Err() != nil { + return ctx.Err() + } + return err +} + +func (s *Service) resizeWithSize(in io.Reader, out io.Writer, fileSize int64, opts ResizeOptions) error { // Set defaults if opts.ResizeMode == 0 { opts.ResizeMode = ResizeModeFit @@ -193,7 +224,7 @@ func (s *Service) ResizeWithSize(in io.Reader, out io.Writer, fileSize int64, op } // Decode the image - try imaging library first, fall back to format-specific decoder if it fails - img, err := imaging.Decode(wrappedReader, imaging.AutoOrientation(true)) + img, err := imaging.Decode(wrappedReader, previewDecodeOpts(true)...) if err != nil { // Imaging library failed, try format-specific standard decoder as fallback // Reset reader if possible @@ -217,7 +248,16 @@ func (s *Service) ResizeWithSize(in io.Reader, out io.Writer, fileSize int64, op } } - // Resize + // Skip resize in Fit mode when the image is already within target dimensions. + // Fill mode may still need to upscale or crop to reach the target size. + bounds := img.Bounds() + if opts.ResizeMode != ResizeModeFill && bounds.Dx() <= opts.Width && bounds.Dy() <= opts.Height { + if opts.Format == FormatJpeg { + return jpeg.Encode(out, img, &jpeg.Options{Quality: opts.JpegQuality}) + } + return imaging.Encode(out, img, opts.Format.toImaging()) + } + resampleFilter := opts.Quality.resampleFilter() switch opts.ResizeMode { case ResizeModeFill: @@ -242,7 +282,7 @@ func applyOrientationToPreviewBytes(imageBytes []byte, orientation string) []byt if len(imageBytes) < 100 { return imageBytes } - img, err := imaging.Decode(bytes.NewReader(imageBytes)) + img, err := imaging.Decode(bytes.NewReader(imageBytes), previewDecodeOpts(false)...) if err != nil { return imageBytes } @@ -268,7 +308,7 @@ func applyOrientationToPreviewBytes(imageBytes []byte, orientation string) []byt return imageBytes } var buf bytes.Buffer - if err := jpeg.Encode(&buf, out, &jpeg.Options{Quality: 90}); err != nil { + if err := jpeg.Encode(&buf, out, &jpeg.Options{Quality: 80}); err != nil { return imageBytes } return buf.Bytes() @@ -357,6 +397,6 @@ func CreateThumbnail(rawData io.Reader, width, height int) (image.Image, error) if err != nil { return nil, fmt.Errorf("failed to decode image: %w", err) } - thumb := imaging.Fit(img, width, height, imaging.Lanczos) + thumb := imaging.Fit(img, width, height, imaging.CatmullRom) return thumb, nil } diff --git a/backend/preview/image_test.go b/backend/preview/image_test.go index 9ae8f32dcf..e9f9d57929 100644 --- a/backend/preview/image_test.go +++ b/backend/preview/image_test.go @@ -2,6 +2,7 @@ package preview import ( "bytes" + "context" "errors" "image" "image/gif" @@ -247,7 +248,7 @@ func TestService_Resize(t *testing.T) { defer source.Close() buf := &bytes.Buffer{} - err := svc.Resize(source, buf, test.options) + err := svc.Resize(context.Background(), source, buf, test.options) if (err != nil) != test.wantErr { t.Fatalf("GetMarketSpecs() error = %v, wantErr %v", err, test.wantErr) } @@ -459,7 +460,7 @@ func TestResize_ConcurrencyLimit(t *testing.T) { source := newGrayJpeg(t, 100, 100) defer source.Close() out := &bytes.Buffer{} - err := svc.Resize(source, out, ResizeOptions{Width: 50, Height: 50}) + err := svc.Resize(context.Background(), source, out, ResizeOptions{Width: 50, Height: 50}) require.NoError(t, err) require.Greater(t, out.Len(), 0) } @@ -473,7 +474,7 @@ func TestResize_ConcurrencyLimit_NoFFmpeg(t *testing.T) { source := newGrayJpeg(t, 100, 100) defer source.Close() out := &bytes.Buffer{} - err := svc.Resize(source, out, ResizeOptions{Width: 50, Height: 50}) + err := svc.Resize(context.Background(), source, out, ResizeOptions{Width: 50, Height: 50}) require.NoError(t, err) require.Greater(t, out.Len(), 0) } @@ -494,12 +495,47 @@ func TestCreatePreviewFromReader_UsesConcurrencyLimit(t *testing.T) { require.NoError(t, err) // Create preview from reader - out, err := svc.CreatePreview(bytes.NewReader(data), int64(len(data)), options) + out, err := svc.CreatePreview(context.Background(), bytes.NewReader(data), int64(len(data)), options) require.NoError(t, err) require.NotEmpty(t, out) // Same via another call for parity - out2, err := svc.CreatePreview(bytes.NewReader(data), int64(len(data)), options) + out2, err := svc.CreatePreview(context.Background(), bytes.NewReader(data), int64(len(data)), options) require.NoError(t, err) require.Equal(t, out, out2) } + +func TestImageFitsPreviewSize(t *testing.T) { + t.Parallel() + + tests := []struct { + name string + width int + height int + previewSize string + want bool + }{ + {name: "fits xlarge", width: 800, height: 600, previewSize: "xlarge", want: true}, + {name: "exceeds xlarge width", width: 1200, height: 600, previewSize: "xlarge", want: false}, + {name: "fits large", width: 640, height: 480, previewSize: "large", want: true}, + {name: "fits small", width: 256, height: 200, previewSize: "small", want: true}, + {name: "exceeds small height", width: 200, height: 300, previewSize: "small", want: false}, + {name: "original always fits", width: 5000, height: 5000, previewSize: "original", want: true}, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + require.Equal(t, tt.want, ImageFitsPreviewSize(tt.width, tt.height, tt.previewSize)) + }) + } +} + +func TestReadImageFileDimensions(t *testing.T) { + t.Parallel() + + width, height, err := ReadImageFileDimensions("testdata/gray-sample.jpg") + require.NoError(t, err) + require.Greater(t, width, 0) + require.Greater(t, height, 0) +} diff --git a/backend/preview/office.go b/backend/preview/office.go index cad72e0ccc..c81a8b77cc 100644 --- a/backend/preview/office.go +++ b/backend/preview/office.go @@ -87,14 +87,17 @@ func (s *Service) GenerateOfficePreview(ctx context.Context, filetype, key, titl return data, fmt.Errorf("error from OnlyOffice: %s", response.Error) } - // make get request to binary data response.FileURL and return the body as a byte array data - resp, err = http.Get(response.FileURL) + thumbReq, err := http.NewRequestWithContext(ctx, http.MethodGet, response.FileURL, nil) if err != nil { return data, err } - defer resp.Body.Close() - if resp.StatusCode != http.StatusOK { - return data, fmt.Errorf("failed to get preview file, status code: %d", resp.StatusCode) + thumbResp, err := client.Do(thumbReq) + if err != nil { + return data, err } - return io.ReadAll(resp.Body) + defer thumbResp.Body.Close() + if thumbResp.StatusCode != http.StatusOK { + return data, fmt.Errorf("failed to get preview file, status code: %d", thumbResp.StatusCode) + } + return io.ReadAll(thumbResp.Body) } diff --git a/backend/preview/preview.go b/backend/preview/preview.go index 8b14a82227..393f8ba5db 100644 --- a/backend/preview/preview.go +++ b/backend/preview/preview.go @@ -7,6 +7,7 @@ import ( "encoding/hex" "errors" "fmt" + "image" "io" "os" "path/filepath" @@ -49,6 +50,8 @@ type Service struct { // 3-6 processors: 2 large, rest small // 7+ processors: 3 large, rest small func NewPreviewGenerator(concurrencyLimit int, cacheDir string) *Service { + configureImagingParallelism() + if concurrencyLimit < 1 { concurrencyLimit = 1 } @@ -342,6 +345,13 @@ func (s *Service) generateVideoPreviewBytes(ctx context.Context, file iteminfo.E // generateImagePreview generates preview for regular image files func (s *Service) generateImagePreview(ctx context.Context, file iteminfo.ExtendedFileInfo, previewSize string) ([]byte, error) { + const maxSizeForOriginal = 256 * 1024 // 256KB + if previewSize != "original" && (file.Size < maxSizeForOriginal || ShouldServeOriginalImage(file.RealPath, previewSize)) { + if original, err := os.ReadFile(file.RealPath); err == nil { + return original, nil + } + } + // Stream from file instead of os.ReadFile so we don't load every image fully into memory f, err := os.Open(file.RealPath) if err != nil { @@ -355,8 +365,11 @@ func (s *Service) generateImagePreview(ctx context.Context, file iteminfo.Extend return nil, err } - imageBytes, err := s.CreatePreview(f, file.Size, options) + imageBytes, err := s.CreatePreview(ctx, f, file.Size, options) if err != nil { + if ctx.Err() != nil { + return nil, ctx.Err() + } // For JPEG files, try FFmpeg fallback if initial decode failed if strings.HasPrefix(file.Type, "image/jpeg") { return handleJPEGFallback(ctx, s, file, previewSize, err) @@ -496,8 +509,18 @@ func GeneratePreviewWithMD5(ctx context.Context, file iteminfo.ExtendedFileInfo, return nil, err } - resizedBytes, err := service.CreatePreview(bytes.NewReader(imageBytes), 0, options) + if cfg, _, cfgErr := image.DecodeConfig(bytes.NewReader(imageBytes)); cfgErr == nil && ImageFitsPreviewSize(cfg.Width, cfg.Height, previewSize) { + if err = service.fileCache.Store(ctx, cacheKey, imageBytes); err != nil { + logger.Errorf("failed to cache image: %v", err) + } + return imageBytes, nil + } + + resizedBytes, err := service.CreatePreview(ctx, bytes.NewReader(imageBytes), 0, options) if err != nil { + if ctx.Err() != nil { + return nil, ctx.Err() + } // For JPEG files, try FFmpeg fallback if resize failed if strings.HasPrefix(file.Type, "image/jpeg") { resizedBytes, err = handleJPEGFallback(ctx, service, file, previewSize, err) @@ -533,6 +556,42 @@ func GeneratePreview(ctx context.Context, file iteminfo.ExtendedFileInfo, previe return GeneratePreviewWithMD5(ctx, file, previewSize, officeUrl, seekPercentage, cacheHash) } +// ImageFitsPreviewSize reports whether both image dimensions are within the preview bounds. +func ImageFitsPreviewSize(imgWidth, imgHeight int, previewSize string) bool { + if previewSize == "original" { + return true + } + opts, err := getPreviewOptions(previewSize) + if err != nil { + return false + } + return imgWidth <= opts.Width && imgHeight <= opts.Height +} + +// ReadImageFileDimensions reads image width and height without decoding the full image. +func ReadImageFileDimensions(path string) (int, int, error) { + f, err := os.Open(path) + if err != nil { + return 0, 0, err + } + defer f.Close() + + cfg, _, err := image.DecodeConfig(f) + if err != nil { + return 0, 0, err + } + return cfg.Width, cfg.Height, nil +} + +// ShouldServeOriginalImage reports whether an on-disk image is already within preview bounds. +func ShouldServeOriginalImage(path, previewSize string) bool { + width, height, err := ReadImageFileDimensions(path) + if err != nil { + return false + } + return ImageFitsPreviewSize(width, height, previewSize) +} + // getPreviewOptions returns resize options for the given preview size func getPreviewOptions(previewSize string) (ResizeOptions, error) { switch previewSize { @@ -549,15 +608,15 @@ func getPreviewOptions(previewSize string) (ResizeOptions, error) { Width: 640, Height: 640, ResizeMode: ResizeModeFit, - Quality: QualityHigh, + Quality: QualityMedium, Format: FormatJpeg, }, nil case "small": return ResizeOptions{ Width: 256, Height: 256, - ResizeMode: ResizeModeFit, - Quality: QualityMedium, + ResizeMode: ResizeModeFill, + Quality: QualityLow, Format: FormatJpeg, }, nil default: @@ -566,9 +625,9 @@ func getPreviewOptions(previewSize string) (ResizeOptions, error) { } // CreatePreview resizes an image from a reader with the given options -func (s *Service) CreatePreview(reader io.Reader, fileSize int64, options ResizeOptions) ([]byte, error) { +func (s *Service) CreatePreview(ctx context.Context, reader io.Reader, fileSize int64, options ResizeOptions) ([]byte, error) { output := &bytes.Buffer{} - if err := s.ResizeWithSize(reader, output, fileSize, options); err != nil { + if err := s.ResizeWithSize(ctx, reader, output, fileSize, options); err != nil { return nil, err } return output.Bytes(), nil diff --git a/backend/swagger/docs/docs.go b/backend/swagger/docs/docs.go index 8a0737ef63..e1026daa9a 100644 --- a/backend/swagger/docs/docs.go +++ b/backend/swagger/docs/docs.go @@ -6147,7 +6147,7 @@ const docTemplate = `{ "type": "integer" }, "numImageProcessors": { - "description": "number of concurrent image processing jobs used to create previews, default is number of cpu cores available.", + "description": "number of concurrent image processing jobs used to create previews, default is 4.", "type": "integer" }, "port": { @@ -6155,7 +6155,7 @@ const docTemplate = `{ "type": "integer" }, "socket": { - "description": "socket to listen on", + "description": "socket to listen on - eg. /var/run/filebrowser.sock", "type": "string" }, "sources": { @@ -7349,6 +7349,18 @@ const docTemplate = `{ } } }, + "users.PinnedItems": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "users.Preview": { "type": "object", "properties": { @@ -7577,6 +7589,14 @@ const docTemplate = `{ "permissions": { "$ref": "#/definitions/users.Permissions" }, + "pinnedItems": { + "description": "pinned items organized by source and directory path", + "allOf": [ + { + "$ref": "#/definitions/users.PinnedItems" + } + ] + }, "preferEditorForMarkdown": { "description": "prefer editor first for markdown files instead of the Markdown Viewer", "type": "boolean" diff --git a/backend/swagger/docs/swagger.json b/backend/swagger/docs/swagger.json index 30c1fca00e..e1aba93157 100644 --- a/backend/swagger/docs/swagger.json +++ b/backend/swagger/docs/swagger.json @@ -6136,7 +6136,7 @@ "type": "integer" }, "numImageProcessors": { - "description": "number of concurrent image processing jobs used to create previews, default is number of cpu cores available.", + "description": "number of concurrent image processing jobs used to create previews, default is 4.", "type": "integer" }, "port": { @@ -6144,7 +6144,7 @@ "type": "integer" }, "socket": { - "description": "socket to listen on", + "description": "socket to listen on - eg. /var/run/filebrowser.sock", "type": "string" }, "sources": { @@ -7338,6 +7338,18 @@ } } }, + "users.PinnedItems": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "users.Preview": { "type": "object", "properties": { @@ -7566,6 +7578,14 @@ "permissions": { "$ref": "#/definitions/users.Permissions" }, + "pinnedItems": { + "description": "pinned items organized by source and directory path", + "allOf": [ + { + "$ref": "#/definitions/users.PinnedItems" + } + ] + }, "preferEditorForMarkdown": { "description": "prefer editor first for markdown files instead of the Markdown Viewer", "type": "boolean" diff --git a/backend/swagger/docs/swagger.yaml b/backend/swagger/docs/swagger.yaml index b3802d2df6..2c06ae5471 100644 --- a/backend/swagger/docs/swagger.yaml +++ b/backend/swagger/docs/swagger.yaml @@ -1180,13 +1180,13 @@ definitions: type: integer numImageProcessors: description: number of concurrent image processing jobs used to create previews, - default is number of cpu cores available. + default is 4. type: integer port: description: port to listen on type: integer socket: - description: socket to listen on + description: socket to listen on - eg. /var/run/filebrowser.sock type: string sources: items: @@ -2063,6 +2063,14 @@ definitions: description: allow sharing files type: boolean type: object + users.PinnedItems: + additionalProperties: + additionalProperties: + items: + type: string + type: array + type: object + type: object users.Preview: properties: audio: @@ -2227,6 +2235,10 @@ definitions: description: legacy for migration purposes... og filebrowser has perm attribute permissions: $ref: '#/definitions/users.Permissions' + pinnedItems: + allOf: + - $ref: '#/definitions/users.PinnedItems' + description: pinned items organized by source and directory path preferEditorForMarkdown: description: prefer editor first for markdown files instead of the Markdown Viewer diff --git a/frontend/.eslintrc.json b/frontend/.eslintrc.json deleted file mode 100644 index 56110bb90d..0000000000 --- a/frontend/.eslintrc.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "root": true, - "env": { - "node": true - }, - "extends": [ - "plugin:vue/vue3-essential", - "eslint:recommended", - "@vue/eslint-config-typescript", - "plugin:@intlify/vue-i18n/recommended" - ], - "settings": { - "vue-i18n": { - "localeDir": "./src/i18n/en.json", - "messageSyntaxVersion": "^9.0.0" - } - }, - "rules": { - "no-unreachable": "off", - // vue-i18n rules: - // This rule will check if the key used in $t() exists in your locale messages. - // The localeDir setting above points to en.json as the single source of truth. - "@intlify/vue-i18n/no-missing-keys": "error", - // Check for unused keys in en.json (keys that exist but are never used in code) - "@intlify/vue-i18n/no-unused-keys": [ - "error", - { - "src": "./src", - "extensions": [".js", ".vue", ".ts"] - } - ], - - "@intlify/vue-i18n/no-raw-text": [ - "error", - { - "ignoreNodes": ["i", "v-icon"] - } - ], - - // If you have your sync script, you might not need this one for other locales. - "@intlify/vue-i18n/no-missing-keys-in-other-locales": "off", - "vue/multi-word-component-names": "off", - "vue/no-mutating-props": [ - "error", - { - "shallowOnly": true - } - ] - }, - "parserOptions": { - "ecmaVersion": "latest", - "sourceType": "module" - } -} \ No newline at end of file diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js new file mode 100644 index 0000000000..5bc546398b --- /dev/null +++ b/frontend/eslint.config.js @@ -0,0 +1,123 @@ +import { defineConfig } from "eslint/config"; +import js from "@eslint/js"; +import tseslint from "typescript-eslint"; +import pluginVue from "eslint-plugin-vue"; +import vueI18n from '@intlify/eslint-plugin-vue-i18n'; +import vueParser from "vue-eslint-parser"; +import globals from "globals"; + +export default defineConfig( + { + ignores: [ + "**/dist/**", + "**/node_modules/**", + "**/public/**", + "**/i18n/is.json", + ], + }, + + // Defaults + js.configs.recommended, + ...tseslint.configs.recommended, + ...pluginVue.configs["flat/essential"], + ...vueI18n.configs.recommended, + + // i18n + { + settings: { + "vue-i18n": { + localeDir: "src/i18n/en.json", + messageSyntaxVersion: "^11.0.0", + }, + }, + rules: { + "@intlify/vue-i18n/no-missing-keys": "error", + "@intlify/vue-i18n/no-unused-keys": ["error", { + src: "./src", + extensions: [".js", ".vue", ".ts"], + ignores: ["/^languages\\./"], + }], + "@intlify/vue-i18n/no-raw-text": ["error", { + ignoreNodes: ["i", "v-icon"], + }], + "@intlify/vue-i18n/no-missing-keys-in-other-locales": "warn", + }, + }, + + // Shared globals + rule overrides + { + files: ["**/*.js", "**/*.ts", "**/*.vue"], + languageOptions: { + globals: { + ...globals.node, + ...globals.browser, + ...globals.es2022, + globalVars: "readonly", + router: "readonly", + $t: "readonly", + next: "readonly", + downloadFiles: "readonly", + }, + }, + rules: { + "@typescript-eslint/no-explicit-any": "warn", + "@typescript-eslint/no-empty-object-type": "warn", + "@typescript-eslint/ban-ts-comment": "warn", + "@typescript-eslint/no-unused-vars": ["error", { + argsIgnorePattern: "^_", + varsIgnorePattern: "^_", + caughtErrors: "none", + }], + "eqeqeq": ["warn", "always"], + "no-var": "error", + "prefer-const": "warn", + "no-unused-expressions": ["error", { allowShortCircuit: true, allowTernary: true }], + "prefer-template": "warn", + "@typescript-eslint/consistent-type-definitions": "warn", + "@typescript-eslint/prefer-optional-chain": "warn", + "prefer-object-has-own": "error", + "no-prototype-builtins": "error", + "no-restricted-globals": [ + "error", + { name: "isNaN", message: "Use Number.isNaN instead." }, + { name: "isFinite", message: "Use Number.isFinite instead." } + ], + }, + }, + + { + files: ["**/*.ts", "**/*.js"], + languageOptions: { + parser: tseslint.parser, + parserOptions: { + ecmaVersion: "latest", + projectService: true, + tsconfigRootDir: import.meta.dirname, + extraFileExtensions: ['.vue'], + }, + }, + }, + + // Vue files + { + files: ["**/*.vue"], + languageOptions: { + parser: vueParser, + parserOptions: { + parser: tseslint.parser, + ecmaVersion: "latest", + sourceType: "module", + projectService: true, + extraFileExtensions: ['.vue'], + }, + }, + rules: { + "vue/multi-word-component-names": "off", + "vue/no-mutating-props": ["error", { shallowOnly: true }], + //"vue/order-in-components": "warn", + "vue/require-v-for-key": "error", + "vue/no-reserved-component-names": "off", + "vue/no-unused-components": "warn", + }, + }, +); diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 229e3ccbb3..3e101570b0 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -24,28 +24,29 @@ "srt-support-for-html5-videos": "^2.6.11", "three": "^0.182.0", "vue": "^3.4.21", - "vue-i18n": "^9.10.2", - "vue-lazyload": "^3.0.0", + "vue-i18n": "^11.4.4", "vue-router": "^4.3.0" }, "devDependencies": { - "@intlify/eslint-plugin-vue-i18n": "^3.2.0", - "@intlify/unplugin-vue-i18n": "^4.0.0", + "@eslint/js": "^10.0.1", + "@intlify/eslint-plugin-vue-i18n": "^4.4.0", + "@intlify/unplugin-vue-i18n": "^11.2.3", "@playwright/test": "^1.54.1", "@types/node": "^24.1.0", "@vitejs/plugin-vue": "^5.0.4", - "@vue/eslint-config-typescript": "^13.0.0", "deepl-node": "^1.16.0", - "eslint": "^8.57.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-vue": "^9.24.0", + "eslint": "^10.4.0", + "eslint-plugin-vue": "^10.9.1", "fs-extra": "^11.3.0", + "globals": "^17.6.0", "jsdom": "^25.0.1", "typescript": "^6.0.0", + "typescript-eslint": "^8.59.4", "vite": "^6.2.0", "vite-plugin-checker": "^0.10.3", "vite-plugin-compression2": "^1.0.0", - "vitest": "^3.0.7", + "vitest": "^4.1.8", + "vue-eslint-parser": "^10.4.0", "vue-tsc": "^2.0.7" }, "engines": { @@ -68,13 +69,13 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz", - "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.28.5", + "@babel/helper-validator-identifier": "^7.29.7", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" }, @@ -83,30 +84,30 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", - "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", + "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", - "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.29.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.3.tgz", - "integrity": "sha512-b3ctpQwp+PROvU/cttc4OYl4MzfJUWy6FZg+PMXfzmt/+39iHVF0sDfqay8TQM3JA2EUOyKcFZt75jWriQijsA==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.7.tgz", + "integrity": "sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==", "license": "MIT", "dependencies": { - "@babel/types": "^7.29.0" + "@babel/types": "^7.29.7" }, "bin": { "parser": "bin/babel-parser.js" @@ -116,9 +117,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.29.2", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz", - "integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.7.tgz", + "integrity": "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==", "dev": true, "license": "MIT", "engines": { @@ -126,13 +127,13 @@ } }, "node_modules/@babel/types": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz", - "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.7.tgz", + "integrity": "sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==", "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.28.5" + "@babel/helper-string-parser": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -724,6 +725,47 @@ "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, + "node_modules/@eslint/config-array": { + "version": "0.23.5", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", + "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^3.0.5", + "debug": "^4.3.1", + "minimatch": "^10.2.4" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.6.0.tgz", + "integrity": "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/core": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz", + "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, "node_modules/@eslint/eslintrc": { "version": "3.3.5", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz", @@ -771,30 +813,104 @@ "node": ">= 4" } }, + "node_modules/@eslint/eslintrc/node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@eslint/js": { - "version": "8.57.1", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", - "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", + "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==", "dev": true, "license": "MIT", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "eslint": "^10.0.0" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } } }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", - "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", - "deprecated": "Use @eslint/config-array instead", + "node_modules/@eslint/object-schema": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz", + "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz", + "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@humanwhocodes/object-schema": "^2.0.3", - "debug": "^4.3.1", - "minimatch": "^3.0.5" + "@eslint/core": "^1.2.1", + "levn": "^0.4.1" }, "engines": { - "node": ">=10.10.0" + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", + "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/types": "^0.15.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", + "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.2", + "@humanfs/types": "^0.15.0", + "@humanwhocodes/retry": "^0.4.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/types": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", + "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" } }, "node_modules/@humanwhocodes/module-importer": { @@ -811,33 +927,39 @@ "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", - "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", - "deprecated": "Use @eslint/object-schema instead", + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", "dev": true, - "license": "BSD-3-Clause" + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } }, "node_modules/@intlify/bundle-utils": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@intlify/bundle-utils/-/bundle-utils-8.0.0.tgz", - "integrity": "sha512-1B++zykRnMwQ+20SpsZI1JCnV/YJt9Oq7AGlEurzkWJOFtFAVqaGc/oV36PBRYeiKnTbY9VYfjBimr2Vt42wLQ==", + "version": "11.2.3", + "resolved": "https://registry.npmjs.org/@intlify/bundle-utils/-/bundle-utils-11.2.3.tgz", + "integrity": "sha512-9mrJyUJGPFJCIFGthvIFT58CknG701z9D0VRtLBtat3teo0fisP3Q6bo/t9YHnljBTEZ42hYm1ukn16LfLkRRg==", "dev": true, "license": "MIT", "dependencies": { - "@intlify/message-compiler": "^9.4.0", - "@intlify/shared": "^9.4.0", + "@intlify/message-compiler": "~11.4.2", + "@intlify/shared": "~11.4.2", "acorn": "^8.8.2", + "esbuild": "^0.25.4", "escodegen": "^2.1.0", "estree-walker": "^2.0.2", "jsonc-eslint-parser": "^2.3.0", - "mlly": "^1.2.0", - "source-map-js": "^1.0.1", + "source-map-js": "^1.2.1", "yaml-eslint-parser": "^1.2.2" }, "engines": { - "node": ">= 14.16" + "node": ">= 22.13" }, "peerDependenciesMeta": { "petite-vue-i18n": { @@ -849,53 +971,69 @@ } }, "node_modules/@intlify/core-base": { - "version": "9.14.5", - "resolved": "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.14.5.tgz", - "integrity": "sha512-5ah5FqZG4pOoHjkvs8mjtv+gPKYU0zCISaYNjBNNqYiaITxW8ZtVih3GS/oTOqN8d9/mDLyrjD46GBApNxmlsA==", + "version": "11.4.5", + "resolved": "https://registry.npmjs.org/@intlify/core-base/-/core-base-11.4.5.tgz", + "integrity": "sha512-lja3F/iKVIvTa48mIwmrIeDcQUFZ0F0drvFvT8AwINOvbwnAzl/S/p8p2DxILZpWEUHRi1qewfWNIkMvhD3kKA==", "license": "MIT", "dependencies": { - "@intlify/message-compiler": "9.14.5", - "@intlify/shared": "9.14.5" + "@intlify/devtools-types": "11.4.5", + "@intlify/message-compiler": "11.4.5", + "@intlify/shared": "11.4.5" }, "engines": { - "node": ">= 16" + "node": ">= 22" + }, + "funding": { + "url": "https://github.com/sponsors/kazupon" + } + }, + "node_modules/@intlify/devtools-types": { + "version": "11.4.5", + "resolved": "https://registry.npmjs.org/@intlify/devtools-types/-/devtools-types-11.4.5.tgz", + "integrity": "sha512-W5vydP9Yq3t82IyWqCM6aR0BTWCZrN5RAwjZEPpH8I2OQWp2RLy03Evh2ANZlSMhcvGAoyDg25k0so85Kwncpw==", + "license": "MIT", + "dependencies": { + "@intlify/core-base": "11.4.5", + "@intlify/shared": "11.4.5" + }, + "engines": { + "node": ">= 22" }, "funding": { "url": "https://github.com/sponsors/kazupon" } }, "node_modules/@intlify/eslint-plugin-vue-i18n": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@intlify/eslint-plugin-vue-i18n/-/eslint-plugin-vue-i18n-3.2.0.tgz", - "integrity": "sha512-TOIrD4tJE48WMyVIB8bNeQJJPYo1Prpqnm9Xpn1UZmcqlELhm8hmP8QyJnkgesfbG7hyiX/kvo63W7ClEQmhpg==", + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@intlify/eslint-plugin-vue-i18n/-/eslint-plugin-vue-i18n-4.5.1.tgz", + "integrity": "sha512-iAX/zbg48uF8BvjfJKGKUOCdxntcJsNsh5iXePh9ivMDu+AdzfN7EHsdKyohxXTKcc8HaU1bW/SW++BQ+C0HUQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint/eslintrc": "^3.0.0", - "@intlify/core-base": "^9.12.0", - "@intlify/message-compiler": "^9.12.0", + "@intlify/core-base": "^11.0.0", + "@intlify/message-compiler": "^11.0.0", "debug": "^4.3.4", "eslint-compat-utils": "^0.6.0", "glob": "^10.3.3", - "globals": "^15.0.0", - "ignore": "^6.0.0", - "import-fresh": "^3.3.0", + "globals": "^17.0.0", + "ignore": "^7.0.0", + "import-fresh": "^4.0.0", "is-language-code": "^3.1.0", "js-yaml": "^4.1.0", "json5": "^2.2.3", - "jsonc-eslint-parser": "^2.3.0", - "lodash": "^4.17.21", "parse5": "^7.1.2", "semver": "^7.5.4", - "synckit": "^0.9.0", - "vue-eslint-parser": "^9.3.1", - "yaml-eslint-parser": "^1.2.2" + "synckit": "^0.11.0" }, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "eslint": "^8.0.0 || ^9.0.0-0" + "eslint": "^8.0.0 || ^9.0.0-0 || ^10.0.0", + "jsonc-eslint-parser": "^2.3.0 || ^3.0.0", + "vue-eslint-parser": "^10.0.0", + "yaml-eslint-parser": "^1.2.2 || ^2.0.0" } }, "node_modules/@intlify/eslint-plugin-vue-i18n/node_modules/glob": { @@ -931,12 +1069,136 @@ } }, "node_modules/@intlify/message-compiler": { - "version": "9.14.5", - "resolved": "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-9.14.5.tgz", - "integrity": "sha512-IHzgEu61/YIpQV5Pc3aRWScDcnFKWvQA9kigcINcCBXN8mbW+vk9SK+lDxA6STzKQsVJxUPg9ACC52pKKo3SVQ==", + "version": "11.4.5", + "resolved": "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-11.4.5.tgz", + "integrity": "sha512-IEOZiHtbQopyPc/Dz2M869lOlZYX1SdcniNJwphATDYHhovvIneEKf1EFF37DE7NAABZtza1FNtnwwqZWInfpw==", "license": "MIT", "dependencies": { - "@intlify/shared": "9.14.5", + "@intlify/shared": "11.4.5", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": ">= 22" + }, + "funding": { + "url": "https://github.com/sponsors/kazupon" + } + }, + "node_modules/@intlify/shared": { + "version": "11.4.5", + "resolved": "https://registry.npmjs.org/@intlify/shared/-/shared-11.4.5.tgz", + "integrity": "sha512-g/i5mtdUa9ia/8BaJ4w6ZRHgAXYQd9XyCaQPRMvsd8d5qmZwkjoTmHrNsI28Q/7I8h+2ijUkI4uEnnMCziKupQ==", + "license": "MIT", + "engines": { + "node": ">= 22" + }, + "funding": { + "url": "https://github.com/sponsors/kazupon" + } + }, + "node_modules/@intlify/unplugin-vue-i18n": { + "version": "11.2.3", + "resolved": "https://registry.npmjs.org/@intlify/unplugin-vue-i18n/-/unplugin-vue-i18n-11.2.3.tgz", + "integrity": "sha512-fbPHjOVAkxrPnbhAs6PTNJlfLOJj35ZqYh8CZ9OpeKZiZoulA9lkvrWYP3kfsZ5K/CG9jIHXxpb1/mf5n/mBYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@intlify/bundle-utils": "11.2.3", + "@intlify/shared": "~11.4.2", + "@intlify/vue-i18n-extensions": "^8.0.0", + "@rollup/pluginutils": "^5.1.0", + "@typescript-eslint/scope-manager": "^8.13.0", + "@typescript-eslint/typescript-estree": "^8.13.0", + "debug": "^4.3.3", + "fast-glob": "^3.2.12", + "pathe": "^2.0.3", + "picocolors": "^1.0.0", + "unplugin": "^2.3.4", + "vue": "~3.5.34" + }, + "engines": { + "node": ">= 22.13" + }, + "peerDependencies": { + "petite-vue-i18n": "*", + "vite": "^6.0.0 || ^7.0.0 || ^8.0.0", + "vue": "^3.2.25", + "vue-i18n": "*" + }, + "peerDependenciesMeta": { + "petite-vue-i18n": { + "optional": true + }, + "vite": { + "optional": true + }, + "vue-i18n": { + "optional": true + } + } + }, + "node_modules/@intlify/vue-i18n-extensions": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@intlify/vue-i18n-extensions/-/vue-i18n-extensions-8.0.0.tgz", + "integrity": "sha512-w0+70CvTmuqbskWfzeYhn0IXxllr6mU+IeM2MU0M+j9OW64jkrvqY+pYFWrUnIIC9bEdij3NICruicwd5EgUuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.24.6", + "@intlify/shared": "^10.0.0", + "@vue/compiler-dom": "^3.2.45", + "vue-i18n": "^10.0.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@intlify/shared": "^9.0.0 || ^10.0.0 || ^11.0.0", + "@vue/compiler-dom": "^3.0.0", + "vue": "^3.0.0", + "vue-i18n": "^9.0.0 || ^10.0.0 || ^11.0.0" + }, + "peerDependenciesMeta": { + "@intlify/shared": { + "optional": true + }, + "@vue/compiler-dom": { + "optional": true + }, + "vue": { + "optional": true + }, + "vue-i18n": { + "optional": true + } + } + }, + "node_modules/@intlify/vue-i18n-extensions/node_modules/@intlify/core-base": { + "version": "10.0.8", + "resolved": "https://registry.npmjs.org/@intlify/core-base/-/core-base-10.0.8.tgz", + "integrity": "sha512-FoHslNWSoHjdUBLy35bpm9PV/0LVI/DSv9L6Km6J2ad8r/mm0VaGg06C40FqlE8u2ADcGUM60lyoU7Myo4WNZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@intlify/message-compiler": "10.0.8", + "@intlify/shared": "10.0.8" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/kazupon" + } + }, + "node_modules/@intlify/vue-i18n-extensions/node_modules/@intlify/message-compiler": { + "version": "10.0.8", + "resolved": "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-10.0.8.tgz", + "integrity": "sha512-DV+sYXIkHVd5yVb2mL7br/NEUwzUoLBsMkV3H0InefWgmYa34NLZUvMCGi5oWX+Hqr2Y2qUxnVrnOWF4aBlgWg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@intlify/shared": "10.0.8", "source-map-js": "^1.0.2" }, "engines": { @@ -946,10 +1208,11 @@ "url": "https://github.com/sponsors/kazupon" } }, - "node_modules/@intlify/shared": { - "version": "9.14.5", - "resolved": "https://registry.npmjs.org/@intlify/shared/-/shared-9.14.5.tgz", - "integrity": "sha512-9gB+E53BYuAEMhbCAxVgG38EZrk59sxBtv3jSizNL2hEWlgjBjAw1AwpLHtNaeda12pe6W20OGEa0TwuMSRbyQ==", + "node_modules/@intlify/vue-i18n-extensions/node_modules/@intlify/shared": { + "version": "10.0.8", + "resolved": "https://registry.npmjs.org/@intlify/shared/-/shared-10.0.8.tgz", + "integrity": "sha512-BcmHpb5bQyeVNrptC3UhzpBZB/YHHDoEREOUERrmF2BRxsyOEuRrq+Z96C/D4+2KJb8kuHiouzAei7BXlG0YYw==", + "dev": true, "license": "MIT", "engines": { "node": ">= 16" @@ -958,44 +1221,26 @@ "url": "https://github.com/sponsors/kazupon" } }, - "node_modules/@intlify/unplugin-vue-i18n": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@intlify/unplugin-vue-i18n/-/unplugin-vue-i18n-4.0.0.tgz", - "integrity": "sha512-q2Mhqa/mLi0tulfLFO4fMXXvEbkSZpI5yGhNNsLTNJJ41icEGUuyDe+j5zRZIKSkOJRgX6YbCyibTDJdRsukmw==", + "node_modules/@intlify/vue-i18n-extensions/node_modules/vue-i18n": { + "version": "10.0.8", + "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-10.0.8.tgz", + "integrity": "sha512-mIjy4utxMz9lMMo6G9vYePv7gUFt4ztOMhY9/4czDJxZ26xPeJ49MAGa9wBAE3XuXbYCrtVPmPxNjej7JJJkZQ==", + "deprecated": "v9 and v10 no longer supported. please migrate to v11. about maintenance status, see https://vue-i18n.intlify.dev/guide/maintenance.html", "dev": true, "license": "MIT", "dependencies": { - "@intlify/bundle-utils": "^8.0.0", - "@intlify/shared": "^9.4.0", - "@rollup/pluginutils": "^5.1.0", - "@vue/compiler-sfc": "^3.2.47", - "debug": "^4.3.3", - "fast-glob": "^3.2.12", - "js-yaml": "^4.1.0", - "json5": "^2.2.3", - "pathe": "^1.0.0", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2", - "unplugin": "^1.1.0" + "@intlify/core-base": "10.0.8", + "@intlify/shared": "10.0.8", + "@vue/devtools-api": "^6.5.0" }, "engines": { - "node": ">= 14.16" + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/kazupon" }, "peerDependencies": { - "petite-vue-i18n": "*", - "vue-i18n": "*", - "vue-i18n-bridge": "*" - }, - "peerDependenciesMeta": { - "petite-vue-i18n": { - "optional": true - }, - "vue-i18n": { - "optional": true - }, - "vue-i18n-bridge": { - "optional": true - } + "vue": "^3.0.0" } }, "node_modules/@isaacs/cliui": { @@ -1016,33 +1261,36 @@ "node": ">=12" } }, - "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/@isaacs/cliui/node_modules/strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", "dev": true, "license": "MIT", "dependencies": { - "ansi-regex": "^6.2.2" - }, + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "node": ">=6.0.0" } }, "node_modules/@jridgewell/sourcemap-codec": { @@ -1051,6 +1299,17 @@ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", "license": "MIT" }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -1113,16 +1372,16 @@ } }, "node_modules/@pkgr/core": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.2.tgz", - "integrity": "sha512-fdDH1LSGfZdTH2sxdpVMw31BanV28K/Gry0cVFxaNP77neJSkd82mM8ErPNYs9e+0O7SdHBLTDzDgwUuy18RnQ==", + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.3.6.tgz", + "integrity": "sha512-SEeaJLb3qBNF/OaXnaR1NmmBbFYk1zC0ZH/52fATcRPLFg/p791YrcyFFy44Bo9sLaGuSuLp5Q6axbb/O+v/RA==", "dev": true, "license": "MIT", "engines": { - "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + "node": "^14.18.0 || >=16.0.0" }, "funding": { - "url": "https://opencollective.com/unts" + "url": "https://opencollective.com/pkgr" } }, "node_modules/@playwright/test": { @@ -1142,9 +1401,9 @@ } }, "node_modules/@rollup/pluginutils": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.3.0.tgz", - "integrity": "sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.4.0.tgz", + "integrity": "sha512-MfPp06CjRLfXQ3wY0R8vJDYBy/MvVcc9OulEfR0B8Iv9ko+GCNaRZ+EpJYFl27LhKsZK0o420sYCRHCjfCgeUg==", "dev": true, "license": "MIT", "dependencies": { @@ -1165,9 +1424,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.3.tgz", - "integrity": "sha512-x35CNW/ANXG3hE/EZpRU8MXX1JDN86hBb2wMGAtltkz7pc6cxgjpy1OMMfDosOQ+2hWqIkag/fGok1Yady9nGw==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.61.1.tgz", + "integrity": "sha512-JnBB8MdXj45cajvTuO5FmPlvFVJRQgvrz1uSEl3NwqFnReAPGwb8EanbGi4z2nRaqLzjJSv5/JmycoTKlRZxHA==", "cpu": [ "arm" ], @@ -1179,9 +1438,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.3.tgz", - "integrity": "sha512-xw3xtkDApIOGayehp2+Rz4zimfkaX65r4t47iy+ymQB2G4iJCBBfj0ogVg5jpvjpn8UWn/+q9tprxleYeNp3Hw==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.61.1.tgz", + "integrity": "sha512-Jx2g7iSjw4AOT0HDPHM9RV3GNjRXwybWtSFZiZAYUTjUwjVrYIwq3kBf+LnhqJlzXFAqTAh2F7IGI+O568exPw==", "cpu": [ "arm64" ], @@ -1193,9 +1452,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.3.tgz", - "integrity": "sha512-vo6Y5Qfpx7/5EaamIwi0WqW2+zfiusVihKatLvtN1VFVy3D13uERk/6gZLU1UiHRL6fDXqj/ELIeVRGnvcTE1g==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.61.1.tgz", + "integrity": "sha512-0F1L/Z3Eqv8mT2n3dCpeO8GcTvHvVqkP5/t6DMsn0KzhYVcg+s7Ncl5DS8qjKYEeio6Az0Gt6nyBORay5qIlCA==", "cpu": [ "arm64" ], @@ -1207,9 +1466,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.3.tgz", - "integrity": "sha512-D+0QGcZhBzTN82weOnsSlY7V7+RMmPuF1CkbxyMAGE8+ZHeUjyb76ZiWmBlCu//AQQONvxcqRbwZTajZKqjuOw==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.61.1.tgz", + "integrity": "sha512-qLttcH871ujY4YcVfUSShhOw+CsoTatYz8gRbHO7Bb92QH059/P0y5do1KMs41fY0BpD2x4AJH/gID0zFiqVKQ==", "cpu": [ "x64" ], @@ -1221,9 +1480,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.3.tgz", - "integrity": "sha512-6HnvHCT7fDyj6R0Ph7A6x8dQS/S38MClRWeDLqc0MdfWkxjiu1HSDYrdPhqSILzjTIC/pnXbbJbo+ft+gy/9hQ==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.61.1.tgz", + "integrity": "sha512-fUI4RapGE0Oh3mb8mgfvC1O2nU1RpDZUKnDQm3xB1Ipg7C2wTs5Kstz7G2uWK99a8S2yTMq8/P4uycwNa0nJyw==", "cpu": [ "arm64" ], @@ -1235,9 +1494,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.3.tgz", - "integrity": "sha512-KHLgC3WKlUYW3ShFKnnosZDOJ0xjg9zp7au3sIm2bs/tGBeC2ipmvRh/N7JKi0t9Ue20C0dpEshi8WUubg+cnA==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.61.1.tgz", + "integrity": "sha512-H5YrdvJaDtI/U9/emrD4b++xkvp3y/JvOe4rizHbxvkyMfRS/CiRYdji+Pl8D0brEaNFWUh1drQxgAGIl6Xudw==", "cpu": [ "x64" ], @@ -1249,9 +1508,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.3.tgz", - "integrity": "sha512-DV6fJoxEYWJOvaZIsok7KrYl0tPvga5OZ2yvKHNNYyk/2roMLqQAbGhr78EQ5YhHpnhLKJD3S1WFusAkmUuV5g==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.61.1.tgz", + "integrity": "sha512-Q8CBCCQtDFrYtXoeUXSrnFXKOnyUhx6bz+SkL6A0E7V8kAiCJ5pamq1WtbfpVGhR5TSpXY6ak3avmDc5fHTyJA==", "cpu": [ "arm" ], @@ -1263,9 +1522,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.3.tgz", - "integrity": "sha512-mQKoJAzvuOs6F+TZybQO4GOTSMUu7v0WdxEk24krQ/uUxXoPTtHjuaUuPmFhtBcM4K0ons8nrE3JyhTuCFtT/w==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.61.1.tgz", + "integrity": "sha512-nwnhk1581l0FBVellGcVCAT0Oi06onEA3WB53sf01VO3I0UPBkMH9sXONYME2K0ovXcNayJfNtHfm6mpJElatQ==", "cpu": [ "arm" ], @@ -1277,9 +1536,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.3.tgz", - "integrity": "sha512-Whjj2qoiJ6+OOJMGptTYazaJvjOJm+iKHpXQM1P3LzGjt7Ff++Tp7nH4N8J/BUA7R9IHfDyx4DJIflifwnbmIA==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.61.1.tgz", + "integrity": "sha512-x5Xr49hwt3hdW75UOZm3395YwwzPyauktslv29KpWL/T+vVAzoT3azLcTWv0eMciBNrx+DYjH4paehHoLpPvpg==", "cpu": [ "arm64" ], @@ -1291,9 +1550,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.3.tgz", - "integrity": "sha512-4YTNHKqGng5+yiZt3mg77nmyuCfmNfX4fPmyUapBcIk+BdwSwmCWGXOUxhXbBEkFHtoN5boLj/5NON+u5QC9tg==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.61.1.tgz", + "integrity": "sha512-unMS3H73DpaoPyyEVPjGKleM/s0mkmsauTENpw4INQY8y4+IuLNjkueQ5QCtC0D3N38Y38yhAU8OoZ20S2Tm6w==", "cpu": [ "arm64" ], @@ -1305,9 +1564,9 @@ ] }, "node_modules/@rollup/rollup-linux-loong64-gnu": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.3.tgz", - "integrity": "sha512-SU3kNlhkpI4UqlUc2VXPGK9o886ZsSeGfMAX2ba2b8DKmMXq4AL7KUrkSWVbb7koVqx41Yczx6dx5PNargIrEA==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.61.1.tgz", + "integrity": "sha512-zNZzGRnAhwjFEYmvphJRV5XaQGjs62cCmeYYHUT//NbvEnHauw+I85nGG+SiVg5ld4GX8D1IbKIX+ozITQnhMQ==", "cpu": [ "loong64" ], @@ -1319,9 +1578,9 @@ ] }, "node_modules/@rollup/rollup-linux-loong64-musl": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.3.tgz", - "integrity": "sha512-6lDLl5h4TXpB1mTf2rQWnAk/LcXrx9vBfu/DT5TIPhvMhRWaZ5MxkIc8u4lJAmBo6klTe1ywXIUHFjylW505sg==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.61.1.tgz", + "integrity": "sha512-LdpWGL8X209B2SIvWjqlc8VZgM6PKfontSerGepuldQmHYrAOtnMCXeJkxXGbC+PPZVOuu5czJo7fNV6aeW8rQ==", "cpu": [ "loong64" ], @@ -1333,9 +1592,9 @@ ] }, "node_modules/@rollup/rollup-linux-ppc64-gnu": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.3.tgz", - "integrity": "sha512-BMo8bOw8evlup/8G+cj5xWtPyp93xPdyoSN16Zy90Q2QZ0ZYRhCt6ZJSwbrRzG9HApFabjwj2p25TUPDWrhzqQ==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.61.1.tgz", + "integrity": "sha512-EC5kTtNaNGOmbMGqar8dvJy6y/hg99GAwjfBz++pxZhQATXGcRjd6c5en5wcbru0vkRmiMGsQKdMJOOf6sza4g==", "cpu": [ "ppc64" ], @@ -1347,9 +1606,9 @@ ] }, "node_modules/@rollup/rollup-linux-ppc64-musl": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.3.tgz", - "integrity": "sha512-E0L8X1dZN1/Rph+5VPF6Xj2G7JJvMACVXtamTJIDrVI44Y3K+G8gQaMEAavbqCGTa16InptiVrX6eM6pmJ+7qA==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.61.1.tgz", + "integrity": "sha512-8hiwp6D4acEcNK78I4rP0/XtS1sknWIAMJBPdR4l6zUtyTm5KiTDr5bXmWt4foY7nAN7AThDHgkLIEZOWKbzWw==", "cpu": [ "ppc64" ], @@ -1361,9 +1620,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.3.tgz", - "integrity": "sha512-oZJ/WHaVfHUiRAtmTAeo3DcevNsVvH8mbvodjZy7D5QKvCefO371SiKRpxoDcCxB3PTRTLayWBkvmDQKTcX/sw==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.61.1.tgz", + "integrity": "sha512-10dh/h/BqA7DuMPWSxkR8uks18FRwnwOEqr5zOTEl+NOwP/OMzKX8OFR/Of9xxDA7D5qef1Nzar5WDD2kCCr1g==", "cpu": [ "riscv64" ], @@ -1375,9 +1634,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.3.tgz", - "integrity": "sha512-Dhbyh7j9FybM3YaTgaHmVALwA8AkUwTPccyCQ79TG9AJUsMQqgN1DDEZNr4+QUfwiWvLDumW5vdwzoeUF+TNxQ==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.61.1.tgz", + "integrity": "sha512-YKJ5lg35DP17gcAOggnihe+APw9HLyj1Xn7gsmGumBJAUDa6NGXNixJzmkWLhcK9TOuuyQjdamzvJefkO7qHZQ==", "cpu": [ "riscv64" ], @@ -1389,9 +1648,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.3.tgz", - "integrity": "sha512-cJd1X5XhHHlltkaypz1UcWLA8AcoIi1aWhsvaWDskD1oz2eKCypnqvTQ8ykMNI0RSmm7NkTdSqSSD7zM0xa6Ig==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.61.1.tgz", + "integrity": "sha512-Mlil5G2Jj6a7B3LWGctg+XPL9vdXYuzCtNXfxOQ0nPjc2m6ueUktocPGH9bnAM0bNRKb/bAWTujUU7IJQdQA+g==", "cpu": [ "s390x" ], @@ -1403,9 +1662,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.3.tgz", - "integrity": "sha512-DAZDBHQfG2oQuhY7mc6I3/qB4LU2fQCjRvxbDwd/Jdvb9fypP4IJ4qmtu6lNjes6B531AI8cg1aKC2di97bUxA==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.61.1.tgz", + "integrity": "sha512-bVWIOIk6pV01p4CdUbPP7CJ/434z+OooYjDuFcR+44N35YvKUC66G8MGnvcWx5mWKW3g61J+t74l3Kj15Kwn2Q==", "cpu": [ "x64" ], @@ -1417,9 +1676,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.3.tgz", - "integrity": "sha512-cRxsE8c13mZOh3vP+wLDxpQBRrOHDIGOWyDL93Sy0Ga8y515fBcC2pjUfFwUe5T7tqvTvWbCpg1URM/AXdWIXA==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.61.1.tgz", + "integrity": "sha512-qy5pBvZbqNFheBz61R1rzsezjm0J7O2oNGoWtGoY89SZYLUfxAJTBAqDChqAIdB4rCiIbi9nF7yZ83GnNiLwSw==", "cpu": [ "x64" ], @@ -1431,9 +1690,9 @@ ] }, "node_modules/@rollup/rollup-openbsd-x64": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.3.tgz", - "integrity": "sha512-QaWcIgRxqEdQdhJqW4DJctsH6HCmo5vHxY0krHSX4jMtOqfzC+dqDGuHM87bu4H8JBeibWx7jFz+h6/4C8wA5Q==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.61.1.tgz", + "integrity": "sha512-E83TXjI4zm0+5f2qO+UOudaCYIhYwpJ5jq6YCZNIZ+6CbfhKrkAGezeiASBL9ElxAxFsRS9ZhESv8mfnj6TKeg==", "cpu": [ "x64" ], @@ -1445,9 +1704,9 @@ ] }, "node_modules/@rollup/rollup-openharmony-arm64": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.3.tgz", - "integrity": "sha512-AaXwSvUi3QIPtroAUw1t5yHGIyqKEXwH54WUocFolZhpGDruJcs8c+xPNDRn4XiQsS7MEwnYsHW2l0MBLDMkWg==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.61.1.tgz", + "integrity": "sha512-fbWnKqVkjrJN38vNe3ahkbk6iejS/3b0Nt7EEtPpE6RBacZcGXNKbzfHN3GUUlXOPghUg0j6XUGrtjX9z1sIvA==", "cpu": [ "arm64" ], @@ -1459,9 +1718,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.3.tgz", - "integrity": "sha512-65LAKM/bAWDqKNEelHlcHvm2V+Vfb8C6INFxQXRHCvaVN1rJfwr4NvdP4FyzUaLqWfaCGaadf6UbTm8xJeYfEg==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.61.1.tgz", + "integrity": "sha512-ArMl38iVAbk0New1ogihQNY6iphLi4ZaRsa037gUzv5yeKPY8TD3Dmy4x2RNC1VztU/uqm+G+/RwFrSka3Oy2g==", "cpu": [ "arm64" ], @@ -1473,9 +1732,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.3.tgz", - "integrity": "sha512-EEM2gyhBF5MFnI6vMKdX1LAosE627RGBzIoGMdLloPZkXrUN0Ckqgr2Qi8+J3zip/8NVVro3/FjB+tjhZUgUHA==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.61.1.tgz", + "integrity": "sha512-0mYtjHS9ucAbcATycCNK9IGBk/cCe/ma7EmSLGZdsxnOA8cjRIyU04wDpVAD9NiOfLUR9KTxdiO53uOkherqjQ==", "cpu": [ "ia32" ], @@ -1487,9 +1746,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-gnu": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.3.tgz", - "integrity": "sha512-E5Eb5H/DpxaoXH++Qkv28RcUJboMopmdDUALBczvHMf7hNIxaDZqwY5lK12UK1BHacSmvupoEWGu+n993Z0y1A==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.61.1.tgz", + "integrity": "sha512-gK1iCEPfpoSG9wfBihXxvBMi8ZfcWffYkEsC/Eih+iFENTaewvNcrEQ69lIOWYO5pePHKLHHO7nq5AILGO/HQQ==", "cpu": [ "x64" ], @@ -1501,9 +1760,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.3.tgz", - "integrity": "sha512-hPt/bgL5cE+Qp+/TPHBqptcAgPzgj46mPcg/16zNUmbQk0j+mOEQV/+Lqu8QRtDV3Ek95Q6FeFITpuhl6OTsAA==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.61.1.tgz", + "integrity": "sha512-X+zaP2x+j4RXGfbp/seSoRHWnPxzApilDszisZxbYH5C/jTxFhCtDNdPGZb9lJyYPs24wGxruPF7Y+sIXt9Gzw==", "cpu": [ "x64" ], @@ -1514,6 +1773,13 @@ "win32" ] }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/chai": { "version": "5.2.3", "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz", @@ -1532,6 +1798,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/esrecurse": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", + "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/estree": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", @@ -1539,6 +1812,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/localforage": { "version": "0.0.34", "resolved": "https://registry.npmjs.org/@types/localforage/-/localforage-0.0.34.tgz", @@ -1550,13 +1830,13 @@ } }, "node_modules/@types/node": { - "version": "24.12.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.4.tgz", - "integrity": "sha512-GUUEShf+PBCGW2KaXwcIt3Yk+e3pkKwWKb9GSyM9WQVE+ep2jzmHdGsHzu4wgcZy5fN9FBdVzjpBQsYlpfpgLA==", + "version": "24.13.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.1.tgz", + "integrity": "sha512-RSpUJGmvsJ1ZeBehQZFhIdpsz+bIpES0nIQXko4Ybq+N+kX6XvOq3Jo+iJ82FWLdblFq85AsMikd3m35jgezYg==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~7.16.0" + "undici-types": "~7.18.0" } }, "node_modules/@types/trusted-types": { @@ -1567,132 +1847,149 @@ "optional": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.18.0.tgz", - "integrity": "sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.60.1.tgz", + "integrity": "sha512-JQ4S5GB0tfjO8BuJ4fcX+HodkzJjYBV+7OJ+wLygaX7OGQ7FudyHL4NSCA6ob+w3Yn+5MkKIozOwQhXeM7opVg==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.18.0", - "@typescript-eslint/type-utils": "7.18.0", - "@typescript-eslint/utils": "7.18.0", - "@typescript-eslint/visitor-keys": "7.18.0", - "graphemer": "^1.4.0", - "ignore": "^5.3.1", + "@eslint-community/regexpp": "^4.12.2", + "@typescript-eslint/scope-manager": "8.60.1", + "@typescript-eslint/type-utils": "8.60.1", + "@typescript-eslint/utils": "8.60.1", + "@typescript-eslint/visitor-keys": "8.60.1", + "ignore": "^7.0.5", "natural-compare": "^1.4.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.5.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^7.0.0", - "eslint": "^8.56.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", - "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" + "@typescript-eslint/parser": "^8.60.1", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.60.1.tgz", + "integrity": "sha512-A0M6ua6H252bVjPvvtSgl2QA4+ET9S5Mtkb2GDyTxIhH/C4qDItT7RQNO5PhMC6NXGYXOR9dIalcDDgBKT7oFA==", "dev": true, - "license": "BSD-2-Clause", + "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "7.18.0", - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/typescript-estree": "7.18.0", - "@typescript-eslint/visitor-keys": "7.18.0", - "debug": "^4.3.4" + "@typescript-eslint/scope-manager": "8.60.1", + "@typescript-eslint/types": "8.60.1", + "@typescript-eslint/typescript-estree": "8.60.1", + "@typescript-eslint/visitor-keys": "8.60.1", + "debug": "^4.4.3" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/project-service": { + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.60.1.tgz", + "integrity": "sha512-eXkTH2bxmXlqD1RnOPmLZ9ZM9D3VwSx04JOwBnP9RQ+yUA5a2Mu7SfW8uaV2Aon53NJzZlZYuX7tn91Izf+xaw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/tsconfig-utils": "^8.60.1", + "@typescript-eslint/types": "^8.60.1", + "debug": "^4.4.3" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz", - "integrity": "sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.60.1.tgz", + "integrity": "sha512-gvI5OQoptnxQnchOirukCuQ55svJSTuD/4k5+pC267xyBtYry748R9/c3tYUzb/iE6RZfllRz2lVulLCHkTm4w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/visitor-keys": "7.18.0" + "@typescript-eslint/types": "8.60.1", + "@typescript-eslint/visitor-keys": "8.60.1" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/type-utils": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.18.0.tgz", - "integrity": "sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==", + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.60.1.tgz", + "integrity": "sha512-nh8w4qAteiKuZu3pSSzG/yGKpw0OlkrKnzFmbVRenKaD4qc+7i1GrmZaLVkr8rk4uipiPGMOW4YsM6WmKZ5CvA==", "dev": true, "license": "MIT", - "dependencies": { - "@typescript-eslint/typescript-estree": "7.18.0", - "@typescript-eslint/utils": "7.18.0", - "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" - }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.60.1.tgz", + "integrity": "sha512-sdwTrpjosW7ANQYJ39ZBF1ZyEMEGVB2UsikrserVM/30a/F1dTLnu9bGxEdosugyu5caigjLrR2qiD11asjI1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.60.1", + "@typescript-eslint/typescript-estree": "8.60.1", + "@typescript-eslint/utils": "8.60.1", + "debug": "^4.4.3", + "ts-api-utils": "^2.5.0" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.18.0.tgz", - "integrity": "sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.60.1.tgz", + "integrity": "sha512-4h0tY8ppCkdCzcrl2YM5M3my0xsE1Tf8om3owEu5oPWmXwkKRmk0j0LGDzYBGUcAlesEbxBhazqu/K4cu3Ug7w==", "dev": true, "license": "MIT", "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1700,81 +1997,87 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz", - "integrity": "sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/visitor-keys": "7.18.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/utils": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.18.0.tgz", - "integrity": "sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.60.1.tgz", + "integrity": "sha512-alpRkfG8hlVE5kdJW2GkfgDgXxold3e8e4l6EnmhRmRLbekgAPCCGDVD++sABy9FcgPFroq+uFcCSM1vR57Cew==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.18.0", - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/typescript-estree": "7.18.0" + "@typescript-eslint/project-service": "8.60.1", + "@typescript-eslint/tsconfig-utils": "8.60.1", + "@typescript-eslint/types": "8.60.1", + "@typescript-eslint/visitor-keys": "8.60.1", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.5.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz", - "integrity": "sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==", + "node_modules/@typescript-eslint/utils": { + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.60.1.tgz", + "integrity": "sha512-h2MPBLoNtjc3qZWfY3Tl51yPorQ2McHn8pJfcMNTcIvrrZrr90Ykffit0yjrPFWQcRcUxzH20+6OcVdW4yHtUg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.18.0", - "eslint-visitor-keys": "^3.4.3" + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.60.1", + "@typescript-eslint/types": "8.60.1", + "@typescript-eslint/typescript-estree": "8.60.1" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.60.1.tgz", + "integrity": "sha512-EbGRQg4FhrmwLodl+t3JNAnXHWVr9Vp+Zl1QBZVPY4ByfkzIT8cX3K6QWODHtkIZqqJVEWvhHSx3v5PDHsaQag==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.60.1", + "eslint-visitor-keys": "^5.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@ungap/structured-clone": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.1.tgz", - "integrity": "sha512-mUFwbeTqrVgDQxFveS+df2yfap6iuP20NAKAsBt5jDEoOTDew+zwLAOilHCeQJOVSvmgCX4ogqIrA0mnyr08yQ==", + "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", "dev": true, - "license": "ISC" + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } }, "node_modules/@vitejs/plugin-vue": { "version": "5.2.4", @@ -1791,39 +2094,40 @@ } }, "node_modules/@vitest/expect": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.4.tgz", - "integrity": "sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==", + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.8.tgz", + "integrity": "sha512-h3nDO677RDLEGlBxyQ5CW8RlMThSKSRLUePLOx09gNIWRL40edgA1GCZSZgf1W55MFAG6/Sw14KeaAnqv0NKdQ==", "dev": true, "license": "MIT", "dependencies": { + "@standard-schema/spec": "^1.1.0", "@types/chai": "^5.2.2", - "@vitest/spy": "3.2.4", - "@vitest/utils": "3.2.4", - "chai": "^5.2.0", - "tinyrainbow": "^2.0.0" + "@vitest/spy": "4.1.8", + "@vitest/utils": "4.1.8", + "chai": "^6.2.2", + "tinyrainbow": "^3.1.0" }, "funding": { "url": "https://opencollective.com/vitest" } }, "node_modules/@vitest/mocker": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.4.tgz", - "integrity": "sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==", + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.8.tgz", + "integrity": "sha512-LEiN/xe4OSIbKe9HQIp5OC24agGD9J5CnmMgsLohVVoOPWL9a2sBoR6VBx43jQZb7Kr1l4RCuyCJzcAa0+dojw==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/spy": "3.2.4", + "@vitest/spy": "4.1.8", "estree-walker": "^3.0.3", - "magic-string": "^0.30.17" + "magic-string": "^0.30.21" }, "funding": { "url": "https://opencollective.com/vitest" }, "peerDependencies": { "msw": "^2.4.9", - "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" + "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "peerDependenciesMeta": { "msw": { @@ -1845,85 +2149,68 @@ } }, "node_modules/@vitest/pretty-format": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.4.tgz", - "integrity": "sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==", + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.8.tgz", + "integrity": "sha512-9GasEBxpZ1VYIpqHf/0+YGg121uSNwCKOJqIrTwWP/TB7DmFCiaBpNl3aPZzoLWfWkuqhbH8vJIVobZkvdo2cA==", "dev": true, "license": "MIT", "dependencies": { - "tinyrainbow": "^2.0.0" + "tinyrainbow": "^3.1.0" }, "funding": { "url": "https://opencollective.com/vitest" } }, "node_modules/@vitest/runner": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.4.tgz", - "integrity": "sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ==", + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.8.tgz", + "integrity": "sha512-EmVxeBAfMJvycdjd6Hm+RbFBbA9fKvo0Kx37hNpBYoYeavH3RNsBXWDooR1mgD52dCrxIIuP7UotpfiwOikvcg==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/utils": "3.2.4", - "pathe": "^2.0.3", - "strip-literal": "^3.0.0" - }, - "funding": { - "url": "https://opencollective.com/vitest" - } - }, - "node_modules/@vitest/runner/node_modules/pathe": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", - "dev": true, - "license": "MIT" - }, - "node_modules/@vitest/snapshot": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.4.tgz", - "integrity": "sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@vitest/pretty-format": "3.2.4", - "magic-string": "^0.30.17", + "@vitest/utils": "4.1.8", "pathe": "^2.0.3" }, "funding": { "url": "https://opencollective.com/vitest" } }, - "node_modules/@vitest/snapshot/node_modules/pathe": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", - "dev": true, - "license": "MIT" - }, - "node_modules/@vitest/spy": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.4.tgz", - "integrity": "sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==", + "node_modules/@vitest/snapshot": { + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.8.tgz", + "integrity": "sha512-acfZboRmAIf05DEKcBQy33VXojFJjtUdLyo7oOmV9kebb2xdU01UknNiPuPZoJZQyO7DF0gZdTGTpeAzET9QPQ==", "dev": true, "license": "MIT", "dependencies": { - "tinyspy": "^4.0.3" + "@vitest/pretty-format": "4.1.8", + "@vitest/utils": "4.1.8", + "magic-string": "^0.30.21", + "pathe": "^2.0.3" }, "funding": { "url": "https://opencollective.com/vitest" } }, + "node_modules/@vitest/spy": { + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.8.tgz", + "integrity": "sha512-6EevtBp6OZOPF7bmz36HrGMeP3txgVSrgebWxHOafDXGkhIzfXK14f8KF6MuFfgXXUeHxmpD3BQxkV00/3s5mA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://opencollective.com/vitest" + } + }, "node_modules/@vitest/utils": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.4.tgz", - "integrity": "sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==", + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.8.tgz", + "integrity": "sha512-uOJamYALNhfJ6iolExyQM40yIQwDqYnkKtQ5VCiSe17E33H0aQ/u+1GlRuz4LZBk6Mm3sg90G9hEbmEt37C1Zg==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "3.2.4", - "loupe": "^3.1.4", - "tinyrainbow": "^2.0.0" + "@vitest/pretty-format": "4.1.8", + "convert-source-map": "^2.0.0", + "tinyrainbow": "^3.1.0" }, "funding": { "url": "https://opencollective.com/vitest" @@ -1959,53 +2246,53 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.34.tgz", - "integrity": "sha512-s9cLyK5mLcvZ4Agva5QgRsQyLKvts9WbU9DB6NqiZkkGEdwmcEiylj5Jbwkp680drF/NNCV8OlAJSe+yMLxaJw==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.35.tgz", + "integrity": "sha512-BUmHaR1J+O+CKZ9uJucdVTEr1LHsdyvv7vG3eNRhK3CczEHeMd/LtsHAuD7PbrxvI2envCY2v7HI1vC1aBRzKw==", "license": "MIT", "dependencies": { "@babel/parser": "^7.29.3", - "@vue/shared": "3.5.34", + "@vue/shared": "3.5.35", "entities": "^7.0.1", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "node_modules/@vue/compiler-dom": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.34.tgz", - "integrity": "sha512-EbF/T++k0e2MMZlJsBhzK8Sgwt0HcIPOhzn1CTB/lv6sQcyk+OWf8YeiLxZp3ro7MbbLcAfAJ6sEvjFWuNgUCw==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.35.tgz", + "integrity": "sha512-k+bprkXxuqhVajgTx5mUHuir7TwQzUKOWR40ng1ncAqQRPnrLngGGgqVEEhOnTMlc8btHYVKmrP8s5Qyg0hvYA==", "license": "MIT", "dependencies": { - "@vue/compiler-core": "3.5.34", - "@vue/shared": "3.5.34" + "@vue/compiler-core": "3.5.35", + "@vue/shared": "3.5.35" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.34.tgz", - "integrity": "sha512-D/ihr6uZeIt6r+pVZf46RWT1fAsLFMbUP7k8G1VkiiWexriED9GrX3echHd4Abbt17zjlfiFJ8z7a3BxZOPNjg==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.35.tgz", + "integrity": "sha512-G5VPMcXTSywXBgtFOZOnHKBxKSrwXUcvY1iaF5/hRcy7t0J6CH/d8ha9F4nzi00Fax1eLV0QHM7v4mQu68jydw==", "license": "MIT", "dependencies": { "@babel/parser": "^7.29.3", - "@vue/compiler-core": "3.5.34", - "@vue/compiler-dom": "3.5.34", - "@vue/compiler-ssr": "3.5.34", - "@vue/shared": "3.5.34", + "@vue/compiler-core": "3.5.35", + "@vue/compiler-dom": "3.5.35", + "@vue/compiler-ssr": "3.5.35", + "@vue/shared": "3.5.35", "estree-walker": "^2.0.2", "magic-string": "^0.30.21", - "postcss": "^8.5.14", + "postcss": "^8.5.15", "source-map-js": "^1.2.1" } }, "node_modules/@vue/compiler-ssr": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.34.tgz", - "integrity": "sha512-cDtTHKibkThKGHH1SP+WdccquNRYQDFH6rRjQCqT9G2ltFAfoR5pUftpab/z+aM5mW9HLLVQW7hfKKQe/1GBeQ==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.35.tgz", + "integrity": "sha512-rGhAeXgdM7/ffTJGXT69rCCdTmjDewnFuUZfBQQHTdcEBeWdT5HCGY60y2ytLJr9/Dsu7IntUi5z/w0h6Rjnzw==", "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.5.34", - "@vue/shared": "3.5.34" + "@vue/compiler-dom": "3.5.35", + "@vue/shared": "3.5.35" } }, "node_modules/@vue/compiler-vue2": { @@ -2025,31 +2312,6 @@ "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", "license": "MIT" }, - "node_modules/@vue/eslint-config-typescript": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/@vue/eslint-config-typescript/-/eslint-config-typescript-13.0.0.tgz", - "integrity": "sha512-MHh9SncG/sfqjVqjcuFLOLD6Ed4dRAis4HNt0dXASeAuLqIAx4YMB1/m2o4pUKK1vCt8fUvYG8KKX2Ot3BVZTg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/eslint-plugin": "^7.1.1", - "@typescript-eslint/parser": "^7.1.1", - "vue-eslint-parser": "^9.3.1" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "peerDependencies": { - "eslint": "^8.56.0", - "eslint-plugin-vue": "^9.0.0", - "typescript": ">=4.7.4" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, "node_modules/@vue/language-core": { "version": "2.2.12", "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.2.12.tgz", @@ -2076,53 +2338,53 @@ } }, "node_modules/@vue/reactivity": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.34.tgz", - "integrity": "sha512-y9XDjCEuBp+98k+UL5dbYkh57AHU4o6cxZedOPXw3bmrZZYLQsVHguGurq7hVrPCSrQtrnz1f9dssyFr+dMXfQ==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.35.tgz", + "integrity": "sha512-tVc+SsHConvh/Lz64qq1pP3rYArBmK42xonovEcxY74SQtvctZodG/zhq54P5dr38cVuw25d27cPNRdlMidpGQ==", "license": "MIT", "dependencies": { - "@vue/shared": "3.5.34" + "@vue/shared": "3.5.35" } }, "node_modules/@vue/runtime-core": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.34.tgz", - "integrity": "sha512-mKeBYvu8tcMSLhypAHBmriUFfWXKTCF/23Z4jiCoYK3UtWepkliViNLuR90V9XOyD62mUxs9p1jsrpK3CCGIzw==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.35.tgz", + "integrity": "sha512-A/xFNX9loIcWDygeQuNCfKuh0CoYBzxhqEMNah5TSFg9Z53DrFYEN2qi5CU9necjM1OWYegYREUTHmXTmhfXtg==", "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.34", - "@vue/shared": "3.5.34" + "@vue/reactivity": "3.5.35", + "@vue/shared": "3.5.35" } }, "node_modules/@vue/runtime-dom": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.34.tgz", - "integrity": "sha512-e8kZzERmCwUnBRVsgSQlAfrfU2rGoy0FFKPBXSlfEjc/O3KfA7QP0t1/2ZylrbchjmIKB4dPTd07A6WPr0eOrg==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.35.tgz", + "integrity": "sha512-odrJ1C391dbGnyDRh8U+rnP7J2amIEzfmRk5vXy7xi3aZhEXofTvpi0T4HJb6jlNqQZTNPR5MPHSB3RHNkIORA==", "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.34", - "@vue/runtime-core": "3.5.34", - "@vue/shared": "3.5.34", + "@vue/reactivity": "3.5.35", + "@vue/runtime-core": "3.5.35", + "@vue/shared": "3.5.35", "csstype": "^3.2.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.34.tgz", - "integrity": "sha512-nHxmJoTrKsmrkbILRhkC9gY1G3moZbJTqCzDd7DOOzG5KH9oeJ0Unqrff5f9v0pW//jES05ZkJcNtfE8JjOIew==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.35.tgz", + "integrity": "sha512-NkebSOYdB97wi8OQcO3HqzZSlymJi/aWsN/7h74OSVhRTm6qGs3Jp3e0rCXynmWwSlKeRrnlIug+ilYoHBmQDA==", "license": "MIT", "dependencies": { - "@vue/compiler-ssr": "3.5.34", - "@vue/shared": "3.5.34" + "@vue/compiler-ssr": "3.5.35", + "@vue/shared": "3.5.35" }, "peerDependencies": { - "vue": "3.5.34" + "vue": "3.5.35" } }, "node_modules/@vue/shared": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.34.tgz", - "integrity": "sha512-24uqU4OIiX29ryC3MeWid/Xf2fa2EFRUVLb77nRhk+UrTVrh/XiGtFAFmJBAtBRbjwNdsPRP+jj/OL27Eg1NDA==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.35.tgz", + "integrity": "sha512-zSbjL7gRXwks2ZQLRGCajBtBXEOXW9Ddhn/HvSdrGkE2dqGnumzW8XtusRrxrE9LvqtiqDXQ+A60Hp6mvdYxfA==", "license": "MIT" }, "node_modules/@xmldom/xmldom": { @@ -2174,13 +2436,15 @@ } }, "node_modules/agent-base": { - "version": "7.1.4", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", - "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", - "dev": true, + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "license": "MIT", + "dependencies": { + "debug": "4" + }, "engines": { - "node": ">= 14" + "node": ">= 6.0.0" } }, "node_modules/ajv": { @@ -2208,26 +2472,26 @@ "license": "MIT" }, "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", "dev": true, "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, "engines": { - "node": ">=8" + "node": ">=12" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" @@ -2240,16 +2504,6 @@ "dev": true, "license": "Python-2.0" }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/assertion-error": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", @@ -2267,13 +2521,14 @@ "license": "MIT" }, "node_modules/axios": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.16.0.tgz", - "integrity": "sha512-6hp5CwvTPlN2A31g5dxnwAX0orzM7pmCRDLnZSX772mv8WDqICwFjowHuPs04Mc8deIld1+ejhtaMn5vp6b+1w==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.17.0.tgz", + "integrity": "sha512-J8SwNxprqqpbfenehxWYXE7CW+wM1BB4w3+N+g+/Wx40xM4rsLrfPmHHxSWIxJLYDgSY/HqlFPIYb2/S3rxafw==", "license": "MIT", "dependencies": { "follow-redirects": "^1.16.0", "form-data": "^4.0.5", + "https-proxy-agent": "^5.0.1", "proxy-from-env": "^2.1.0" } }, @@ -2350,16 +2605,6 @@ "node": ">=8" } }, - "node_modules/cac": { - "version": "6.7.14", - "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", - "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/call-bind-apply-helpers": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", @@ -2384,49 +2629,15 @@ } }, "node_modules/chai": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz", - "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/chai/-/chai-6.2.2.tgz", + "integrity": "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==", "dev": true, "license": "MIT", - "dependencies": { - "assertion-error": "^2.0.1", - "check-error": "^2.1.1", - "deep-eql": "^5.0.1", - "loupe": "^3.1.0", - "pathval": "^2.0.0" - }, "engines": { "node": ">=18" } }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/check-error": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz", - "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 16" - } - }, "node_modules/chokidar": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", @@ -2475,10 +2686,10 @@ "node": ">= 0.8" } }, - "node_modules/confbox": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz", - "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==", + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true, "license": "MIT" }, @@ -2608,7 +2819,6 @@ "version": "4.4.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "dev": true, "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -2629,16 +2839,6 @@ "dev": true, "license": "MIT" }, - "node_modules/deep-eql": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", - "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -2695,36 +2895,10 @@ "integrity": "sha512-98l0sW87ZT58pU4i61wa2OHwxbiYSbuxsCBozaVnYX2iCnr3bLM3fIes1/ej7h1YdOKuKt/MLs706TVnALA65w==", "license": "BSD-2-Clause" }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "license": "MIT", - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/dompurify": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.2.tgz", - "integrity": "sha512-lHeS9SA/IKeIFFyYciHBr2n0v1VMPlSj843HdLOwjb2OxNwdq9Xykxqhk+FE42MzAdHvInbAolSE4mhahPpjXA==", + "version": "3.4.8", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.8.tgz", + "integrity": "sha512-yb1cEmaOum7wFvOCSQxyfgVlv5D47Rc30iZWoMpbDIWTnJ6grDDQyu2KFJzB2k7u0pMuJcQ1zphH//fFnw2tjQ==", "license": "(MPL-2.0 OR Apache-2.0)", "optionalDependencies": { "@types/trusted-types": "^2.0.7" @@ -2815,16 +2989,16 @@ } }, "node_modules/es-module-lexer": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz", - "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.1.0.tgz", + "integrity": "sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ==", "dev": true, "license": "MIT" }, "node_modules/es-object-atoms": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", - "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", + "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==", "license": "MIT", "dependencies": { "es-errors": "^1.3.0" @@ -2966,60 +3140,59 @@ } }, "node_modules/eslint": { - "version": "8.57.1", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", - "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", - "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.4.1.tgz", + "integrity": "sha512-AyIKhnOBuOAdueD7RB3xB+YeAWScb9jHsJBgH2Hcde8InP5JYhqrRR6iTMHyTEwgENK54Cp44e4v8BwNhsuHuw==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.1", - "@humanwhocodes/config-array": "^0.13.0", + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.2", + "@eslint/config-array": "^0.23.5", + "@eslint/config-helpers": "^0.6.0", + "@eslint/core": "^1.2.1", + "@eslint/plugin-kit": "^0.7.2", + "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", - "ajv": "^6.12.4", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "ajv": "^6.14.0", + "cross-spawn": "^7.0.6", "debug": "^4.3.2", - "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", + "eslint-scope": "^9.1.2", + "eslint-visitor-keys": "^5.0.1", + "espree": "^11.2.0", + "esquery": "^1.7.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", + "minimatch": "^10.2.4", "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" + "optionator": "^0.9.3" }, "bin": { "eslint": "bin/eslint.js" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } } }, "node_modules/eslint-compat-utils": { @@ -3038,70 +3211,52 @@ "eslint": ">=6.0.0" } }, - "node_modules/eslint-config-prettier": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.2.tgz", - "integrity": "sha512-iI1f+D2ViGn+uvv5HuHVUamg8ll4tN+JRHGc6IJi4TP9Kl976C57fzPXgseXNs8v0iA8aSJpHsTWjDb9QJamGQ==", - "dev": true, - "license": "MIT", - "bin": { - "eslint-config-prettier": "bin/cli.js" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, "node_modules/eslint-plugin-vue": { - "version": "9.33.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.33.0.tgz", - "integrity": "sha512-174lJKuNsuDIlLpjeXc5E2Tss8P44uIimAfGD0b90k0NoirJqpG7stLuU9Vp/9ioTOrQdWVREc4mRd1BD+CvGw==", + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-10.9.2.tgz", + "integrity": "sha512-4g7ZP3pYcuqd7Zp0pzUKcos0W+RkjBz4EGdhJ92FcYk6v03Ti/GK5NwjgsjxHK+98eXDbHeK7VtX1az7/8doZA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "globals": "^13.24.0", "natural-compare": "^1.4.0", "nth-check": "^2.1.1", - "postcss-selector-parser": "^6.0.15", + "postcss-selector-parser": "^7.1.0", "semver": "^7.6.3", - "vue-eslint-parser": "^9.4.3", "xml-name-validator": "^4.0.0" }, "engines": { - "node": "^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "peerDependencies": { - "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0" - } - }, - "node_modules/eslint-plugin-vue/node_modules/globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.20.2" + "@stylistic/eslint-plugin": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0", + "@typescript-eslint/parser": "^7.0.0 || ^8.0.0", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "vue-eslint-parser": "^10.3.0" }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependenciesMeta": { + "@stylistic/eslint-plugin": { + "optional": true + }, + "@typescript-eslint/parser": { + "optional": true + } } }, "node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", + "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { + "@types/esrecurse": "^4.3.1", + "@types/estree": "^1.0.8", "esrecurse": "^4.3.0", "estraverse": "^5.2.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { "url": "https://opencollective.com/eslint" @@ -3120,64 +3275,37 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/@eslint/eslintrc": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", - "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, + "license": "Apache-2.0", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { "url": "https://opencollective.com/eslint" } }, "node_modules/eslint/node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", + "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "acorn": "^8.9.0", + "acorn": "^8.16.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "eslint-visitor-keys": "^5.0.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/eslint/node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", @@ -3409,16 +3537,16 @@ } }, "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "license": "MIT", "dependencies": { - "flat-cache": "^3.0.4" + "flat-cache": "^4.0.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16.0.0" } }, "node_modules/fill-range": { @@ -3452,18 +3580,17 @@ } }, "node_modules/flat-cache": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", - "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, "license": "MIT", "dependencies": { "flatted": "^3.2.9", - "keyv": "^4.5.3", - "rimraf": "^3.0.2" + "keyv": "^4.5.4" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16" } }, "node_modules/flatted": { @@ -3647,9 +3774,9 @@ } }, "node_modules/globals": { - "version": "15.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", - "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "version": "17.6.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.6.0.tgz", + "integrity": "sha512-sepffkT8stwnIYbsMBpoCHJuJM5l98FUF2AnE07hfvE0m/qp3R586hw4jF4uadbhvg1ooIdzuu7CsfD2jzCaNA==", "dev": true, "license": "MIT", "engines": { @@ -3659,37 +3786,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "license": "MIT", - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globby/node_modules/ignore": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", - "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -3709,23 +3805,6 @@ "dev": true, "license": "ISC" }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true, - "license": "MIT" - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/has-symbols": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", @@ -3754,9 +3833,9 @@ } }, "node_modules/hasown": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz", - "integrity": "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -3811,18 +3890,27 @@ "node": ">= 14" } }, - "node_modules/https-proxy-agent": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", - "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "node_modules/http-proxy-agent/node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", "dev": true, "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "license": "MIT", "dependencies": { - "agent-base": "^7.1.2", + "agent-base": "6", "debug": "4" }, "engines": { - "node": ">= 14" + "node": ">= 6" } }, "node_modules/iconv-lite": { @@ -3839,9 +3927,9 @@ } }, "node_modules/ignore": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-6.0.2.tgz", - "integrity": "sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", "dev": true, "license": "MIT", "engines": { @@ -3855,17 +3943,13 @@ "license": "MIT" }, "node_modules/import-fresh": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", - "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-4.0.0.tgz", + "integrity": "sha512-Fpi660c7VPDM3fPKYovStd9IP1CPOikf6v/dGxJJMmHPcwYQIMJ4W7kO1avBYEpMqkCh+Dx3Ln6H7VYqgztLjw==", "dev": true, "license": "MIT", - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, "engines": { - "node": ">=6" + "node": ">=22.15" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -3881,18 +3965,6 @@ "node": ">=0.8.19" } }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", - "dev": true, - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -3952,16 +4024,6 @@ "node": ">=0.12.0" } }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/is-potential-custom-element-name": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", @@ -4006,10 +4068,20 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", - "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz", + "integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], "license": "MIT", "dependencies": { "argparse": "^2.0.1" @@ -4059,6 +4131,30 @@ } } }, + "node_modules/jsdom/node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/jsdom/node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/jsdom/node_modules/xml-name-validator": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz", @@ -4244,13 +4340,6 @@ "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", "license": "MIT" }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true, - "license": "MIT" - }, "node_modules/loglevel": { "version": "1.9.2", "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.9.2.tgz", @@ -4276,13 +4365,6 @@ "underscore": "^1.13.1" } }, - "node_modules/loupe": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz", - "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==", - "dev": true, - "license": "MIT" - }, "node_modules/lru-cache": { "version": "10.4.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", @@ -4440,31 +4522,10 @@ "node": ">=8" } }, - "node_modules/mlly": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz", - "integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==", - "dev": true, - "license": "MIT", - "dependencies": { - "acorn": "^8.16.0", - "pathe": "^2.0.3", - "pkg-types": "^1.3.1", - "ufo": "^1.6.3" - } - }, - "node_modules/mlly/node_modules/pathe": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", - "dev": true, - "license": "MIT" - }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, "license": "MIT" }, "node_modules/muggle-string": { @@ -4561,14 +4622,18 @@ "dev": true, "license": "MIT" }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "node_modules/obug": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.2.tgz", + "integrity": "sha512-AWGB9WFcRXOQs48Z/udjI5ZcZMHXwX8XPByNpOydgcGsDLIzjGizhoMWJyKAWze7AVW/2W1i+/gPX4YtKe5cyg==", "dev": true, - "license": "ISC", - "dependencies": { - "wrappy": "1" + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.0" } }, "node_modules/option": { @@ -4740,16 +4805,6 @@ "node": ">=16 || 14 >=14.17" } }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/path-webpack": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/path-webpack/-/path-webpack-0.0.3.tgz", @@ -4757,22 +4812,12 @@ "license": "MIT" }, "node_modules/pathe": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz", - "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", "dev": true, "license": "MIT" }, - "node_modules/pathval": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz", - "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 14.16" - } - }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -4792,25 +4837,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/pkg-types": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz", - "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "confbox": "^0.1.8", - "mlly": "^1.7.4", - "pathe": "^2.0.1" - } - }, - "node_modules/pkg-types/node_modules/pathe": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", - "dev": true, - "license": "MIT" - }, "node_modules/playwright": { "version": "1.60.0", "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.60.0.tgz", @@ -4857,9 +4883,9 @@ } }, "node_modules/postcss": { - "version": "8.5.14", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.14.tgz", - "integrity": "sha512-SoSL4+OSEtR99LHFZQiJLkT59C5B1amGO1NzTwj7TT1qCUgUO6hxOvzkOYxD+vMrXBM3XJIKzokoERdqQq/Zmg==", + "version": "8.5.15", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz", + "integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==", "funding": [ { "type": "opencollective", @@ -4876,7 +4902,7 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.11", + "nanoid": "^3.3.12", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, @@ -4885,9 +4911,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", - "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.1.tgz", + "integrity": "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==", "dev": true, "license": "MIT", "dependencies": { @@ -5019,53 +5045,14 @@ "node": ">=0.10.0" } }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/rollup": { - "version": "4.60.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.3.tgz", - "integrity": "sha512-pAQK9HalE84QSm4Po3EmWIZPd3FnjkShVkiMlz1iligWYkWQ7wHYd1PF/T7QZ5TVSD6uSTon5gBVMSM4JfBV+A==", + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.61.1.tgz", + "integrity": "sha512-I4KW6iuRpuu2uHBLraZ1wNZe0DP7lnRha+VJ9tNaYVaVgKhW0aI3h4RYnoRPeql0flHm/Co55b7snEDcOfOJrA==", "dev": true, "license": "MIT", "dependencies": { - "@types/estree": "1.0.8" + "@types/estree": "1.0.9" }, "bin": { "rollup": "dist/bin/rollup" @@ -5075,41 +5062,34 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.60.3", - "@rollup/rollup-android-arm64": "4.60.3", - "@rollup/rollup-darwin-arm64": "4.60.3", - "@rollup/rollup-darwin-x64": "4.60.3", - "@rollup/rollup-freebsd-arm64": "4.60.3", - "@rollup/rollup-freebsd-x64": "4.60.3", - "@rollup/rollup-linux-arm-gnueabihf": "4.60.3", - "@rollup/rollup-linux-arm-musleabihf": "4.60.3", - "@rollup/rollup-linux-arm64-gnu": "4.60.3", - "@rollup/rollup-linux-arm64-musl": "4.60.3", - "@rollup/rollup-linux-loong64-gnu": "4.60.3", - "@rollup/rollup-linux-loong64-musl": "4.60.3", - "@rollup/rollup-linux-ppc64-gnu": "4.60.3", - "@rollup/rollup-linux-ppc64-musl": "4.60.3", - "@rollup/rollup-linux-riscv64-gnu": "4.60.3", - "@rollup/rollup-linux-riscv64-musl": "4.60.3", - "@rollup/rollup-linux-s390x-gnu": "4.60.3", - "@rollup/rollup-linux-x64-gnu": "4.60.3", - "@rollup/rollup-linux-x64-musl": "4.60.3", - "@rollup/rollup-openbsd-x64": "4.60.3", - "@rollup/rollup-openharmony-arm64": "4.60.3", - "@rollup/rollup-win32-arm64-msvc": "4.60.3", - "@rollup/rollup-win32-ia32-msvc": "4.60.3", - "@rollup/rollup-win32-x64-gnu": "4.60.3", - "@rollup/rollup-win32-x64-msvc": "4.60.3", + "@rollup/rollup-android-arm-eabi": "4.61.1", + "@rollup/rollup-android-arm64": "4.61.1", + "@rollup/rollup-darwin-arm64": "4.61.1", + "@rollup/rollup-darwin-x64": "4.61.1", + "@rollup/rollup-freebsd-arm64": "4.61.1", + "@rollup/rollup-freebsd-x64": "4.61.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.61.1", + "@rollup/rollup-linux-arm-musleabihf": "4.61.1", + "@rollup/rollup-linux-arm64-gnu": "4.61.1", + "@rollup/rollup-linux-arm64-musl": "4.61.1", + "@rollup/rollup-linux-loong64-gnu": "4.61.1", + "@rollup/rollup-linux-loong64-musl": "4.61.1", + "@rollup/rollup-linux-ppc64-gnu": "4.61.1", + "@rollup/rollup-linux-ppc64-musl": "4.61.1", + "@rollup/rollup-linux-riscv64-gnu": "4.61.1", + "@rollup/rollup-linux-riscv64-musl": "4.61.1", + "@rollup/rollup-linux-s390x-gnu": "4.61.1", + "@rollup/rollup-linux-x64-gnu": "4.61.1", + "@rollup/rollup-linux-x64-musl": "4.61.1", + "@rollup/rollup-openbsd-x64": "4.61.1", + "@rollup/rollup-openharmony-arm64": "4.61.1", + "@rollup/rollup-win32-arm64-msvc": "4.61.1", + "@rollup/rollup-win32-ia32-msvc": "4.61.1", + "@rollup/rollup-win32-x64-gnu": "4.61.1", + "@rollup/rollup-win32-x64-msvc": "4.61.1", "fsevents": "~2.3.2" } }, - "node_modules/rollup/node_modules/@types/estree": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", - "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", - "dev": true, - "license": "MIT" - }, "node_modules/rrweb-cssom": { "version": "0.7.1", "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.7.1.tgz", @@ -5168,9 +5148,9 @@ } }, "node_modules/semver": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.0.tgz", - "integrity": "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA==", + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.2.tgz", + "integrity": "sha512-c8jsqUZm3omBOI66G90z1Dyw5z622G8oLG+omfsHBJf3CWQTlOcwOjvOG6wtiNfW6anKm/eA39LMwMtMez2TiQ==", "dev": true, "license": "ISC", "bin": { @@ -5229,16 +5209,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -5278,9 +5248,9 @@ "license": "MIT" }, "node_modules/std-env": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz", - "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-4.1.0.tgz", + "integrity": "sha512-Rq7ybcX2RuC55r9oaPVEW7/xu3tj8u4GeBYHBWCychFtzMIr86A7e3PPEBPT37sHStKX3+TiX/Fr/ACmJLVlLQ==", "dev": true, "license": "MIT" }, @@ -5327,6 +5297,16 @@ "node": ">=8" } }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/string-width-cjs/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -5334,20 +5314,20 @@ "dev": true, "license": "MIT" }, - "node_modules/string-width/node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "license": "MIT", - "engines": { - "node": ">=12" + "dependencies": { + "ansi-regex": "^5.0.1" }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "engines": { + "node": ">=8" } }, - "node_modules/string-width/node_modules/strip-ansi": { + "node_modules/strip-ansi": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", @@ -5363,7 +5343,8 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/strip-ansi": { + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", @@ -5376,16 +5357,12 @@ "node": ">=8" } }, - "node_modules/strip-ansi-cjs": { - "name": "strip-ansi", - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, "engines": { "node": ">=8" } @@ -5403,39 +5380,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/strip-literal": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.1.0.tgz", - "integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==", - "dev": true, - "license": "MIT", - "dependencies": { - "js-tokens": "^9.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/strip-literal/node_modules/js-tokens": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz", - "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", @@ -5444,20 +5388,19 @@ "license": "MIT" }, "node_modules/synckit": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.3.tgz", - "integrity": "sha512-JJoOEKTfL1urb1mDoEblhD9NhEbWmq9jHEMEnxoC4ujUaZ4itA8vKgwkFAyNClgxplLi9tsUKX+EduK0p/l7sg==", + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.13.tgz", + "integrity": "sha512-eNRKgb3z66Yp3D2CixVujOUvXLFUTij/zVnV8KRyvFdQwpz7I5DS8UfRkTeLzb64u+dkzDSdelE24izu+zSSUg==", "dev": true, "license": "MIT", "dependencies": { - "@pkgr/core": "^0.1.0", - "tslib": "^2.6.2" + "@pkgr/core": "^0.3.6" }, "engines": { "node": "^14.18.0 || >=16.0.0" }, "funding": { - "url": "https://opencollective.com/unts" + "url": "https://opencollective.com/synckit" } }, "node_modules/tar-mini": { @@ -5467,13 +5410,6 @@ "dev": true, "license": "MIT" }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true, - "license": "MIT" - }, "node_modules/three": { "version": "0.182.0", "resolved": "https://registry.npmjs.org/three/-/three-0.182.0.tgz", @@ -5495,16 +5431,19 @@ "license": "MIT" }, "node_modules/tinyexec": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz", - "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.2.4.tgz", + "integrity": "sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==", "dev": true, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=18" + } }, "node_modules/tinyglobby": { - "version": "0.2.16", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz", - "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==", + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", "dev": true, "license": "MIT", "dependencies": { @@ -5518,30 +5457,10 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/tinypool": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz", - "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.0.0 || >=20.0.0" - } - }, "node_modules/tinyrainbow": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz", - "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/tinyspy": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.4.tgz", - "integrity": "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.1.0.tgz", + "integrity": "sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==", "dev": true, "license": "MIT", "engines": { @@ -5608,25 +5527,18 @@ } }, "node_modules/ts-api-utils": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz", - "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", + "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", "dev": true, "license": "MIT", "engines": { - "node": ">=16" + "node": ">=18.12" }, "peerDependencies": { - "typescript": ">=4.2.0" + "typescript": ">=4.8.4" } }, - "node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, - "license": "0BSD" - }, "node_modules/type": { "version": "2.7.3", "resolved": "https://registry.npmjs.org/type/-/type-2.7.3.tgz", @@ -5646,19 +5558,6 @@ "node": ">= 0.8.0" } }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/typescript": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", @@ -5673,12 +5572,29 @@ "node": ">=14.17" } }, - "node_modules/ufo": { - "version": "1.6.4", - "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz", - "integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==", + "node_modules/typescript-eslint": { + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.60.1.tgz", + "integrity": "sha512-6m5hkkRAp8lKvhVpcprAIn5KkehQEh+47oHH2VGnExEh7dhNxXlg6GPAOIu6TxbVQxhebrJDvjl3020ooiWCMA==", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.60.1", + "@typescript-eslint/parser": "8.60.1", + "@typescript-eslint/typescript-estree": "8.60.1", + "@typescript-eslint/utils": "8.60.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } }, "node_modules/underscore": { "version": "1.13.8", @@ -5687,9 +5603,9 @@ "license": "MIT" }, "node_modules/undici-types": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", - "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz", + "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==", "dev": true, "license": "MIT" }, @@ -5717,17 +5633,19 @@ } }, "node_modules/unplugin": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.16.1.tgz", - "integrity": "sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-2.3.11.tgz", + "integrity": "sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww==", "dev": true, "license": "MIT", "dependencies": { - "acorn": "^8.14.0", + "@jridgewell/remapping": "^2.3.5", + "acorn": "^8.15.0", + "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.12.0" } }, "node_modules/uri-js": { @@ -5753,9 +5671,9 @@ "license": "MIT" }, "node_modules/vite": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.2.tgz", - "integrity": "sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ==", + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.3.tgz", + "integrity": "sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A==", "dev": true, "license": "MIT", "dependencies": { @@ -5827,36 +5745,6 @@ } } }, - "node_modules/vite-node": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz", - "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==", - "dev": true, - "license": "MIT", - "dependencies": { - "cac": "^6.7.14", - "debug": "^4.4.1", - "es-module-lexer": "^1.7.0", - "pathe": "^2.0.3", - "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" - }, - "bin": { - "vite-node": "vite-node.mjs" - }, - "engines": { - "node": "^18.0.0 || ^20.0.0 || >=22.0.0" - }, - "funding": { - "url": "https://opencollective.com/vitest" - } - }, - "node_modules/vite-node/node_modules/pathe": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", - "dev": true, - "license": "MIT" - }, "node_modules/vite-plugin-checker": { "version": "0.10.3", "resolved": "https://registry.npmjs.org/vite-plugin-checker/-/vite-plugin-checker-0.10.3.tgz", @@ -5919,35 +5807,6 @@ } } }, - "node_modules/vite-plugin-checker/node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/vite-plugin-checker/node_modules/strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, "node_modules/vite-plugin-compression2": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/vite-plugin-compression2/-/vite-plugin-compression2-1.4.0.tgz", @@ -5978,65 +5837,79 @@ } }, "node_modules/vitest": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.4.tgz", - "integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==", + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.8.tgz", + "integrity": "sha512-flY6ScbCIt9HThs+C5HS7jvGOB560DJtk/Z15IQROTA6zEy49Nh8T/dofWTQL+n3vswqn87sbJNiuqw1SDp5Ig==", "dev": true, "license": "MIT", "dependencies": { - "@types/chai": "^5.2.2", - "@vitest/expect": "3.2.4", - "@vitest/mocker": "3.2.4", - "@vitest/pretty-format": "^3.2.4", - "@vitest/runner": "3.2.4", - "@vitest/snapshot": "3.2.4", - "@vitest/spy": "3.2.4", - "@vitest/utils": "3.2.4", - "chai": "^5.2.0", - "debug": "^4.4.1", - "expect-type": "^1.2.1", - "magic-string": "^0.30.17", + "@vitest/expect": "4.1.8", + "@vitest/mocker": "4.1.8", + "@vitest/pretty-format": "4.1.8", + "@vitest/runner": "4.1.8", + "@vitest/snapshot": "4.1.8", + "@vitest/spy": "4.1.8", + "@vitest/utils": "4.1.8", + "es-module-lexer": "^2.0.0", + "expect-type": "^1.3.0", + "magic-string": "^0.30.21", + "obug": "^2.1.1", "pathe": "^2.0.3", - "picomatch": "^4.0.2", - "std-env": "^3.9.0", + "picomatch": "^4.0.3", + "std-env": "^4.0.0-rc.1", "tinybench": "^2.9.0", - "tinyexec": "^0.3.2", - "tinyglobby": "^0.2.14", - "tinypool": "^1.1.1", - "tinyrainbow": "^2.0.0", - "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0", - "vite-node": "3.2.4", + "tinyexec": "^1.0.2", + "tinyglobby": "^0.2.15", + "tinyrainbow": "^3.1.0", + "vite": "^6.0.0 || ^7.0.0 || ^8.0.0", "why-is-node-running": "^2.3.0" }, "bin": { "vitest": "vitest.mjs" }, "engines": { - "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0 || >=24.0.0" }, "funding": { "url": "https://opencollective.com/vitest" }, "peerDependencies": { "@edge-runtime/vm": "*", - "@types/debug": "^4.1.12", - "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", - "@vitest/browser": "3.2.4", - "@vitest/ui": "3.2.4", + "@opentelemetry/api": "^1.9.0", + "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0", + "@vitest/browser-playwright": "4.1.8", + "@vitest/browser-preview": "4.1.8", + "@vitest/browser-webdriverio": "4.1.8", + "@vitest/coverage-istanbul": "4.1.8", + "@vitest/coverage-v8": "4.1.8", + "@vitest/ui": "4.1.8", "happy-dom": "*", - "jsdom": "*" + "jsdom": "*", + "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "peerDependenciesMeta": { "@edge-runtime/vm": { "optional": true }, - "@types/debug": { + "@opentelemetry/api": { "optional": true }, "@types/node": { "optional": true }, - "@vitest/browser": { + "@vitest/browser-playwright": { + "optional": true + }, + "@vitest/browser-preview": { + "optional": true + }, + "@vitest/browser-webdriverio": { + "optional": true + }, + "@vitest/coverage-istanbul": { + "optional": true + }, + "@vitest/coverage-v8": { "optional": true }, "@vitest/ui": { @@ -6047,16 +5920,12 @@ }, "jsdom": { "optional": true + }, + "vite": { + "optional": false } } }, - "node_modules/vitest/node_modules/pathe": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", - "dev": true, - "license": "MIT" - }, "node_modules/vscode-uri": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.1.0.tgz", @@ -6065,16 +5934,16 @@ "license": "MIT" }, "node_modules/vue": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.34.tgz", - "integrity": "sha512-WdLBG9gm02OgJIG9axd5Hpx0TFLdzVgfG2evFFu8Rur5O/IoGc5cMjnjh3tPL6GnRGsYvUhBSKVPYVcxRKpMCA==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.35.tgz", + "integrity": "sha512-cx89fnr+0kVGHiNFG6y6s0bdjypJRFNZn6x3WPstNdQR1bi1mbB7h4v5IBGTsPJU3nK1+0Iqj3Zf+hZWMieR4Q==", "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.5.34", - "@vue/compiler-sfc": "3.5.34", - "@vue/runtime-dom": "3.5.34", - "@vue/server-renderer": "3.5.34", - "@vue/shared": "3.5.34" + "@vue/compiler-dom": "3.5.35", + "@vue/compiler-sfc": "3.5.35", + "@vue/runtime-dom": "3.5.35", + "@vue/server-renderer": "3.5.35", + "@vue/shared": "3.5.35" }, "peerDependencies": { "typescript": "*" @@ -6086,61 +5955,55 @@ } }, "node_modules/vue-eslint-parser": { - "version": "9.4.3", - "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.4.3.tgz", - "integrity": "sha512-2rYRLWlIpaiN8xbPiDyXZXRgLGOtWxERV7ND5fFAv5qo1D2N9Fu9MNajBNc6o13lZ+24DAWCkQCvj4klgmcITg==", + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-10.4.1.tgz", + "integrity": "sha512-Gk6gRDj0n/fkRa3C3l0bBheoBckUq/Rs0F/TvMWIS6nzzx67amAViMe9CkNgsP2tXyQONvGiHQESHwFtZ3aYDA==", "dev": true, "license": "MIT", "dependencies": { - "debug": "^4.3.4", - "eslint-scope": "^7.1.1", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.3.1", - "esquery": "^1.4.0", - "lodash": "^4.17.21", - "semver": "^7.3.6" + "debug": "^4.4.0", + "eslint-scope": "^8.2.0 || ^9.0.0", + "eslint-visitor-keys": "^4.2.0 || ^5.0.0", + "espree": "^10.3.0 || ^11.0.0", + "esquery": "^1.6.0", + "semver": "^7.6.3" }, "engines": { - "node": "^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://github.com/sponsors/mysticatea" }, "peerDependencies": { - "eslint": ">=6.0.0" + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0" } }, - "node_modules/vue-eslint-parser/node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "node_modules/vue-eslint-parser/node_modules/eslint-visitor-keys": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", + "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - }, + "license": "Apache-2.0", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" } }, "node_modules/vue-i18n": { - "version": "9.14.5", - "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.14.5.tgz", - "integrity": "sha512-0jQ9Em3ymWngyiIkj0+c/k7WgaPO+TNzjKSNq9BvBQaKJECqn9cd9fL4tkDhB5G1QBskGl9YxxbDAhgbFtpe2g==", - "deprecated": "v9 and v10 no longer supported. please migrate to v11. about maintenance status, see https://vue-i18n.intlify.dev/guide/maintenance.html", + "version": "11.4.5", + "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-11.4.5.tgz", + "integrity": "sha512-rm8YJ6RpjOrkcgS2GLrZwLvs/VbhxbTSuEspbyXDo233+fPK0OMFNLOj3fdQYVKdOgcpSfLW91JhbqgpkkcBWA==", "license": "MIT", "dependencies": { - "@intlify/core-base": "9.14.5", - "@intlify/shared": "9.14.5", + "@intlify/core-base": "11.4.5", + "@intlify/devtools-types": "11.4.5", + "@intlify/shared": "11.4.5", "@vue/devtools-api": "^6.5.0" }, "engines": { - "node": ">= 16" + "node": ">= 22" }, "funding": { "url": "https://github.com/sponsors/kazupon" @@ -6149,12 +6012,6 @@ "vue": "^3.0.0" } }, - "node_modules/vue-lazyload": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/vue-lazyload/-/vue-lazyload-3.0.0.tgz", - "integrity": "sha512-h2keL/Rj550dLgesgOtXJS9qOiSMmuJNeVlfNAYV1/IYwOQYaWk5mFJlwRxmZDK9YC5gECcFLYYj7z1lKSf9ug==", - "license": "MIT" - }, "node_modules/vue-router": { "version": "4.6.4", "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.6.4.tgz", @@ -6345,6 +6202,32 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -6367,59 +6250,23 @@ "node": ">=8" } }, - "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "license": "MIT", "dependencies": { - "ansi-regex": "^6.2.2" + "ansi-regex": "^5.0.1" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "node": ">=8" } }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true, - "license": "ISC" - }, "node_modules/ws": { - "version": "8.20.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.20.1.tgz", - "integrity": "sha512-It4dO0K5v//JtTXuPkfEOaI3uUN87iYPnqo/ZzqCoG3g8uhA66QUMs/SrM0YK7/NAu+r4LMh/9dq2A7k+rHs+w==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz", + "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==", "dev": true, "license": "MIT", "engines": { diff --git a/frontend/package.json b/frontend/package.json index 01326063fc..5aed41b89e 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -18,7 +18,7 @@ "i18n:check": "node ./scripts/sync-translations.js --check", "i18n:enforce-order": "node scripts/sync-translations.js --enforce-order", "i18n:cleanup": "node scripts/sync-translations.js --cleanup", - "format": "prettier --write .", + "format": "biome format --write .", "test": "vitest run " }, "dependencies": { @@ -38,8 +38,7 @@ "srt-support-for-html5-videos": "^2.6.11", "three": "^0.182.0", "vue": "^3.4.21", - "vue-i18n": "^9.10.2", - "vue-lazyload": "^3.0.0", + "vue-i18n": "^11.4.4", "vue-router": "^4.3.0" }, "overrides": { @@ -47,23 +46,25 @@ "@xmldom/xmldom": "^0.8.12" }, "devDependencies": { - "@intlify/eslint-plugin-vue-i18n": "^3.2.0", - "@intlify/unplugin-vue-i18n": "^4.0.0", + "@eslint/js": "^10.0.1", + "@intlify/eslint-plugin-vue-i18n": "^4.4.0", + "@intlify/unplugin-vue-i18n": "^11.2.3", "@playwright/test": "^1.54.1", "@types/node": "^24.1.0", "@vitejs/plugin-vue": "^5.0.4", - "@vue/eslint-config-typescript": "^13.0.0", "deepl-node": "^1.16.0", - "eslint": "^8.57.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-vue": "^9.24.0", + "eslint": "^10.4.0", + "eslint-plugin-vue": "^10.9.1", "fs-extra": "^11.3.0", + "globals": "^17.6.0", "jsdom": "^25.0.1", "typescript": "^6.0.0", + "typescript-eslint": "^8.59.4", "vite": "^6.2.0", "vite-plugin-checker": "^0.10.3", "vite-plugin-compression2": "^1.0.0", - "vitest": "^3.0.7", + "vitest": "^4.1.8", + "vue-eslint-parser": "^10.4.0", "vue-tsc": "^2.0.7" } } diff --git a/frontend/public/config.generated.yaml b/frontend/public/config.generated.yaml index dfd6f6dec3..d1650851bc 100644 --- a/frontend/public/config.generated.yaml +++ b/frontend/public/config.generated.yaml @@ -1,8 +1,8 @@ server: minSearchLength: 3 # minimum length of search query to begin searching (default: 3) disableUpdateCheck: false # disables backend update check service - numImageProcessors: 4 # number of concurrent image processing jobs used to create previews, default is number of cpu cores available. - socket: "" # socket to listen on + numImageProcessors: 4 # number of concurrent image processing jobs used to create previews, default is 4. + socket: "" # socket to listen on - eg. /var/run/filebrowser.sock tlsKey: "" # path to TLS key tlsCert: "" # path to TLS cert disablePreviews: false # disable all previews thumbnails, simple icons will be used diff --git a/frontend/scripts/sync-translations.js b/frontend/scripts/sync-translations.js index 7bffff3790..f20d92ade8 100644 --- a/frontend/scripts/sync-translations.js +++ b/frontend/scripts/sync-translations.js @@ -1,9 +1,9 @@ // scripts/sync-translations.js -import fs from 'fs-extra'; import path from 'node:path'; import { fileURLToPath } from 'node:url'; -import * as glob from 'glob'; import * as deepl from 'deepl-node'; +import fs from 'fs-extra'; +import * as glob from 'glob'; // Parse command line arguments const args = process.argv.slice(2); @@ -76,7 +76,7 @@ async function translateText(text, targetLanguage, keyPath = '') { try { console.log(`Translating "${text}" from '${masterLanguageCode}' to '${targetLanguage}'...`); - let deeplTargetLang = deeplLangMap[targetLanguage.toLowerCase()] || targetLanguage.toUpperCase(); + const deeplTargetLang = deeplLangMap[targetLanguage.toLowerCase()] || targetLanguage.toUpperCase(); const result = await translator.translateText(textToTranslate, masterLanguageCode, deeplTargetLang, options); @@ -104,8 +104,8 @@ function reorderObject(obj, masterObj) { if (typeof obj !== 'object' || obj === null || Array.isArray(obj)) return obj; const newObj = {}; for (const key in masterObj) { - if (Object.prototype.hasOwnProperty.call(masterObj, key)) { - if (Object.prototype.hasOwnProperty.call(obj, key)) { + if (Object.hasOwn(masterObj, key)) { + if (Object.hasOwn(obj, key)) { newObj[key] = reorderObject(obj[key], masterObj[key]); } } @@ -120,7 +120,7 @@ async function processKeys(masterObj, targetObj, targetLangCode, currentPathPart // First pass: Add/update keys from master to target for (const key in masterObj) { - if (Object.prototype.hasOwnProperty.call(masterObj, key)) { + if (Object.hasOwn(masterObj, key)) { const currentPathPartsNext = [...currentPathParts, key]; const currentKeyPath = currentPathPartsNext.join('.'); @@ -153,7 +153,7 @@ async function processKeys(masterObj, targetObj, targetLangCode, currentPathPart if (targetObj[key] && typeof targetObj[key] === 'object') { const result = await processKeys( masterValue, targetObj[key], targetLangCode, currentPathPartsNext, doEnforceOrder, doCleanupOnly); - if (result == "UNSUPPORTED") { + if (result === "UNSUPPORTED") { console.log(`Skipping translation for "${targetLangCode}" due to unsupported structure.`); return "UNSUPPORTED"; } @@ -168,7 +168,7 @@ async function processKeys(masterObj, targetObj, targetLangCode, currentPathPart // Only handle non‑object values if (typeof masterValue === 'string') { const existingTargetValue = targetObj[key]; - const isMissing = !Object.prototype.hasOwnProperty.call(targetObj, key) || existingTargetValue === '' || existingTargetValue === null; + const isMissing = !Object.hasOwn(targetObj, key) || existingTargetValue === '' || existingTargetValue === null; if (isMissing) { if (checkOnly) { @@ -180,7 +180,7 @@ async function processKeys(masterObj, targetObj, targetLangCode, currentPathPart } else { // Sync translation const result = await translateText(masterValue, targetLangCode, currentKeyPath); - if (result == "") { + if (result === "") { return "UNSUPPORTED"; } targetObj[key] = result; @@ -188,7 +188,7 @@ async function processKeys(masterObj, targetObj, targetLangCode, currentPathPart } } } else { - if (!Object.prototype.hasOwnProperty.call(targetObj, key)) { + if (!Object.hasOwn(targetObj, key)) { if (checkOnly) { console.log(`Would copy key "${currentKeyPath}" (non-string) from English to ${targetLangCode}.json`); meaningfulChanges++; // Copying non-string values is meaningful @@ -206,8 +206,8 @@ async function processKeys(masterObj, targetObj, targetLangCode, currentPathPart // Second pass: Remove obsolete keys that exist in target but not in master const keysToRemove = []; for (const key in targetObj) { - if (Object.prototype.hasOwnProperty.call(targetObj, key)) { - if (!Object.prototype.hasOwnProperty.call(masterObj, key)) { + if (Object.hasOwn(targetObj, key)) { + if (!Object.hasOwn(masterObj, key)) { keysToRemove.push(key); } } @@ -259,7 +259,7 @@ async function syncAllTranslations() { const targetLangCode = path.basename(targetFile, '.json'); let targetContent = {}; let originalTargetContent = null; - let fileExisted = await fs.pathExists(targetFile); + const fileExisted = await fs.pathExists(targetFile); if (fileExisted) { try { @@ -349,4 +349,4 @@ syncAllTranslations() .catch(error => { console.error("\n❌ An error occurred during translation synchronization:", error); process.exit(1); - }); \ No newline at end of file + }); diff --git a/frontend/src/App.vue b/frontend/src/App.vue index d49927115c..b8815ac119 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -5,6 +5,7 @@ - - diff --git a/frontend/src/api/access.js b/frontend/src/api/access.js index 633fd0ede4..b2ace3a928 100644 --- a/frontend/src/api/access.js +++ b/frontend/src/api/access.js @@ -1,5 +1,5 @@ -import { fetchJSON } from './utils' import { getApiPath } from '@/utils/url.js' +import { fetchJSON } from './utils' /** * @param {string} source diff --git a/frontend/src/api/archive.js b/frontend/src/api/archive.js index cb4654f769..6033719155 100644 --- a/frontend/src/api/archive.js +++ b/frontend/src/api/archive.js @@ -1,6 +1,6 @@ -import { fetchURL } from "./utils"; -import { getApiPath } from "@/utils/url.js"; import { notify } from "@/notify"; +import { getApiPath } from "@/utils/url.js"; +import { fetchURL } from "./utils"; /** * Create an archive on the server (server-side only). diff --git a/frontend/src/api/auth.js b/frontend/src/api/auth.js index acd4d77f1f..99886b64d7 100644 --- a/frontend/src/api/auth.js +++ b/frontend/src/api/auth.js @@ -1,6 +1,6 @@ -import { fetchURL, fetchJSON } from '@/api/utils' -import { getApiPath } from '@/utils/url.js' +import { fetchJSON, fetchURL } from '@/api/utils' import { notify } from '@/notify' +import { getApiPath } from '@/utils/url.js' // POST /api/auth/login export async function login(username, password, recaptcha, otp) { @@ -15,7 +15,7 @@ export async function login(username, password, recaptcha, otp) { } const params = { username, recaptcha }; - let apiPath = getApiPath('auth/login', params); + const apiPath = getApiPath('auth/login', params); const res = await fetch(apiPath, { method: 'POST', credentials: 'same-origin', @@ -34,7 +34,7 @@ export async function login(username, password, recaptcha, otp) { body = { message: bodyText }; } - if (res.status != 200) { + if (res.status !== 200) { const msg = body.message || 'Forbidden'; throw new Error(msg); } @@ -54,7 +54,7 @@ export async function logout() { // POST /api/auth/signup export async function signup(username, password, otp) { const params = { username, password, otp } - let apiPath = getApiPath('auth/signup', params) + const apiPath = getApiPath('auth/signup', params) const res = await fetch(apiPath, { method: 'POST', headers: { @@ -69,7 +69,7 @@ export async function signup(username, password, otp) { if (errorData.message) { errorMessage = errorData.message } - } catch (parseError) { + } catch (_parseError) { // If parsing fails, keep the status code as error message } throw new Error(errorMessage) @@ -80,7 +80,7 @@ export async function signup(username, password, otp) { export async function generateOTP(username, password) { const params = { username } try { - let apiPath = getApiPath('auth/otp/generate', params) + const apiPath = getApiPath('auth/otp/generate', params) const res = await fetch(apiPath, { method: 'POST', credentials: 'same-origin', @@ -104,7 +104,7 @@ export async function generateOTP(username, password) { export async function verifyOTP(username, password, otp) { const params = { username } try { - let apiPath = getApiPath('auth/otp/verify', params) + const apiPath = getApiPath('auth/otp/verify', params) const res = await fetch(apiPath, { method: 'POST', credentials: 'same-origin', @@ -113,7 +113,7 @@ export async function verifyOTP(username, password, otp) { 'X-Secret': otp, } }) - if (res.status != 200) { + if (res.status !== 200) { let msg = 'Failed to verify OTP' try { const errBody = await res.json() @@ -186,7 +186,9 @@ export function deleteApiKey(params) { function arrayBufferToBase64(buffer) { const bytes = new Uint8Array(buffer) let binary = '' - bytes.forEach(b => binary += String.fromCharCode(b)) + bytes.forEach(b => { + binary += String.fromCharCode(b); + }) return btoa(binary).replace(/=/g, '').replace(/\+/g, '-').replace(/\//g, '_') } diff --git a/frontend/src/api/index.js b/frontend/src/api/index.js index fa3042a022..6a6c305a89 100644 --- a/frontend/src/api/index.js +++ b/frontend/src/api/index.js @@ -10,25 +10,24 @@ // - /api/media/ -> media.js // - /public/api/* -> public functions in respective files (e.g., resourcesApi.fetchFilesPublic) -import * as authApi from "./auth"; -import * as usersApi from "./users"; -import * as resourcesApi from "./resources"; import * as accessApi from "./access"; -import * as shareApi from "./share"; -import * as settingsApi from "./settings"; -import * as toolsApi from "./tools"; -import * as officeApi from "./office"; +import * as authApi from "./auth"; import * as mediaApi from "./media"; +import * as officeApi from "./office"; +import * as resourcesApi from "./resources"; +import * as settingsApi from "./settings"; +import * as shareApi from "./share"; +import * as toolsApi from "./tools"; +import * as usersApi from "./users"; -export { - authApi, - usersApi, - resourcesApi, +export { accessApi, - shareApi, - settingsApi, - toolsApi, + authApi, + mediaApi, officeApi, - mediaApi + resourcesApi, + settingsApi, + shareApi, + toolsApi, + usersApi, }; - diff --git a/frontend/src/api/media.js b/frontend/src/api/media.js index aed585416d..cee3895dcf 100644 --- a/frontend/src/api/media.js +++ b/frontend/src/api/media.js @@ -1,7 +1,7 @@ -import { fetchURL, adjustedData } from "./utils"; import { notify } from "@/notify"; -import { getApiPath, getPublicApiPath } from "@/utils/url.js"; import { state } from "@/store"; +import { getApiPath, getPublicApiPath } from "@/utils/url.js"; +import { adjustedData, fetchURL } from "./utils"; // GET /api/media/subtitles export async function getSubtitleContent(source, path, subtitleName, embedded = false) { @@ -45,8 +45,7 @@ export async function getLyricsPublic(path, hash, password = "") { }); if (!response.ok) { const error = new Error(response.statusText); - let data = null; - data = await response.json(); + const data = await response.json(); if (data?.message) { error.message = data.message; } @@ -90,7 +89,7 @@ export async function fetchDirectoryMediaMetadataPublic(path, hash, password = " let data = null; try { data = await response.json(); - } catch (e) { + } catch (_e) { // ignore } if (data?.message) { diff --git a/frontend/src/api/office.js b/frontend/src/api/office.js index 8c1d10c2af..b75e85a4b0 100644 --- a/frontend/src/api/office.js +++ b/frontend/src/api/office.js @@ -1,6 +1,6 @@ -import { fetchURL } from './utils' -import { getApiPath, getPublicApiPath } from '@/utils/url.js' import { notify } from '@/notify' +import { getApiPath, getPublicApiPath } from '@/utils/url.js' +import { fetchURL } from './utils' // GET /api/office/config or /public/api/office/config export async function getConfig(req) { diff --git a/frontend/src/api/resources.js b/frontend/src/api/resources.js index 759b94d6a3..f534f5268d 100644 --- a/frontend/src/api/resources.js +++ b/frontend/src/api/resources.js @@ -1,9 +1,11 @@ -import { fetchURL, adjustedData } from './utils' -import { getApiPath, getPublicApiPath } from '@/utils/url.js' -import { state, mutations } from '@/store' import { notify } from '@/notify' +import { mutations, state } from '@/store' import { globalVars } from '@/utils/constants' import { downloadManager } from '@/utils/downloadManager' +import { getApiPath, getPublicApiPath } from '@/utils/url.js' +import { adjustedData, fetchURL } from './utils' + +export { fetchPreviewImage } from '@/utils/previewRequests' // Notify if errors occur export async function fetchFiles(source, path, content = false, metadata = false, skipExtendedAttrs = false) { @@ -58,7 +60,7 @@ export async function signalUploadPause(source, path, shareHash = null) { path: path, }) const headers = {} - const sharePassword = localStorage.getItem('sharepass:' + shareHash) + const sharePassword = localStorage.getItem(`sharepass:${shareHash}`) if (sharePassword) { headers['X-SHARE-PASSWORD'] = sharePassword } @@ -78,7 +80,7 @@ async function resourceAction(source, path, method, content) { } try { const apiPath = getApiPath('resources', { path, source }) - let opts = { method } + const opts = { method } if (content) { opts.body = content } @@ -90,7 +92,7 @@ async function resourceAction(source, path, method, content) { let data = null; try { data = await response.json() - } catch (e) { + } catch (_e) { // ignore } if (data) { @@ -177,7 +179,7 @@ export async function download(format, files, shareHash = "") { if (shareHash) { filePaths = files.map((file) => file.path) } else { - for (let file of files) { + for (const file of files) { if (!file.source) { throw new Error('File source is required for downloads') } @@ -264,11 +266,17 @@ async function resolveDownloadContentLength(url) { headers: { Range: 'bytes=0-0' }, credentials: 'same-origin', }) + const cancelBody = () => { + if (res.body && typeof res.body.cancel === 'function') { + res.body.cancel().catch(() => {}) + } + } try { token = res.headers.get('X-Archive-Token') || token if (res.status === 206) { const total = totalFromContentRange(res.headers.get('Content-Range')) if (total > 0) { + cancelBody() return { size: total, token } } } @@ -277,20 +285,17 @@ async function resolveDownloadContentLength(url) { if (cl) { const n = parseInt(cl, 10) if (Number.isFinite(n) && n > 0) { + cancelBody() return { size: n, token } } } } - } finally { - if (res.body && typeof res.body.cancel === 'function') { - try { - await res.body.cancel() - } catch { - // ignore - } - } + cancelBody() + return { size: 0, token } + } catch (e) { + cancelBody() + throw e } - return { size: 0, token: null } } function archiveDisplayFileName(format, files) { @@ -299,20 +304,20 @@ function archiveDisplayFileName(format, files) { if (files.length === 1 && first.isDir) { const base = first.name || - (first.path && first.path.split('/').filter(Boolean).pop()) || + (first.path?.split('/').filter(Boolean).pop()) || 'download' - return base + ext + return `${base}${ext}` } - if (first && first.path) { + if (first?.path) { const parts = first.path.split('/').filter(Boolean) if (parts.length >= 2) { - return parts[parts.length - 2] + ext + return `${parts[parts.length - 2]}${ext}` } if (parts.length === 1) { - return parts[0] + ext + return `${parts[0]}${ext}` } } - return 'download' + ext + return `download${ext}` } /** @@ -337,7 +342,7 @@ async function chunkedRangeDownloadToBlob( while (offset < totalSize) { const download = downloadManager.findById(downloadId) - if (download && download.status === 'cancelled') { + if (download?.status === 'cancelled') { return null } @@ -430,7 +435,7 @@ async function chunkedRangeDownloadToBlob( } } catch (readError) { const download = downloadManager.findById(downloadId) - if (readError.name === 'AbortError' || (download && download.status === 'cancelled')) { + if (readError.name === 'AbortError' || (download?.status === 'cancelled')) { downloadManager.setStatus(downloadId, 'cancelled') return null } @@ -492,7 +497,7 @@ async function downloadChunkedArchive(url, format, files, filePaths, source, sha downloadManager.setStatus(downloadId, 'downloading') - const hasDownloadPrompt = state.prompts && state.prompts.some((h) => h.name === 'download') + const hasDownloadPrompt = state.prompts?.some((h) => h.name === 'download') if (!hasDownloadPrompt) { mutations.showPrompt({ name: 'download' }) } @@ -532,7 +537,7 @@ async function downloadChunkedArchive(url, format, files, filePaths, source, sha }, 100) } catch (error) { const download = downloadManager.findById(downloadId) - if (error.name === 'AbortError' || (download && download.status === 'cancelled')) { + if (error.name === 'AbortError' || (download?.status === 'cancelled')) { downloadManager.setStatus(downloadId, 'cancelled') return } @@ -580,7 +585,7 @@ async function downloadChunked(file, shareHash = "") { downloadManager.setStatus(downloadId, "downloading") // Show download prompt if not already shown (it should already be shown by downloadFiles, but check to be safe) - const hasDownloadPrompt = state.prompts && state.prompts.some(h => h.name === 'download'); + const hasDownloadPrompt = state.prompts?.some(h => h.name === 'download'); if (!hasDownloadPrompt) { mutations.showPrompt({ name: 'download' }) @@ -623,7 +628,7 @@ async function downloadChunked(file, shareHash = "") { } catch (error) { // Check if download was cancelled by user const download = downloadManager.findById(downloadId); - if (error.name === 'AbortError' || (download && download.status === "cancelled")) { + if (error.name === 'AbortError' || (download?.status === "cancelled")) { downloadManager.setStatus(downloadId, "cancelled") // Don't throw error or show notification for user-initiated cancellation return; @@ -686,7 +691,7 @@ export function post( try { const errorData = JSON.parse(request.responseText); errorMessage = errorData.message || errorMessage; - } catch (e) { + } catch (_e) { errorMessage = request.responseText || errorMessage; } const error = new Error(errorMessage); @@ -831,6 +836,10 @@ export function getDownloadURL(source, path, inline, useExternal) { } } +/** + * Build a preview API URL. Use fetchPreviewImage(url, signal) to load it; + * pass an AbortSignal so the caller can cancel on navigation or unmount. + */ export function getPreviewURL(source, path, modified) { if (!source || source === undefined || source === null) { throw new Error('no source provided') @@ -940,7 +949,7 @@ export async function fetchFilesPublic(path, hash, password = "", content = fals let data = null; try { data = await response.json() - } catch (e) { + } catch (_e) { // ignore } if (data) { @@ -949,7 +958,7 @@ export async function fetchFilesPublic(path, hash, password = "", content = fals (/** @type {any} */ (error)).status = response.status; throw error; } - let data = await response.json() + const data = await response.json() const adjusted = adjustedData(data); return adjusted } @@ -1027,7 +1036,7 @@ export function postPublic( if (!hash || hash === undefined || hash === null) { throw new Error('no hash provided') } - let sharePassword = localStorage.getItem("sharepass:" + hash); + const sharePassword = localStorage.getItem(`sharepass:${hash}`); if (sharePassword) { headers["X-SHARE-PASSWORD"] = sharePassword; } @@ -1069,7 +1078,7 @@ export function postPublic( try { const errorData = JSON.parse(request.responseText); errorMessage = errorData.message || errorMessage; - } catch (e) { + } catch (_e) { errorMessage = request.responseText || errorMessage; } @@ -1114,8 +1123,8 @@ export function postPublic( async function resourceActionPublic(hash, path, method, content, token = "") { try { - let headers = {}; - let sharePassword = localStorage.getItem("sharepass:" + hash); + const headers = {}; + const sharePassword = localStorage.getItem(`sharepass:${hash}`); if (sharePassword) { headers["X-SHARE-PASSWORD"] = sharePassword; } @@ -1130,7 +1139,7 @@ async function resourceActionPublic(hash, path, method, content, token = "") { let data = null; try { data = await response.json() - } catch (e) { + } catch (_e) { // ignore } if (data) { diff --git a/frontend/src/api/search.js b/frontend/src/api/search.js index 1bf22fddad..3843a50085 100644 --- a/frontend/src/api/search.js +++ b/frontend/src/api/search.js @@ -1,6 +1,6 @@ -import { fetchURL } from "./utils"; import { notify } from "@/notify"; // Import notify for error handling import { getApiPath } from "@/utils/url.js"; +import { fetchURL } from "./utils"; export default async function search(base, sources, query, largest = false, extraParams = {}) { try { @@ -34,7 +34,7 @@ export default async function search(base, sources, query, largest = false, extr const apiPath = getApiPath("tools/search", params); const res = await fetchURL(apiPath); - let data = await res.json(); + const data = await res.json(); return data } catch (err) { diff --git a/frontend/src/api/settings.js b/frontend/src/api/settings.js index 0c65106868..4e49620842 100644 --- a/frontend/src/api/settings.js +++ b/frontend/src/api/settings.js @@ -1,7 +1,6 @@ -import { fetchURL, fetchJSON } from "./utils"; -import { getApiPath } from "@/utils/url.js"; import { notify } from "@/notify"; - +import { getApiPath } from "@/utils/url.js"; +import { fetchJSON, fetchURL } from "./utils"; export function get(property="") { const path = getApiPath("settings", { property }); diff --git a/frontend/src/api/share.js b/frontend/src/api/share.js index d8358a2be4..aa815fd327 100644 --- a/frontend/src/api/share.js +++ b/frontend/src/api/share.js @@ -1,6 +1,6 @@ -import { fetchURL, fetchJSON, adjustedData } from "./utils"; import { notify } from "@/notify"; import { getApiPath, getPublicApiPath } from "@/utils/url.js"; +import { adjustedData, fetchJSON, fetchURL } from "./utils"; // ============================================================================ @@ -28,7 +28,7 @@ export async function get(path, source) { try { const params = { path, source }; const apiPath = getApiPath("share", params); - let data = await fetchJSON(apiPath); + const data = await fetchJSON(apiPath); return adjustedData(data); } catch (/** @type {any} */ err) { notify.showError(err.message || "Error fetching data"); diff --git a/frontend/src/api/tools.js b/frontend/src/api/tools.js index c35b164c21..54cdbd88d3 100644 --- a/frontend/src/api/tools.js +++ b/frontend/src/api/tools.js @@ -1,6 +1,6 @@ -import { fetchURL } from "./utils"; import { notify } from "@/notify"; import { getApiPath } from "@/utils/url.js"; +import { fetchURL } from "./utils"; // GET /api/tools/search // extraParams: optional { olderThan, newerThan, useWildcard, terms, termJoin, perSourceScopes } @@ -75,7 +75,7 @@ export async function search(base, sources, query, largest = false, extraParams const apiPath = getApiPath("tools/search", params); const res = await fetchURL(apiPath); - let data = await res.json(); + const data = await res.json(); return data; } catch (err) { diff --git a/frontend/src/api/users.js b/frontend/src/api/users.js index a1e8c4869c..28f2788b9d 100644 --- a/frontend/src/api/users.js +++ b/frontend/src/api/users.js @@ -19,7 +19,7 @@ export async function getAllUsers() { // GET /api/users or /public/api/users (get single user) export async function get(id) { try { - let apiPath = getPublicApiPath('users', { id: id }) + const apiPath = getPublicApiPath('users', { id: id }) return await fetchJSON(apiPath) } catch (err) { notify.showError(err.message || `Failed to fetch user with ID: ${id}`) @@ -43,8 +43,7 @@ export async function create(user, options = {}) { state.user?.loginMethod === 'password' && options.skipActorPasswordConfirm !== true && mergedHeaders['X-Password'] === undefined && - err && - err.status === 401 && + err?.status === 401 && typeof err.message === 'string' && err.message.includes('X-Password') @@ -124,8 +123,7 @@ export async function update(user, which = ['all'], options = {}) { state.user?.loginMethod === 'password' && options.skipActorPasswordConfirm !== true && mergedHeaders['X-Password'] === undefined && - err && - err.status === 401 && + err?.status === 401 && typeof err.message === 'string' && err.message.includes('X-Password') @@ -180,8 +178,7 @@ export async function remove(id, options = {}) { state.user?.loginMethod === 'password' && options.skipActorPasswordConfirm !== true && mergedHeaders['X-Password'] === undefined && - err && - err.status === 401 && + err?.status === 401 && typeof err.message === 'string' && err.message.includes('X-Password') diff --git a/frontend/src/api/utils.js b/frontend/src/api/utils.js index 9f7e4def93..ff6b8c1798 100644 --- a/frontend/src/api/utils.js +++ b/frontend/src/api/utils.js @@ -1,12 +1,12 @@ +import i18n from "@/i18n"; import { state } from "@/store"; import { renew } from "@/utils/auth"; -import i18n from "@/i18n"; export async function fetchURL(url, opts, auth = true) { opts = opts || {}; opts.headers = opts.headers || {}; - let { headers, ...rest } = opts; + const { headers, ...rest } = opts; let res; try { @@ -19,8 +19,8 @@ export async function fetchURL(url, opts, auth = true) { ...rest, }); } catch (e) { - let message = e; - if (e == "TypeError: Failed to fetch") { + let message = e.message; + if (e instanceof TypeError && e.message === "Failed to fetch") { message = i18n.global.t("errors.failedToConnectToServer"); } const error = new Error(message); @@ -33,7 +33,7 @@ export async function fetchURL(url, opts, auth = true) { } if (res.status < 200 || res.status > 299) { - let error = new Error(await res.text()); + const error = new Error(await res.text()); error.status = res.status; throw error; } @@ -59,7 +59,7 @@ export function adjustedData(data) { if (item.isShared === undefined) { item.isShared = false; } - if (data.path == "/") { + if (data.path === "/") { if (item.type === "directory") { item.path = `/${item.name}/` } else { diff --git a/frontend/src/api/utils.test.js b/frontend/src/api/utils.test.js index bfb06d0c44..4289e8eed8 100644 --- a/frontend/src/api/utils.test.js +++ b/frontend/src/api/utils.test.js @@ -1,4 +1,4 @@ -import { describe, it, expect, vi } from 'vitest'; +import { describe, expect, it, vi } from 'vitest'; vi.mock('@/utils/constants', () => { return { diff --git a/frontend/src/components/Action.vue b/frontend/src/components/Action.vue index 3c18112882..20b59ea5c0 100644 --- a/frontend/src/components/Action.vue +++ b/frontend/src/components/Action.vue @@ -1,6 +1,7 @@ diff --git a/frontend/src/components/files/IndexInfo.vue b/frontend/src/components/files/IndexInfo.vue index 6e7ef4c4df..c29792c137 100644 --- a/frontend/src/components/files/IndexInfo.vue +++ b/frontend/src/components/files/IndexInfo.vue @@ -60,14 +60,14 @@ export function getStatusLabel(status, $t) { } export function getHumanReadableTime(lastIndex, locale) { - if (isNaN(Number(lastIndex))) return ""; - let val = Number(lastIndex); + if (Number.isNaN(Number(lastIndex))) return ""; + const val = Number(lastIndex); if (val === 0) return "now"; return fromNow(val, locale); } export function formatDuration(seconds) { - if (isNaN(Number(seconds))) return ''; + if (Number.isNaN(Number(seconds))) return ''; return Number(seconds); } diff --git a/frontend/src/components/files/ListingHeader.vue b/frontend/src/components/files/ListingHeader.vue index 2078d1b121..7facc49e89 100644 --- a/frontend/src/components/files/ListingHeader.vue +++ b/frontend/src/components/files/ListingHeader.vue @@ -117,15 +117,12 @@ export default { return "arrow_upward"; }, quickDownloadEnabled() { - // @ts-ignore if (state.isMobile) { return false } if (getters.isShare()) { - // @ts-ignore return state.shareInfo?.quickDownload; } - // @ts-ignore return state.user?.quickDownload && !this.galleryView; }, }, @@ -159,7 +156,6 @@ export default { box-sizing: border-box; border-top-left-radius: 1em; border-top-right-radius: 1em; - border: unset; margin-bottom: 0 !important; justify-content: space-between; } @@ -191,15 +187,21 @@ span { flex: 1; } -.desktop-view .modified{ - min-width: 15%; - flex: 0; -} - .desktop-view .size, .desktop-view .duration { - min-width: 10%; - flex: 0; + width: 12%; + min-width: 80px; + flex: 0 0 auto; + justify-content: flex-end; + text-align: right; +} + +.desktop-view .modified { + width: 18%; + min-width: 110px; + flex: 0 0 auto; + justify-content: flex-end; + text-align: right; } .size, @@ -210,7 +212,6 @@ span { text-align: end; } - i { font-size: 1.5em; vertical-align: middle; diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index b7fb0b5df7..48da3e6f1d 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -5,6 +5,7 @@ class="listing-item clickable no-select" :class="{ activebutton: isSelected, + 'pinned-item': isPinned, hiddenFile: isHiddenNotSelected && this && !this.isDraggedOver, 'half-selected': isDraggedOver, 'drag-hover': isDraggedOver, @@ -47,37 +48,43 @@
{{ displayName }}
-- {{ humanSize }} + +
+ {{ displayName }} + push_pin
-- + +
+ {{ displayName }}
+{{ humanSize }}
+{{ formattedDuration }}
{{ displayName }}
-- {{ humanSize }} +
+ {{ displayName }} + push_pin
-- +
+ {{ displayName }}
+{{ humanSize }}
+{{ formattedDuration }}