Skip to content

Commit

Permalink
fix: bump zxing-cpp to cd9bba3 to fix an ITF detection regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec-ant committed Nov 5, 2024
1 parent 2b4d35a commit 0709489
Show file tree
Hide file tree
Showing 25 changed files with 407 additions and 90 deletions.
5 changes: 5 additions & 0 deletions .changeset/dry-berries-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"zxing-wasm": patch
---

Bump `zxing-cpp` to `cd9bba3` to fix an ITF detection regression.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.27.9",
"@types/babel__core": "^7.20.5",
"@types/node": "^22.8.1",
"@types/node": "^22.9.0",
"@vitest/ui": "^2.1.4",
"concurrently": "^9.0.1",
"concurrently": "^9.1.0",
"copy-files-from-to": "^3.11.0",
"jimp": "^1.6.0",
"lint-staged": "^15.2.10",
Expand All @@ -114,7 +114,7 @@
"simple-git-hooks": "^2.11.1",
"tinyglobby": "^0.2.10",
"tsx": "^4.19.2",
"typedoc": "^0.26.10",
"typedoc": "^0.26.11",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vite-plugin-babel": "^1.2.0",
Expand Down
64 changes: 32 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions tests/__snapshots__/itf-1/1-slanted/fast-0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"isValid": true,
"error": "",
"format": "ITF",
"bytes": "4f50564",
"bytesECI": "d464871",
"text": "30712345000010",
"eccLevel": "",
"contentType": "Text",
"hasECI": false,
"position": {
"topLeft": {
"x": 14,
"y": 5
},
"topRight": {
"x": 315,
"y": 5
},
"bottomRight": {
"x": 315,
"y": 6
},
"bottomLeft": {
"x": 14,
"y": 6
}
},
"orientation": 0,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]I1",
"sequenceSize": -1,
"sequenceIndex": -1,
"sequenceId": "",
"readerInit": false,
"lineCount": 2,
"version": ""
}
39 changes: 39 additions & 0 deletions tests/__snapshots__/itf-1/1-slanted/fast-180.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"isValid": true,
"error": "",
"format": "ITF",
"bytes": "4f50564",
"bytesECI": "d464871",
"text": "30712345000010",
"eccLevel": "",
"contentType": "Text",
"hasECI": false,
"position": {
"topLeft": {
"x": 315,
"y": 5
},
"topRight": {
"x": 14,
"y": 5
},
"bottomRight": {
"x": 14,
"y": 6
},
"bottomLeft": {
"x": 315,
"y": 6
}
},
"orientation": 180,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]I1",
"sequenceSize": -1,
"sequenceIndex": -1,
"sequenceId": "",
"readerInit": false,
"lineCount": 2,
"version": ""
}
39 changes: 39 additions & 0 deletions tests/__snapshots__/itf-1/1-slanted/slow-0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"isValid": true,
"error": "",
"format": "ITF",
"bytes": "4f50564",
"bytesECI": "d464871",
"text": "30712345000010",
"eccLevel": "",
"contentType": "Text",
"hasECI": false,
"position": {
"topLeft": {
"x": 14,
"y": 5
},
"topRight": {
"x": 315,
"y": 5
},
"bottomRight": {
"x": 315,
"y": 6
},
"bottomLeft": {
"x": 14,
"y": 6
}
},
"orientation": 0,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]I1",
"sequenceSize": -1,
"sequenceIndex": -1,
"sequenceId": "",
"readerInit": false,
"lineCount": 2,
"version": ""
}
39 changes: 39 additions & 0 deletions tests/__snapshots__/itf-1/1-slanted/slow-180.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"isValid": true,
"error": "",
"format": "ITF",
"bytes": "4f50564",
"bytesECI": "d464871",
"text": "30712345000010",
"eccLevel": "",
"contentType": "Text",
"hasECI": false,
"position": {
"topLeft": {
"x": 315,
"y": 5
},
"topRight": {
"x": 14,
"y": 5
},
"bottomRight": {
"x": 14,
"y": 6
},
"bottomLeft": {
"x": 315,
"y": 6
}
},
"orientation": 180,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]I1",
"sequenceSize": -1,
"sequenceIndex": -1,
"sequenceId": "",
"readerInit": false,
"lineCount": 2,
"version": ""
}
Loading

0 comments on commit 0709489

Please sign in to comment.