chore: update deps

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/877/head
Varun Patil 2023-10-11 20:30:26 -07:00
parent 4443f3e8cf
commit 2d1a0d1542
3 changed files with 1803 additions and 1414 deletions

3179
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -33,20 +33,20 @@
"@nextcloud/l10n": "^2.2.0",
"@nextcloud/paths": "^2.1.0",
"@nextcloud/sharing": "^0.1.0",
"@nextcloud/vue": "7.12.1",
"filerobot-image-editor": "^4.5.1",
"@nextcloud/vue": "7.12.6",
"filerobot-image-editor": "^4.5.2",
"fuse.js": "^6.6.2",
"hammerjs": "^2.0.8",
"justified-layout": "^4.1.0",
"leaflet": "^1.9.4",
"leaflet-edgebuffer": "^1.0.6",
"luxon": "^3.3.0",
"luxon": "^3.4.3",
"path-posix": "^1.0.0",
"photoswipe": "^5.3.8",
"photoswipe": "^5.4.2",
"plyr": "^3.7.8",
"react-filerobot-image-editor": "^4.5.1",
"react-filerobot-image-editor": "^4.5.2",
"reflect-metadata": "^0.1.13",
"video.js": "^8.3.0",
"video.js": "^8.5.2",
"vue": "^2.7.14",
"vue-material-design-icons": "^5.2.0",
"vue-router": "^3.6.5",
@ -62,16 +62,16 @@
"npm": ">=8.0.0"
},
"devDependencies": {
"@nextcloud/browserslist-config": "^2.3.0",
"@nextcloud/browserslist-config": "^3.0.0",
"@nextcloud/webpack-vue-config": "^5.5.1",
"@playwright/test": "^1.36.1",
"@types/hammerjs": "^2.0.41",
"@types/luxon": "^3.3.1",
"@types/url-parse": "^1.4.8",
"@types/videojs-contrib-quality-levels": "^2.0.1",
"playwright": "^1.36.1",
"ts-loader": "^9.4.4",
"typescript": "^5.1.6",
"@playwright/test": "^1.39.0",
"@types/hammerjs": "^2.0.42",
"@types/luxon": "^3.3.2",
"@types/url-parse": "^1.4.9",
"@types/videojs-contrib-quality-levels": "^2.0.2",
"playwright": "^1.39.0",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"workbox-webpack-plugin": "^7.0.0"
}
}

View File

@ -405,11 +405,11 @@ class VideoContentSetup {
content.slide?.holderElement?.appendChild(container);
// Add fullscreen orientation hooks
if (screen.orientation?.lock) {
if ((screen.orientation as any)?.lock) {
// Store the previous orientation
// This is because unlocking (at least on Chrome) does
// not restore the previous orientation
let previousOrientation: OrientationLockType | undefined;
let previousOrientation: OrientationType | undefined;
// Lock orientation when entering fullscreen
plyr.on('enterfullscreen', async (event) => {
@ -421,7 +421,7 @@ class VideoContentSetup {
const orientation = h < w ? 'landscape' : 'portrait';
try {
await screen.orientation.lock(orientation);
await (screen.orientation as any).lock(orientation);
} catch (e) {
previousOrientation = undefined;
}
@ -432,7 +432,7 @@ class VideoContentSetup {
plyr.on('exitfullscreen', async (event) => {
try {
if (previousOrientation) {
await screen.orientation.lock(previousOrientation);
await (screen.orientation as any).lock(previousOrientation);
previousOrientation = undefined;
}
} catch (e) {