Skip to content

Commit 36e0fc5

Browse files
chore(deps-dev): bump @eslint/js from 9.39.2 to 10.0.1 in /frontend (#636)
* chore(deps-dev): bump @eslint/js from 9.39.2 to 10.0.1 in /frontend Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.39.2 to 10.0.1. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/commits/HEAD/packages/js) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-version: 10.0.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix: fix eslint errors --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stavros <steveiliop56@gmail.com>
1 parent 6ce5243 commit 36e0fc5

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

frontend/bun.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"zod": "^4.3.6"
4141
},
4242
"devDependencies": {
43-
"@eslint/js": "^9.39.2",
43+
"@eslint/js": "^10.0.1",
4444
"@tanstack/eslint-plugin-query": "^5.91.4",
4545
"@types/node": "^25.2.0",
4646
"@types/react": "^19.2.11",

frontend/src/lib/hooks/redirect-uri.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ export const useRedirectUri = (
1717

1818
if (!redirect_uri) {
1919
return {
20-
valid: false,
21-
trusted: false,
22-
allowedProto: false,
23-
httpsDowngrade: false,
20+
valid: isValid,
21+
trusted: isTrusted,
22+
allowedProto: isAllowedProto,
23+
httpsDowngrade: isHttpsDowngrade,
2424
};
2525
}
2626

@@ -30,10 +30,10 @@ export const useRedirectUri = (
3030
url = new URL(redirect_uri);
3131
} catch {
3232
return {
33-
valid: false,
34-
trusted: false,
35-
allowedProto: false,
36-
httpsDowngrade: false,
33+
valid: isValid,
34+
trusted: isTrusted,
35+
allowedProto: isAllowedProto,
36+
httpsDowngrade: isHttpsDowngrade,
3737
};
3838
}
3939

0 commit comments

Comments
 (0)