diff --git a/core/attachments/attachments-default/src/defaultAttachmentsService.ts b/core/attachments/attachments-default/src/defaultAttachmentsService.ts index 16af9e51a..844357c50 100644 --- a/core/attachments/attachments-default/src/defaultAttachmentsService.ts +++ b/core/attachments/attachments-default/src/defaultAttachmentsService.ts @@ -93,6 +93,7 @@ const attachmentsStore: AttachmentsStoreDefinition = defineStore< } else { this.unknownPage = true; this.attachments = []; + this.count = 0; } }, setError(error: string) { diff --git a/package.json b/package.json index 02c5d2e48..5069c39e0 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "devDependencies": { "@changesets/cli": "2.27.10", "@eslint/eslintrc": "3.2.0", - "@eslint/js": "9.16.0", + "@eslint/js": "9.17.0", "@microsoft/tsdoc": "0.15.1", "@microsoft/tsdoc-config": "0.17.1", "@typescript-eslint/eslint-plugin": "8.18.0", @@ -36,7 +36,7 @@ "@vitejs/plugin-vue": "5.2.1", "@vitest/coverage-v8": "2.1.8", "concurrently": "9.1.0", - "eslint": "9.16.0", + "eslint": "9.17.0", "eslint-config-prettier": "9.1.0", "eslint-import-resolver-typescript": "3.7.0", "eslint-plugin-import": "2.31.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cf1a718d8..9b153f509 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,8 +20,8 @@ importers: specifier: 3.2.0 version: 3.2.0 '@eslint/js': - specifier: 9.16.0 - version: 9.16.0 + specifier: 9.17.0 + version: 9.17.0 '@microsoft/tsdoc': specifier: 0.15.1 version: 0.15.1 @@ -30,10 +30,10 @@ importers: version: 0.17.1 '@typescript-eslint/eslint-plugin': specifier: 8.18.0 - version: 8.18.0(@typescript-eslint/parser@8.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@9.16.0)(typescript@5.6.3) + version: 8.18.0(@typescript-eslint/parser@8.18.0(eslint@9.17.0)(typescript@5.6.3))(eslint@9.17.0)(typescript@5.6.3) '@typescript-eslint/parser': specifier: 8.18.0 - version: 8.18.0(eslint@9.16.0)(typescript@5.6.3) + version: 8.18.0(eslint@9.17.0)(typescript@5.6.3) '@vitejs/plugin-vue': specifier: 5.2.1 version: 5.2.1(vite@6.0.3(@types/node@22.10.2)(tsx@4.19.2)(yaml@2.6.1))(vue@3.5.13(typescript@5.6.3)) @@ -44,26 +44,26 @@ importers: specifier: 9.1.0 version: 9.1.0 eslint: - specifier: 9.16.0 - version: 9.16.0 + specifier: 9.17.0 + version: 9.17.0 eslint-config-prettier: specifier: 9.1.0 - version: 9.1.0(eslint@9.16.0) + version: 9.1.0(eslint@9.17.0) eslint-import-resolver-typescript: specifier: 3.7.0 - version: 3.7.0(eslint-plugin-import@2.31.0)(eslint@9.16.0) + version: 3.7.0(eslint-plugin-import@2.31.0)(eslint@9.17.0) eslint-plugin-import: specifier: 2.31.0 - version: 2.31.0(@typescript-eslint/parser@8.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.7.0)(eslint@9.16.0) + version: 2.31.0(@typescript-eslint/parser@8.18.0(eslint@9.17.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.7.0)(eslint@9.17.0) eslint-plugin-prettier: specifier: 5.2.1 - version: 5.2.1(eslint-config-prettier@9.1.0(eslint@9.16.0))(eslint@9.16.0)(prettier@3.4.2) + version: 5.2.1(eslint-config-prettier@9.1.0(eslint@9.17.0))(eslint@9.17.0)(prettier@3.4.2) eslint-plugin-tsdoc: specifier: 0.4.0 version: 0.4.0 eslint-plugin-vue: specifier: 9.32.0 - version: 9.32.0(eslint@9.16.0) + version: 9.32.0(eslint@9.17.0) happy-dom: specifier: 15.11.7 version: 15.11.7 @@ -93,7 +93,7 @@ importers: version: 2.1.8(@types/node@22.10.2)(happy-dom@15.11.7) vue-eslint-parser: specifier: 9.4.3 - version: 9.4.3(eslint@9.16.0) + version: 9.4.3(eslint@9.17.0) api: dependencies: @@ -3038,8 +3038,8 @@ importers: specifier: 3.2.0 version: 3.2.0 '@eslint/js': - specifier: 9.16.0 - version: 9.16.0 + specifier: 9.17.0 + version: 9.17.0 '@playwright/test': specifier: 1.49.1 version: 1.49.1 @@ -3781,6 +3781,10 @@ packages: resolution: {integrity: sha512-tw2HxzQkrbeuvyj1tG2Yqq+0H9wGoI2IMk4EOsQeX+vmd75FtJAzf+gTA69WF+baUKRYQ3x2kbLE08js5OsTVg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/js@9.17.0': + resolution: {integrity: sha512-Sxc4hqcs1kTu0iID3kcZDW3JHq2a77HO9P8CP6YEA/FpH3Ll8UXE2r/86Rz9YJLKme39S9vU5OWNjC6Xl0Cr3w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/object-schema@2.1.5': resolution: {integrity: sha512-o0bhxnL89h5Bae5T318nFoFzGy+YE5i/gGkoPAgkmTVdRKTiv3p8JHevPiPaMwoloKfEiiaHlawCqaZMqRm+XQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -5764,8 +5768,8 @@ packages: resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@9.16.0: - resolution: {integrity: sha512-whp8mSQI4C8VXd+fLgSM0lh3UlmcFtVwUQjyKCFfsp+2ItAIYhlq/hqGahGqHE6cv9unM41VlqKk2VtKYR2TaA==} + eslint@9.17.0: + resolution: {integrity: sha512-evtlNcpJg+cZLcnVKwsai8fExnqjGPicK7gnUtlNuzu+Fv9bI0aLpND5T44VLQtoMEnI57LoXO9XAkIXwohKrA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: @@ -8975,9 +8979,9 @@ snapshots: '@esbuild/win32-x64@0.24.0': optional: true - '@eslint-community/eslint-utils@4.4.1(eslint@9.16.0)': + '@eslint-community/eslint-utils@4.4.1(eslint@9.17.0)': dependencies: - eslint: 9.16.0 + eslint: 9.17.0 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.1': {} @@ -9010,6 +9014,8 @@ snapshots: '@eslint/js@9.16.0': {} + '@eslint/js@9.17.0': {} + '@eslint/object-schema@2.1.5': {} '@eslint/plugin-kit@0.2.4': @@ -9813,15 +9819,15 @@ snapshots: '@types/node': 22.10.2 optional: true - '@typescript-eslint/eslint-plugin@8.18.0(@typescript-eslint/parser@8.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@9.16.0)(typescript@5.6.3)': + '@typescript-eslint/eslint-plugin@8.18.0(@typescript-eslint/parser@8.18.0(eslint@9.17.0)(typescript@5.6.3))(eslint@9.17.0)(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.18.0(eslint@9.16.0)(typescript@5.6.3) + '@typescript-eslint/parser': 8.18.0(eslint@9.17.0)(typescript@5.6.3) '@typescript-eslint/scope-manager': 8.18.0 - '@typescript-eslint/type-utils': 8.18.0(eslint@9.16.0)(typescript@5.6.3) - '@typescript-eslint/utils': 8.18.0(eslint@9.16.0)(typescript@5.6.3) + '@typescript-eslint/type-utils': 8.18.0(eslint@9.17.0)(typescript@5.6.3) + '@typescript-eslint/utils': 8.18.0(eslint@9.17.0)(typescript@5.6.3) '@typescript-eslint/visitor-keys': 8.18.0 - eslint: 9.16.0 + eslint: 9.17.0 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 @@ -9830,14 +9836,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.18.0(eslint@9.16.0)(typescript@5.6.3)': + '@typescript-eslint/parser@8.18.0(eslint@9.17.0)(typescript@5.6.3)': dependencies: '@typescript-eslint/scope-manager': 8.18.0 '@typescript-eslint/types': 8.18.0 '@typescript-eslint/typescript-estree': 8.18.0(typescript@5.6.3) '@typescript-eslint/visitor-keys': 8.18.0 debug: 4.4.0 - eslint: 9.16.0 + eslint: 9.17.0 typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -9847,12 +9853,12 @@ snapshots: '@typescript-eslint/types': 8.18.0 '@typescript-eslint/visitor-keys': 8.18.0 - '@typescript-eslint/type-utils@8.18.0(eslint@9.16.0)(typescript@5.6.3)': + '@typescript-eslint/type-utils@8.18.0(eslint@9.17.0)(typescript@5.6.3)': dependencies: '@typescript-eslint/typescript-estree': 8.18.0(typescript@5.6.3) - '@typescript-eslint/utils': 8.18.0(eslint@9.16.0)(typescript@5.6.3) + '@typescript-eslint/utils': 8.18.0(eslint@9.17.0)(typescript@5.6.3) debug: 4.4.0 - eslint: 9.16.0 + eslint: 9.17.0 ts-api-utils: 1.4.3(typescript@5.6.3) typescript: 5.6.3 transitivePeerDependencies: @@ -9874,13 +9880,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.18.0(eslint@9.16.0)(typescript@5.6.3)': + '@typescript-eslint/utils@8.18.0(eslint@9.17.0)(typescript@5.6.3)': dependencies: - '@eslint-community/eslint-utils': 4.4.1(eslint@9.16.0) + '@eslint-community/eslint-utils': 4.4.1(eslint@9.17.0) '@typescript-eslint/scope-manager': 8.18.0 '@typescript-eslint/types': 8.18.0 '@typescript-eslint/typescript-estree': 8.18.0(typescript@5.6.3) - eslint: 9.16.0 + eslint: 9.17.0 typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -11298,9 +11304,9 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-config-prettier@9.1.0(eslint@9.16.0): + eslint-config-prettier@9.1.0(eslint@9.17.0): dependencies: - eslint: 9.16.0 + eslint: 9.17.0 eslint-import-resolver-node@0.3.9: dependencies: @@ -11310,34 +11316,34 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0)(eslint@9.16.0): + eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0)(eslint@9.17.0): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.4.0 enhanced-resolve: 5.17.1 - eslint: 9.16.0 + eslint: 9.17.0 fast-glob: 3.3.2 get-tsconfig: 4.8.1 is-bun-module: 1.3.0 is-glob: 4.0.3 stable-hash: 0.0.4 optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.7.0)(eslint@9.16.0) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.18.0(eslint@9.17.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.7.0)(eslint@9.17.0) transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@9.16.0): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.18.0(eslint@9.17.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@9.17.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.18.0(eslint@9.16.0)(typescript@5.6.3) - eslint: 9.16.0 + '@typescript-eslint/parser': 8.18.0(eslint@9.17.0)(typescript@5.6.3) + eslint: 9.17.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0)(eslint@9.16.0) + eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0)(eslint@9.17.0) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.7.0)(eslint@9.16.0): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.18.0(eslint@9.17.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.7.0)(eslint@9.17.0): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -11346,9 +11352,9 @@ snapshots: array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 9.16.0 + eslint: 9.17.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@9.16.0) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.18.0(eslint@9.17.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@9.17.0) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -11360,36 +11366,36 @@ snapshots: string.prototype.trimend: 1.0.9 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.18.0(eslint@9.16.0)(typescript@5.6.3) + '@typescript-eslint/parser': 8.18.0(eslint@9.17.0)(typescript@5.6.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-plugin-prettier@5.2.1(eslint-config-prettier@9.1.0(eslint@9.16.0))(eslint@9.16.0)(prettier@3.4.2): + eslint-plugin-prettier@5.2.1(eslint-config-prettier@9.1.0(eslint@9.17.0))(eslint@9.17.0)(prettier@3.4.2): dependencies: - eslint: 9.16.0 + eslint: 9.17.0 prettier: 3.4.2 prettier-linter-helpers: 1.0.0 synckit: 0.9.2 optionalDependencies: - eslint-config-prettier: 9.1.0(eslint@9.16.0) + eslint-config-prettier: 9.1.0(eslint@9.17.0) eslint-plugin-tsdoc@0.4.0: dependencies: '@microsoft/tsdoc': 0.15.1 '@microsoft/tsdoc-config': 0.17.1 - eslint-plugin-vue@9.32.0(eslint@9.16.0): + eslint-plugin-vue@9.32.0(eslint@9.17.0): dependencies: - '@eslint-community/eslint-utils': 4.4.1(eslint@9.16.0) - eslint: 9.16.0 + '@eslint-community/eslint-utils': 4.4.1(eslint@9.17.0) + eslint: 9.17.0 globals: 13.24.0 natural-compare: 1.4.0 nth-check: 2.1.1 postcss-selector-parser: 6.1.2 semver: 7.6.3 - vue-eslint-parser: 9.4.3(eslint@9.16.0) + vue-eslint-parser: 9.4.3(eslint@9.17.0) xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color @@ -11408,14 +11414,14 @@ snapshots: eslint-visitor-keys@4.2.0: {} - eslint@9.16.0: + eslint@9.17.0: dependencies: - '@eslint-community/eslint-utils': 4.4.1(eslint@9.16.0) + '@eslint-community/eslint-utils': 4.4.1(eslint@9.17.0) '@eslint-community/regexpp': 4.12.1 '@eslint/config-array': 0.19.1 '@eslint/core': 0.9.1 '@eslint/eslintrc': 3.2.0 - '@eslint/js': 9.16.0 + '@eslint/js': 9.17.0 '@eslint/plugin-kit': 0.2.4 '@humanfs/node': 0.16.6 '@humanwhocodes/module-importer': 1.0.1 @@ -14016,10 +14022,10 @@ snapshots: dependencies: vue: 3.5.13(typescript@5.6.3) - vue-eslint-parser@9.4.3(eslint@9.16.0): + vue-eslint-parser@9.4.3(eslint@9.17.0): dependencies: debug: 4.4.0 - eslint: 9.16.0 + eslint: 9.17.0 eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 diff --git a/web/package.json b/web/package.json index e95eea4b7..892edef60 100644 --- a/web/package.json +++ b/web/package.json @@ -46,7 +46,7 @@ }, "devDependencies": { "@eslint/eslintrc": "3.2.0", - "@eslint/js": "9.16.0", + "@eslint/js": "9.17.0", "@playwright/test": "1.49.1", "@types/node": "22.10.2", "@vitejs/plugin-vue": "5.2.1",