Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Update dependency vue-tsc to v2.1.8 (#5092)

Openverse (Bot)24a39eb88936
diff --git a/frontend/package.json b/frontend/package.json
index 5f420fe15..603320397 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -111,7 +111,7 @@
"vitest-dom": "^0.1.1",
"vue": "3.5.12",
"vue-router": "^4.4.5",
- "vue-tsc": "2.1.6",
+ "vue-tsc": "2.1.8",
"storybook": "8.2.9",
"@storybook/vue3": "8.2.9",
"@storybook/addon-links": "8.2.9",
diff --git a/frontend/src/components/VHeader/VHeaderMobile/VHeaderMobile.vue b/frontend/src/components/VHeader/VHeaderMobile/VHeaderMobile.vue
index fa23b8600..b2e7ace98 100644
--- a/frontend/src/components/VHeader/VHeaderMobile/VHeaderMobile.vue
+++ b/frontend/src/components/VHeader/VHeaderMobile/VHeaderMobile.vue
@@ -253,7 +253,10 @@ const handleTab = (
) => {
if (isRecentVisible.value) {
event.preventDefault()
- focusIn(recentSearchesRef.value?.$el, 1)
+ const element = recentSearchesRef.value?.$el
+ if (element) {
+ focusIn(element, 1)
+ }
} else if (button === "content-settings") {
handleTabOut("forward")
}
diff --git a/frontend/src/components/VSafeBrowsing/VSafeBrowsing.vue b/frontend/src/components/VSafeBrowsing/VSafeBrowsing.vue
index 4a4bafdfb..c4e0d6ccc 100644
--- a/frontend/src/components/VSafeBrowsing/VSafeBrowsing.vue
+++ b/frontend/src/components/VSafeBrowsing/VSafeBrowsing.vue
@@ -43,18 +43,18 @@ let setBlurSensitive = (data: { checked?: boolean }) => {
$sendCustomEvent("TOGGLE_BLUR_SENSITIVE", { checked })
}
-const toggles = [
+const toggles = computed(() => [
{
name: "fetchSensitive",
- state: fetchSensitive,
+ state: fetchSensitive.value,
switchFn: setFetchSensitive,
},
{
name: "blurSensitive",
- state: blurSensitive,
+ state: blurSensitive.value,
switchFn: setBlurSensitive,
},
-]
+])
const isDisabled = (name: string) =>
name === "blurSensitive" && !fetchSensitive.value
@@ -86,7 +86,7 @@ const isDisabled = (name: string) =>
:id="toggle.name"
class="flex-row-reverse justify-between"
:value="toggle.name"
- :checked="toggle.state.value"
+ :checked="toggle.state"
:disabled="isDisabled(toggle.name)"
is-switch
@change="toggle.switchFn"
diff --git a/package.json b/package.json
index e9e1bb427..07a3fea2b 100644
--- a/package.json
+++ b/package.json
@@ -22,6 +22,6 @@
"prettier": "3.3.3",
"prettier-plugin-tailwindcss": "0.6.8",
"typescript": "5.6.3",
- "vue-tsc": "2.1.6"
+ "vue-tsc": "2.1.8"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7349ad7eb..96f5a6e63 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -29,8 +29,8 @@ importers:
specifier: 5.6.3
version: 5.6.3
vue-tsc:
- specifier: 2.1.6
- version: 2.1.6([email protected])
+ specifier: 2.1.8
+ version: 2.1.8([email protected])
automations/js:
dependencies:
@@ -140,13 +140,13 @@ importers:
'@nuxtjs/storybook':
specifier: npm:@nuxtjs/storybook@nightly
'@playwright/test':
specifier: 1.48.1
version: 1.48.1
'@storybook-vue/nuxt':
specifier: npm:@storybook-vue/nuxt@nightly
'@storybook/addon-essentials':
specifier: 8.2.9
@@ -206,7 +206,7 @@ importers:
version: 7.0.1
nuxt:
specifier: 3.13.2
rimraf:
specifier: ^6.0.1
version: 6.0.1
@@ -232,8 +232,8 @@ importers:
specifier: ^4.4.5
vue-tsc:
- specifier: 2.1.6
- version: 2.1.6([email protected])
+ specifier: 2.1.8
+ version: 2.1.8([email protected])
packages/js/api-client:
dependencies:
@@ -3160,12 +3160,21 @@ packages:
resolution: {integrity: sha512-9AKhC7Qn2mQYxj7Dz3bVxeOk7gGJladhWixUYKef/o0o7Bm4an+A3XvmcTHVqZ8stE6lBVH++g050tBtJ4TZPQ==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-K/GxMOXGq997bO00cdFhTNuR85xPxj0BEEAy+BaqqayTmy9Tmhfgmq2wpJcVspRhcwfgPoE2/mEJa26emUhG/g==}
+
resolution: {integrity: sha512-Xq6ep3OZg9xUqN90jEgB9ztX5SsTz1yiV8wiQbcYNjWkek+Ie3dc8l7AVt3EhDm9mSIR58oWczHkzM2H6HIsmQ==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-jeWJBkC/WivdelMwxKkpFL811uH/jJ1kVxa+c7OvG48DXc3VrP7pplSWPP2W1dLMqBxD+awRlg55FQQfiup4cA==}
+
resolution: {integrity: sha512-UoRzC0PXcwajFQTu8XxKSYNsWNBtVja6Y9gC8eLv7kYm+UEKJCcZ8g7dialsOYA0HKs3Vpg57MeCsawFLC6m9Q==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-6xkIYJ5xxghVBhVywMoPMidDDAFT1OoQeXwa27HSgJ6AiIKRe61RXLoik+14Z7r0JvnblXVsjsRLmCr42SGzqg==}
+
'@vue-macros/[email protected]':
resolution: {integrity: sha512-+NGfhrPvPNOb3Wg9PNPEXPe0HTXmVe6XJawL1gi3cIjOSGIhpOdvmMT2cRuWb265IpA/PeL5Sqo0+DQnEDxLvw==}
engines: {node: '>=16.14.0'}
@@ -3228,6 +3237,14 @@ packages:
typescript:
optional: true
+ resolution: {integrity: sha512-DtPUKrIRqqzY1joGfVHxHWZoxXZbCQLmVtW+QTifuPInfcs1R/3UAdlJXDp+lpSpP9lI5m+jMYYlwDXXu3KSTg==}
+ peerDependencies:
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
resolution: {integrity: sha512-UzaN3Da7xnJXdz4Okb/BGbAaomRHc3RdoWqTzlvd9+WBR5m3J39J1fGcHes7U3za0ruYn/iYy/a1euhMEHvTAg==}
@@ -3330,6 +3347,9 @@ packages:
resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==}
+ resolution: {integrity: sha512-StlonZhBBrsPPwrDjiPAiVTf/rolxffLxVPT60Qv/t88BZ81BvUVzHgGqEFvJ1ii8HXtm1+zU2Icr59tfWEcag==}
+
resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==}
engines: {node: '>=6'}
@@ -8108,8 +8128,8 @@ packages:
peerDependencies:
vue: ^3.2.0
- resolution: {integrity: sha512-f98dyZp5FOukcYmbFpuSCJ4Z0vHSOSmxGttZJCsFeX0M4w/Rsq0s4uKXjcSRsZqsRgQa6z7SfuO+y0HVICE57Q==}
+ resolution: {integrity: sha512-6+vjb7JLxKIzeD/1ktoUBZGAr+148FQoEFl8Lv5EpDJLO2PrUalhp7atMEuzEkLnoooM5bg3pJqjZI+oobxIaQ==}
hasBin: true
peerDependencies:
typescript: '>=5.0.0'
@@ -9969,7 +9989,7 @@ snapshots:
- supports-color
- webpack-sources
dependencies:
'@rollup/plugin-replace': 5.0.7([email protected])
@@ -10002,7 +10022,7 @@ snapshots:
unplugin: 1.14.1([email protected])
vite-node: 2.1.3(@types/[email protected])([email protected])
vue: 3.5.12([email protected])
vue-bundle-renderer: 2.1.0
transitivePeerDependencies:
@@ -10120,11 +10140,11 @@ snapshots:
- vue
- webpack-sources
dependencies:
'@storybook/core-common': 8.3.6([email protected])
'@storybook/core-server': 8.3.6([email protected])
chalk: 5.3.0
@@ -10939,18 +10959,18 @@ snapshots:
'@sinonjs/commons': 3.0.1
optional: true
dependencies:
'@nuxt/schema': 3.13.2([email protected])([email protected])
'@rollup/plugin-replace': 6.0.1([email protected])
json-stable-stringify: 1.1.1
mlly: 1.7.2
ofetch: 1.4.1
pathe: 1.1.2
unctx: 2.3.1([email protected])
@@ -10984,18 +11004,18 @@ snapshots:
- vue-tsc
- webpack-sources
dependencies:
'@nuxt/schema': 3.13.2([email protected])([email protected])
'@rollup/plugin-replace': 6.0.1([email protected])
json-stable-stringify: 1.1.1
mlly: 1.7.2
ofetch: 1.4.1
pathe: 1.1.2
unctx: 2.3.1([email protected])
@@ -12014,14 +12034,26 @@ snapshots:
dependencies:
'@volar/source-map': 2.4.1
+ '@volar/[email protected]':
+ dependencies:
+ '@volar/source-map': 2.4.8
+
'@volar/[email protected]': {}
+ '@volar/[email protected]': {}
+
dependencies:
'@volar/language-core': 2.4.1
path-browserify: 1.0.1
vscode-uri: 3.0.8
+ '@volar/[email protected]':
+ dependencies:
+ '@volar/language-core': 2.4.8
+ path-browserify: 1.0.1
+ vscode-uri: 3.0.8
+
dependencies:
'@babel/types': 7.25.7
@@ -12140,6 +12172,19 @@ snapshots:
optionalDependencies:
typescript: 5.6.3
+ dependencies:
+ '@volar/language-core': 2.4.8
+ '@vue/compiler-dom': 3.5.12
+ '@vue/compiler-vue2': 2.7.16
+ '@vue/shared': 3.5.12
+ alien-signals: 0.2.0
+ minimatch: 9.0.5
+ muggle-string: 0.4.1
+ path-browserify: 1.0.1
+ optionalDependencies:
+ typescript: 5.6.3
+
dependencies:
'@vue/shared': 3.5.12
@@ -12262,6 +12307,8 @@ snapshots:
require-from-string: 2.0.2
uri-js: 4.4.1
+
@@ -15501,14 +15548,14 @@ snapshots:
- vue
- webpack-sources
dependencies:
'@nuxt/devalue': 2.0.2
'@nuxt/schema': 3.13.2([email protected])([email protected])
'@unhead/dom': 1.11.10
'@unhead/shared': 1.11.10
'@unhead/ssr': 1.11.10
@@ -17548,7 +17595,7 @@ snapshots:
- supports-color
- terser
dependencies:
'@babel/code-frame': 7.25.7
ansi-escapes: 4.3.2
@@ -17569,7 +17616,7 @@ snapshots:
eslint: 8.57.0
optionator: 0.9.3
typescript: 5.6.3
- vue-tsc: 2.1.6([email protected])
+ vue-tsc: 2.1.8([email protected])
dependencies:
@@ -17777,10 +17824,10 @@ snapshots:
'@vue/devtools-api': 6.6.4
vue: 3.5.12([email protected])
dependencies:
- '@volar/typescript': 2.4.1
- '@vue/language-core': 2.1.6([email protected])
+ '@volar/typescript': 2.4.8
+ '@vue/language-core': 2.1.8([email protected])
semver: 7.6.3
typescript: 5.6.3