Frontend: Update test deps and scripts in package.json #5014

This removes the "test-" prefix from vitest script targets.

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-06-24 12:59:17 +02:00
parent a965c32188
commit e201e27842
4 changed files with 233 additions and 119 deletions

View File

@@ -346,21 +346,21 @@ acceptance-auth-short:
acceptance-auth-firefox:
$(info Running JS acceptance-auth tests in Firefox...)
(cd frontend && npm run testcafe -- firefox:headless --test-grep "^(Common|Core)\:*" --test-meta mode=auth --config-file ./testcaferc.json --disable-native-automation "tests/acceptance")
test-vitest:
vitest:
$(info Running Vitest unit tests...)
(cd frontend && npm run test-vitest)
test-vitest-watch:
(cd frontend && npm run vitest)
vitest-watch:
$(info Running Vitest unit tests in watch mode...)
(cd frontend && npm run test-vitest-watch)
test-vitest-coverage:
(cd frontend && npm run vitest-watch)
vitest-coverage:
$(info Running Vitest unit tests with coverage...)
(cd frontend && npm run test-vitest-coverage)
test-vitest-component:
(cd frontend && npm run vitest-coverage)
vitest-component:
$(info Running Vitest component tests...)
(cd frontend && npm run test-vitest-component)
test-vitest-ui:
(cd frontend && npm run vitest-component)
vitest-ui:
$(info Opening Vitest UI...)
(cd frontend && npm run test-vitest-ui)
(cd frontend && npm run vitest-ui)
reset-mariadb:
$(info Resetting photoprism database...)
mysql < scripts/sql/reset-photoprism.sql

125
NOTICE
View File

