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

fix(deps): update nextcloud (master) #1955

Merged
merged 4 commits into from
Oct 12, 2023
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
2 changes: 1 addition & 1 deletion cypress/e2e/mixins/oddname.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@
}

let failsLeft = 5
Cypress.on('fail', (error, runnable) => {
Cypress.on('fail', (error) => {
failsLeft--
throw error // throw error to have test still fail
})

/**
*
* @param file

Check warning on line 53 in cypress/e2e/mixins/oddname.ts

View workflow job for this annotation

GitHub Actions / eslint

Missing JSDoc @param "file" description
* @param type

Check warning on line 54 in cypress/e2e/mixins/oddname.ts

View workflow job for this annotation

GitHub Actions / eslint

Missing JSDoc @param "type" description
* @param sidebar

Check warning on line 55 in cypress/e2e/mixins/oddname.ts

View workflow job for this annotation

GitHub Actions / eslint

Missing JSDoc @param "sidebar" description
*/
export default function(file, type, sidebar = false) {
const placedName = naughtyFileName(file)
Expand Down
1,774 changes: 994 additions & 780 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@
"dependencies": {
"@fontsource/roboto": "^5.0.8",
"@mdi/svg": "^7.2.96",
"@nextcloud/auth": "^2.1.0",
"@nextcloud/auth": "^2.2.1",
"@nextcloud/axios": "^2.3.0",
"@nextcloud/dialogs": "^4.2.0-beta.4",
"@nextcloud/dialogs": "^4.2.1",
"@nextcloud/event-bus": "^3.1.0",
"@nextcloud/files": "^3.0.0-beta.19",
"@nextcloud/files": "^3.0.0-beta.26",
"@nextcloud/initial-state": "^2.1.0",
"@nextcloud/l10n": "^2.2.0",
"@nextcloud/logger": "^2.5.0",
"@nextcloud/logger": "^2.7.0",
"@nextcloud/paths": "^2.1.0",
"@nextcloud/router": "^2.1.2",
"@nextcloud/typings": "^1.7.0",
"@nextcloud/vue": "^8.0.0-beta.4",
"@nextcloud/vue": "^8.0.0-beta.8",
"@skjnldsv/vue-plyr": "^7.3.1",
"camelcase": "^8.0.0",
"debounce": "^1.2.1",
Expand All @@ -77,8 +77,8 @@
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/browserslist-config": "^3.0.0",
"@nextcloud/cypress": "^1.0.0-beta.6",
"@nextcloud/eslint-config": "^8.3.0-beta.2",
"@nextcloud/cypress": "^1.0.0-beta.2",
"@nextcloud/eslint-config": "^8.3.0",
"@nextcloud/stylelint-config": "^2.3.1",
"@nextcloud/webpack-vue-config": "^6.0.0",
"@types/dockerode": "^3.3.19",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Images.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
return `data:${this.mime};base64,${btoa(file.data)}`
},

/**

Check warning on line 167 in src/components/Images.vue

View workflow job for this annotation

GitHub Actions / eslint

JSDoc @return declaration present but return expression not available in function
* Handle zooming
*
* @param {Event} event the scroll event
Expand Down Expand Up @@ -263,7 +263,7 @@
},

// Fallback to the original image if not already done
onFail(event) {
onFail() {
if (!this.fallback) {
console.error(`Loading of file preview ${basename(this.src)} failed, falling back to original file`)
this.fallback = true
Expand Down
2 changes: 1 addition & 1 deletion src/components/Videos.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default {
},

methods: {
hideHeaderAndFooter(e) {
hideHeaderAndFooter() {
// work arround to get the state of the fullscreen button, aria-selected attribute is not reliable
this.isFullscreenButtonVisible = !this.isFullscreenButtonVisible
if (this.isFullscreenButtonVisible) {
Expand Down
2 changes: 1 addition & 1 deletion src/services/Viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default class Viewer {
this._state.handlers.push(handler)
const handledMimes = [
...handler.mimes,
...Object.keys(handler.mimesAliases || {})
...Object.keys(handler.mimesAliases || {}),
]
this._mimetypes.push.apply(this._mimetypes, handledMimes)
if (handler?.canCompare === true) {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/numberUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
*/

const isNumber = function(num: any): boolean {
const isNumber = function(num): boolean {
if (!num) {
return false
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export default {

beforeMount() {
// register on load
document.addEventListener('DOMContentLoaded', event => {
document.addEventListener('DOMContentLoaded', () => {
// register all primary components mimes
this.handlers.forEach(handler => {
this.registerHandler(handler)
Expand Down
Loading