@ericblade/quagga2 1.10.1 → 1.10.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ericblade/quagga2",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "description": "An advanced barcode-scanner written in JavaScript",
5
5
  "main": "lib/quagga.js",
6
6
  "types": "type-definitions/quagga.d.ts",
@@ -18,6 +18,7 @@
18
18
  "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
19
19
  "@babel/plugin-proposal-optional-chaining": "^7.21.0",
20
20
  "@babel/plugin-transform-runtime": "^7.28.5",
21
+ "@babel/polyfill": "^7.12.1",
21
22
  "@babel/preset-env": "^7.28.5",
22
23
  "@babel/preset-typescript": "^7.28.5",
23
24
  "@babel/runtime": "^7.28.4",
@@ -34,8 +35,8 @@
34
35
  "@typescript-eslint/parser": "^7.18.0",
35
36
  "babel-loader": "^8.2.5",
36
37
  "babel-plugin-add-module-exports": "^1.0.4",
37
- "chai": "^4.3.10",
38
38
  "babel-plugin-istanbul": "^7.0.1",
39
+ "chai": "^4.3.10",
39
40
  "core-js": "^3.46.0",
40
41
  "cross-env": "^10.1.0",
41
42
  "cypress": "^13.1.0",
@@ -46,22 +47,21 @@
46
47
  "eslint-plugin-import": "^2.32.0",
47
48
  "eslint-plugin-jsx-a11y": "^6.10.2",
48
49
  "eslint-plugin-typescript-sort-keys": "^3.3.0",
50
+ "gl-matrix": "^3.4.4",
51
+ "lodash": "^4.17.21",
49
52
  "mocha": "^5.2.0",
53
+ "ndarray": "^1.0.19",
54
+ "ndarray-linear-interpolate": "^1.0.0",
55
+ "ndarray-pixels": "^5.0.1",
56
+ "nyc": "^17.1.0",
50
57
  "sinon": "^21.0.0",
51
58
  "sinon-chai": "^3.7.0",
52
- "nyc": "^17.1.0",
53
59
  "source-map-loader": "^1.1.1",
54
60
  "ts-mocha": "^11.1.0",
55
61
  "ts-node": "^10.9.2",
56
62
  "typescript": "^5.9.3",
57
63
  "webpack": "^4.44.2",
58
- "webpack-cli": "^3.3.12",
59
- "@babel/polyfill": "^7.12.1",
60
- "gl-matrix": "^3.4.4",
61
- "lodash": "^4.17.21",
62
- "ndarray": "^1.0.19",
63
- "ndarray-linear-interpolate": "^1.0.0",
64
- "ndarray-pixels": "^5.0.1"
64
+ "webpack-cli": "^3.3.12"
65
65
  },
66
66
  "directories": {
67
67
  "doc": "doc"
@@ -188,5 +188,6 @@
188
188
  },
189
189
  "publishConfig": {
190
190
  "access": "public"
191
- }
191
+ },
192
+ "dependencies": {}
192
193
  }
@@ -841,6 +841,13 @@ export interface QuaggaJSConfigObject {
841
841
  singleChannel?: boolean;
842
842
  size?: number;
843
843
  sequence?: boolean;
844
+ debug?: {
845
+ /**
846
+ * @default false
847
+ * Logs frame grabber info, canvas size adjustments, and image loading details
848
+ */
849
+ showImageDetails?: boolean;
850
+ };
844
851
  };
845
852
 
846
853
  /**
@@ -892,6 +899,12 @@ export interface QuaggaJSConfigObject {
892
899
  * @default false
893
900
  */
894
901
  showPattern?: boolean;
902
+
903
+ /**
904
+ * @default false
905
+ * Logs reader registration and initialization to console
906
+ */
907
+ printReaderInfo?: boolean;
895
908
  };
896
909
 
897
910
  /**
@@ -951,6 +964,18 @@ export interface QuaggaJSConfigObject {
951
964
  */
952
965
  showRemainingPatchLabels?: boolean;
953
966
 
967
+ /**
968
+ * @default false
969
+ * Logs calculated patch size to console
970
+ */
971
+ showPatchSize?: boolean;
972
+
973
+ /**
974
+ * @default false
975
+ * Logs image wrapper size and canvas details to console
976
+ */
977
+ showImageDetails?: boolean;
978
+
954
979
  boxFromPatches?: {
955
980
  /**
956
981
  * @default false