Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update npm dependencies #2208

Merged
merged 2 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,27 @@
"dependencies": {
"@fontsource/roboto": "5.0.8",
"@jellyfin/sdk": "0.8.2",
"@vueuse/components": "10.7.1",
"@vueuse/core": "10.7.1",
"audiomotion-analyzer": "4.3.0",
"axios": "1.6.5",
"@vueuse/components": "10.8.0",
"@vueuse/core": "10.8.0",
"audiomotion-analyzer": "4.4.0",
"axios": "1.6.7",
"blurhash": "2.0.5",
"comlink": "4.4.1",
"date-fns": "3.2.0",
"destr": "2.0.2",
"dompurify": "3.0.8",
"date-fns": "3.3.1",
"destr": "2.0.3",
"dompurify": "3.0.9",
"fast-equals": "5.0.1",
"hls.js": "1.5.1",
"hls.js": "1.5.6",
"jassub": "1.7.15",
"lodash-es": "4.17.21",
"marked": "12.0.0",
"sortablejs": "1.15.1",
"swiper": "11.0.5",
"sortablejs": "1.15.2",
"swiper": "11.0.6",
"uuid": "9.0.1",
"vue": "3.4.8",
"vue-i18n": "9.9.0",
"vue-router": "4.2.5",
"vuetify": "3.4.10"
"vue": "3.4.20",
"vue-i18n": "9.9.1",
"vue-router": "4.3.0",
"vuetify": "3.5.6"
},
"devDependencies": {
"@iconify/json": "2.2.167",
Expand Down
16 changes: 0 additions & 16 deletions frontend/scripts/virtual-modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,6 @@ const vuetifyExports = localeNames
.map((l) => localeTransform(vuetifyKeys, l))
.filter((l): l is string => typeof l === 'string');

/**
* Map the RTL value of the mapped locales
*/
const transformedVuetifyRtl: Record<string, boolean> = {};

for (const e of vuetifyExports) {
const localeSplitted = e.includes(' as ') ? e.split(' as ') : e;
const originalLocale = Array.isArray(localeSplitted) ? localeSplitted[0] : e;
const targetLocale = Array.isArray(localeSplitted) ? localeSplitted[1] : e;

transformedVuetifyRtl[targetLocale] = vuetify.defaultRtl[originalLocale as keyof typeof vuetify.defaultRtl];
}

/**
* Get commit hash
*/
Expand All @@ -84,8 +71,5 @@ export default {
'virtual:locales/vuetify': `export { ${vuetifyExports.join(
', '
)} } from 'vuetify/locale'`,
'virtual:locales/vuetify/rtl': `export const defaultRtl = ${JSON.stringify(
transformedVuetifyRtl
)}`,
'virtual:commit': `export const commit_hash = ${commit_hash}`
};
4 changes: 1 addition & 3 deletions frontend/src/plugins/vuetify.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as vuetifyLocales from 'virtual:locales/vuetify';
import { defaultRtl } from 'virtual:locales/vuetify/rtl';
import { createVuetify, type ThemeDefinition } from 'vuetify';
import { md3 } from 'vuetify/blueprints';
import { aliases, mdi } from 'vuetify/iconsets/mdi-svg';
Expand Down Expand Up @@ -79,8 +78,7 @@ export const vuetify = createVuetify({
},
locale: {
fallback: 'en',
messages: vuetifyLocales,
rtl: defaultRtl
messages: vuetifyLocales
},
theme: {
themes: {
Expand Down
4 changes: 0 additions & 4 deletions frontend/types/modules/virtual.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ declare module 'virtual:locales/vuetify' {
export = typeWithoutRtl;
}

declare module 'virtual:locales/vuetify/rtl' {
export { defaultRtl } from 'vuetify/locale';
}

declare module 'virtual:commit' {
export const commit_hash: string | undefined;
}
Loading
Loading