Ze-Zheng Wu
Ze-Zheng Wu
@gruhn Hey I've just released [`[email protected]`](https://www.npmjs.com/package/barcode-detector/v/2.0.0). Thanks for your support. For users who need a recap: gruhn kindly transfers the ownership of his npm package `barcode-detector` to me and my...
To address potential future language-detection problems, we may want to support using [filepath glob patterns](https://code.visualstudio.com/docs/languages/overview#_can-i-map-additional-file-extensions-to-a-language) and the [first line of the file](https://code.visualstudio.com/api/references/contribution-points#contributes.languages) to detect languages just like what VSCode does....
Looks like there's a mismatch between the version of the WASM binary and the js code. Each version of zxing-wasm (an indirect dependency of this lib) has an associated WASM...
[This](https://github.com/gruhn/vue-qrcode-reader?tab=readme-ov-file#some-of-my-qr-codes-are-not-being-detected) applies to other formats of barcodes, can you try? > #### Some of my QR codes are not being detected. > > - Make sure, there is some white...
有一点忘记跟你说了,这个仓库用到了 semantic-release 自动化构建工作流,它会根据提交信息(commit message)来确认是否发布新的版本以及版本号应该如何新增。 比如说: - 如果提交信息中包含 bug 修复式更新(fix),那么它会增加最小的那个版本号(patch); - 如果提交信息中包含功能性更新(feature),那么它会增加中间那个版本号(minor); - 如果提交信息中包含破坏性更新(breaking change),那么它会增加最大的那个版本号(major); - 如果它没能从提交信息中解析出来更新类型,那么它不会增加版本号。 版本号增加后它会自动发布一个新版本。 为了让 semantic release 工作流能够正常从你的提交信息中解析出来更新类型,你应该将你的提交信息改写为符合“[约定式提交](https://www.conventionalcommits.org/zh-hans/v1.0.0/)”风格的信息。 以本 PR 为例,支持 formats 属于功能性更新,按照惯例,你应该将你的提交信息改写为 `feat: support formats` 类似这样的信息(第一行信息是这个,后面的详细信息可以空一行之后写)。这样在你的提交合并之后,才会触发自动化工作流更新版本号并发布一个新版本。...
PR 的标题和简介与提交信息是两回事儿,你可以参考一下这个文档修改提交信息:https://docs.github.com/zh/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/changing-a-commit-message 还有这个回答:https://stackoverflow.com/questions/10728420/editing-the-git-commit-message-in-github
The npm registry in the `package-lock.json` file is littered with a deprecated third-party registry: [https://registry.npm.taobao.org/](https://github.com/carpONE/vue-qrcode-reader/blob/50ecc21ec88621ae8957283ee50b16a83f1ea050/package-lock.json#L37). This is mainly for the mainland Chinese users to install packages behind the firewall. Yet...
For consistency, and correctness, we should also change this line: https://github.com/carpONE/vue-qrcode-reader/blob/50ecc21ec88621ae8957283ee50b16a83f1ea050/src/mixins/CommonAPI.vue#L2 ```js import { BarcodeDetector } from "barcode-detector"; ```
Hi, @gruhn, sorry for not being able to help much. A lot is going on on my side. I will try to find some time to look into this and...
Just add a comment here: There's a write-up on how to properly apply this constraint and check for its support: https://webrtchacks.com/bad-lighting-fix-with-javascript-webcam-exposure/#post-3807-_ttmtkt8og756 And here is a playground to tweak with the...