diff --git a/apps/files_sharing/src/mixins/SharesMixin.js b/apps/files_sharing/src/mixins/SharesMixin.js index df0d0fec31d..97eea53391f 100644 --- a/apps/files_sharing/src/mixins/SharesMixin.js +++ b/apps/files_sharing/src/mixins/SharesMixin.js @@ -25,7 +25,9 @@ * */ -import PQueue from 'p-queue/dist/index' +// eslint-disable-next-line import/no-unresolved, node/no-missing-import +import PQueue from 'p-queue' +// import PQueue from 'p-queue/dist/index' import debounce from 'debounce' import Share from '../models/Share' diff --git a/dist/core-common.js b/dist/core-common.js index 2a760933ad4..7bea9a2f8d0 100644 Binary files a/dist/core-common.js and b/dist/core-common.js differ diff --git a/dist/core-common.js.map b/dist/core-common.js.map index bbb6a37fb6d..fefb81dbb41 100644 Binary files a/dist/core-common.js.map and b/dist/core-common.js.map differ diff --git a/dist/files_sharing-files_sharing_tab.js b/dist/files_sharing-files_sharing_tab.js index 6a26c30b924..1d52a2e030d 100644 Binary files a/dist/files_sharing-files_sharing_tab.js and b/dist/files_sharing-files_sharing_tab.js differ diff --git a/dist/files_sharing-files_sharing_tab.js.map b/dist/files_sharing-files_sharing_tab.js.map index 8a2f5396b00..f6bc30f93aa 100644 Binary files a/dist/files_sharing-files_sharing_tab.js.map and b/dist/files_sharing-files_sharing_tab.js.map differ diff --git a/package-lock.json b/package-lock.json index 5b9cd1e00bf..be5f088d12a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,7 +53,7 @@ "moment-timezone": "^0.5.34", "nextcloud-vue-collections": "^0.9.0", "p-limit": "^4.0.0", - "p-queue": "^6.6.2", + "p-queue": "^7.1.0", "path": "^0.12.7", "query-string": "^7.0.1", "regenerator-runtime": "^0.13.9", @@ -87,7 +87,6 @@ "@testing-library/jest-dom": "^5.16.1", "@testing-library/user-event": "^13.5.0", "@testing-library/vue": "^5.8.2", - "@vue/test-utils": "^1.3.0", "babel-loader": "^8.2.3", "babel-loader-exclude-node-modules-except": "^1.2.1", "css-loader": "^5.2.7", @@ -12666,6 +12665,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true, "engines": { "node": ">=4" } @@ -12718,29 +12718,29 @@ } }, "node_modules/p-queue": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", - "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-7.1.0.tgz", + "integrity": "sha512-V+0vPJbhYkBqknPp0qnaz+dWcj8cNepfXZcsVIVEHPbFQXMPwrzCNIiM4FoxGtwHXtPzVCPHDvqCr1YrOJX2Gw==", "dependencies": { - "eventemitter3": "^4.0.4", - "p-timeout": "^3.2.0" + "eventemitter3": "^4.0.7", + "p-timeout": "^5.0.0" }, "engines": { - "node": ">=8" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/p-timeout": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", - "dependencies": { - "p-finally": "^1.0.0" - }, + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-5.0.2.tgz", + "integrity": "sha512-sEmji9Yaq+Tw+STwsGAE56hf7gMy9p0tQfJojIAamB7WHJYJKf1qlsg9jqBWG8q9VCxKPhZaP/AcXwEoBcYQhQ==", "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/p-try": { @@ -26443,7 +26443,8 @@ "p-finally": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true }, "p-limit": { "version": "4.0.0", @@ -26477,21 +26478,18 @@ } }, "p-queue": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", - "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-7.1.0.tgz", + "integrity": "sha512-V+0vPJbhYkBqknPp0qnaz+dWcj8cNepfXZcsVIVEHPbFQXMPwrzCNIiM4FoxGtwHXtPzVCPHDvqCr1YrOJX2Gw==", "requires": { - "eventemitter3": "^4.0.4", - "p-timeout": "^3.2.0" + "eventemitter3": "^4.0.7", + "p-timeout": "^5.0.0" } }, "p-timeout": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", - "requires": { - "p-finally": "^1.0.0" - } + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-5.0.2.tgz", + "integrity": "sha512-sEmji9Yaq+Tw+STwsGAE56hf7gMy9p0tQfJojIAamB7WHJYJKf1qlsg9jqBWG8q9VCxKPhZaP/AcXwEoBcYQhQ==" }, "p-try": { "version": "1.0.0", diff --git a/package.json b/package.json index da7fb8e345d..e4f1d2e50b0 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "moment-timezone": "^0.5.34", "nextcloud-vue-collections": "^0.9.0", "p-limit": "^4.0.0", - "p-queue": "^6.6.2", + "p-queue": "^7.1.0", "path": "^0.12.7", "query-string": "^7.0.1", "regenerator-runtime": "^0.13.9",