diff options
-rw-r--r-- | package-lock.json | 5 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | ui/app/components/qr-scanner/qr-scanner.component.js | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/package-lock.json b/package-lock.json index 6acc27a24..fd5d9d1b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1624,8 +1624,9 @@ } }, "@zxing/library": { - "version": "github:zxing-js/library#a1a3481f456b93df4182ab867ad5cf9a092e32b9", - "from": "github:zxing-js/library#a1a3481f456b93df4182ab867ad5cf9a092e32b9", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@zxing/library/-/library-0.7.0.tgz", + "integrity": "sha512-VJ1cJaCWVF8MspnuyaZKGKlrSQLqQ5usgSap8uuCAvWGQ6W6OwN1NeGvnjhT+9hmnwkHK8XjaflvzaDBC7nKnw==", "requires": { "text-encoding": "^0.6.4", "ts-custom-error": "^2.2.1" diff --git a/package.json b/package.json index cff1b28be..55f99dca8 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ }, "dependencies": { "@material-ui/core": "^1.0.0", - "@zxing/library": "github:zxing-js/library#a1a3481f456b93df4182ab867ad5cf9a092e32b9", + "@zxing/library": "^0.7.0", "abi-decoder": "^1.0.9", "asmcrypto.js": "0.22.0", "async": "^2.5.0", diff --git a/ui/app/components/qr-scanner/qr-scanner.component.js b/ui/app/components/qr-scanner/qr-scanner.component.js index 344d46c3b..a0b52495d 100644 --- a/ui/app/components/qr-scanner/qr-scanner.component.js +++ b/ui/app/components/qr-scanner/qr-scanner.component.js @@ -1,8 +1,8 @@ import React, { Component } from 'react' import PropTypes from 'prop-types' import {connect} from 'react-redux' -import adapter from 'webrtc-adapter' // eslint-disable-line import/no-nodejs-modules, no-unused-vars import { BrowserQRCodeReader } from '@zxing/library' +import adapter from 'webrtc-adapter' // eslint-disable-line import/no-nodejs-modules, no-unused-vars import { hideQrScanner, qrCodeDetected} from '../../actions' import Spinner from '../spinner' |