update villain-reader
This commit is contained in:
parent
4dc5cd22e7
commit
be7d49165c
2 changed files with 8 additions and 7 deletions
|
@ -1,7 +1,6 @@
|
||||||
// @flow
|
// @flow
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import Villain from 'villain';
|
import Villain from 'villain';
|
||||||
|
|
||||||
import 'villain/dist/style.css';
|
import 'villain/dist/style.css';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
@ -13,6 +12,8 @@ type Props = {
|
||||||
|
|
||||||
const opts = {
|
const opts = {
|
||||||
workerPath: '/webworkers/worker-bundle.js',
|
workerPath: '/webworkers/worker-bundle.js',
|
||||||
|
allowFullScreen: false,
|
||||||
|
autoHideControls: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
class ComicBookViewer extends React.PureComponent<Props> {
|
class ComicBookViewer extends React.PureComponent<Props> {
|
||||||
|
|
|
@ -762,7 +762,7 @@
|
||||||
pirates "^4.0.0"
|
pirates "^4.0.0"
|
||||||
source-map-support "^0.5.9"
|
source-map-support "^0.5.9"
|
||||||
|
|
||||||
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.2.0", "@babel/runtime@^7.3.1":
|
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.2.0", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.3":
|
||||||
version "7.4.5"
|
version "7.4.5"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.4.5.tgz#582bb531f5f9dc67d2fcb682979894f75e253f12"
|
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.4.5.tgz#582bb531f5f9dc67d2fcb682979894f75e253f12"
|
||||||
integrity sha512-TuI4qpWZP6lGOGIuGWtp9sPluqYICmbk8T/1vpSysqJxRPkudh/ofFWyqdcMsDf2s7KvDL4/YHgKyvcS3g9CJQ==
|
integrity sha512-TuI4qpWZP6lGOGIuGWtp9sPluqYICmbk8T/1vpSysqJxRPkudh/ofFWyqdcMsDf2s7KvDL4/YHgKyvcS3g9CJQ==
|
||||||
|
@ -9498,7 +9498,7 @@ react-toggle@^4.0.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
classnames "^2.2.5"
|
classnames "^2.2.5"
|
||||||
|
|
||||||
react@^16.8.2:
|
react@^16.8.2, react@^16.8.6:
|
||||||
version "16.8.6"
|
version "16.8.6"
|
||||||
resolved "https://registry.yarnpkg.com/react/-/react-16.8.6.tgz#ad6c3a9614fd3a4e9ef51117f54d888da01f2bbe"
|
resolved "https://registry.yarnpkg.com/react/-/react-16.8.6.tgz#ad6c3a9614fd3a4e9ef51117f54d888da01f2bbe"
|
||||||
integrity sha512-pC0uMkhLaHm11ZSJULfOBqV4tIZkx87ZLvbbQYunNixAAvjnC+snJCg0XQXn9VIsttVsbZP/H/ewzgsd5fxKXw==
|
integrity sha512-pC0uMkhLaHm11ZSJULfOBqV4tIZkx87ZLvbbQYunNixAAvjnC+snJCg0XQXn9VIsttVsbZP/H/ewzgsd5fxKXw==
|
||||||
|
@ -11805,8 +11805,8 @@ videostream@^2.5.1:
|
||||||
range-slice-stream "^2.0.0"
|
range-slice-stream "^2.0.0"
|
||||||
|
|
||||||
villain@btzr-io/Villain:
|
villain@btzr-io/Villain:
|
||||||
version "0.0.3"
|
version "0.0.4"
|
||||||
resolved "https://codeload.github.com/btzr-io/Villain/tar.gz/1a3d3ca9948e86cad65ca0fda00a10e0bc9275c6"
|
resolved "https://codeload.github.com/btzr-io/Villain/tar.gz/e587ed3c7b3499e6250f557f3891f040da5a6846"
|
||||||
dependencies:
|
dependencies:
|
||||||
clsx "^1.0.4"
|
clsx "^1.0.4"
|
||||||
libarchive.js "^1.1.0"
|
libarchive.js "^1.1.0"
|
||||||
|
|
Loading…
Add table
Reference in a new issue