Closed shinbin closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
7197206
) 84.08% compared to head (7d1edd1
) 84.04%.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@DavBfr If you have time, please check out the pull request. Thanks.
Hi, DavBfr: I found an issue in UPC-E barcode and fixed it.
One of the cases had a UPC-E input value of "100802" or "01008029". The barcode content I expect to be displayed is "01008029" , as shown in the 1st picture, but it displays '01020089' and cannot be read by the barcode scanner , as shown in the 2nd picture. There are also errors in other input values, such as 107444,100902,100965,555555,1.. etc.
The issue comes from upcaToUpce() , whose RegExp cannot split groups accurately. Please help to check and merge my fixed version.
Thanks.
OK, Test site : https://www.online-barcode.com/barcode-generator or https://barcodeqrcode.com/upc-e-generator/
NG, Test site : https://davbfr.github.io/dart_barcode/#/