Skip to content

Commit 4231936

Browse files
committed
fix: "OffscreenCanvas is not defined"
Doing a `object instanceof OffscreenCanvas` check itself requires OffscreenCanvas support. Since Firefox/Safari don't support it, this causes a reference error. Fixed in new barcode-detector version. Issue: #248
1 parent f2fcf92 commit 4231936

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"lint": "vue-cli-service lint"
2929
},
3030
"dependencies": {
31-
"barcode-detector": "^0.5.0",
31+
"barcode-detector": "^0.7.0",
3232
"callforth": "^0.3.1",
3333
"core-js": "^3.6.5",
3434
"vue": "^2.6.11",

0 commit comments

Comments
 (0)