@webreflection/barcode 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @webreflection/barcode
2
2
 
3
+ <sup>**Social Media Photo by [Risto Kokkonen](https://unsplash.com/@risto_kokkonen) on [Unsplash](https://unsplash.com/)**</sup>
4
+
3
5
  WebGPU-accelerated barcode and QR scanning for the web, with encoding
4
6
  (rendering) for all 17 supported symbologies. Native JS + a Rust/WASM
5
7
  core — clean-room implementations, MIT throughout.
@@ -205,8 +207,10 @@ and keep the CDP tools for real phones:
205
207
 
206
208
  ```sh
207
209
  npm test # chromium + webkit + iphone profile
208
- npm --prefix packages/web run test:ci # headless chromium + webkit (CI)
209
- npm --prefix packages/web run test:webkit # Safari engine only
210
+ npm --prefix packages/web run test:ci # headless chromium + webkit
211
+ npm --prefix packages/web run test:ci:chromium # what CI runs per push
212
+ npm --prefix packages/web run test:ci:webkit # Safari engine (nightly)
213
+ npm --prefix packages/web run test:webkit # Safari engine locally
210
214
  npm --prefix packages/web run test:iphone # WebKit + iPhone descriptor only
211
215
  npm --prefix packages/web run test:phone # Android over adb (real camera)
212
216
  npm --prefix packages/web run test:field # local real-photo corpus
package/dist/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @webreflection/barcode
2
2
 
3
+ <sup>**Social Media Photo by [Risto Kokkonen](https://unsplash.com/@risto_kokkonen) on [Unsplash](https://unsplash.com/)**</sup>
4
+
3
5
  WebGPU-accelerated barcode and QR scanning for the web, with encoding
4
6
  (rendering) for all 17 supported symbologies. Native JS + a Rust/WASM
5
7
  core — clean-room implementations, MIT throughout.
@@ -205,8 +207,10 @@ and keep the CDP tools for real phones:
205
207
 
206
208
  ```sh
207
209
  npm test # chromium + webkit + iphone profile
208
- npm --prefix packages/web run test:ci # headless chromium + webkit (CI)
209
- npm --prefix packages/web run test:webkit # Safari engine only
210
+ npm --prefix packages/web run test:ci # headless chromium + webkit
211
+ npm --prefix packages/web run test:ci:chromium # what CI runs per push
212
+ npm --prefix packages/web run test:ci:webkit # Safari engine (nightly)
213
+ npm --prefix packages/web run test:webkit # Safari engine locally
210
214
  npm --prefix packages/web run test:iphone # WebKit + iPhone descriptor only
211
215
  npm --prefix packages/web run test:phone # Android over adb (real camera)
212
216
  npm --prefix packages/web run test:field # local real-photo corpus
package/dist/wasm.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webreflection/barcode",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "WebGPU-accelerated barcode and QR scanning for the web: clean-room Rust/WASM decoders, native JS with JSDoc types, one static dist folder.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -74,7 +74,9 @@
74
74
  "prepublishOnly": "npm run build",
75
75
  "build:docs": "node tools/build-docs.mjs",
76
76
  "serve:docs": "node tools/serve-demo.mjs --docs",
77
- "serve:docs:iphone": "node tools/serve-demo.mjs --docs --https"
77
+ "serve:docs:iphone": "node tools/serve-demo.mjs --docs --https",
78
+ "test:ci:chromium": "node tools/e2e/playwright.mjs --ci --browser chromium",
79
+ "test:ci:webkit": "node tools/e2e/playwright.mjs --ci --browser webkit"
78
80
  },
79
81
  "devDependencies": {
80
82
  "@webgpu/types": "^0.1.64",
@@ -87,5 +89,8 @@
87
89
  "@webreflection/bindings": "^0.3.0",
88
90
  "@webreflection/utils": "^0.4.20",
89
91
  "html-escaper": "^3.0.3"
92
+ },
93
+ "engines": {
94
+ "node": ">=24"
90
95
  }
91
96
  }