test: fix ci problem

This commit is contained in:
moonrailgun 2024-05-18 00:45:51 +08:00
parent 74bd9ef3d9
commit a307b6f2f9
3 changed files with 11 additions and 7 deletions

View File

@ -412,8 +412,8 @@ importers:
specifier: workspace:^
version: link:../shared
'@trpc/server':
specifier: ^10.45.0
version: 10.45.0
specifier: ^10.45.2
version: 10.45.2
accept-language-parser:
specifier: ^1.5.0
version: 1.5.0
@ -515,7 +515,7 @@ importers:
version: 0.1.1
trpc-openapi:
specifier: ^1.2.0
version: 1.2.0(@trpc/server@10.45.0)(zod@3.22.2)
version: 1.2.0(@trpc/server@10.45.2)(zod@3.22.2)
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/node@18.17.12)(typescript@5.4.5)
@ -7101,6 +7101,10 @@ packages:
resolution: {integrity: sha512-2Fwzv6nqpE0Ie/G7PeS0EVR89zLm+c1Mw7T+RAGtU807j4oaUx0zGkBXTu5u9AI+j+BYNN2GZxJcuDTAecbr1A==}
dev: false
/@trpc/server@10.45.2:
resolution: {integrity: sha512-wOrSThNNE4HUnuhJG6PfDRp4L2009KDVxsd+2VYH8ro6o/7/jwYZ8Uu5j+VaW+mOmc8EHerHzGcdbGNQSAUPgg==}
dev: false
/@trysound/sax@0.2.0:
resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==}
engines: {node: '>=10.13.0'}
@ -23081,13 +23085,13 @@ packages:
/trough@2.2.0:
resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}
/trpc-openapi@1.2.0(@trpc/server@10.45.0)(zod@3.22.2):
/trpc-openapi@1.2.0(@trpc/server@10.45.2)(zod@3.22.2):
resolution: {integrity: sha512-pfYoCd/3KYXWXvUPZBKJw455OOwngKN/6SIcj7Yit19OMLJ+8yVZkEvGEeg5wUSwfsiTdRsKuvqkRPXVSwV7ew==}
peerDependencies:
'@trpc/server': ^10.0.0
zod: ^3.14.4
dependencies:
'@trpc/server': 10.45.0
'@trpc/server': 10.45.2
co-body: 6.1.0
h3: 1.8.2
lodash.clonedeep: 4.5.0

View File

@ -139,7 +139,7 @@ export const ServerRowExpendView: React.FC<{ row: ServerStatusInfo }> =
<Switch checked={showAll} onCheckedChange={setShowAll} />
<div>{t('Show All')}</div>
</div>
<DataTable columns={columns} data={data} />
<DataTable columns={columns} data={data ?? []} />
</div>
)}
</TabsContent>

View File

@ -24,7 +24,7 @@
"@paralleldrive/cuid2": "^2.2.2",
"@prisma/client": "5.4.2",
"@tianji/shared": "workspace:^",
"@trpc/server": "^10.45.0",
"@trpc/server": "^10.45.2",
"accept-language-parser": "^1.5.0",
"axios": "^1.5.0",
"badge-maker": "^3.3.1",