From bcdc15bcf0cd3d940487fb0170cc4e684d79f36c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Nov 2021 16:16:37 +0000 Subject: [PATCH 1/3] Bump screenfull from 5.1.0 to 6.0.0 Bumps [screenfull](https://github.com/sindresorhus/screenfull.js) from 5.1.0 to 6.0.0. - [Release notes](https://github.com/sindresorhus/screenfull.js/releases) - [Commits](https://github.com/sindresorhus/screenfull.js/compare/v5.1.0...v6.0.0) --- updated-dependencies: - dependency-name: screenfull dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8dd4a6b71a..6832376123 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12056,9 +12056,9 @@ } }, "screenfull": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/screenfull/-/screenfull-5.1.0.tgz", - "integrity": "sha512-dYaNuOdzr+kc6J6CFcBrzkLCfyGcMg+gWkJ8us93IQ7y1cevhQAugFsaCdMHb6lw8KV3xPzSxzH7zM1dQap9mA==" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/screenfull/-/screenfull-6.0.0.tgz", + "integrity": "sha512-LGY0nhNQkC4FX4DT4pZdJ5cZH5EOz9Gfh9KcVMl779pS677k4IV1Wv7sY/CwC9VKFT21fYgCh7zkTVVefi5XKA==" }, "select-hose": { "version": "2.0.0", diff --git a/package.json b/package.json index af1d41b132..19ac86431c 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "react": "^17.0.2", "react-dom": "^17.0.2", "resize-observer-polyfill": "^1.5.1", - "screenfull": "^5.1.0", + "screenfull": "^6.0.0", "sortablejs": "^1.14.0", "swiper": "^6.8.4", "webcomponents.js": "^0.7.24", From 709ef906cc2d9ffc996dccab99c35fccdcf89697 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Wed, 10 Nov 2021 00:22:01 -0500 Subject: [PATCH 2/3] Fix screenfull imports --- src/components/playback/playbackmanager.js | 2 +- src/plugins/bookPlayer/plugin.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/playback/playbackmanager.js b/src/components/playback/playbackmanager.js index 722ca522ce..aa33283443 100644 --- a/src/components/playback/playbackmanager.js +++ b/src/components/playback/playbackmanager.js @@ -8,7 +8,7 @@ import * as userSettings from '../../scripts/settings/userSettings'; import globalize from '../../scripts/globalize'; import loading from '../loading/loading'; import { appHost } from '../apphost'; -import * as Screenfull from 'screenfull'; +import Screenfull from 'screenfull'; import ServerConnections from '../ServerConnections'; import alert from '../alert'; diff --git a/src/plugins/bookPlayer/plugin.js b/src/plugins/bookPlayer/plugin.js index 5e5908cb3f..ac91cf6aa5 100644 --- a/src/plugins/bookPlayer/plugin.js +++ b/src/plugins/bookPlayer/plugin.js @@ -5,7 +5,7 @@ import loading from '../../components/loading/loading'; import keyboardnavigation from '../../scripts/keyboardNavigation'; import dialogHelper from '../../components/dialogHelper/dialogHelper'; import ServerConnections from '../../components/ServerConnections'; -import * as Screenfull from 'screenfull'; +import Screenfull from 'screenfull'; import TableOfContents from './tableOfContents'; import dom from '../../scripts/dom'; import { translateHtml } from '../../scripts/globalize'; From eebbd3cbe894c717b310a390bf276e320f1f17b5 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Wed, 10 Nov 2021 13:04:41 -0500 Subject: [PATCH 3/3] Add screenfull to transpiling --- webpack.common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.common.js b/webpack.common.js index 77b714a0ed..e13fb60a57 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -96,7 +96,7 @@ module.exports = { }, { test: /\.(js|jsx)$/, - exclude: /node_modules[\\/](?!@uupaa[\\/]dynamic-import-polyfill|blurhash|date-fns|epubjs|flv.js|libarchive.js|marked)/, + exclude: /node_modules[\\/](?!@uupaa[\\/]dynamic-import-polyfill|blurhash|date-fns|epubjs|flv.js|libarchive.js|marked|screenfull)/, use: [{ loader: 'babel-loader' }]