chore(deps): update dependency typescript to ^5.7.2 (#1523)

* chore(deps): update dependency typescript to ^5.7.2

* chore(deps): update dependency typescript to ^5.7.2

* fix: typecheck issue

* fix: typecheck issue

---------

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
homarr-renovate[bot]
2024-11-23 19:39:20 +01:00
committed by GitHub
parent 5a3d9745d9
commit 982ab4393e
38 changed files with 191 additions and 190 deletions

View File

@@ -33,6 +33,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -52,6 +52,6 @@
"@types/dockerode": "^3.3.32",
"eslint": "^9.15.0",
"prettier": "^3.3.3",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -47,6 +47,6 @@
"@types/cookies": "0.9.0",
"eslint": "^9.15.0",
"prettier": "^3.3.3",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -59,10 +59,11 @@ export class LdapClient {
private static convertEntryPropertyToString(value: Entry[string]) {
const firstValue = Array.isArray(value) ? (value[0] ?? "") : value;
if (firstValue instanceof Buffer) {
return firstValue.toString("utf8");
if (typeof firstValue === "string") {
return firstValue;
}
return firstValue;
return firstValue.toString("utf8");
}
/**

View File

@@ -34,6 +34,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -36,6 +36,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -31,6 +31,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -30,6 +30,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -33,6 +33,6 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/node-cron": "^3.0.11",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -45,6 +45,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -57,6 +57,6 @@
"eslint": "^9.15.0",
"prettier": "^3.3.3",
"tsx": "4.19.2",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -30,6 +30,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -31,6 +31,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -31,6 +31,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -42,6 +42,6 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/xml2js": "^0.4.14",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -35,6 +35,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -41,7 +41,7 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}

View File

@@ -33,6 +33,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -32,6 +32,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -34,7 +34,7 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}

View File

@@ -28,7 +28,7 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}

View File

@@ -30,6 +30,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -34,6 +34,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -35,7 +35,7 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}

View File

@@ -30,6 +30,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -45,7 +45,7 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}

View File

@@ -41,6 +41,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -42,7 +42,7 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/css-modules": "^1.0.5",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
},
"prettier": "@homarr/prettier-config"
}

View File

@@ -34,6 +34,6 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -72,6 +72,6 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/video.js": "^7.3.58",
"eslint": "^9.15.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}

View File

@@ -112,7 +112,7 @@ export const WidgetSortedItemListInput = <TItem, TOptionValue extends UniqueIden
>
<SortableContext items={values} strategy={verticalListSortingStrategy}>
<Stack gap="xs">
<>
<React.Fragment>
{values.map((value, index) => {
const item = getItem(value);
const removeItem = () => {
@@ -148,8 +148,8 @@ export const WidgetSortedItemListInput = <TItem, TOptionValue extends UniqueIden
<Loader />
</Center>
)}
{error && <Center h={256}>{JSON.stringify(error)}</Center>}
</>
{error ? <Center h={256}>{JSON.stringify(error)}</Center> : null}
</React.Fragment>
</Stack>
</SortableContext>
</DndContext>