Skip to content

Commit c222293

Browse files
committed
fix: no ImageBitmap support in Safari
Doing a `object instanceof ImageBitmap` check itself requires ImageBitmap support. Since Safari doesn't support it, this causes a reference error. Fixed in new barcode-detector version. Issue: #248
1 parent 4231936 commit c222293

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 3 additions & 3 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.7.0",
31+
"barcode-detector": "^1.0.0",
3232
"callforth": "^0.3.1",
3333
"core-js": "^3.6.5",
3434
"vue": "^2.6.11",

0 commit comments

Comments
 (0)