From 656547257011709d4a14bd97627472c7dc225a56 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Mar 2025 15:39:34 +0100 Subject: [PATCH] chore(deps): update dependency ohash to v2 (dev) (#3453) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Benjamin Canac Co-authored-by: Sébastien Chopin --- docs/pages/index.vue | 1 + docs/pages/releases.vue | 4 ++-- package.json | 2 +- pnpm-lock.yaml | 18 +++++++++--------- src/runtime/components/data/Table.vue | 2 +- src/runtime/components/elements/Link.vue | 14 +++++++++----- src/runtime/components/forms/InputMenu.vue | 2 +- src/runtime/components/forms/SelectMenu.vue | 2 +- 8 files changed, 25 insertions(+), 20 deletions(-) diff --git a/docs/pages/index.vue b/docs/pages/index.vue index d3ea53c2..16f4d8f8 100644 --- a/docs/pages/index.vue +++ b/docs/pages/index.vue @@ -423,6 +423,7 @@ const { data: module } = await useFetch<{ username: string }[] }>('https://api.nuxt.com/modules/ui', { + key: 'stats', transform: ({ stats, contributors }) => ({ stats, contributors }) }) diff --git a/docs/pages/releases.vue b/docs/pages/releases.vue index f0095efe..f810b92e 100644 --- a/docs/pages/releases.vue +++ b/docs/pages/releases.vue @@ -41,8 +41,8 @@ if (!page.value) { throw createError({ statusCode: 404, statusMessage: 'Page not found', fatal: true }) } -const { data: releases } = await useFetch('/api/releases.json') -const { data: pulls } = await useLazyFetch('/api/pulls.json', { default: () => [] }) +const { data: releases } = await useFetch('/api/releases.json', { key: 'releases-list' }) +const { data: pulls } = await useLazyFetch('/api/pulls.json', { default: () => [], key: 'pulls-list' }) const dates = computed(() => { const first = releases.value[releases.value.length - 1] diff --git a/package.json b/package.json index 4e42a17b..e85ffd88 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@vueuse/math": "^12.7.0", "defu": "^6.1.4", "fuse.js": "^7.1.0", - "ohash": "^1.1.5", + "ohash": "^2.0.10", "pathe": "^2.0.3", "scule": "^1.3.0", "tailwind-merge": "^2.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 30e235aa..51b24fa5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -68,8 +68,8 @@ importers: specifier: ^7.1.0 version: 7.1.0 ohash: - specifier: ^1.1.5 - version: 1.1.5 + specifier: ^2.0.10 + version: 2.0.10 pathe: specifier: ^2.0.3 version: 2.0.3 @@ -4829,8 +4829,8 @@ packages: ohash@1.1.5: resolution: {integrity: sha512-AtXrG/lMFjPBWj3uhWYFwYVZQqutPYRsv6nnPLTipnC+gJuMFc+WFzf/jx+94Ebray1vxfQfEFDtpIpppOe4xQ==} - ohash@2.0.9: - resolution: {integrity: sha512-ljz2sybhXrRpBW9LleuJPP9uxbMKW8qxFz9lLOHW2QEel78rJ1sUgaX2cBNDt49w+JleNSkhYkVOCx6RgkKn0Q==} + ohash@2.0.10: + resolution: {integrity: sha512-jf9szh2McTXpXGqejbfHxy4wcs6CXc6MShfzLIdHuCrl2W3qG49qutlOMq1Bdmvpv3s/XJffTu4ElRBPtIOncQ==} on-finished@2.4.1: resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} @@ -7574,7 +7574,7 @@ snapshots: listhen: 1.9.0 nypm: 0.6.0 ofetch: 1.4.1 - ohash: 2.0.9 + ohash: 2.0.10 pathe: 2.0.3 perfect-debounce: 1.0.0 pkg-types: 2.0.1 @@ -9570,7 +9570,7 @@ snapshots: giget: 1.2.5 jiti: 2.4.2 mlly: 1.7.4 - ohash: 2.0.9 + ohash: 2.0.10 pathe: 2.0.3 perfect-debounce: 1.0.0 pkg-types: 1.3.1 @@ -9587,7 +9587,7 @@ snapshots: exsolve: 1.0.1 giget: 2.0.0 jiti: 2.4.2 - ohash: 2.0.9 + ohash: 2.0.10 pathe: 2.0.3 perfect-debounce: 1.0.0 pkg-types: 2.0.1 @@ -12331,7 +12331,7 @@ snapshots: nuxt-site-config: 3.1.1(magicast@0.3.5)(vue@3.5.13(typescript@5.6.3)) nypm: 0.6.0 ofetch: 1.4.1 - ohash: 2.0.9 + ohash: 2.0.10 pathe: 2.0.3 pkg-types: 2.0.1 playwright-core: 1.50.1 @@ -12660,7 +12660,7 @@ snapshots: ohash@1.1.5: {} - ohash@2.0.9: {} + ohash@2.0.10: {} on-finished@2.4.1: dependencies: diff --git a/src/runtime/components/data/Table.vue b/src/runtime/components/data/Table.vue index 800c250c..05b712f4 100644 --- a/src/runtime/components/data/Table.vue +++ b/src/runtime/components/data/Table.vue @@ -137,7 +137,7 @@ import type { PropType, AriaAttributes } from 'vue' import { upperFirst } from 'scule' import { defu } from 'defu' import { useVModel } from '@vueuse/core' -import { isEqual } from 'ohash' +import { isEqual } from 'ohash/utils' import UIcon from '../elements/Icon.vue' import UButton from '../elements/Button.vue' import UProgress from '../elements/Progress.vue' diff --git a/src/runtime/components/elements/Link.vue b/src/runtime/components/elements/Link.vue index f01d12b9..7e5f433c 100644 --- a/src/runtime/components/elements/Link.vue +++ b/src/runtime/components/elements/Link.vue @@ -32,7 +32,7 @@