chore: more dep updates

This commit is contained in:
MiniDigger | Martin 2024-01-27 22:18:55 +01:00
parent 8c8b3eb6b5
commit 6a5f047028
8 changed files with 72 additions and 316 deletions

View File

@ -43,6 +43,8 @@ module.exports = {
"vue/multi-word-component-names": "off",
"no-console": "off",
// TS
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": "off",

View File

@ -2,10 +2,10 @@ import path from "node:path";
import VueI18nVitePlugin from "@intlify/unplugin-vue-i18n/vite";
import IconsResolver from "unplugin-icons/resolver";
import Icons from "unplugin-icons/vite";
import EslintPlugin from "vite-plugin-eslint";
import Components from "unplugin-vue-components/vite";
import type { ProxyOptions } from "@nuxt-alt/proxy";
import { defineNuxtConfig } from "nuxt/config";
import prettier from "./src/vite/prettier";
import unocss from "./unocss.config";
const backendHost = process.env.BACKEND_HOST || "http://localhost:8080";
@ -77,10 +77,9 @@ export default defineNuxtConfig({
}),
// TODO fix this
// EslintPlugin({
// fix: true,
// }),
prettier(),
EslintPlugin({
fix: true,
}),
],
ssr: {
// Workaround until they support native ESM

View File

@ -50,7 +50,7 @@
"prismjs": "1.29.0",
"qs": "6.11.2",
"rapidoc": "9.3.4",
"universal-cookie": "6.1.1",
"universal-cookie": "7.0.2",
"vue-advanced-cropper": "2.8.8",
"vue-chartjs": "5.3.0",
"vue-i18n": "9.9.0",
@ -86,14 +86,14 @@
"lint-staged": "15.2.0",
"nuxt": "3.9.3",
"pnpm": "8.15.0",
"prettier": "2.8.8",
"prettier": "3.2.4",
"regenerator-runtime": "0.14.1",
"sass": "1.70.0",
"typescript": "5.3.3",
"unplugin-auto-import": "0.17.5",
"unplugin-icons": "0.18.3",
"unplugin-vue-components": "0.26.0",
"vite": "4.5.1",
"vite": "5.0.12",
"vite-plugin-eslint": "1.8.1",
"vue-tsc": "1.8.27"
},

View File

