fix(deps): update dependency @zxing/library to v0.23.0#541
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency @zxing/library to v0.23.0#541renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
69c196e to
44f501d
Compare
44f501d to
3d3c337
Compare
3d3c337 to
5272497
Compare
5272497 to
9be1665
Compare
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
9be1665 to
15537a4
Compare
15537a4 to
d364b8d
Compare
d364b8d to
049d58b
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.20.0→0.23.0Release Notes
zxing-js/library (@zxing/library)
v0.23.0Compare Source
Changelog
Error Robustness
ReaderExceptionerrors (TypeError, RangeError, etc.) are now logged instead of silently swallowed during decode attempts. Previously, programming errors were invisible and produced misleading "no barcode found" results. (src/core/MultiFormatReader.ts)setHints()calls when the same hints object is passed todecode()repeatedly, avoiding unnecessary reader reconstruction. (src/core/MultiFormatReader.ts)console.error. Previously the loop would stop silently with no indication of what went wrong. (src/browser/BrowserCodeReader.ts)Scanning Quality
TRY_HARDERmode. (src/core/oned/OneDReader.ts)GlobalHistogramBinarizerfallback whenHybridBinarizerfails withNotFoundException. Local thresholding can fail on very small barcodes or uniform-background images where a single global threshold works better. The fallback only triggers on failure, so the normal fast path is unaffected. (src/browser/BrowserCodeReader.ts)Performance
src/browser/HTMLCanvasElementLuminanceSource.ts)subarray()instead ofslice()ingetRow()to avoid an intermediate buffer copy on every row read. (src/browser/HTMLCanvasElementLuminanceSource.ts)Uint8ClampedArrayallocation per frame on 1280x720 video. (src/browser/HTMLCanvasElementLuminanceSource.ts,src/browser/BrowserCodeReader.ts)Math.floor(x / 32)with bitwise(x >> 5)in all hot-path methods (get,set,unset,flip,setRegion, constructor). These are the innermost operations in binarization and grid sampling. (src/core/common/BitMatrix.ts)clear()with nativeInt32Array.fill(0). (src/core/common/BitMatrix.ts)Math.floor()with bitwise| 0in the inner grid sampling loop, called per-pixel for every 2D barcode module. (src/core/common/DefaultGridSampler.ts)Int32Array.fill(0). (src/core/common/GlobalHistogramBinarizer.ts)Int32Array.fill(0)in 3 locations. (src/core/qrcode/detector/FinderPatternFinder.ts)New Format: MaxiCode
src/core/maxicode/MaxiCodeReader.ts)src/core/maxicode/decoder/Decoder.ts,src/core/maxicode/decoder/BitMatrixParser.ts,src/core/maxicode/decoder/DecodedBitStreamParser.ts)src/core/MultiFormatReader.ts)decodeWithECCount()method that returns the number of corrected errors, used by the MaxiCode decoder to report error correction statistics. (src/core/common/reedsolomon/ReedSolomonDecoder.ts)ERRORS_CORRECTEDenum value for reporting error correction counts in decode results. (src/core/ResultMetadataType.ts)v0.22.0Compare Source
Changelog:
feature/modernize26vsmasterNew Feature: MicroQR Code Support
src/core/microqr/)MicroQRCodeReaderinMultiFormatReaderandBarcodeFormatsrc/index.tssrc/test/resources/blackbox/microqr-1/)Bug Fixes
src/core/oned/rss/RSS14Reader.ts): Fixed finder pattern center calculation — off-by-one corrected (startEnd[0] + startEnd[1] - 1); non-throwing errors (other thanNotFoundException) no longer silently swallowed;new String()replaced withString(); strict equality (===) fixessrc/core/util/StringEncoding.ts): RemovedshouldDecodeOnFallbackworkaround for ISO-8859-1 — Node ≥ 18 nativeTextDecoderhandles all Latin-1 bytes correctly, fixingURIError: URI malformedon characters likeófindFinderPattern()[1]now correctly points to the outside pixel of the finder patternToolchain Modernization
@typescript-eslintv8 (flat config)rollup.config.js(Rollup v2)rollup.config.mjs(Rollup v4)>= 10.4.0>= 24.0.0Configuration Changes
jest.config.js,tsconfig.test.json,src/test/jest.setup.tseslint.config.mjs(flat config); removed.eslintrc,tslint.jsonkarma.conf.jstsconfig.json: addedignoreDeprecations: "6.0",strictNullChecks: false,useUnknownInCatchVariables: false,lib: ["es2020","dom"],rootDir: "./src"tsconfig.lib-cjs.jsonandtsconfig.lib-esm.json: addedignoreDeprecations: "6.0"Package Changes
0.21.3→0.22.0MIT→Apache-2.0. Actually License has always been Apache but package.json stated it was MIT which is wrong!chai,mocha,karma-*,tslint,nyc,sinon,@types/chai,@types/mocha,@types/seedrandom@2jest,ts-jest,eslint@10,typescript-eslint,@types/jest,@types/seedrandom@3rollupv2→v4,sharpv0.32→v0.34,typescriptv3→v6,seedrandomv2→v3,terser(removed deprecated--screw-ie8flag)v0.21.3Compare Source
What's Changed
Full Changelog: zxing-js/library@v0.21.2...v0.21.3
v0.21.2Compare Source
What's Changed
Decoder.MIXED_TABLEby @alexanderpopko in #608New Contributors
Full Changelog: zxing-js/library@v0.21.1...v0.21.2
v0.21.1Compare Source
What's Changed
New Contributors
Full Changelog: zxing-js/library@v0.21.0...v0.21.1
v0.21.0Compare Source
What's Changed
New Contributors
Full Changelog: zxing-js/library@v0.20.0...v0.21.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.