chore(deps): update devdependency @antfu/eslint-config to v4

This commit is contained in:
Jacky 2025-01-26 20:22:51 +08:00
parent bbae67939f
commit cc4d7af85f
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
5 changed files with 92 additions and 83 deletions

View file

@ -52,7 +52,7 @@
"vuedraggable": "^4.1.0"
},
"devDependencies": {
"@antfu/eslint-config": "^3.16.0",
"@antfu/eslint-config": "^4.1.0",
"@iconify-json/fa": "1.2.1",
"@iconify-json/tabler": "^1.2.14",
"@iconify/tools": "^4.1.1",

152
app/pnpm-lock.yaml generated
View file

@ -121,8 +121,8 @@ importers:
version: 4.1.0(vue@3.5.13(typescript@5.7.3))
devDependencies:
'@antfu/eslint-config':
specifier: ^3.16.0
version: 3.16.0(@typescript-eslint/utils@8.21.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
specifier: ^4.1.0
version: 4.1.0(@typescript-eslint/utils@8.21.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
'@iconify-json/fa':
specifier: 1.2.1
version: 1.2.1
@ -222,8 +222,8 @@ packages:
peerDependencies:
vue: '>=3.0.3'
'@antfu/eslint-config@3.16.0':
resolution: {integrity: sha512-g6RAXUMeow9vexoOMYwCpByY2xSDpAD78q+rvQLvVpY6MFcxFD/zmdrZGYa/yt7LizK86m17kIYKOGLJ3L8P0w==}
'@antfu/eslint-config@4.1.0':
resolution: {integrity: sha512-2yainF3mBykqzsxXbHYGuLwm60sRRzQqJdLJd2IfESIGkkIkQfUI3IEGTANGpdWSmiC9jhICP7Y8yY+TSKGUQg==}
hasBin: true
peerDependencies:
'@eslint-react/eslint-plugin': ^1.19.0
@ -1222,8 +1222,8 @@ packages:
resolution: {integrity: sha512-fK6L7rxcq6/z+AaQMtiFTkvbHkBLNlwyRxHpKawP0x3u9+NC6MQTnFW+AdpwC6gfHTW0051cokQgtTN2FqlxQA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@eslint/markdown@6.2.1':
resolution: {integrity: sha512-cKVd110hG4ICHmWhIwZJfKmmJBvbiDWyrHODJknAtudKgZtlROGoLX9UEOA0o746zC0hCY4UV4vR+aOGW9S6JQ==}
'@eslint/markdown@6.2.2':
resolution: {integrity: sha512-U0/KgzI9BVUuHDQ9M2fuVgB0QZ1fSyzwm8jKmHr1dlsLHGHYzoeIA9yqLMdTbV3ivZfp6rTdt6zqre3TfNExUQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@eslint/object-schema@2.1.5':
@ -1447,8 +1447,8 @@ packages:
resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==}
engines: {node: '>=18'}
'@stylistic/eslint-plugin@2.13.0':
resolution: {integrity: sha512-RnO1SaiCFHn666wNz2QfZEFxvmiNRqhzaMXHXxXXKt+MEP7aajlPxUSMIQpKAaJfverpovEYqjBOXDq6dDcaOQ==}
'@stylistic/eslint-plugin@3.0.0':
resolution: {integrity: sha512-9GJI6iBtGjOqSsyCKUvE6Vn7qDT52hbQaoq/SwxH6A1bciymZfvBfHIIrD3E7Koi2sjzOa/MNQ2XOguHtVJOyw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: '>=8.40.0'
@ -1560,8 +1560,8 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
'@typescript-eslint/scope-manager@8.19.1':
resolution: {integrity: sha512-60L9KIuN/xgmsINzonOcMDSB8p82h95hoBfSBtXuO4jlR1R9L1xSkmVZKgCPVfavDlXihh4ARNjXhh1gGnLC7Q==}
'@typescript-eslint/scope-manager@8.13.0':
resolution: {integrity: sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/scope-manager@8.21.0':
@ -1575,19 +1575,22 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
'@typescript-eslint/types@8.19.1':
resolution: {integrity: sha512-JBVHMLj7B1K1v1051ZaMMgLW4Q/jre5qGK0Ew6UgXz1Rqh+/xPzV1aW581OM00X6iOfyr1be+QyW8LOUf19BbA==}
'@typescript-eslint/types@8.13.0':
resolution: {integrity: sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/types@8.21.0':
resolution: {integrity: sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/typescript-estree@8.19.1':
resolution: {integrity: sha512-jk/TZwSMJlxlNnqhy0Eod1PNEvCkpY6MXOXE/WLlblZ6ibb32i2We4uByoKPv1d0OD2xebDv4hbs3fm11SMw8Q==}
'@typescript-eslint/typescript-estree@8.13.0':
resolution: {integrity: sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <5.8.0'
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@typescript-eslint/typescript-estree@8.21.0':
resolution: {integrity: sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==}
@ -1595,12 +1598,11 @@ packages:
peerDependencies:
typescript: '>=4.8.4 <5.8.0'
'@typescript-eslint/utils@8.19.1':
resolution: {integrity: sha512-IxG5gLO0Ne+KaUc8iW1A+XuKLd63o4wlbI1Zp692n1xojCl/THvgIKXJXBZixTh5dd5+yTJ/VXH7GJaaw21qXA==}
'@typescript-eslint/utils@8.13.0':
resolution: {integrity: sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
'@typescript-eslint/utils@8.21.0':
resolution: {integrity: sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==}
@ -1609,8 +1611,8 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
'@typescript-eslint/visitor-keys@8.19.1':
resolution: {integrity: sha512-fzmjU8CHK853V/avYZAvuVut3ZTfwN5YtMaoi+X9Y9MA9keaWNHC3zEQ9zvyX/7Hj+5JkNyK1l7TOR2hevHB6Q==}
'@typescript-eslint/visitor-keys@8.13.0':
resolution: {integrity: sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/visitor-keys@8.21.0':
@ -2470,8 +2472,8 @@ packages:
peerDependencies:
eslint: ^9.5.0
eslint-flat-config-utils@1.1.0:
resolution: {integrity: sha512-W49wz7yQJGRfg4QSV3nwdO/fYcWetiSKhLV5YykfQMcqnIATNpoS7EPdINhLB9P3fmdjNmFtOgZjiKnCndWAnw==}
eslint-flat-config-utils@2.0.0:
resolution: {integrity: sha512-AbpYwI9FBmjF6BQ8UcaDCrM750DWEB6UJzEjQEg+iWFP6UX9rGsUGJlMf7sWbW3dOA0klUEwmWGZa5FoynXU/w==}
eslint-import-resolver-node@0.3.9:
resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==}
@ -2492,13 +2494,13 @@ packages:
peerDependencies:
eslint: '*'
eslint-plugin-antfu@2.7.0:
resolution: {integrity: sha512-gZM3jq3ouqaoHmUNszb1Zo2Ux7RckSvkGksjLWz9ipBYGSv1EwwBETN6AdiUXn+RpVHXTbEMPAPlXJazcA6+iA==}
eslint-plugin-antfu@3.0.0:
resolution: {integrity: sha512-USaQMR17+l7a0XWS9Pk0T+t9PszkdeIncyAOp1vsjHQnDKIlusSg+9bwTYWIzlJXkHDarAI06cdt+d5mbAGEKA==}
peerDependencies:
eslint: '*'
eslint-plugin-command@2.1.0:
resolution: {integrity: sha512-S3gvDSCRHLdRG7NYaevLvGA0g/txOju7NEB2di7SE80NtbCwsvpi/fft045YuTZpOzqCRUfuye39raldmpXXYQ==}
eslint-plugin-command@3.0.0:
resolution: {integrity: sha512-6EFOKGnBMHr0dN/9uKYmxYz6RbsCmEzPRcKYrl+dfEMvlt6+zf6x5TzXKzOowhh3f/hqSBMZmxcB3HHyfbpwWw==}
peerDependencies:
eslint: '*'
@ -2514,14 +2516,14 @@ packages:
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
eslint-plugin-jsdoc@50.6.2:
resolution: {integrity: sha512-n7GNZ4czMAAbDg7DsDA7PvHo1IPIUwAXYmxTx6j/hTlXbt5V0x5q/kGkiJ7s4wA9SpB/yaiK8jF7CO237lOLew==}
eslint-plugin-jsdoc@50.6.3:
resolution: {integrity: sha512-NxbJyt1M5zffPcYZ8Nb53/8nnbIScmiLAMdoe0/FAszwb7lcSiX3iYBTsuF7RV84dZZJC8r3NghomrUXsmWvxQ==}
engines: {node: '>=18'}
peerDependencies:
eslint: ^7.0.0 || ^8.0.0 || ^9.0.0
eslint-plugin-jsonc@2.18.2:
resolution: {integrity: sha512-SDhJiSsWt3nItl/UuIv+ti4g3m4gpGkmnUJS9UWR3TrpyNsIcnJoBRD7Kof6cM4Rk3L0wrmY5Tm3z7ZPjR2uGg==}
eslint-plugin-jsonc@2.19.1:
resolution: {integrity: sha512-MmlAOaZK1+Lg7YoCZPGRjb88ZjT+ct/KTsvcsbZdBm+w8WMzGx+XEmexk0m40P1WV9G2rFV7X3klyRGRpFXEjA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '>=6.0.0'
@ -3675,9 +3677,6 @@ packages:
pathe@1.1.2:
resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==}
pathe@2.0.1:
resolution: {integrity: sha512-6jpjMpOth5S9ITVu5clZ7NOgHNsv5vRQdheL9ztp2vZmM6fRbLvyua1tiBIL4lk8SAe3ARzeXEly6siXCjDHDw==}
pathe@2.0.2:
resolution: {integrity: sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==}
@ -4125,6 +4124,12 @@ packages:
resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==}
engines: {node: '>=6'}
ts-api-utils@1.4.3:
resolution: {integrity: sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==}
engines: {node: '>=16'}
peerDependencies:
typescript: '>=4.2.0'
ts-api-utils@2.0.0:
resolution: {integrity: sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==}
engines: {node: '>=18.12'}
@ -4559,25 +4564,25 @@ snapshots:
'@ant-design/icons-svg': 4.4.2
vue: 3.5.13(typescript@5.7.3)
'@antfu/eslint-config@3.16.0(@typescript-eslint/utils@8.21.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)':
'@antfu/eslint-config@4.1.0(@typescript-eslint/utils@8.21.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)':
dependencies:
'@antfu/install-pkg': 1.0.0
'@clack/prompts': 0.9.1
'@eslint-community/eslint-plugin-eslint-comments': 4.4.1(eslint@9.18.0(jiti@2.4.1))
'@eslint/markdown': 6.2.1
'@stylistic/eslint-plugin': 2.13.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
'@eslint/markdown': 6.2.2
'@stylistic/eslint-plugin': 3.0.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
'@typescript-eslint/eslint-plugin': 8.21.0(@typescript-eslint/parser@8.21.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3))(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
'@typescript-eslint/parser': 8.21.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
'@vitest/eslint-plugin': 1.1.25(@typescript-eslint/utils@8.21.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3))(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
eslint: 9.18.0(jiti@2.4.1)
eslint-config-flat-gitignore: 1.0.0(eslint@9.18.0(jiti@2.4.1))
eslint-flat-config-utils: 1.1.0
eslint-flat-config-utils: 2.0.0
eslint-merge-processors: 1.0.0(eslint@9.18.0(jiti@2.4.1))
eslint-plugin-antfu: 2.7.0(eslint@9.18.0(jiti@2.4.1))
eslint-plugin-command: 2.1.0(eslint@9.18.0(jiti@2.4.1))
eslint-plugin-antfu: 3.0.0(eslint@9.18.0(jiti@2.4.1))
eslint-plugin-command: 3.0.0(eslint@9.18.0(jiti@2.4.1))
eslint-plugin-import-x: 4.6.1(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
eslint-plugin-jsdoc: 50.6.2(eslint@9.18.0(jiti@2.4.1))
eslint-plugin-jsonc: 2.18.2(eslint@9.18.0(jiti@2.4.1))
eslint-plugin-jsdoc: 50.6.3(eslint@9.18.0(jiti@2.4.1))
eslint-plugin-jsonc: 2.19.1(eslint@9.18.0(jiti@2.4.1))
eslint-plugin-n: 17.15.1(eslint@9.18.0(jiti@2.4.1))
eslint-plugin-no-only-tests: 3.3.0
eslint-plugin-perfectionist: 4.7.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
@ -5398,7 +5403,7 @@ snapshots:
dependencies:
'@types/eslint': 9.6.1
'@types/estree': 1.0.6
'@typescript-eslint/types': 8.19.1
'@typescript-eslint/types': 8.21.0
comment-parser: 1.4.1
esquery: 1.6.0
jsdoc-type-pratt-parser: 4.1.0
@ -5595,8 +5600,9 @@ snapshots:
'@eslint/js@9.18.0': {}
'@eslint/markdown@6.2.1':
'@eslint/markdown@6.2.2':
dependencies:
'@eslint/core': 0.10.0
'@eslint/plugin-kit': 0.2.5
mdast-util-from-markdown: 2.0.2
mdast-util-gfm: 3.0.0
@ -5841,9 +5847,9 @@ snapshots:
'@sindresorhus/merge-streams@2.3.0': {}
'@stylistic/eslint-plugin@2.13.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)':
'@stylistic/eslint-plugin@3.0.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)':
dependencies:
'@typescript-eslint/utils': 8.19.1(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
'@typescript-eslint/utils': 8.13.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
eslint: 9.18.0(jiti@2.4.1)
eslint-visitor-keys: 4.2.0
espree: 10.3.0
@ -5964,10 +5970,10 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/scope-manager@8.19.1':
'@typescript-eslint/scope-manager@8.13.0':
dependencies:
'@typescript-eslint/types': 8.19.1
'@typescript-eslint/visitor-keys': 8.19.1
'@typescript-eslint/types': 8.13.0
'@typescript-eslint/visitor-keys': 8.13.0
'@typescript-eslint/scope-manager@8.21.0':
dependencies:
@ -5985,20 +5991,21 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/types@8.19.1': {}
'@typescript-eslint/types@8.13.0': {}
'@typescript-eslint/types@8.21.0': {}
'@typescript-eslint/typescript-estree@8.19.1(typescript@5.7.3)':
'@typescript-eslint/typescript-estree@8.13.0(typescript@5.7.3)':
dependencies:
'@typescript-eslint/types': 8.19.1
'@typescript-eslint/visitor-keys': 8.19.1
'@typescript-eslint/types': 8.13.0
'@typescript-eslint/visitor-keys': 8.13.0
debug: 4.4.0
fast-glob: 3.3.3
is-glob: 4.0.3
minimatch: 9.0.5
semver: 7.6.3
ts-api-utils: 2.0.0(typescript@5.7.3)
ts-api-utils: 1.4.3(typescript@5.7.3)
optionalDependencies:
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
@ -6017,16 +6024,16 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/utils@8.19.1(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)':
'@typescript-eslint/utils@8.13.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)':
dependencies:
'@eslint-community/eslint-utils': 4.4.1(eslint@9.18.0(jiti@2.4.1))
'@typescript-eslint/scope-manager': 8.19.1
'@typescript-eslint/types': 8.19.1
'@typescript-eslint/typescript-estree': 8.19.1(typescript@5.7.3)
'@typescript-eslint/scope-manager': 8.13.0
'@typescript-eslint/types': 8.13.0
'@typescript-eslint/typescript-estree': 8.13.0(typescript@5.7.3)
eslint: 9.18.0(jiti@2.4.1)
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
- typescript
'@typescript-eslint/utils@8.21.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)':
dependencies:
@ -6039,10 +6046,10 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/visitor-keys@8.19.1':
'@typescript-eslint/visitor-keys@8.13.0':
dependencies:
'@typescript-eslint/types': 8.19.1
eslint-visitor-keys: 4.2.0
'@typescript-eslint/types': 8.13.0
eslint-visitor-keys: 3.4.3
'@typescript-eslint/visitor-keys@8.21.0':
dependencies:
@ -7123,9 +7130,9 @@ snapshots:
eslint: 9.18.0(jiti@2.4.1)
find-up-simple: 1.0.0
eslint-flat-config-utils@1.1.0:
eslint-flat-config-utils@2.0.0:
dependencies:
pathe: 2.0.1
pathe: 2.0.2
eslint-import-resolver-node@0.3.9:
dependencies:
@ -7145,12 +7152,11 @@ snapshots:
dependencies:
eslint: 9.18.0(jiti@2.4.1)
eslint-plugin-antfu@2.7.0(eslint@9.18.0(jiti@2.4.1)):
eslint-plugin-antfu@3.0.0(eslint@9.18.0(jiti@2.4.1)):
dependencies:
'@antfu/utils': 0.7.10
eslint: 9.18.0(jiti@2.4.1)
eslint-plugin-command@2.1.0(eslint@9.18.0(jiti@2.4.1)):
eslint-plugin-command@3.0.0(eslint@9.18.0(jiti@2.4.1)):
dependencies:
'@es-joy/jsdoccomment': 0.50.0
eslint: 9.18.0(jiti@2.4.1)
@ -7165,8 +7171,8 @@ snapshots:
eslint-plugin-import-x@4.6.1(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3):
dependencies:
'@types/doctrine': 0.0.9
'@typescript-eslint/scope-manager': 8.19.1
'@typescript-eslint/utils': 8.19.1(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
'@typescript-eslint/scope-manager': 8.21.0
'@typescript-eslint/utils': 8.21.0(eslint@9.18.0(jiti@2.4.1))(typescript@5.7.3)
debug: 4.4.0
doctrine: 3.0.0
enhanced-resolve: 5.17.1
@ -7182,7 +7188,7 @@ snapshots:
- supports-color
- typescript
eslint-plugin-jsdoc@50.6.2(eslint@9.18.0(jiti@2.4.1)):
eslint-plugin-jsdoc@50.6.3(eslint@9.18.0(jiti@2.4.1)):
dependencies:
'@es-joy/jsdoccomment': 0.49.0
are-docs-informative: 0.0.2
@ -7199,7 +7205,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
eslint-plugin-jsonc@2.18.2(eslint@9.18.0(jiti@2.4.1)):
eslint-plugin-jsonc@2.19.1(eslint@9.18.0(jiti@2.4.1)):
dependencies:
'@eslint-community/eslint-utils': 4.4.1(eslint@9.18.0(jiti@2.4.1))
eslint: 9.18.0(jiti@2.4.1)
@ -8586,8 +8592,6 @@ snapshots:
pathe@1.1.2: {}
pathe@2.0.1: {}
pathe@2.0.2: {}
pend@1.2.0: {}
@ -9083,6 +9087,10 @@ snapshots:
totalist@3.0.1: {}
ts-api-utils@1.4.3(typescript@5.7.3):
dependencies:
typescript: 5.7.3
ts-api-utils@2.0.0(typescript@5.7.3):
dependencies:
typescript: 5.7.3

View file

@ -1,8 +1,8 @@
<script setup lang="ts">
import type { Environment } from '@/api/environment'
import type { Ref } from 'vue'
import type { SSEvent } from 'sse.js'
import { useUserStore } from '@/pinia'
import { SSE, type SSEvent } from 'sse.js'
import { SSE } from 'sse.js'
const props = defineProps<{
hiddenLocal?: boolean
@ -12,8 +12,8 @@ const target = defineModel<number[]>('target')
const map = defineModel<Record<number, string>>('map')
const { token } = storeToRefs(useUserStore())
const data = ref([]) as Ref<Environment[]>
const data_map = ref({}) as Ref<Record<number, Environment>>
const data = ref<Environment[]>([])
const data_map = ref<Record<number, Environment>>({})
const sse = shallowRef(newSSE())

View file

@ -1,11 +1,10 @@
<script setup lang="ts">
import type { Environment } from '@/api/environment'
import type { Ref } from 'vue'
import upgrade, { type RuntimeInfo } from '@/api/upgrade'
import type { RuntimeInfo } from '@/api/upgrade'
import upgrade from '@/api/upgrade'
import websocket from '@/lib/websocket'
import _ from 'lodash'
import { marked } from 'marked'
import { useRoute } from 'vue-router'
const route = useRoute()
const visible = ref(false)
@ -15,9 +14,9 @@ const channel = ref('stable')
const nodeNames = computed(() => nodes.value.map(v => v.name).join(', '))
const loading = ref(false)
const data = ref({
const data = ref<RuntimeInfo>({
name: '',
}) as Ref<RuntimeInfo>
} as RuntimeInfo)
const modalVisible = ref(false)
const modalClosable = ref(false)

View file

@ -1,8 +1,10 @@
import type {
CustomRender,
} from '@/components/StdDesign/StdDataDisplay/StdTableTransformer'
import type { Column, JSXElements } from '@/components/StdDesign/types'
import site_category from '@/api/site_category'
import {
actualValueRender,
type CustomRender,
datetime,
} from '@/components/StdDesign/StdDataDisplay/StdTableTransformer'
import { input, select, selector } from '@/components/StdDesign/StdDataEntry'