chore(deps): update web npm deps non-major (#5705)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
This commit is contained in:
renovate[bot]
2025-11-03 15:20:51 +01:00
committed by GitHub
parent 800e8eb17f
commit 1b429f64c4
3 changed files with 299 additions and 316 deletions

609
web/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -17,7 +17,7 @@ function repoCompare(a: Repo, b: Repo) {
export function useRepoSearch(repos: Ref<Repo[] | undefined>, search: Ref<string>) {
const searchIndex = computed(
() =>
new Fuse(repos.value || [], {
new Fuse(repos.value ?? [], {
includeScore: true,
keys: ['name', 'owner'],
threshold: 0.4,

View File

@@ -37,7 +37,7 @@ export const usePipelineStore = defineStore('pipelines', () => {
const loading = ref(false);
function setPipeline(repoId: number, pipeline: Pipeline) {
const repoPipelines = pipelines.get(repoId) || new Map<number, Pipeline>();
const repoPipelines = pipelines.get(repoId) ?? new Map<number, Pipeline>();
repoPipelines.set(pipeline.number, {
...repoPipelines.get(pipeline.number),
...pipeline,
@@ -54,7 +54,7 @@ export const usePipelineStore = defineStore('pipelines', () => {
}
function getRepoPipelines(repoId: Ref<number>) {
return computed(() => Array.from(pipelines.get(repoId.value)?.values() || []).sort(comparePipelines));
return computed(() => Array.from(pipelines.get(repoId.value)?.values() ?? []).sort(comparePipelines));
}
function getPipeline(repoId: Ref<number>, _pipelineNumber: Ref<string | number>) {