vue-qrcode-reader
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -23,2 +23,3 @@ var webpack = require('webpack') | ||
'webrtc-adapter': 'webrtc-adapter', | ||
'lodash': 'lodash', | ||
}, | ||
@@ -25,0 +26,0 @@ plugins: [ |
{ | ||
"name": "vue-qrcode-reader", | ||
"description": "A Vue.js component, accessing the device camera and allowing users to read QR-Codes, within the browser", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"author": { | ||
@@ -88,4 +88,5 @@ "name": "Niklas Gruhn", | ||
"jsqr": "^1.1.0", | ||
"lodash": "^4.17.11", | ||
"webrtc-adapter": "^6.2.1" | ||
} | ||
} |
@@ -26,3 +26,2 @@ import 'webrtc-adapter' | ||
locateHandler, | ||
shouldContinue, | ||
minDelay, | ||
@@ -40,2 +39,3 @@ } = options | ||
let workerBusy = false | ||
let shouldContinue = true | ||
@@ -60,3 +60,3 @@ worker.onmessage = event => { | ||
const processFrame = timeNow => { | ||
if (shouldContinue()) { | ||
if (shouldContinue) { | ||
window.requestAnimationFrame(processFrame) | ||
@@ -81,2 +81,6 @@ | ||
processFrame() | ||
return () => { | ||
shouldContinue = false | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
869096
994
4
5
+ Addedlodash@^4.17.11
+ Addedlodash@4.17.21(transitive)