diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-06-21 15:06:25 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-06-23 16:53:10 +0200 |
commit | 81ad28f91025b6e2730f2e5d90fe8af2a842c354 (patch) | |
tree | f6a75acec9b905a85d7f2c0b92578dae986becfa | |
parent | a83f276352785ddde18954ee14de772037690428 (diff) | |
download | nextcloud-server-81ad28f91025b6e2730f2e5d90fe8af2a842c354.tar.gz nextcloud-server-81ad28f91025b6e2730f2e5d90fe8af2a842c354.zip |
chore(deps): Update `debounce` to 2.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r-- | apps/files/src/components/VirtualList.vue | 2 | ||||
-rw-r--r-- | apps/settings/src/components/AdminSettingsSharingForm.vue | 3 | ||||
-rw-r--r-- | apps/settings/src/components/Users/VirtualList.vue | 2 | ||||
-rw-r--r-- | apps/theming/src/components/UserPrimaryColor.vue | 4 | ||||
-rw-r--r-- | apps/theming/src/components/admin/ColorPickerField.vue | 3 | ||||
-rw-r--r-- | core/src/components/login/LoginForm.vue | 2 | ||||
-rw-r--r-- | package-lock.json | 14 | ||||
-rw-r--r-- | package.json | 2 |
8 files changed, 20 insertions, 12 deletions
diff --git a/apps/files/src/components/VirtualList.vue b/apps/files/src/components/VirtualList.vue index 22b54e560bf..daaa64056ac 100644 --- a/apps/files/src/components/VirtualList.vue +++ b/apps/files/src/components/VirtualList.vue @@ -51,7 +51,7 @@ import type { File, Folder, Node } from '@nextcloud/files' import type { PropType } from 'vue' -import { debounce } from 'debounce' +import debounce from 'debounce' import Vue from 'vue' import filesListWidthMixin from '../mixins/filesListWidth.ts' diff --git a/apps/settings/src/components/AdminSettingsSharingForm.vue b/apps/settings/src/components/AdminSettingsSharingForm.vue index af67eecf307..38484c00d23 100644 --- a/apps/settings/src/components/AdminSettingsSharingForm.vue +++ b/apps/settings/src/components/AdminSettingsSharingForm.vue @@ -195,10 +195,11 @@ import { import { showError, showSuccess } from '@nextcloud/dialogs' import { translate as t } from '@nextcloud/l10n' import { loadState } from '@nextcloud/initial-state' +import { snakeCase } from 'lodash' import { defineComponent } from 'vue' +import debounce from 'debounce' import SelectSharingPermissions from './SelectSharingPermissions.vue' -import { snakeCase, debounce } from 'lodash' interface IShareSettings { enabled: boolean diff --git a/apps/settings/src/components/Users/VirtualList.vue b/apps/settings/src/components/Users/VirtualList.vue index 33b57beca19..37e82b3a747 100644 --- a/apps/settings/src/components/Users/VirtualList.vue +++ b/apps/settings/src/components/Users/VirtualList.vue @@ -35,7 +35,7 @@ <script lang="ts"> import Vue from 'vue' import { vElementVisibility } from '@vueuse/components' -import { debounce } from 'debounce' +import debounce from 'debounce' import logger from '../../logger.ts' diff --git a/apps/theming/src/components/UserPrimaryColor.vue b/apps/theming/src/components/UserPrimaryColor.vue index 7adfabecddd..ce39f449ceb 100644 --- a/apps/theming/src/components/UserPrimaryColor.vue +++ b/apps/theming/src/components/UserPrimaryColor.vue @@ -31,10 +31,10 @@ import { loadState } from '@nextcloud/initial-state' import { translate as t } from '@nextcloud/l10n' import { generateOcsUrl } from '@nextcloud/router' import { colord } from 'colord' -import { debounce } from 'debounce' import { defineComponent } from 'vue' - import axios from '@nextcloud/axios' +import debounce from 'debounce' + import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' import NcColorPicker from '@nextcloud/vue/dist/Components/NcColorPicker.js' import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' diff --git a/apps/theming/src/components/admin/ColorPickerField.vue b/apps/theming/src/components/admin/ColorPickerField.vue index e7c7d7bf8ce..8e6433064ec 100644 --- a/apps/theming/src/components/admin/ColorPickerField.vue +++ b/apps/theming/src/components/admin/ColorPickerField.vue @@ -48,8 +48,9 @@ </template> <script> -import { debounce } from 'debounce' import { colord } from 'colord' +import debounce from 'debounce' + import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' import NcColorPicker from '@nextcloud/vue/dist/Components/NcColorPicker.js' import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' diff --git a/core/src/components/login/LoginForm.vue b/core/src/components/login/LoginForm.vue index c08c5172581..4ba12cbb3c4 100644 --- a/core/src/components/login/LoginForm.vue +++ b/core/src/components/login/LoginForm.vue @@ -101,7 +101,7 @@ import { loadState } from '@nextcloud/initial-state' import { translate as t } from '@nextcloud/l10n' import { generateUrl, imagePath } from '@nextcloud/router' -import { debounce } from 'debounce' +import debounce from 'debounce' import NcPasswordField from '@nextcloud/vue/dist/Components/NcPasswordField.js' import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js' diff --git a/package-lock.json b/package-lock.json index 9de57f87c65..92e8a819b39 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "clipboard": "^2.0.11", "core-js": "^3.37.1", "davclient.js": "github:owncloud/davclient.js.git#0.2.2", - "debounce": "^1.2.1", + "debounce": "^2.1.0", "dompurify": "^3.0.11", "escape-html": "^1.0.3", "focus-trap": "^7.5.4", @@ -10333,9 +10333,15 @@ "dev": true }, "node_modules/debounce": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/debounce/-/debounce-1.2.1.tgz", - "integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/debounce/-/debounce-2.1.0.tgz", + "integrity": "sha512-OkL3+0pPWCqoBc/nhO9u6TIQNTK44fnBnzuVtJAbp13Naxw9R6u21x+8tVTka87AhDZ3htqZ2pSSsZl9fqL2Wg==", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/debug": { "version": "4.3.4", diff --git a/package.json b/package.json index aaa821a430a..53ba7d097ec 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "clipboard": "^2.0.11", "core-js": "^3.37.1", "davclient.js": "github:owncloud/davclient.js.git#0.2.2", - "debounce": "^1.2.1", + "debounce": "^2.1.0", "dompurify": "^3.0.11", "escape-html": "^1.0.3", "focus-trap": "^7.5.4", |