Skip to content

Commit

Permalink
fix: multiple patches (#127)
Browse files Browse the repository at this point in the history
1. Pin `@types/dom-webcodecs` to `0.1.11` to avoid breaking types in projects using a lower version of TypeScript. Fixes #120.
2. Bump `zxing-wasm` to `1.2.15`. The success rate should be improved a lot.
3. Remove `zxing`-related tests as they are moved into the `zxing-wasm` repo.
  • Loading branch information
Sec-ant authored Nov 5, 2024
1 parent 5a2d0d7 commit 139c454
Show file tree
Hide file tree
Showing 2,127 changed files with 254 additions and 1,642 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-cheetahs-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"barcode-detector": patch
---

Remove `zxing`-related tests as they are moved into the `zxing-wasm` repo.
5 changes: 5 additions & 0 deletions .changeset/shy-flowers-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"barcode-detector": patch
---

Pin `@types/dom-webcodecs` to `0.1.11` to avoid breaking types in projects using a lower version of TypeScript. Fixes #120.
5 changes: 5 additions & 0 deletions .changeset/thick-seahorses-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"barcode-detector": patch
---

Bump `zxing-wasm` to `1.2.15`. The success rate should be improved a lot.
25 changes: 11 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@
"postbuild:es": "tsc --declarationDir ./dist/es",
"postbuild:cjs": "tsc --declarationDir ./dist/cjs",
"start": "vite preview --outDir ./tests --port $npm_package_config_port -l silent",
"pretest": "tsx ./scripts/list-dir.ts",
"pretest:ui": "tsx ./scripts/list-dir.ts",
"precoverage": "tsx ./scripts/list-dir.ts",
"test": "start-server-and-test $npm_package_config_port 'vitest --coverage'",
"test:ui": "start-server-and-test $npm_package_config_port 'vitest --ui --coverage'",
"coverage": "start-server-and-test $npm_package_config_port 'vitest run --coverage'",
Expand All @@ -90,26 +87,26 @@
"@changesets/cli": "^2.27.9",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/node": "^22.7.5",
"@vitest/browser": "^2.1.2",
"@vitest/coverage-istanbul": "^2.1.2",
"@vitest/ui": "^2.1.2",
"concurrently": "^9.0.1",
"@types/node": "^22.9.0",
"@vitest/browser": "^2.1.4",
"@vitest/coverage-istanbul": "^2.1.4",
"@vitest/ui": "^2.1.4",
"concurrently": "^9.1.0",
"http-server": "^14.1.1",
"lint-staged": "^15.2.10",
"playwright": "^1.48.0",
"playwright": "^1.48.2",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"start-server-and-test": "^2.0.8",
"tsx": "^4.19.1",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"vite": "^5.4.8",
"vitest": "^2.1.2"
"vite": "^5.4.10",
"vitest": "^2.1.4"
},
"dependencies": {
"@types/dom-webcodecs": "^0.1.13",
"zxing-wasm": "1.2.14"
"@types/dom-webcodecs": "0.1.11",
"zxing-wasm": "1.2.15"
},
"packageManager": "[email protected]+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
}
Loading

0 comments on commit 139c454

Please sign in to comment.