@ -93,8 +93,8 @@ dependencies:
specifier: 9.3.4
version: 9.3.4(debug@4.3.4)
universal-cookie:
specifier: 6.1.1
version: 6.1.1
specifier: 7.0.2
version: 7.0.2
vue-advanced-cropper:
specifier: 2.8.8
version: 2.8.8(vue@3.4.15)
@ -156,7 +156,7 @@ devDependencies:
version: 6.9.11
'@unocss/nuxt':
specifier: 0.58.4
version: 0.58.4(postcss@8.4.33)(vite@4.5.1)(webpack@5.90.0)
version: 0.58.4(postcss@8.4.33)(vite@5.0.12)(webpack@5.90.0)
'@vue/eslint-config-typescript':
specifier: 12.0.0
version: 12.0.0(eslint-plugin-vue@9.20.1)(eslint@8.56.0)(typescript@5.3.3)
@ -192,13 +192,13 @@ devDependencies:
version: 15.2.0
nuxt:
specifier: 3.9.3
version: 3.9.3(eslint@8.56.0)(sass@1.70.0)(typescript@5.3.3)(vite@4.5.1)(vue-tsc@1.8.27)
version: 3.9.3(eslint@8.56.0)(sass@1.70.0)(typescript@5.3.3)(vite@5.0.12)(vue-tsc@1.8.27)
pnpm:
specifier: 8.15.0
version: 8.15.0
prettier:
specifier: 2.8.8
version: 2.8.8
specifier: 3.2.4
version: 3.2.4
regenerator-runtime:
specifier: 0.14.1
version: 0.14.1
@ -218,11 +218,11 @@ devDependencies:
specifier: 0.26.0
version: 0.26.0(vue@3.4.15)
vite:
specifier: 4.5.1
version: 4.5.1(sass@1.70.0)
specifier: 5.0.12
version: 5.0.12(sass@1.70.0)
vite-plugin-eslint:
specifier: 1.8.1
version: 1.8.1(eslint@8.56.0)(vite@4.5.1)
version: 1.8.1(eslint@8.56.0)(vite@5.0.12)
vue-tsc:
specifier: 1.8.27
version: 1.8.27(typescript@5.3.3)
@ -626,15 +626,6 @@ packages:
dev: true
optional: true
/@esbuild/android-arm64@0.18.20:
resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [android]
requiresBuild: true
dev: true
optional: true
/@esbuild/android-arm64@0.19.12:
resolution: {integrity: sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==}
engines: {node: '>=12'}
@ -644,15 +635,6 @@ packages:
dev: true
optional: true
/@esbuild/android-arm@0.18.20:
resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==}
engines: {node: '>=12'}
cpu: [arm]
os: [android]
requiresBuild: true
dev: true
optional: true
/@esbuild/android-arm@0.19.12:
resolution: {integrity: sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==}
engines: {node: '>=12'}
@ -662,15 +644,6 @@ packages:
dev: true
optional: true
/@esbuild/android-x64@0.18.20:
resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==}
engines: {node: '>=12'}
cpu: [x64]
os: [android]
requiresBuild: true
dev: true
optional: true
/@esbuild/android-x64@0.19.12:
resolution: {integrity: sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==}
engines: {node: '>=12'}
@ -680,15 +653,6 @@ packages:
dev: true
optional: true
/@esbuild/darwin-arm64@0.18.20:
resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==}
engines: {node: '>=12'}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
/@esbuild/darwin-arm64@0.19.12:
resolution: {integrity: sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==}
engines: {node: '>=12'}
@ -698,15 +662,6 @@ packages:
dev: true
optional: true
/@esbuild/darwin-x64@0.18.20:
resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
/@esbuild/darwin-x64@0.19.12:
resolution: {integrity: sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==}
engines: {node: '>=12'}
@ -716,15 +671,6 @@ packages:
dev: true
optional: true
/@esbuild/freebsd-arm64@0.18.20:
resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [freebsd]
requiresBuild: true
dev: true
optional: true
/@esbuild/freebsd-arm64@0.19.12:
resolution: {integrity: sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==}
engines: {node: '>=12'}
@ -734,15 +680,6 @@ packages:
dev: true
optional: true
/@esbuild/freebsd-x64@0.18.20:
resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [freebsd]
requiresBuild: true
dev: true
optional: true
/@esbuild/freebsd-x64@0.19.12:
resolution: {integrity: sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==}
engines: {node: '>=12'}
@ -752,15 +689,6 @@ packages:
dev: true
optional: true
/@esbuild/linux-arm64@0.18.20:
resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==}
engines: {node: '>=12'}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/@esbuild/linux-arm64@0.19.12:
resolution: {integrity: sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==}
engines: {node: '>=12'}
@ -770,15 +698,6 @@ packages:
dev: true
optional: true
/@esbuild/linux-arm@0.18.20:
resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==}
engines: {node: '>=12'}
cpu: [arm]
os: [linux]
requiresBuild: true
dev: true
optional: true
/@esbuild/linux-arm@0.19.12:
resolution: {integrity: sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==}
engines: {node: '>=12'}
@ -788,15 +707,6 @@ packages:
dev: true
optional: true
/@esbuild/linux-ia32@0.18.20:
resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==}
engines: {node: '>=12'}
cpu: [ia32]
os: [linux]
requiresBuild: true
dev: true
optional: true
/@esbuild/linux-ia32@0.19.12:
resolution: {integrity: sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==}
engines: {node: '>=12'}
@ -806,15 +716,6 @@ packages:
dev: true
optional: true
/@esbuild/linux-loong64@0.18.20:
resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==}
engines: {node: '>=12'}
cpu: [loong64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/@esbuild/linux-loong64@0.19.12:
resolution: {integrity: sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==}
engines: {node: '>=12'}
@ -824,15 +725,6 @@ packages:
dev: true
optional: true
/@esbuild/linux-mips64el@0.18.20:
resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==}
engines: {node: '>=12'}
cpu: [mips64el]
os: [linux]
requiresBuild: true
dev: true
optional: true
/@esbuild/linux-mips64el@0.19.12:
resolution: {integrity: sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==}
engines: {node: '>=12'}
@ -842,15 +734,6 @@ packages:
dev: true
optional: true
/@esbuild/linux-ppc64@0.18.20:
resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==}
engines: {node: '>=12'}
cpu: [ppc64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/@esbuild/linux-ppc64@0.19.12:
resolution: {integrity: sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==}
engines: {node: '>=12'}
@ -860,15 +743,6 @@ packages:
dev: true
optional: true
/@esbuild/linux-riscv64@0.18.20:
resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==}
engines: {node: '>=12'}
cpu: [riscv64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/@esbuild/linux-riscv64@0.19.12:
resolution: {integrity: sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==}
engines: {node: '>=12'}
@ -878,15 +752,6 @@ packages:
dev: true
optional: true
/@esbuild/linux-s390x@0.18.20:
resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==}
engines: {node: '>=12'}
cpu: [s390x]
os: [linux]
requiresBuild: true
dev: true
optional: true
/@esbuild/linux-s390x@0.19.12:
resolution: {integrity: sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==}
engines: {node: '>=12'}
@ -896,15 +761,6 @@ packages:
dev: true
optional: true
/@esbuild/linux-x64@0.18.20:
resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==}
engines: {node: '>=12'}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/@esbuild/linux-x64@0.19.12:
resolution: {integrity: sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==}
engines: {node: '>=12'}
@ -914,15 +770,6 @@ packages:
dev: true
optional: true
/@esbuild/netbsd-x64@0.18.20:
resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==}
engines: {node: '>=12'}
cpu: [x64]
os: [netbsd]
requiresBuild: true
dev: true
optional: true
/@esbuild/netbsd-x64@0.19.12:
resolution: {integrity: sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==}
engines: {node: '>=12'}
@ -932,15 +779,6 @@ packages:
dev: true
optional: true
/@esbuild/openbsd-x64@0.18.20:
resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==}
engines: {node: '>=12'}
cpu: [x64]
os: [openbsd]
requiresBuild: true
dev: true
optional: true
/@esbuild/openbsd-x64@0.19.12:
resolution: {integrity: sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==}
engines: {node: '>=12'}
@ -950,15 +788,6 @@ packages:
dev: true
optional: true
/@esbuild/sunos-x64@0.18.20:
resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [sunos]
requiresBuild: true
dev: true
optional: true
/@esbuild/sunos-x64@0.19.12:
resolution: {integrity: sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==}
engines: {node: '>=12'}
@ -968,15 +797,6 @@ packages:
dev: true
optional: true
/@esbuild/win32-arm64@0.18.20:
resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==}
engines: {node: '>=12'}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: true
optional: true
/@esbuild/win32-arm64@0.19.12:
resolution: {integrity: sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==}
engines: {node: '>=12'}
@ -986,15 +806,6 @@ packages:
dev: true
optional: true
/@esbuild/win32-ia32@0.18.20:
resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==}
engines: {node: '>=12'}
cpu: [ia32]
os: [win32]
requiresBuild: true
dev: true
optional: true
/@esbuild/win32-ia32@0.19.12:
resolution: {integrity: sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==}
engines: {node: '>=12'}
@ -1004,15 +815,6 @@ packages:
dev: true
optional: true
/@esbuild/win32-x64@0.18.20:
resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: true
optional: true
/@esbuild/win32-x64@0.19.12:
resolution: {integrity: sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==}
engines: {node: '>=12'}
@ -1434,7 +1236,7 @@ packages:
resolution: {integrity: sha512-GBzP8zOc7CGWyFQS6dv1lQz8VVpz5C2yRszbXufwG/9zhStTIH50EtD87NmWbTMwXDvZLNg8GIpb1UFdH93JCA==}
dev: true
/@nuxt/devtools-kit@1.0.8(nuxt@3.9.3)(vite@4.5.1):
/@nuxt/devtools-kit@1.0.8(nuxt@3.9.3)(vite@5.0.12):
resolution: {integrity: sha512-j7bNZmoAXQ1a8qv6j6zk4c/aekrxYqYVQM21o/Hy4XHCUq4fajSgpoc8mjyWJSTfpkOmuLyEzMexpDWiIVSr6A==}
peerDependencies:
nuxt: ^3.9.0
@ -1443,8 +1245,8 @@ packages:
'@nuxt/kit': 3.9.3
'@nuxt/schema': 3.9.3
execa: 7.2.0
nuxt: 3.9.3(eslint@8.56.0)(sass@1.70.0)(typescript@5.3.3)(vite@4.5.1)(vue-tsc@1.8.27)
vite: 4.5.1(sass@1.70.0)
nuxt: 3.9.3(eslint@8.56.0)(sass@1.70.0)(typescript@5.3.3)(vite@5.0.12)(vue-tsc@1.8.27)
vite: 5.0.12(sass@1.70.0)
transitivePeerDependencies:
- rollup
- supports-color
@ -1466,7 +1268,7 @@ packages:
semver: 7.5.4
dev: true
/@nuxt/devtools@1.0.8(nuxt@3.9.3)(vite@4.5.1):
/@nuxt/devtools@1.0.8(nuxt@3.9.3)(vite@5.0.12):
resolution: {integrity: sha512-o6aBFEBxc8OgVHV4OPe2g0q9tFIe9HiTxRiJnlTJ+jHvOQsBLS651ArdVtwLChf9UdMouFlpLLJ1HteZqTbtsQ==}
hasBin: true
peerDependencies:
@ -1474,7 +1276,7 @@ packages:
vite: '*'
dependencies:
'@antfu/utils': 0.7.7
'@nuxt/devtools-kit': 1.0.8(nuxt@3.9.3)(vite@4.5.1)
'@nuxt/devtools-kit': 1.0.8(nuxt@3.9.3)(vite@5.0.12)
'@nuxt/devtools-wizard': 1.0.8
'@nuxt/kit': 3.9.3
birpc: 0.2.15
@ -1491,7 +1293,7 @@ packages:
launch-editor: 2.6.1
local-pkg: 0.5.0
magicast: 0.3.3
nuxt: 3.9.3(eslint@8.56.0)(sass@1.70.0)(typescript@5.3.3)(vite@4.5.1)(vue-tsc@1.8.27)
nuxt: 3.9.3(eslint@8.56.0)(sass@1.70.0)(typescript@5.3.3)(vite@5.0.12)(vue-tsc@1.8.27)
nypm: 0.3.6
ohash: 1.1.3
pacote: 17.0.6
@ -1504,9 +1306,9 @@ packages:
simple-git: 3.22.0
sirv: 2.0.4
unimport: 3.7.1(rollup@4.9.6)
vite: 4.5.1(sass@1.70.0)
vite-plugin-inspect: 0.8.3(@nuxt/kit@3.9.3)(vite@4.5.1)
vite-plugin-vue-inspector: 4.0.2(vite@4.5.1)
vite: 5.0.12(sass@1.70.0)
vite-plugin-inspect: 0.8.3(@nuxt/kit@3.9.3)(vite@5.0.12)
vite-plugin-vue-inspector: 4.0.2(vite@5.0.12)
which: 3.0.1
ws: 8.16.0
transitivePeerDependencies:
@ -2605,8 +2407,8 @@ packages:
'@types/tern': 0.23.9
dev: false
/@types/cookie@0.5.4:
resolution: {integrity: sha512-7z/eR6O859gyWIAjuvBWFzNURmf2oPBmJlfVWkwehU5nzIyjwBsTh7WMmEEV4JFnHuQ3ex4oyTvfKzcyJVDBNA==}
/@types/cookie@0.6.0:
resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==}
dev: false
/@types/debug@4.1.12:
@ -2933,7 +2735,7 @@ packages:
vue: 3.4.15(typescript@5.3.3)
dev: true
/@unocss/astro@0.58.4(vite@4.5.1):
/@unocss/astro@0.58.4(vite@5.0.12):
resolution: {integrity: sha512-feS8+f3oPmCeR1XF7isQjs3Z9ojM5Ssv0vCNR/dexPFdROfccK/7sIu1YnHWtVg1trPc1kMfI8XJRqfrHMdd5w==}
peerDependencies:
vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0
@ -2943,8 +2745,8 @@ packages:
dependencies:
'@unocss/core': 0.58.4
'@unocss/reset': 0.58.4
'@unocss/vite': 0.58.4(vite@4.5.1)
vite: 4.5.1(sass@1.70.0)
'@unocss/vite': 0.58.4(vite@5.0.12)
vite: 5.0.12(sass@1.70.0)
transitivePeerDependencies:
- rollup
dev: true
@ -2998,7 +2800,7 @@ packages:
sirv: 2.0.4
dev: true
/@unocss/nuxt@0.58.4(postcss@8.4.33)(vite@4.5.1)(webpack@5.90.0):
/@unocss/nuxt@0.58.4(postcss@8.4.33)(vite@5.0.12)(webpack@5.90.0):
resolution: {integrity: sha512-yBA279uJogEuqNhArfQ1cKkpCQ1rZL2jY7FlgcYFFHbzfo3Xq/FAHKYw1ocIwoH3XnzgibU8XoXdjR8r3pNJAw==}
dependencies:
'@nuxt/kit': 3.9.3
@ -3012,9 +2814,9 @@ packages:
'@unocss/preset-web-fonts': 0.58.4
'@unocss/preset-wind': 0.58.4
'@unocss/reset': 0.58.4
'@unocss/vite': 0.58.4(vite@4.5.1)
'@unocss/vite': 0.58.4(vite@5.0.12)
'@unocss/webpack': 0.58.4(webpack@5.90.0)
unocss: 0.58.4(@unocss/webpack@0.58.4)(postcss@8.4.33)(vite@4.5.1)
unocss: 0.58.4(@unocss/webpack@0.58.4)(postcss@8.4.33)(vite@5.0.12)
transitivePeerDependencies:
- postcss
- rollup
@ -3152,7 +2954,7 @@ packages:
'@unocss/core': 0.58.4
dev: true
/@unocss/vite@0.58.4(vite@4.5.1):
/@unocss/vite@0.58.4(vite@5.0.12):
resolution: {integrity: sha512-TqD5fIXv6NF3v10FFrCII//GRbkou6Dn/OzW+d4T5f0KM5+T6DutljpYUdGo0+2QXKDroUWLAspFUaZUx8iwVw==}
peerDependencies:
vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0
@ -3167,7 +2969,7 @@ packages:
chokidar: 3.5.3
fast-glob: 3.3.2
magic-string: 0.30.5
vite: 4.5.1(sass@1.70.0)
vite: 5.0.12(sass@1.70.0)
transitivePeerDependencies:
- rollup
dev: true
@ -4327,11 +4129,6 @@ packages:
resolution: {integrity: sha512-mWYvfOLrfEc996hlKcdABeIiPHUPC6DM2QYZdGGOvhOTbA3tjm2eBwqlJpoFdjC89NI4Qt6h0Pu06Mp+1Pj5OQ==}
dev: true
/cookie@0.5.0:
resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==}
engines: {node: '>= 0.6'}
dev: false
/cookie@0.6.0:
resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==}
engines: {node: '>= 0.6'}
@ -4898,36 +4695,6 @@ packages:
is-symbol: 1.0.4
dev: true
/esbuild@0.18.20:
resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==}
engines: {node: '>=12'}
hasBin: true
requiresBuild: true
optionalDependencies:
'@esbuild/android-arm': 0.18.20
'@esbuild/android-arm64': 0.18.20
'@esbuild/android-x64': 0.18.20
'@esbuild/darwin-arm64': 0.18.20
'@esbuild/darwin-x64': 0.18.20
'@esbuild/freebsd-arm64': 0.18.20
'@esbuild/freebsd-x64': 0.18.20
'@esbuild/linux-arm': 0.18.20
'@esbuild/linux-arm64': 0.18.20
'@esbuild/linux-ia32': 0.18.20
'@esbuild/linux-loong64': 0.18.20
'@esbuild/linux-mips64el': 0.18.20
'@esbuild/linux-ppc64': 0.18.20
'@esbuild/linux-riscv64': 0.18.20
'@esbuild/linux-s390x': 0.18.20
'@esbuild/linux-x64': 0.18.20
'@esbuild/netbsd-x64': 0.18.20
'@esbuild/openbsd-x64': 0.18.20
'@esbuild/sunos-x64': 0.18.20
'@esbuild/win32-arm64': 0.18.20
'@esbuild/win32-ia32': 0.18.20
'@esbuild/win32-x64': 0.18.20
dev: true
/esbuild@0.19.12:
resolution: {integrity: sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==}
engines: {node: '>=12'}
@ -7452,7 +7219,7 @@ packages:
fsevents: 2.3.3
dev: true
/nuxt@3.9.3(eslint@8.56.0)(sass@1.70.0)(typescript@5.3.3)(vite@4.5.1)(vue-tsc@1.8.27):
/nuxt@3.9.3(eslint@8.56.0)(sass@1.70.0)(typescript@5.3.3)(vite@5.0.12)(vue-tsc@1.8.27):
resolution: {integrity: sha512-IzBJAJImqCGfspVZzvznrALnFIJ5rPe+VJvY8OiccwRzWT8sEygVRjh3Mc64yWV6P59rz497wp9RBBBhuV2MVA==}
engines: {node: ^14.18.0 || >=16.10.0}
hasBin: true
@ -7466,7 +7233,7 @@ packages:
optional: true
dependencies:
'@nuxt/devalue': 2.0.2
'@nuxt/devtools': 1.0.8(nuxt@3.9.3)(vite@4.5.1)
'@nuxt/devtools': 1.0.8(nuxt@3.9.3)(vite@5.0.12)
'@nuxt/kit': 3.9.3
'@nuxt/schema': 3.9.3
'@nuxt/telemetry': 2.5.3
@ -8241,9 +8008,9 @@ packages:
engines: {node: '>= 0.8.0'}
dev: true
/prettier@2.8.8:
resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}
engines: {node: '>=10.13.0'}
/prettier@3.2.4:
resolution: {integrity: sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==}
engines: {node: '>=14'}
hasBin: true
dev: true
@ -8604,14 +8371,6 @@ packages:
fsevents: 2.3.3
dev: true
/rollup@3.29.4:
resolution: {integrity: sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
hasBin: true
optionalDependencies:
fsevents: 2.3.3
dev: true
/rollup@4.9.6:
resolution: {integrity: sha512-05lzkCS2uASX0CiLFybYfVkwNbKZG5NFQ6Go0VWyogFTXXbR039UVsegViTntkk4OglHBdF54ccApXRRuXRbsg==}
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
@ -9641,11 +9400,11 @@ packages:
imurmurhash: 0.1.4
dev: true
/universal-cookie@6.1.1:
resolution: {integrity: sha512-33S9x3CpdUnnjwTNs2Fgc41WGve2tdLtvaK2kPSbZRc5pGpz2vQFbRWMxlATsxNNe/Cy8SzmnmbuBM85jpZPtA==}
/universal-cookie@7.0.2:
resolution: {integrity: sha512-EC9PA+1nojhJtVnKW2Z7WYah01jgYJApqhX+Y8XU97TnFd7KaoxWTHiTZFtfpfV50jEF1L8V5p64ZxIx3Q67dg==}
dependencies:
'@types/cookie': 0.5.4
cookie: 0.5.0
'@types/cookie': 0.6.0
cookie: 0.6.0
dev: false
/universalify@0.2.0:
@ -9658,7 +9417,7 @@ packages:
engines: {node: '>= 10.0.0'}
dev: true
/unocss@0.58.4(@unocss/webpack@0.58.4)(postcss@8.4.33)(vite@4.5.1):
/unocss@0.58.4(@unocss/webpack@0.58.4)(postcss@8.4.33)(vite@5.0.12):
resolution: {integrity: sha512-JYeQddAIObJPr6nuxahOgku0MIzjIaQ2P73KtJr0zSuzx6kiq20jf67FgDIOP1Ks6s7iJd7Ga3yuY2h49XjDjg==}
engines: {node: '>=14'}
peerDependencies:
@ -9670,7 +9429,7 @@ packages:
vite:
optional: true
dependencies:
'@unocss/astro': 0.58.4(vite@4.5.1)
'@unocss/astro': 0.58.4(vite@5.0.12)
'@unocss/cli': 0.58.4
'@unocss/core': 0.58.4
'@unocss/extractor-arbitrary-variants': 0.58.4
@ -9689,9 +9448,9 @@ packages:
'@unocss/transformer-compile-class': 0.58.4
'@unocss/transformer-directives': 0.58.4
'@unocss/transformer-variant-group': 0.58.4
'@unocss/vite': 0.58.4(vite@4.5.1)
'@unocss/vite': 0.58.4(vite@5.0.12)
'@unocss/webpack': 0.58.4(webpack@5.90.0)
vite: 4.5.1(sass@1.70.0)
vite: 5.0.12(sass@1.70.0)
transitivePeerDependencies:
- postcss
- rollup
@ -9958,7 +9717,7 @@ packages:
debug: 4.3.4
pathe: 1.1.2
picocolors: 1.0.0
vite: 5.0.11(sass@1.70.0)
vite: 5.0.12(sass@1.70.0)
transitivePeerDependencies:
- '@types/node'
- less
@ -10024,7 +9783,7 @@ packages:
vue-tsc: 1.8.27(typescript@5.3.3)
dev: true
/vite-plugin-eslint@1.8.1(eslint@8.56.0)(vite@4.5.1):
/vite-plugin-eslint@1.8.1(eslint@8.56.0)(vite@5.0.12):
resolution: {integrity: sha512-PqdMf3Y2fLO9FsNPmMX+//2BF5SF8nEWspZdgl4kSt7UvHDRHVVfHvxsD7ULYzZrJDGRxR81Nq7TOFgwMnUang==}
peerDependencies:
eslint: '>=7'
@ -10034,10 +9793,10 @@ packages:
'@types/eslint': 8.56.2
eslint: 8.56.0
rollup: 2.79.1
vite: 4.5.1(sass@1.70.0)
vite: 5.0.12(sass@1.70.0)
dev: true
/vite-plugin-inspect@0.8.3(@nuxt/kit@3.9.3)(vite@4.5.1):
/vite-plugin-inspect@0.8.3(@nuxt/kit@3.9.3)(vite@5.0.12):
resolution: {integrity: sha512-SBVzOIdP/kwe6hjkt7LSW4D0+REqqe58AumcnCfRNw4Kt3mbS9pEBkch+nupu2PBxv2tQi69EQHQ1ZA1vgB/Og==}
engines: {node: '>=14'}
peerDependencies:
@ -10057,13 +9816,13 @@ packages:
perfect-debounce: 1.0.0
picocolors: 1.0.0
sirv: 2.0.4
vite: 4.5.1(sass@1.70.0)
vite: 5.0.12(sass@1.70.0)
transitivePeerDependencies:
- rollup
- supports-color
dev: true
/vite-plugin-vue-inspector@4.0.2(vite@4.5.1):
/vite-plugin-vue-inspector@4.0.2(vite@5.0.12):
resolution: {integrity: sha512-KPvLEuafPG13T7JJuQbSm5PwSxKFnVS965+MP1we2xGw9BPkkc/+LPix5MMWenpKWqtjr0ws8THrR+KuoDC8hg==}
peerDependencies:
vite: ^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0
@ -10077,17 +9836,17 @@ packages:
'@vue/compiler-dom': 3.4.15
kolorist: 1.8.0
magic-string: 0.30.5
vite: 4.5.1(sass@1.70.0)
vite: 5.0.12(sass@1.70.0)
transitivePeerDependencies:
- supports-color
dev: true
/vite@4.5.1(sass@1.70.0):
resolution: {integrity: sha512-AXXFaAJ8yebyqzoNB9fu2pHoo/nWX+xZlaRwoeYUxEqBO+Zj4msE5G+BhGBll9lYEKv9Hfks52PAF2X7qDYXQA==}
engines: {node: ^14.18.0 || >=16.0.0}
/vite@5.0.11(sass@1.70.0):
resolution: {integrity: sha512-XBMnDjZcNAw/G1gEiskiM1v6yzM4GE5aMGvhWTlHAYYhxb7S3/V1s3m2LDHa8Vh6yIWYYB0iJwsEaS523c4oYA==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
peerDependencies:
'@types/node': '>= 14'
'@types/node': ^18.0.0 || >=20.0.0
less: '*'
lightningcss: ^1.21.0
sass: '*'
@ -10110,16 +9869,16 @@ packages:
terser:
optional: true
dependencies:
esbuild: 0.18.20
esbuild: 0.19.12
postcss: 8.4.33
rollup: 3.29.4
rollup: 4.9.6
sass: 1.70.0
optionalDependencies:
fsevents: 2.3.3
dev: true
/vite@5.0.11(sass@1.70.0):
resolution: {integrity: sha512-XBMnDjZcNAw/G1gEiskiM1v6yzM4GE5aMGvhWTlHAYYhxb7S3/V1s3m2LDHa8Vh6yIWYYB0iJwsEaS523c4oYA==}
/vite@5.0.12(sass@1.70.0):
resolution: {integrity: sha512-4hsnEkG3q0N4Tzf1+t6NdN9dg/L3BM+q8SWgbSPnJvrgH2kgdyzfVJwbR1ic69/4uMJJ/3dqDZZE5/WwqW8U1w==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
peerDependencies:

View File

@ -32,6 +32,7 @@ const props = withDefaults(
rules: undefined,
noPaddingTop: false,
maxHeight: "500px",
label: undefined,
}
);

View File

@ -2,8 +2,7 @@
import type { ValidationRule } from "@vuelidate/core";
import Markdown from "~/components/Markdown.vue";
import Button from "~/components/design/Button.vue";
const props = withDefaults(
withDefaults(
defineProps<{
raw: string;
editing: boolean;
@ -23,6 +22,7 @@ const props = withDefaults(
rules: undefined,
noPaddingTop: false,
maxHeight: "500px",
label: undefined,
}
);
</script>

View File

@ -1,5 +1,5 @@
import type { AxiosError } from "axios";
import axios from "axios";
import { isAxiosError } from "axios";
import type { HangarApiException, HangarValidationException, MultiHangarApiException } from "hangar-api";
import type { Composer } from "vue-i18n";
import { useNotificationStore } from "~/store/notification";
@ -14,7 +14,7 @@ export function handleRequestError(err: AxiosError | unknown, msg: string | unde
}
const notification = useNotificationStore();
const transformed = transformAxiosError(err);
if (!axios.isAxiosError(err)) {
if (!isAxiosError(err)) {
// everything should be an AxiosError
fetchLog("no axios request error", transformed);
notification.error(transformed.message?.toString() || "Unknown error");
@ -58,7 +58,7 @@ export function handleRequestError(err: AxiosError | unknown, msg: string | unde
function _handleRequestError(err: AxiosError | unknown, i18n: Composer) {
const transformed = transformAxiosError(err);
if (!axios.isAxiosError(err)) {
if (!isAxiosError(err)) {
// everything should be an AxiosError
createError({
statusCode: 500,
@ -105,7 +105,7 @@ function collectErrors(exception: HangarApiException | MultiHangarApiException,
}
export function transformAxiosError(err: AxiosError | unknown): Record<string, unknown> {
return axios.isAxiosError(err)
return isAxiosError(err)
? {
code: err?.code,
requestUrl: err?.request?.path || err?.config?.url,

View File

@ -33,7 +33,6 @@ const underReviewHeaders: Header[] = [
{ title: i18n.t("versionApproval.version") as string, name: "version", sortable: false },
{ title: i18n.t("versionApproval.queuedBy") as string, name: "queuedBy", sortable: true },
{ title: i18n.t("versionApproval.status") as string, name: "status", sortable: true },
{ title: "", name: "reviewLogs", sortable: false },
];
const notStartedHeaders: Header[] = [
@ -157,10 +156,6 @@ function getCount(entry: ReviewQueueEntry, ..._actions: ReviewAction[]) {
<br />
<span class="text-green-400"> {{ i18n.t("versionApproval.statuses.approved", [getApprovedCount(item)]) }}</span>
</template>
<template>
<IconMdiListStatus />
{{ i18n.t("version.page.reviewLogs") }}
</template>
<template #expanded-item="{ item, headers }">
<td :colspan="headers.length">
<ul>