@@ -9,7 +9,7 @@ The following 3rd-party software packages may be used by or distributed with
PhotoPrism. Any information relevant to third-party vendors listed below are
collected using common, reasonable means.
Date generated: 2025-06-20
Date generated: 2025-06-24
================================================================================
@@ -1010,6 +1010,33 @@ SOFTWARE.
--------------------------------------------------------------------------------
Package: github.com/fatih/color
Version: v1.18.0
License: MIT (https://github.com/fatih/color/blob/v1.18.0/LICENSE.md)
The MIT License (MIT)
Copyright (c) 2013 Fatih Arslan
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
Package: github.com/gabriel-vasile/mimetype
Version: v1.4.9
License: MIT (https://github.com/gabriel-vasile/mimetype/blob/v1.4.9/LICENSE)
@@ -2525,8 +2552,8 @@ License: Apache-2.0 (https://github.com/golang/geo/blob/9e8e59d779cc/LICENSE)
--------------------------------------------------------------------------------
Package: github.com/google/open-location-code/go
Version: v0.0.0-20250613141612-3e39f06c927c
License: Apache-2.0 (https://github.com/google/open-location-code/blob/3e39f06c927c/go/LICENSE)
Version: v0.0.0-20250620134813-83986da0156b
License: Apache-2.0 (https://github.com/google/open-location-code/blob/83986da0156b/go/LICENSE)
Apache License
@@ -4149,6 +4176,34 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
Package: github.com/mattn/go-colorable
Version: v0.1.14
License: MIT (https://github.com/mattn/go-colorable/blob/v0.1.14/LICENSE)
The MIT License (MIT)
Copyright (c) 2016 Yasuhiro Matsumoto
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
Package: github.com/mattn/go-isatty
Version: v0.0.20
License: MIT (https://github.com/mattn/go-isatty/blob/v0.0.20/LICENSE)
@@ -4318,9 +4373,65 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
Package: github.com/olekukonko/errors
Version: v1.1.0
License: MIT (https://github.com/olekukonko/errors/blob/v1.1.0/LICENSE)
MIT License
Copyright (c) 2025 Oleku Konko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
Package: github.com/olekukonko/ll
Version: v0.0.9
License: MIT (https://github.com/olekukonko/ll/blob/v0.0.9/LICENSE)
MIT License
Copyright (c) 2025 Oleku Konko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
Package: github.com/olekukonko/tablewriter
Version: v0.0.5
License: MIT (https://github.com/olekukonko/tablewriter/blob/v0.0.5/LICENSE.md)
Version: v1.0.7
License: MIT (https://github.com/olekukonko/tablewriter/blob/v1.0.7/LICENSE.md)
Copyright (C) 2014 by Oleku Konko
@@ -5086,8 +5197,8 @@ License: Apache-2.0 (https://github.com/prometheus/client_model/blob/v0.6.2/LICE
--------------------------------------------------------------------------------
Package: github.com/prometheus/common
Version: v0.64.0
License: Apache-2.0 (https://github.com/prometheus/common/blob/v0.64.0/LICENSE)
Version: v0.65.0
License: Apache-2.0 (https://github.com/prometheus/common/blob/v0.65.0/LICENSE)
Apache License
Version 2.0, January 2004

View File

@@ -21,15 +21,15 @@
"@mdi/font": "^7.4.47",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@vitejs/plugin-react": "^4.5.2",
"@vitejs/plugin-vue": "^5.2.4",
"@vitejs/plugin-react": "^4.6.0",
"@vitejs/plugin-vue": "^6.0.0",
"@vitest/browser": "^3.2.4",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"@vue/compiler-sfc": "^3.5.17",
"@vue/language-server": "^2.2.10",
"@vue/test-utils": "^2.4.6",
"@vvo/tzdb": "^6.172.0",
"@vvo/tzdb": "^6.173.0",
"axios": "^1.10.0",
"axios-mock-adapter": "^2.1.0",
"babel-loader": "^10.0.0",
@@ -48,7 +48,7 @@
"eslint-config-prettier": "^10.1.5",
"eslint-formatter-pretty": "^6.0.1",
"eslint-plugin-html": "^8.1.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.5.0",
"eslint-plugin-promise": "^7.2.1",
@@ -86,7 +86,7 @@
"postcss-preset-env": "^10.2.3",
"postcss-reporter": "^7.1.0",
"postcss-url": "^10.1.3",
"prettier": "^3.5.3",
"prettier": "^3.6.0",
"pubsub-js": "^1.9.5",
"regenerator-runtime": "^0.14.1",
"resolve-url-loader": "^5.0.0",
@@ -4335,9 +4335,9 @@
"license": "MIT"
},
"node_modules/@rolldown/pluginutils": {
"version": "1.0.0-beta.11",
"resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.11.tgz",
"integrity": "sha512-L/gAA/hyCSuzTF1ftlzUSI/IKr2POHsv1Dd78GfqkR83KMNuswWD61JxGV2L7nRwBBBSDr6R1gCkdTmoN7W4ag==",
"version": "1.0.0-beta.19",
"resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.19.tgz",
"integrity": "sha512-3FL3mnMbPu0muGOCaKAhhFEYmqv9eTfPSJRJmANrCwtgK8VuxpsZDGK+m0LYAGoyO8+0j5uRe4PeyPDK1yA/hA==",
"license": "MIT"
},
"node_modules/@rollup/rollup-android-arm-eabi": {
@@ -4958,15 +4958,15 @@
"license": "MIT"
},
"node_modules/@vitejs/plugin-react": {
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.5.2.tgz",
"integrity": "sha512-QNVT3/Lxx99nMQWJWF7K4N6apUEuT0KlZA3mx/mVaoGj3smm/8rc8ezz15J1pcbcjDK0V15rpHetVfya08r76Q==",
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.6.0.tgz",
"integrity": "sha512-5Kgff+m8e2PB+9j51eGHEpn5kUzRKH2Ry0qGoe8ItJg7pqnkPrYPkDQZGgGmTa0EGarHrkjLvOdU3b1fzI8otQ==",
"license": "MIT",
"dependencies": {
"@babel/core": "^7.27.4",
"@babel/plugin-transform-react-jsx-self": "^7.27.1",
"@babel/plugin-transform-react-jsx-source": "^7.27.1",
"@rolldown/pluginutils": "1.0.0-beta.11",
"@rolldown/pluginutils": "1.0.0-beta.19",
"@types/babel__core": "^7.20.5",
"react-refresh": "^0.17.0"
},
@@ -4978,15 +4978,18 @@
}
},
"node_modules/@vitejs/plugin-vue": {
"version": "5.2.4",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.2.4.tgz",
"integrity": "sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA==",
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-6.0.0.tgz",
"integrity": "sha512-iAliE72WsdhjzTOp2DtvKThq1VBC4REhwRcaA+zPAAph6I+OQhUXv+Xu2KS7ElxYtb7Zc/3R30Hwv1DxEo7NXQ==",
"license": "MIT",
"dependencies": {
"@rolldown/pluginutils": "1.0.0-beta.19"
},
"engines": {
"node": "^18.0.0 || >=20.0.0"
"node": "^20.19.0 || >=22.12.0"
},
"peerDependencies": {
"vite": "^5.0.0 || ^6.0.0",
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
"vue": "^3.2.25"
}
},
@@ -5188,23 +5191,23 @@
}
},
"node_modules/@volar/language-core": {
"version": "2.4.14",
"resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.14.tgz",
"integrity": "sha512-X6beusV0DvuVseaOEy7GoagS4rYHgDHnTrdOj5jeUb49fW5ceQyP9Ej5rBhqgz2wJggl+2fDbbojq1XKaxDi6w==",
"version": "2.4.15",
"resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.15.tgz",
"integrity": "sha512-3VHw+QZU0ZG9IuQmzT68IyN4hZNd9GchGPhbD9+pa8CVv7rnoOZwo7T8weIbrRmihqy3ATpdfXFnqRrfPVK6CA==",
"license": "MIT",
"dependencies": {
"@volar/source-map": "2.4.14"
"@volar/source-map": "2.4.15"
}
},
"node_modules/@volar/language-server": {
"version": "2.4.14",
"resolved": "https://registry.npmjs.org/@volar/language-server/-/language-server-2.4.14.tgz",
"integrity": "sha512-P3mGbQbW0v40UYBnb3DAaNtRYx6/MGOVKzdOWmBCGwjUkCR2xBkGrCFt05XnPDwFS/cTWDh2U6Mc9lpZ8Aecfw==",
"version": "2.4.15",
"resolved": "https://registry.npmjs.org/@volar/language-server/-/language-server-2.4.15.tgz",
"integrity": "sha512-aSzvL3lgQ+RPU3uWA9wW85sfZ0tb+oKplfnOwG/c1iRMuVEJRofmcnjyN0JEOKbBR7GuPSbeUdLAI0AIL+TFew==",
"license": "MIT",
"dependencies": {
"@volar/language-core": "2.4.14",
"@volar/language-service": "2.4.14",
"@volar/typescript": "2.4.14",
"@volar/language-core": "2.4.15",
"@volar/language-service": "2.4.15",
"@volar/typescript": "2.4.15",
"path-browserify": "^1.0.1",
"request-light": "^0.7.0",
"vscode-languageserver": "^9.0.1",
@@ -5214,42 +5217,42 @@
}
},
"node_modules/@volar/language-service": {
"version": "2.4.14",
"resolved": "https://registry.npmjs.org/@volar/language-service/-/language-service-2.4.14.tgz",
"integrity": "sha512-vNC3823EJohdzLTyjZoCMPwoWCfINB5emusniCkW5CGoGHQov4VVmT6yI5ncgP/NpgAIUv2NEkJooXvLHA4VeQ==",
"version": "2.4.15",
"resolved": "https://registry.npmjs.org/@volar/language-service/-/language-service-2.4.15.tgz",
"integrity": "sha512-o7ctGyQNQAZqT15xHamE0fTzPZHeDnHWz0m/KJekSPc2W4AHiEbJ2RNDLzEK4e0EjrpdeEe3FB9KQvOvjq+I6Q==",
"license": "MIT",
"dependencies": {
"@volar/language-core": "2.4.14",
"@volar/language-core": "2.4.15",
"vscode-languageserver-protocol": "^3.17.5",
"vscode-languageserver-textdocument": "^1.0.11",
"vscode-uri": "^3.0.8"
}
},
"node_modules/@volar/source-map": {
"version": "2.4.14",
"resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.14.tgz",
"integrity": "sha512-5TeKKMh7Sfxo8021cJfmBzcjfY1SsXsPMMjMvjY7ivesdnybqqS+GxGAoXHAOUawQTwtdUxgP65Im+dEmvWtYQ==",
"version": "2.4.15",
"resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.15.tgz",
"integrity": "sha512-CPbMWlUN6hVZJYGcU/GSoHu4EnCHiLaXI9n8c9la6RaI9W5JHX+NqG+GSQcB0JdC2FIBLdZJwGsfKyBB71VlTg==",
"license": "MIT"
},
"node_modules/@volar/test-utils": {
"version": "2.4.14",
"resolved": "https://registry.npmjs.org/@volar/test-utils/-/test-utils-2.4.14.tgz",
"integrity": "sha512-+3fzjRA3HSchFw22848xofqvv1+Y2LBEduyjYc1vqQWFYcWjkKOOLgSonRflmJrFwLa9bBcvUxNihhh71FsbGw==",
"version": "2.4.15",
"resolved": "https://registry.npmjs.org/@volar/test-utils/-/test-utils-2.4.15.tgz",
"integrity": "sha512-TgFzv+0HWKS9ZjA6p4kuXgnzGJR2wt5f+0L97o7LYOdBSaAIn+EgWPqTAYWZC4Z2PYEKS0jkt5waOyak18k6/g==",
"license": "MIT",
"dependencies": {
"@volar/language-core": "2.4.14",
"@volar/language-server": "2.4.14",
"@volar/language-core": "2.4.15",
"@volar/language-server": "2.4.15",
"vscode-languageserver-textdocument": "^1.0.11",
"vscode-uri": "^3.0.8"
}
},
"node_modules/@volar/typescript": {
"version": "2.4.14",
"resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.14.tgz",
"integrity": "sha512-p8Z6f/bZM3/HyCdRNFZOEEzts51uV8WHeN8Tnfnm2EBv6FDB2TQLzfVx7aJvnl8ofKAOnS64B2O8bImBFaauRw==",
"version": "2.4.15",
"resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.15.tgz",
"integrity": "sha512-2aZ8i0cqPGjXb4BhkMsPYDkkuc2ZQ6yOpqwAuNwUoncELqoy5fRgOQtLR9gB0g902iS0NAkvpIzs27geVyVdPg==",
"license": "MIT",
"dependencies": {
"@volar/language-core": "2.4.14",
"@volar/language-core": "2.4.15",
"path-browserify": "^1.0.1",
"vscode-uri": "^3.0.8"
}
@@ -5532,9 +5535,9 @@
}
},
"node_modules/@vvo/tzdb": {
"version": "6.172.0",
"resolved": "https://registry.npmjs.org/@vvo/tzdb/-/tzdb-6.172.0.tgz",
"integrity": "sha512-q1ywrErPLv+ZrAy97J4tQlQ4yUGuRjeA00jF2sCioBfujCZKuLuzqcnb0waDmhnhi1wyOMx2GPg+oX75h5iknw==",
"version": "6.173.0",
"resolved": "https://registry.npmjs.org/@vvo/tzdb/-/tzdb-6.173.0.tgz",
"integrity": "sha512-CDmozQpIrr8+6Q9zoj+d4Kh7TQmOAL3+ZXFD726lPPQlvYXNp1hWY93xJPrC/ikE51kR2wCLOcYOnfjSM2Is2Q==",
"license": "MIT"
},
"node_modules/@webassemblyjs/ast": {
@@ -7602,9 +7605,9 @@
"license": "MIT"
},
"node_modules/cssdb": {
"version": "8.3.0",
"resolved": "https://registry.npmjs.org/cssdb/-/cssdb-8.3.0.tgz",
"integrity": "sha512-c7bmItIg38DgGjSwDPZOYF/2o0QU/sSgkWOMyl8votOfgFuyiFKWPesmCGEsrGLxEA9uL540cp8LdaGEjUGsZQ==",
"version": "8.3.1",
"resolved": "https://registry.npmjs.org/cssdb/-/cssdb-8.3.1.tgz",
"integrity": "sha512-XnDRQMXucLueX92yDe0LPKupXetWoFOgawr4O4X41l5TltgK2NVbJJVDnnOywDYfW1sTJ28AcXGKOqdRKwCcmQ==",
"funding": [
{
"type": "opencollective",
@@ -8370,9 +8373,9 @@
}
},
"node_modules/electron-to-chromium": {
"version": "1.5.171",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.171.tgz",
"integrity": "sha512-scWpzXEJEMrGJa4Y6m/tVotb0WuvNmasv3wWVzUAeCgKU0ToFOhUW6Z+xWnRQANMYGxN4ngJXIThgBJOqzVPCQ==",
"version": "1.5.173",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.173.tgz",
"integrity": "sha512-2bFhXP2zqSfQHugjqJIDFVwa+qIxyNApenmXTp9EjaKtdPrES5Qcn9/aSFy/NaP2E+fWG/zxKu/LBvY36p5VNQ==",
"license": "ISC"
},
"node_modules/emmet": {
@@ -8483,9 +8486,9 @@
}
},
"node_modules/enhanced-resolve": {
"version": "5.18.1",
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.1.tgz",
"integrity": "sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==",
"version": "5.18.2",
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.2.tgz",
"integrity": "sha512-6Jw4sE1maoRJo3q8MsSIn2onJFbLTOjY9hlx4DZXmOKvLRd1Ok2kXmAGXaafL2+ijsJZ1ClYbl/pmqr9+k4iUQ==",
"license": "MIT",
"dependencies": {
"graceful-fs": "^4.2.4",
@@ -8985,29 +8988,29 @@
}
},
"node_modules/eslint-plugin-import": {
"version": "2.31.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz",
"integrity": "sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==",
"version": "2.32.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.32.0.tgz",
"integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==",
"license": "MIT",
"dependencies": {
"@rtsao/scc": "^1.1.0",
"array-includes": "^3.1.8",
"array.prototype.findlastindex": "^1.2.5",
"array.prototype.flat": "^1.3.2",
"array.prototype.flatmap": "^1.3.2",
"array-includes": "^3.1.9",
"array.prototype.findlastindex": "^1.2.6",
"array.prototype.flat": "^1.3.3",
"array.prototype.flatmap": "^1.3.3",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-module-utils": "^2.12.0",
"eslint-module-utils": "^2.12.1",
"hasown": "^2.0.2",
"is-core-module": "^2.15.1",
"is-core-module": "^2.16.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
"object.fromentries": "^2.0.8",
"object.groupby": "^1.0.3",
"object.values": "^1.2.0",
"object.values": "^1.2.1",
"semver": "^6.3.1",
"string.prototype.trimend": "^1.0.8",
"string.prototype.trimend": "^1.0.9",
"tsconfig-paths": "^3.15.0"
},
"engines": {
@@ -9856,9 +9859,9 @@
}
},
"node_modules/flow-remove-types": {
"version": "2.273.1",
"resolved": "https://registry.npmjs.org/flow-remove-types/-/flow-remove-types-2.273.1.tgz",
"integrity": "sha512-OsiyA6URBPkG0Ns5DYH556uFtTFfyQ9kg4PfMi8l5DfSieHAtxKnlCgZFPu0lC+37sWkQtnyVCYTFbQcHxOwZg==",
"version": "2.274.0",
"resolved": "https://registry.npmjs.org/flow-remove-types/-/flow-remove-types-2.274.0.tgz",
"integrity": "sha512-4HZ9gCROACMrPqeeaczCNybRgSXuYvaVKCA5Ntas2Xu0QIumujOP8hdx83JEA7iQ5M405yfs+S+aXedPaPF9HQ==",
"license": "MIT",
"dependencies": {
"hermes-parser": "0.28.0",
@@ -15313,9 +15316,9 @@
}
},
"node_modules/prettier": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
"integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.0.tgz",
"integrity": "sha512-ujSB9uXHJKzM/2GBuE0hBOUgC77CN3Bnpqa+g80bkv3T3A93wL/xlzDATHhnhkzifz/UE2SNOvmbTz5hSkDlHw==",
"license": "MIT",
"bin": {
"prettier": "bin/prettier.cjs"
@@ -18301,23 +18304,23 @@
}
},
"node_modules/vite": {
"version": "6.3.5",
"resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz",
"integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==",
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/vite/-/vite-7.0.0.tgz",
"integrity": "sha512-ixXJB1YRgDIw2OszKQS9WxGHKwLdCsbQNkpJN171udl6szi/rIySHL6/Os3s2+oE4P/FLD4dxg4mD7Wust+u5g==",
"license": "MIT",
"dependencies": {
"esbuild": "^0.25.0",
"fdir": "^6.4.4",
"fdir": "^6.4.6",
"picomatch": "^4.0.2",
"postcss": "^8.5.3",
"rollup": "^4.34.9",
"tinyglobby": "^0.2.13"
"postcss": "^8.5.6",
"rollup": "^4.40.0",
"tinyglobby": "^0.2.14"
},
"bin": {
"vite": "bin/vite.js"
},
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
"node": "^20.19.0 || >=22.12.0"
},
"funding": {
"url": "https://github.com/vitejs/vite?sponsor=1"
@@ -18326,14 +18329,14 @@
"fsevents": "~2.3.3"
},
"peerDependencies": {
"@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
"@types/node": "^20.19.0 || >=22.12.0",
"jiti": ">=1.21.0",
"less": "*",
"less": "^4.0.0",
"lightningcss": "^1.21.0",
"sass": "*",
"sass-embedded": "*",
"stylus": "*",
"sugarss": "*",
"sass": "^1.70.0",
"sass-embedded": "^1.70.0",
"stylus": ">=0.54.8",
"sugarss": "^5.0.0",
"terser": "^5.16.0",
"tsx": "^4.8.1",
"yaml": "^2.4.2"
@@ -18845,9 +18848,9 @@
"license": "MIT"
},
"node_modules/vue-eslint-parser": {
"version": "10.1.3",
"resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-10.1.3.tgz",
"integrity": "sha512-dbCBnd2e02dYWsXoqX5yKUZlOt+ExIpq7hmHKPb5ZqKcjf++Eo0hMseFTZMLKThrUk61m+Uv6A2YSBve6ZvuDQ==",
"version": "10.1.4",
"resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-10.1.4.tgz",
"integrity": "sha512-EIZvCukIEMHEb3mxOKemtvWR1fcUAdWWAgkfyjmRHzvyhrZvBvH9oz69+thDIWhGiIQjZnPkCn8yHqvjM+a9eg==",
"license": "MIT",
"peer": true,
"dependencies": {
@@ -19606,9 +19609,9 @@
}
},
"node_modules/webpack-sources": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.3.2.tgz",
"integrity": "sha512-ykKKus8lqlgXX/1WjudpIEjqsafjOTcOJqxnAbMLAu/KCsDCJ6GBtvscewvTkrn24HsnvFwrSCbenFrhtcCsAA==",
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.3.3.tgz",
"integrity": "sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==",
"license": "MIT",
"engines": {
"node": ">=10.13.0"

View File

@@ -18,11 +18,11 @@
"gettext-extract": "gettext-extract --output src/locales/translations.pot $(find ${SRC:-src} -type f \\( -iname \\*.vue -o -iname \\*.js \\) -not -path src/common/gettext.js)",
"lint": "eslint --cache src/ *.js",
"test": "karma start",
"test-vitest": "env TZ=UTC vitest run",
"test-vitest-watch": "env TZ=UTC vitest --watch",
"test-vitest-coverage": "env TZ=UTC vitest run --coverage",
"test-vitest-component": "env TZ=UTC vitest run tests/vitest/component",
"test-vitest-ui": "env TZ=UTC vitest --ui --watch",
"vitest": "env TZ=UTC vitest run",
"vitest-watch": "env TZ=UTC vitest --watch",
"vitest-coverage": "env TZ=UTC vitest run --coverage",
"vitest-component": "env TZ=UTC vitest run tests/vitest/component",
"vitest-ui": "env TZ=UTC vitest --ui --watch",
"testcafe": "testcafe",
"trace": "webpack --stats-children",
"upgrade": "npm update && npm audit fix",
@@ -44,15 +44,15 @@
"@mdi/font": "^7.4.47",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@vitejs/plugin-react": "^4.5.2",
"@vitejs/plugin-vue": "^5.2.4",
"@vitejs/plugin-react": "^4.6.0",
"@vitejs/plugin-vue": "^6.0.0",
"@vitest/browser": "^3.2.4",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"@vue/compiler-sfc": "^3.5.17",
"@vue/language-server": "^2.2.10",
"@vue/test-utils": "^2.4.6",
"@vvo/tzdb": "^6.172.0",
"@vvo/tzdb": "^6.173.0",
"axios": "^1.10.0",
"axios-mock-adapter": "^2.1.0",
"babel-loader": "^10.0.0",
@@ -71,7 +71,7 @@
"eslint-config-prettier": "^10.1.5",
"eslint-formatter-pretty": "^6.0.1",
"eslint-plugin-html": "^8.1.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.5.0",
"eslint-plugin-promise": "^7.2.1",
@@ -109,7 +109,7 @@
"postcss-preset-env": "^10.2.3",
"postcss-reporter": "^7.1.0",
"postcss-url": "^10.1.3",
"prettier": "^3.5.3",
"prettier": "^3.6.0",
"pubsub-js": "^1.9.5",
"regenerator-runtime": "^0.14.1",
"resolve-url-loader": "^5.0.0",