chore: update dependencies

This commit is contained in:
Shiny Nematoda 2024-09-23 18:09:08 +00:00
parent 33cd0008eb
commit 0cf17ae50e
5 changed files with 307 additions and 329 deletions

610
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -12,15 +12,15 @@
"dependencies": { "dependencies": {
"bootstrap-icons": "^1.11.3", "bootstrap-icons": "^1.11.3",
"peerjs": "^1.5.4", "peerjs": "^1.5.4",
"pinia": "^2.2.1", "pinia": "^2.2.2",
"shaka-player": "^4.10.9", "shaka-player": "^4.11.4",
"sortablejs": "^1.15.2", "sortablejs": "^1.15.3",
"vue": "^3.2.38" "vue": "^3.2.38"
}, },
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^5.1.2", "@vitejs/plugin-vue": "^5.1.4",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"vite": "^5.3.5", "vite": "^5.4.7",
"vite-plugin-pwa": "^0.20.1" "vite-plugin-pwa": "^0.20.5"
} }
} }

View file

@ -432,7 +432,8 @@ input[type='range']::-moz-range-track {
left: auto; left: auto;
right: -0.5rem; right: -0.5rem;
} }
#btn-rewind, #btn-forward { #btn-rewind,
#btn-forward {
display: none; display: none;
} }
} }

View file

@ -55,7 +55,7 @@ export async function getJsonHyp(path) {
export async function getJsonAuth(path, opts = {}) { export async function getJsonAuth(path, opts = {}) {
const root = useStore().getItem('authapi') || PIPED_INSTANCE; const root = useStore().getItem('authapi') || PIPED_INSTANCE;
return await getJson('https://' + root + path, opts); return await getJson('https://' + root + path, opts);
} }

View file

@ -5,10 +5,11 @@ export const PL_EXP =
/[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}/; /[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}/;
export function useSanitize(txt) { export function useSanitize(txt) {
return ('' + txt).replace(AMP, '&') return ('' + txt)
.replace(/&/g, '&') .replace(AMP, '&')
.replace(/>/g, '>') .replace(/&/g, '&')
.replace(/</g, '&lt;'); .replace(/>/g, '&gt;')
.replace(/</g, '&lt;');
} }
export function useAutoTheme(t) { export function useAutoTheme(t) {