summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-04-22 01:59:52 +0000
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-22 12:16:01 +0200
commitdafda594ec81575c5d8f5020e0e3144e3d471e4b (patch)
treee204b0c3b7e0ea38f9f887eb00c0f14ab810c35f /core
parenta0630bd8988c5947a1513f78481984d392d28ad0 (diff)
downloadnextcloud-server-dafda594ec81575c5d8f5020e0e3144e3d471e4b.tar.gz
nextcloud-server-dafda594ec81575c5d8f5020e0e3144e3d471e4b.zip
chore(deps): bump browserslist-useragent-regexp from 3.0.2 to 4.0.0
Bumps [browserslist-useragent-regexp](https://github.com/browserslist/browserslist-useragent-regexp) from 3.0.2 to 4.0.0. - [Release notes](https://github.com/browserslist/browserslist-useragent-regexp/releases) - [Changelog](https://github.com/browserslist/browserslist-useragent-regexp/blob/master/CHANGELOG.md) - [Commits](https://github.com/browserslist/browserslist-useragent-regexp/commits/v4.0.0) --- updated-dependencies: - dependency-name: browserslist-useragent-regexp dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'core')
-rw-r--r--core/src/services/BrowsersListService.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/services/BrowsersListService.js b/core/src/services/BrowsersListService.js
index 1de8dd9b492..daf4e947dbb 100644
--- a/core/src/services/BrowsersListService.js
+++ b/core/src/services/BrowsersListService.js
@@ -20,11 +20,11 @@
*
*/
-import { getUserAgentRegExp } from 'browserslist-useragent-regexp'
+import { getUserAgentRegex } from 'browserslist-useragent-regexp'
// eslint-disable-next-line n/no-extraneous-import
import browserslist from 'browserslist'
import browserslistConfig from '@nextcloud/browserslist-config'
// Generate a regex that matches user agents to detect incompatible browsers
-export const supportedBrowsersRegExp = getUserAgentRegExp({ allowHigherVersions: true, browsers: browserslistConfig })
+export const supportedBrowsersRegExp = getUserAgentRegex({ allowHigherVersions: true, browsers: browserslistConfig })
export const supportedBrowsers = browserslist(browserslistConfig)