Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: extract BarcodeDetector polyfill
Implement dedicated npm package for BarcodeDetector polyfill: https://www.npmjs.com/package/barcode-detector Should fix #197 along the way because dependencies are inlined in the polyfill package instead of requested at runtime. BREAKING CHANGE: remove `worker` prop The idea of the `worker` prop was mainly to allow users to plug in other detection algorithms to other barcode types. We now fully endorse the Barcode Detection API and shift efforts to extend polyfill support for more barcode types.
- Loading branch information
Showing
11 changed files
with
152 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.